|
@@ -398,6 +398,10 @@ export default {
|
|
|
openSidebar: this.sidebar.opened
|
|
|
}
|
|
|
},
|
|
|
+ isDealer() {
|
|
|
+
|
|
|
+ return JSON.parse(localStorage.getItem("supply_user")).isCustomer
|
|
|
+ },
|
|
|
},
|
|
|
|
|
|
created() {
|
|
@@ -446,7 +450,6 @@ export default {
|
|
|
this.mainForm.jxsNum = data.customerNumber;
|
|
|
this.mainForm.jxsName = data.customerName;
|
|
|
this.mainForm.loginNum = data.refEnginRecordNo;
|
|
|
- this.mainForm.enginName = data.refProjectName;
|
|
|
this.mainForm.loginType = data.enginOrderType;
|
|
|
this.mainForm.factoryNum = data.refFactoryNo;
|
|
|
this.mainForm.company = data.refUseUnit;
|
|
@@ -461,6 +464,7 @@ export default {
|
|
|
this.mainForm.examineRemark = data.approvalRemark;
|
|
|
this.mainForm.fileNo = data.fileNo
|
|
|
this.mainForm.refProjectName = data.refProjectName
|
|
|
+ this.mainForm.enginName = data.refProjectCategory;
|
|
|
this.screenForm.warehouse = data.correspondId;
|
|
|
// this.screenForm.refProjectName = data.refProjectName
|
|
|
this.fileList = data.fileUrl ? [{
|
|
@@ -541,6 +545,7 @@ export default {
|
|
|
pageSize: 10,
|
|
|
refEnginRecordNo: this.screenForm.loginNum,
|
|
|
refProjectName: this.screenForm.enginName,
|
|
|
+ // refProjectCategory:this.screenForm.enginName,
|
|
|
specification: this.screenForm.model,
|
|
|
startTime: this.screenForm.date ? this.screenForm.date[0] : '',
|
|
|
endTime: this.screenForm.date ? this.screenForm.date[1] : '',
|
|
@@ -662,7 +667,8 @@ export default {
|
|
|
getEnginGoodsDetail({enginOrderNo}).then(res => {
|
|
|
let data = res.data;
|
|
|
this.mainForm.loginNum = data.refEnginRecordNo;
|
|
|
- this.mainForm.enginName = data.refProjectName;
|
|
|
+ this.mainForm.enginName = data.refProjectCategory;
|
|
|
+ this.mainForm.refProjectName = data.refProjectName
|
|
|
this.mainForm.loginType = data.refPromiseStatus;
|
|
|
this.mainForm.factoryNum = data.refFactoryNo;
|
|
|
this.mainForm.company = data.refUseUnit;
|
|
@@ -707,7 +713,8 @@ export default {
|
|
|
// orderTime: this.mainForm.orderDate + ' 00:00:00',
|
|
|
remark: this.mainForm.remark,
|
|
|
enginOrderNo: this.mainForm.loginNum,
|
|
|
- refProjectName: this.mainForm.enginName,
|
|
|
+ refProjectName: this.mainForm.refProjectName,
|
|
|
+ refProjectCategory:this.mainForm.enginName,
|
|
|
enginOrderType: this.mainForm.loginType,
|
|
|
refFactoryNo: this.mainForm.factoryNum,
|
|
|
refUseUnit: this.mainForm.company,
|