zhangyuewww il y a 3 ans
Parent
commit
8080a85ae0
1 fichiers modifiés avec 6 ajouts et 2 suppressions
  1. 6 2
      src/views/warehouse/warehouseManagementGross.vue

+ 6 - 2
src/views/warehouse/warehouseManagementGross.vue

@@ -1727,10 +1727,14 @@
         }
       },
       contractNoChange(e) {
-        console.log(e)
         for (let i = 0; i < this.deptBudgetList1.length; i++) {
           if (this.deptBudgetList1[i].inOutTaskNo == e) {
-            this.deptBudgetList.contractNo = this.deptBudgetList1[i].contractNo
+            if(this.deptBudgetList1[i].contractNo){
+              this.deptBudgetList.contractNo = this.deptBudgetList1[i].contractNo
+            }
+            else{
+              this.deptBudgetList.contractNo = this.deptBudgetList1[i].moveTaskNo
+            }
           }
         }
         for (var i = 0; i < this.outContractNo.length; i++) {