Browse Source

修复商配数量录入

dev-xx
马远东 7 months ago
parent
commit
2ffc5d8a89
  1. 13
      src/views/distribution/turndelivery/deliveryDiscuss.vue

13
src/views/distribution/turndelivery/deliveryDiscuss.vue

@ -2427,13 +2427,14 @@ const EditEvent = val => {
console.log('触发了编辑事件', val); console.log('触发了编辑事件', val);
}; };
const MaxSUM = computed(() => { const MaxSUM = computed(() => {
let sum = 0; // let sum = 0;
isZeroTable.value.forEach(item => { // isZeroTable.value.forEach(item => {
sum += item.deliveryQuantity; // sum += item.deliveryQuantity;
}); // });
let max = dataInfo.value[dataId.value].handQuantity - sum; // let max = dataInfo.value[dataId.value].handQuantity - sum;
console.log(dataId.value,'dataId.value');
console.log(dataInfo.value, ' dataInfo.value['); console.log(dataInfo.value, ' dataInfo.value[');
let max = dataInfo.value[dataId.value].reservationNum;
return max; return max;
}); });
const toggleSelection = options => { const toggleSelection = options => {

Loading…
Cancel
Save