zhangyuewww 3 年之前
父节点
当前提交
8080a85ae0
共有 1 个文件被更改,包括 6 次插入2 次删除
  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++) {