From 2ffc5d8a89f87095bd1cdebe3d41815ad2d9fa69 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Tue, 2 Jul 2024 11:08:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=95=86=E9=85=8D=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E5=BD=95=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distribution/turndelivery/deliveryDiscuss.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/views/distribution/turndelivery/deliveryDiscuss.vue b/src/views/distribution/turndelivery/deliveryDiscuss.vue index 57010d3d..25166688 100644 --- a/src/views/distribution/turndelivery/deliveryDiscuss.vue +++ b/src/views/distribution/turndelivery/deliveryDiscuss.vue @@ -2427,13 +2427,14 @@ const EditEvent = val => { console.log('触发了编辑事件', val); }; const MaxSUM = computed(() => { - let sum = 0; - isZeroTable.value.forEach(item => { - sum += item.deliveryQuantity; - }); - let max = dataInfo.value[dataId.value].handQuantity - sum; + // let sum = 0; + // isZeroTable.value.forEach(item => { + // sum += item.deliveryQuantity; + // }); + // let max = dataInfo.value[dataId.value].handQuantity - sum; + console.log(dataId.value,'dataId.value'); console.log(dataInfo.value, ' dataInfo.value['); - + let max = dataInfo.value[dataId.value].reservationNum; return max; }); const toggleSelection = options => {