Explorar o código

创建合同,品级传值

zxz %!s(int64=3) %!d(string=hai) anos
pai
achega
3501539f2c

+ 2 - 0
src/views/contractManagement/futuresPurchaseContractAdd.vue

@@ -1510,6 +1510,8 @@
         for (var i = 0; i < this.gradeList.length; i++) {
           if (this.gradeList[i].constValue == e) {
             this.deptBudgetList.gradeKey = this.gradeList[i].constKey
+            this.deptBudgetList.contractGoodsInfo.gradeKey =
+              this.gradeList[i].constKey
           }
         }
       },

+ 2 - 0
src/views/contractManagement/futuresSalesContractAdd.vue

@@ -1466,6 +1466,8 @@
         for (var i = 0; i < this.gradeList.length; i++) {
           if (this.gradeList[i].constValue == e) {
             this.deptBudgetList.gradeKey = this.gradeList[i].constKey
+            this.deptBudgetList.contractGoodsInfo.gradeKey =
+              this.gradeList[i].constKey
           }
         }
       },

+ 4 - 2
src/views/contractManagement/purchaseContractAdd.vue

@@ -394,7 +394,7 @@
         restaurants2: [],
         restaurants3: [],
         restaurants4: [],
-        type: "",
+        type: '',
         dialogVisible: false,
         //弹出框
         dialogViewSpareMoney: false,
@@ -555,7 +555,7 @@
         console.log(item);
       },
       getAddress(data) {
-        console.log("getAddress", data)
+        console.log('getAddress', data)
         if (data[4] == 'source') {
           this.newSelectedOptions = data[0] + '/' + data[1] + '/' + data[2]
           this.deptBudgetList.sourceProvince = data[0]
@@ -1461,6 +1461,8 @@
         for (var i = 0; i < this.gradeList.length; i++) {
           if (this.gradeList[i].constValue == e) {
             this.deptBudgetList.gradeKey = this.gradeList[i].constKey
+            this.deptBudgetList.contractGoodsInfo.gradeKey =
+              this.gradeList[i].constKey
           }
         }
       },

+ 2 - 0
src/views/contractManagement/salesContractAdd.vue

@@ -1422,6 +1422,8 @@
         for (var i = 0; i < this.gradeList.length; i++) {
           if (this.gradeList[i].constValue == e) {
             this.deptBudgetList.gradeKey = this.gradeList[i].constKey
+            this.deptBudgetList.contractGoodsInfo.gradeKey =
+              this.gradeList[i].constKey
           }
         }
       },