From 7a76b7acdd05bfa93eac7dc95f6a3e9fa8522c38 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 22 Jul 2024 09:26:18 +0800 Subject: [PATCH] =?UTF-8?q?SCP=20=E4=BE=9B=E5=BA=94=E5=95=86=E5=8F=91?= =?UTF-8?q?=E8=B4=A7=E7=94=B3=E8=AF=B7=EF=BC=8C=E7=94=9F=E6=88=90=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E6=97=B6=EF=BC=8C=E8=AE=A1=E7=AE=97=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierdeliver/supplierdeliverRequestMain/labelForm.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue index 8f6ab2391..6e02b6fb0 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue @@ -235,10 +235,11 @@ const expandChange = (row: any, expandedRows: any[]) => { row.manTuoQty = Math.floor(parseFloat(row.manXiangQty) / parseFloat(row.otherNumber)) // 放满的托数量*一托的箱数量*一箱的数量 获取放满的托一共多少数量 let num1 = accuracyFun.multiply(parseFloat(row.manTuoQty ),parseFloat(row.otherNumber)) - row.tuoInManNumber =accuracyFun.multiply(num1,parseFloat(row.packQty)) + row.tuoInManNumber = accuracyFun.multiply(num1, parseFloat(row.packQty)) + console.log(11,row.tuoInManNumber ) // 数量除以托数量获取余数 row.lastNumber = - parseFloat(row.qty) > parseFloat(row.tuoInManNumber) + parseFloat(row.qty) >= parseFloat(row.tuoInManNumber) ? accuracyFun.subtract( parseFloat(row.qty),parseFloat(row.tuoInManNumber)) : parseFloat(row.qty) // 循环托