|
@@ -585,10 +585,12 @@ export default {
|
|
this.contactsData = this.form.corpsAttnList;
|
|
this.contactsData = this.form.corpsAttnList;
|
|
this.bankOfDepositData = this.form.corpsBankList;
|
|
this.bankOfDepositData = this.form.corpsBankList;
|
|
this.advantageProjectData = this.form.corpsItems;
|
|
this.advantageProjectData = this.form.corpsItems;
|
|
|
|
+ this.addressData = this.form.corpsAddrList;
|
|
|
|
|
|
delete this.form.corpsAttnList;
|
|
delete this.form.corpsAttnList;
|
|
delete this.form.corpsBankList;
|
|
delete this.form.corpsBankList;
|
|
delete this.form.corpsItems;
|
|
delete this.form.corpsItems;
|
|
|
|
+ delete this.form.corpsAddrList;
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
//新增时根据左侧选中树结构给客户类别赋值
|
|
//新增时根据左侧选中树结构给客户类别赋值
|
|
@@ -718,7 +720,6 @@ export default {
|
|
},
|
|
},
|
|
//新增收发货地址保存触发
|
|
//新增收发货地址保存触发
|
|
rowSaveAddress(row, done, loading) {
|
|
rowSaveAddress(row, done, loading) {
|
|
- console.log(row, done, loading);
|
|
|
|
this.addressData.push(row);
|
|
this.addressData.push(row);
|
|
done();
|
|
done();
|
|
},
|
|
},
|
|
@@ -757,6 +758,7 @@ export default {
|
|
this.form.corpsAttnList = this.contactsData;
|
|
this.form.corpsAttnList = this.contactsData;
|
|
this.form.corpsBankList = this.bankOfDepositData;
|
|
this.form.corpsBankList = this.bankOfDepositData;
|
|
this.form.corpsItems = this.advantageProjectData;
|
|
this.form.corpsItems = this.advantageProjectData;
|
|
|
|
+ this.form.corpsAddrList = this.addressData;
|
|
if (typeof this.form.corpsTypeId == "object") {
|
|
if (typeof this.form.corpsTypeId == "object") {
|
|
this.form.corpsTypeId = this.form.corpsTypeId.join(",");
|
|
this.form.corpsTypeId = this.form.corpsTypeId.join(",");
|
|
}
|
|
}
|