From 7abb7fdb06452a0d34bae11b1ff60d29646c4aa7 Mon Sep 17 00:00:00 2001 From: caojia <1301869380@qq.com> Date: Mon, 9 Nov 2026 10:59:21 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E6=AD=A3=E8=B4=A6=E5=8D=95?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E9=87=8D=E9=87=8F=E7=B2=BE=E5=BA=A6=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/ar/bill/components/GenerateBillDialog.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bms-front/src/views/ar/bill/components/GenerateBillDialog.vue b/bms-front/src/views/ar/bill/components/GenerateBillDialog.vue index 9607db17..90e65078 100644 --- a/bms-front/src/views/ar/bill/components/GenerateBillDialog.vue +++ b/bms-front/src/views/ar/bill/components/GenerateBillDialog.vue @@ -73,8 +73,8 @@ - - + + @@ -541,6 +541,7 @@ function date(value) { } function money(value) { const num = Number(value); return Number.isNaN(num) ? '-' : num.toFixed(2) } function formatDateColumn(_, __, value) { return date(value) } +function formatWeightColumn(_, __, value) { return value == null || value === '' ? '-' : value } function formatNumberColumn(_, __, value) { return Number(value || 0).toFixed(2) } function createRequestId() { return globalThis.crypto?.randomUUID?.() || `ar-${Date.now()}-${Math.random().toString(16).slice(2)}` }