zhangyuewww 3 lat temu
rodzic
commit
23e4863f7f

+ 1 - 0
src/views/warehouse/warehouseManagementDelivery.vue

@@ -528,6 +528,7 @@ export default {
       for (let i = 0; i < this.tranCarInfoList.length; i++) {
         if (this.tranCarInfoList[i].carNo == this.deptBudgetList.carNo) {
           this.deptBudgetList.tranCarNo=this.tranCarInfoList[i].tranCarNo
+          this.deptBudgetList.carId=this.tranCarInfoList[i].id
         }
       }
     },

+ 8 - 0
src/views/warehouse/warehouseManagementNoWeightOut.vue

@@ -566,6 +566,14 @@
           }
         }
       },
+      carChange(e) {
+        for (let i = 0; i < this.tranCarInfoList.length; i++) {
+          if (this.tranCarInfoList[i].carNo == this.deptBudgetList.carNo) {
+            this.deptBudgetList.tranCarNo = this.tranCarInfoList[i].tranCarNo
+            this.deptBudgetList.carId = this.tranCarInfoList[i].id
+          }
+        }
+      },
       //暂存按钮
       temporaryStorage() {
         this.$confirm(`暂存后可在待完成页面查看,确定暂存`, {

+ 1 - 0
src/views/warehouse/warehouseManagementTare.vue

@@ -555,6 +555,7 @@
         for (let i = 0; i < this.tranCarInfoList.length; i++) {
           if (this.tranCarInfoList[i].carNo == this.deptBudgetList.carNo) {
             this.deptBudgetList.tranCarNo = this.tranCarInfoList[i].tranCarNo
+            this.deptBudgetList.carId = this.tranCarInfoList[i].id
           }
         }
       },