|
@@ -488,6 +488,7 @@ export default {
|
|
|
loginNum: '',
|
|
|
enginName: '',
|
|
|
loginType: '',
|
|
|
+ promiseStatus: '',
|
|
|
factoryNum: '',
|
|
|
company: '',
|
|
|
saleType: '',
|
|
@@ -506,7 +507,6 @@ export default {
|
|
|
salesMan: '',
|
|
|
projectRemark: '',
|
|
|
projectType: '',
|
|
|
- tradeCategory: ''
|
|
|
},
|
|
|
mainFormRules: {
|
|
|
// orderDate: [{ required: true, message: '请选择单据日期', trigger: 'change' }],
|
|
@@ -758,7 +758,8 @@ export default {
|
|
|
// this.mainForm.saleType = '';
|
|
|
this.mainForm.loginNum = data.recordNo;
|
|
|
this.mainForm.enginName = data.projectName;
|
|
|
- this.mainForm.loginType = data.promiseStatus;
|
|
|
+ this.mainForm.loginType = data.tradeCategory;
|
|
|
+ this.mainForm.promiseStatus = data.promiseStatus;
|
|
|
this.mainForm.company = data.useUnit;
|
|
|
this.mainForm.contactMan = data.buyUnitCallMen;
|
|
|
this.mainForm.tel = data.buyUnitTel;
|
|
@@ -767,7 +768,6 @@ export default {
|
|
|
this.mainForm.declareNo = data.declareNo;
|
|
|
this.mainForm.projectRemark = data.buChonShuoMing;
|
|
|
this.mainForm.projectType = data.govBuyType;
|
|
|
- this.mainForm.tradeCategory = data.tradeCategory;
|
|
|
|
|
|
let saleTypeItem = this.salesTypeList.find(o => o.id == this.mainForm.saleType);
|
|
|
|
|
@@ -863,7 +863,8 @@ export default {
|
|
|
this.mainForm.jxsName = data.customerName;
|
|
|
this.mainForm.loginNum = data.refEnginRecordNo;
|
|
|
this.mainForm.enginName = data.refProjectName;
|
|
|
- this.mainForm.loginType = data.refPromiseStatus;
|
|
|
+ this.mainForm.loginType = data.refTradeCategory;
|
|
|
+ this.mainForm.promiseStatus = data.refPromiseStatus;
|
|
|
this.mainForm.factoryNum = data.refFactoryNo;
|
|
|
this.mainForm.company = data.refUseUnit;
|
|
|
this.mainForm.saleType = data.saleTypeId;
|
|
@@ -1109,7 +1110,8 @@ export default {
|
|
|
loginUserId: this.mainForm.loginUserId,
|
|
|
refEnginRecordNo: this.mainForm.loginNum || '',
|
|
|
refProjectName: this.mainForm.enginName || '',
|
|
|
- refPromiseStatus: this.mainForm.loginType || '',
|
|
|
+ refTradeCategory: this.mainForm.loginType || '',
|
|
|
+ refPromiseStatus: this.mainForm.promiseStatus || '',
|
|
|
refFactoryNo: this.mainForm.factoryNum || '',
|
|
|
refUseUnit: this.mainForm.company || '',
|
|
|
refLinkman: this.mainForm.contactMan || '',
|
|
@@ -1128,7 +1130,6 @@ export default {
|
|
|
serviceName: saleManItem.nickName,
|
|
|
refProjectNote: this.mainForm.projectRemark,
|
|
|
refProjectType: this.mainForm.projectType,
|
|
|
- refTradeCategory: this.mainForm.tradeCategory,
|
|
|
items: goodsList,
|
|
|
}
|
|
|
|