From 2252b561de5b7c988645c7b643be13c7778cbdb3 Mon Sep 17 00:00:00 2001 From: zx Date: Wed, 11 Feb 2026 09:34:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=93=E5=8D=B0=E5=8D=95?= =?UTF-8?q?=E6=8D=AE=E6=80=BB=E8=AE=A1=E6=B1=82=E5=92=8C=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/printBill/bill.vue | 3 ++- src/components/storageBill/bill.vue | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/printBill/bill.vue b/src/components/printBill/bill.vue index 1532306..65ae0f4 100644 --- a/src/components/printBill/bill.vue +++ b/src/components/printBill/bill.vue @@ -151,7 +151,8 @@ const summaryList = computed(() => { props.billAllObj.forEach(item => { if (map.has(item.wlNo)) { const existing = map.get(item.wlNo); - existing.totalQty = (parseFloat(existing.totalQty) + parseFloat(item.realQty)); + const total = (parseFloat(existing.totalQty) + parseFloat(item.realQty)) * 100*10000 + existing.totalQty = total / ( 100 * 10000); } else { map.set(item.wlNo, { ...item, diff --git a/src/components/storageBill/bill.vue b/src/components/storageBill/bill.vue index 2b45b68..059c2e7 100644 --- a/src/components/storageBill/bill.vue +++ b/src/components/storageBill/bill.vue @@ -145,7 +145,8 @@ const summaryList = computed(() => { props.billAllObj.forEach(item => { if (map.has(item.wlNo)) { const existing = map.get(item.wlNo); - existing.totalQty = (parseFloat(existing.totalQty) + parseFloat(item.realQty)); + const total = (parseFloat(existing.totalQty) + parseFloat(item.realQty)) * 100*10000 + existing.totalQty = total / ( 100 * 10000); } else { map.set(item.wlNo, { ...item,