Prechádzať zdrojové kódy

新增销售政策订单响应机型id

zhouhao 2 rokov pred
rodič
commit
305b8aaef3

+ 4 - 1
src/views/supply/policy/components/retail_form.vue

@@ -853,7 +853,9 @@ export default {
       handler(newValue, oldValue) {
         if (newValue && newValue.length) {
           newValue.forEach((item, index) => {
+            this.goodsList[index].policyConditionId = this.policyConditionId
             if (this.correspondId) {
+             
               this.goodsList[index].correspondName = this.correspondName
               this.goodsList[index].correspondId = this.correspondId
             }
@@ -1050,6 +1052,7 @@ export default {
           this.screenForm.policyId = this.policyId
           if (this.listItem) {
             this.policyConditionId = data[0].id
+            
           }
         } else {
           this.screenForm.policyId = data[0].policyId
@@ -1893,7 +1896,7 @@ export default {
             policyId: this.policyId,
             fileNo: this.mainForm.fileNum
           }
-          console.log(params)
+          
           if (this.listItem) {
             params.id = this.listItem.id
             editData(params).then(res => {