|
@@ -852,8 +852,12 @@ export default {
|
|
if(this.goodsList[index].customerWalletId) {
|
|
if(this.goodsList[index].customerWalletId) {
|
|
let obj = this.goodsList[index].wallets.find(o => o.customerWalletId == this.goodsList[index].customerWalletId);
|
|
let obj = this.goodsList[index].wallets.find(o => o.customerWalletId == this.goodsList[index].customerWalletId);
|
|
this.goodsList[index].customerWalletName = obj.customerWalletName;
|
|
this.goodsList[index].customerWalletName = obj.customerWalletName;
|
|
|
|
+ this.goodsList[index].serviceId = obj.serviceId;
|
|
|
|
+ this.goodsList[index].serviceName = obj.serviceName;
|
|
}else {
|
|
}else {
|
|
this.goodsList[index].customerWalletName = '';
|
|
this.goodsList[index].customerWalletName = '';
|
|
|
|
+ this.goodsList[index].serviceId = '';
|
|
|
|
+ this.goodsList[index].serviceName = '';
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
@@ -1136,7 +1140,7 @@ export default {
|
|
remark: this.mainForm.remark || '',
|
|
remark: this.mainForm.remark || '',
|
|
fileNo: this.mainForm.fileNum || '',
|
|
fileNo: this.mainForm.fileNum || '',
|
|
serviceId: this.mainForm.salesMan,
|
|
serviceId: this.mainForm.salesMan,
|
|
- serviceName: saleManItem.nickName,
|
|
|
|
|
|
+ serviceName: saleManItem ? saleManItem.nickName : goodsList[0].serviceName,
|
|
refProjectNote: this.mainForm.projectRemark,
|
|
refProjectNote: this.mainForm.projectRemark,
|
|
refProjectType: this.mainForm.projectType,
|
|
refProjectType: this.mainForm.projectType,
|
|
items: goodsList,
|
|
items: goodsList,
|