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 => {