|
@@ -50,8 +50,13 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
|
- <el-form-item label="项目类别" prop="enginName">
|
|
|
- <el-input v-model="mainForm.enginName" placeholder="请输入项目类别" :disabled="isDealer"></el-input>
|
|
|
+ <el-form-item label="家用项目类别" prop="enginName">
|
|
|
+ <el-input v-model="mainForm.enginName" placeholder="请输入家用项目类别" :disabled="isDealer"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="24" :sm="12" :lg="8">
|
|
|
+ <el-form-item label="商用项目名称" prop="refProjectName">
|
|
|
+ <el-input v-model="mainForm.refProjectName" placeholder="请输入商用项目名称" :disabled="isDealer"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
@@ -187,10 +192,15 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="12" :sm="12" :lg="6">
|
|
|
- <el-form-item prop="enginName" label="项目类别">
|
|
|
- <el-input v-model="screenForm.enginName" placeholder="请输入项目类别"></el-input>
|
|
|
+ <el-form-item prop="enginName" label="家用项目类别">
|
|
|
+ <el-input v-model="screenForm.enginName" placeholder="请输入家用项目类别"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <!-- <el-col :xs="24" :sm="12" :lg="8">
|
|
|
+ <el-form-item label="商用项项目名称" prop="refProjectName">
|
|
|
+ <el-input v-model="screenForm.refProjectName" placeholder="请输入家用项目类别" :disabled="isDealer"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col> -->
|
|
|
<el-col :xs="12" :sm="12" :lg="6">
|
|
|
<el-form-item prop="model" label="规格型号">
|
|
|
<el-input v-model="screenForm.model" placeholder="请输入规格型号"></el-input>
|
|
@@ -241,7 +251,11 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="工程登录编号" prop="refEnginRecordNo" min-width="200" show-overflow-tooltip></el-table-column>
|
|
|
- <el-table-column align="center" label="销售类型" prop="saleTypeName" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column align="center" label="表头登录类型" prop="refPromiseStatus" min-width="200" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column align="center" label="项目类别" prop="refProjectType" min-width="200" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column align="center" label="行业类别" prop="refTradeCategory" min-width="200" show-overflow-tooltip></el-table-column>
|
|
|
+
|
|
|
+ <el-table-column align="center" label="销售类型" prop="saleTypeName" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column align="center" label="物料编码" prop="materialCode" min-width="120" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column align="center" label="产品编码" prop="materialOldNumber" min-width="120" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column align="center" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip></el-table-column>
|
|
@@ -343,6 +357,7 @@ export default {
|
|
|
createMan: '',
|
|
|
createDate: '',
|
|
|
examineRemark: '',
|
|
|
+ refProjectName:""
|
|
|
},
|
|
|
mainFormRules: {
|
|
|
// orderDate: [{ required: true, message: '请选择单据日期', trigger: 'change' }],
|
|
@@ -360,6 +375,7 @@ export default {
|
|
|
date: '',
|
|
|
warehouse: '',
|
|
|
type: '',
|
|
|
+ refProjectName:""
|
|
|
},
|
|
|
currentPage: 1,
|
|
|
listTotal: 0,
|
|
@@ -382,6 +398,10 @@ export default {
|
|
|
openSidebar: this.sidebar.opened
|
|
|
}
|
|
|
},
|
|
|
+ isDealer() {
|
|
|
+
|
|
|
+ return JSON.parse(localStorage.getItem("supply_user")).isCustomer
|
|
|
+ },
|
|
|
},
|
|
|
|
|
|
created() {
|
|
@@ -430,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;
|
|
@@ -444,7 +463,10 @@ export default {
|
|
|
this.mainForm.remark = data.remark;
|
|
|
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 ? [{
|
|
|
url: data.fileUrl,
|
|
|
name: data.fileName,
|
|
@@ -523,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] : '',
|
|
@@ -644,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;
|
|
@@ -689,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,
|