|
@@ -404,11 +404,14 @@ function editCustomerSave(flag: boolean) {
|
|
|
|
|
|
function editCustomer(row: any) { // row 有数据代表编辑
|
|
function editCustomer(row: any) { // row 有数据代表编辑
|
|
if (row) {
|
|
if (row) {
|
|
- const { id, companyPhone, customName, inchargerId, createTime, customSourceId, customerIndustryId, customerLevelId, email, telPhone } = row
|
|
|
|
|
|
+ const { id, companyPhone, customName, inchargerId, createTime, customSourceId, customerIndustryId, customerLevelId, email, telPhone, customDesc, address, contactsName } = row
|
|
const formVal = {
|
|
const formVal = {
|
|
id, customName, inchargerId, customerIndustryId, customerLevelId, email, customSourceId,
|
|
id, customName, inchargerId, customerIndustryId, customerLevelId, email, customSourceId,
|
|
createTime: formatDate(new Date(createTime)),
|
|
createTime: formatDate(new Date(createTime)),
|
|
- telPhone, companyPhone
|
|
|
|
|
|
+ telPhone, companyPhone,
|
|
|
|
+ address,
|
|
|
|
+ customDesc,
|
|
|
|
+ contactsName
|
|
}
|
|
}
|
|
allLoading.customerTemplateRefLoading = true
|
|
allLoading.customerTemplateRefLoading = true
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|