diff --git a/src/views/basicdata/warehouse/warehouse/basicdataWarehouse.vue b/src/views/basicdata/warehouse/warehouse/basicdataWarehouse.vue index 34821e45..3d38d62e 100644 --- a/src/views/basicdata/warehouse/warehouse/basicdataWarehouse.vue +++ b/src/views/basicdata/warehouse/warehouse/basicdataWarehouse.vue @@ -390,10 +390,16 @@
- +
+
+ 当前仓库:{{ dataRwo.name }} +
+
+ + + + + @@ -1375,6 +1377,9 @@ const submit = () => { // 展示的信息 dataInfo.value = removeDuplicates(dataInfo.value); + dataInfo.value.forEach(item=>{ + item.Plannedquantity = item.reservationNum + }) console.log(dataInfo.value, ' dataInfo.value'); // 计算总数 @@ -1532,7 +1537,7 @@ const MaxSUM = computed(() => { // 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; + let max = dataInfo.value[dataId.value].Plannedquantity; return max; }); const toggleSelection = options => { @@ -1713,7 +1718,6 @@ const Entering = val => { // 数量录入 const QuantityEntry = async val => { console.log(dataInfo.value, 'dataInfo.value'); - dataId.value = findIndexById(val.id); //记录当前点击的订单 editLoading.value = true; // 编辑状态