From b68d573cd70fb63ef96ccc1248809ee82b7e6f6a Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Tue, 24 Sep 2024 18:03:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=B2=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../warehouse/basicdataWarehouse.vue | 36 ++++++++++++++++--- .../turndelivery/deliveryDiscuss.vue | 8 +++-- 2 files changed, 37 insertions(+), 7 deletions(-) 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; // 编辑状态