From f2b8f2f6de158f60797252ec44073ae2c5773ddb Mon Sep 17 00:00:00 2001 From: yangzifeng <2547435354@qq.com> Date: Tue, 10 Mar 2026 09:33:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 6 +++--- src/components/printBill/bill.vue | 4 ++-- src/components/storageBill/bill.vue | 4 ++-- src/views/wisdom/outbound/index.vue | 1 + 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.env.development b/.env.development index fb8fae5..9f6624e 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,6 @@ VITE_APP_ENV = 'development' # 后台管理系统/开发环境 # VITE_APP_BASE_API = 'http://192.168.1.112:8086' -VITE_APP_BASE_API = 'http://192.168.1.5:8087' -# VITE_APP_BASE_API = 'http://192.168.1.19:8086' -# VITE_APP_BASE_API = 'http://192.168.1.251:8086' +# VITE_APP_BASE_API = 'http://192.168.1.5:8087' #温 +VITE_APP_BASE_API = 'http://192.168.1.13:8087' #雨欣 +# VITE_APP_BASE_API = 'http://192.168.1.251:8087' diff --git a/src/components/printBill/bill.vue b/src/components/printBill/bill.vue index 929b1a5..cc774cb 100644 --- a/src/components/printBill/bill.vue +++ b/src/components/printBill/bill.vue @@ -164,8 +164,8 @@ const summaryList = computed(() => { props.billAllObj.forEach(item => { if (map.has(item.wlNo)) { const existing = map.get(item.wlNo); - const total = (parseFloat(existing.totalQty)*100 *10000 + parseFloat(item.realQty)*100 *10000) - existing.totalQty = total / ( 100 * 10000); + const total = parseFloat(existing.totalQty) * 1000000+ parseFloat(item.realQty) * 1000000 + existing.totalQty = total / ( 1000000); } else { map.set(item.wlNo, { ...item, diff --git a/src/components/storageBill/bill.vue b/src/components/storageBill/bill.vue index 9f55c92..ebaa161 100644 --- a/src/components/storageBill/bill.vue +++ b/src/components/storageBill/bill.vue @@ -145,8 +145,8 @@ const summaryList = computed(() => { props.billAllObj.forEach(item => { if (map.has(item.wlNo)) { const existing = map.get(item.wlNo); - const total = (parseFloat(existing.totalQty) * 100*10000+ parseFloat(item.realQty)* 100*10000) - existing.totalQty = total / ( 100 * 10000); + const total = parseFloat(existing.totalQty) * 1000000+ parseFloat(item.realQty) * 1000000 + existing.totalQty = total / ( 1000000); } else { map.set(item.wlNo, { ...item, diff --git a/src/views/wisdom/outbound/index.vue b/src/views/wisdom/outbound/index.vue index 8aabdc5..04ac6dc 100644 --- a/src/views/wisdom/outbound/index.vue +++ b/src/views/wisdom/outbound/index.vue @@ -1374,6 +1374,7 @@ const editRef = ref(null); function editForm() { editRef.value.validate((valid) => { if (valid) { + delete billData.value.execStatus updateBill(billData.value).then((response) => { proxy.$modal.msgSuccess("操作成功"); openBill.value = false;