zhangyuewww 3 سال پیش
والد
کامیت
764a7831b5
1فایلهای تغییر یافته به همراه7 افزوده شده و 1 حذف شده
  1. 7 1
      src/views/warehouse/warehouseManagementTare.vue

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

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