소스 검색

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

zhouhao 2 년 전
부모
커밋
305b8aaef3
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      src/views/supply/policy/components/retail_form.vue

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

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