孤鹤 2 лет назад
Родитель
Сommit
6405e1a72f

+ 2 - 0
src/views/exportTrade/customerInquiry/detailsPage.vue

@@ -1091,10 +1091,12 @@ export default {
       }
     },
     getCorpData(row) {
+      console.log(row);
       this.form.corpAttn = null;
       this.form.corpTel = null;
       this.form.coefficient = row.coefficient;
       this.form.corpsName = row.cname;
+      this.form.belongToCorpId = row.belongtocompany
       this.form.clientMessage = (row.cname ? row.cname : '') + '\r\n' + (row.addr ? row.addr : '')
       if (this.data.length > 0) {
         this.data.forEach(e => {

+ 1 - 0
src/views/exportTrade/salesContract/detailsPage.vue

@@ -1404,6 +1404,7 @@ export default {
     getCorpData(row) {
       this.form.coefficient = row.coefficient;
       this.form.corpsName = row.cname;
+      this.form.belongToCorpId = row.belongtocompany
       this.form.clientMessage = (row.cname ? row.cname : '') + '\r\n' + (row.addr ? row.addr : '')
       if (this.data.length > 0) {
         this.data.forEach(e => {

+ 3 - 0
src/views/tirePartsMall/salesManagement/purchaseOrder/detailsPage.vue

@@ -227,6 +227,9 @@ export default {
                         value: 'id'
                     },
                     cascader: ['recAddress'],
+                    click:()=>{
+                        this.$refs.form.dicInit() 
+                    },
                     change: (data) => {
                         if (!this.onLoad.id) {
                             // this.$set(this.optionContactsBack, "addBtn", true)

+ 3 - 0
src/views/tirePartsMall/salesManagement/saleOrder/detailsPage.vue

@@ -216,6 +216,9 @@ export default {
                         value: 'id'
                     },
                     cascader: ['recAddress'],
+                    click:()=>{
+                        this.$refs.form.dicInit() 
+                    },
                     change: (data) => {
                         if (!this.onLoad.id) {
                             // this.$set(this.optionContactsBack, "addBtn", true)