|
@@ -3455,13 +3455,14 @@ export default {
|
|
|
returnBack(row) {
|
|
|
this.$refs.KHSelect[0].updateData(row.id)
|
|
|
getKHList({corpType: 'KH', belongtocompany: row.id}).then(res => {
|
|
|
- this.form.corpId = res.data.data.records.length > 0? res.data.data.records[0].id: null
|
|
|
- if (this.form.corpId) {
|
|
|
- this.getCorpRow({adminProfiles: res.data.data.records[0].adminProfiles,
|
|
|
- id: res.data.data.records[0].id,
|
|
|
- packageRemarks: res.data.data.records[0].packageRemarks,
|
|
|
- paymentType: res.data.data.records[0].paymentType})
|
|
|
- }
|
|
|
+ //注释自动带出客户全称
|
|
|
+ // this.form.corpId = res.data.data.records.length > 0? res.data.data.records[0].id: null
|
|
|
+ // if (this.form.corpId) {
|
|
|
+ // this.getCorpRow({adminProfiles: res.data.data.records[0].adminProfiles,
|
|
|
+ // id: res.data.data.records[0].id,
|
|
|
+ // packageRemarks: res.data.data.records[0].packageRemarks,
|
|
|
+ // paymentType: res.data.data.records[0].paymentType})
|
|
|
+ // }
|
|
|
})
|
|
|
getKHList({corpType: 'GYS', belongtocompany: row.id}).then(res => {
|
|
|
this.form.productionPlant = res.data.data.records.length > 0? res.data.data.records[0].id: null;
|