zhangyuewww %!s(int64=3) %!d(string=hai) anos
pai
achega
764a7831b5
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      src/views/warehouse/warehouseManagementTare.vue

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

@@ -503,8 +503,14 @@
       contractNoChange(e) {
       contractNoChange(e) {
         for (let i = 0; i < this.deptBudgetList1.length; i++) {
         for (let i = 0; i < this.deptBudgetList1.length; i++) {
           if (this.deptBudgetList1[i].inOutTaskNo == e) {
           if (this.deptBudgetList1[i].inOutTaskNo == e) {
-            var data=
+             var data=this.deptBudgetList1[i]
+            if(this.deptBudgetList1[i].contractNo){
             this.deptBudgetList.contractNo = 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++) {
         for (var i = 0; i < this.outContractNo.length; i++) {