|
@@ -50,18 +50,18 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
- <el-form-item label="项目类别" prop="enginName">
|
|
|
|
- <el-input v-model="mainForm.enginName" placeholder="请输入项目类别"></el-input>
|
|
|
|
|
|
+ <el-form-item label="项目类别" prop="refProjectCategory">
|
|
|
|
+ <el-input v-model="mainForm.refProjectCategory" placeholder="请输入项目类别" disabled></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-form-item label="工程登录类型" prop="loginType">
|
|
<el-form-item label="工程登录类型" prop="loginType">
|
|
- <el-input v-model="mainForm.loginType" placeholder="请输入工程登录类型"></el-input>
|
|
|
|
|
|
+ <el-input v-model="mainForm.loginType" placeholder="请输入工程登录类型" disabled></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-form-item label="跨厂区编号" prop="factoryNum">
|
|
<el-form-item label="跨厂区编号" prop="factoryNum">
|
|
- <el-input v-model="mainForm.factoryNum" placeholder="请输入跨厂区编号"></el-input>
|
|
|
|
|
|
+ <el-input v-model="mainForm.factoryNum" placeholder="请输入跨厂区编号" disabled></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
@@ -211,8 +211,8 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="12" :sm="12" :lg="6">
|
|
<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="refProjectCategory" label="项目类别">
|
|
|
|
+ <el-input v-model="screenForm.refProjectCategory" placeholder="请输入项目类别"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="12" :sm="12" :lg="6">
|
|
<el-col :xs="12" :sm="12" :lg="6">
|
|
@@ -267,7 +267,7 @@
|
|
<el-table-column align="left" label="发货申请单号" prop="orderNo" min-width="120" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="left" label="发货申请单号" prop="orderNo" min-width="120" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="left" label="订单号" prop="mainOrderId" min-width="160" show-overflow-tooltip>
|
|
<el-table-column align="left" label="订单号" prop="mainOrderId" min-width="160" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- {{scope.row.orderType === 'TRADE' || scope.row.orderType === 'HMOE' ? scope.row.enginOrderNo : scope.row.mainOrderId}}
|
|
|
|
|
|
+ {{scope.row.orderType === 'TRADE' || scope.row.orderType === 'HOME' ? scope.row.enginOrderNo : scope.row.mainOrderId}}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="left" label="销售类型" prop="saleTypeName" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="left" label="销售类型" prop="saleTypeName" min-width="100" show-overflow-tooltip></el-table-column>
|
|
@@ -359,7 +359,7 @@ export default {
|
|
jxsNum: '',
|
|
jxsNum: '',
|
|
jxsName: '',
|
|
jxsName: '',
|
|
loginNum: '',
|
|
loginNum: '',
|
|
- enginName: '',
|
|
|
|
|
|
+ refProjectCategory: '',
|
|
loginType: '',
|
|
loginType: '',
|
|
factoryNum: '',
|
|
factoryNum: '',
|
|
company: '',
|
|
company: '',
|
|
@@ -384,7 +384,7 @@ export default {
|
|
isShowDialog: false,
|
|
isShowDialog: false,
|
|
screenForm: {
|
|
screenForm: {
|
|
loginNum: '',
|
|
loginNum: '',
|
|
- enginName: '',
|
|
|
|
|
|
+ refProjectCategory: '',
|
|
model: '',
|
|
model: '',
|
|
orderNum: '',
|
|
orderNum: '',
|
|
orderNo: '',
|
|
orderNo: '',
|
|
@@ -488,7 +488,7 @@ export default {
|
|
this.mainForm.jxsNum = data.customerNumber;
|
|
this.mainForm.jxsNum = data.customerNumber;
|
|
this.mainForm.jxsName = data.customerName;
|
|
this.mainForm.jxsName = data.customerName;
|
|
this.mainForm.loginNum = data.enginOrderNo;
|
|
this.mainForm.loginNum = data.enginOrderNo;
|
|
- this.mainForm.enginName = data.refProjectName;
|
|
|
|
|
|
+ this.mainForm.refProjectCategory = data.refProjectName;
|
|
this.mainForm.loginType = data.enginOrderType;
|
|
this.mainForm.loginType = data.enginOrderType;
|
|
this.mainForm.factoryNum = data.refFactoryNo;
|
|
this.mainForm.factoryNum = data.refFactoryNo;
|
|
this.mainForm.company = data.refUseUnit;
|
|
this.mainForm.company = data.refUseUnit;
|
|
@@ -570,7 +570,7 @@ export default {
|
|
pageNum: this.currentPage,
|
|
pageNum: this.currentPage,
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
refEnginRecordNo: this.screenForm.loginNum,
|
|
refEnginRecordNo: this.screenForm.loginNum,
|
|
- refProjectName: this.screenForm.enginName,
|
|
|
|
|
|
+ refProjectName: this.screenForm.refProjectCategory,
|
|
specification: this.screenForm.model,
|
|
specification: this.screenForm.model,
|
|
correspondId: this.screenForm.warehouse,
|
|
correspondId: this.screenForm.warehouse,
|
|
categoryName: this.screenForm.type,
|
|
categoryName: this.screenForm.type,
|
|
@@ -725,7 +725,7 @@ export default {
|
|
getEnginGoodsDetail({enginOrderNo}).then(res => {
|
|
getEnginGoodsDetail({enginOrderNo}).then(res => {
|
|
let data = res.data;
|
|
let data = res.data;
|
|
this.mainForm.loginNum = data.refEnginRecordNo;
|
|
this.mainForm.loginNum = data.refEnginRecordNo;
|
|
- this.mainForm.enginName = data.refProjectName;
|
|
|
|
|
|
+ this.mainForm.refProjectCategory = data.refProjectName;
|
|
this.mainForm.loginType = data.refPromiseStatus;
|
|
this.mainForm.loginType = data.refPromiseStatus;
|
|
this.mainForm.factoryNum = data.refFactoryNo;
|
|
this.mainForm.factoryNum = data.refFactoryNo;
|
|
this.mainForm.company = data.refUseUnit;
|
|
this.mainForm.company = data.refUseUnit;
|
|
@@ -787,7 +787,7 @@ export default {
|
|
customerName: this.mainForm.jxsName,
|
|
customerName: this.mainForm.jxsName,
|
|
remark: this.mainForm.remark,
|
|
remark: this.mainForm.remark,
|
|
enginOrderNo: this.mainForm.loginNum,
|
|
enginOrderNo: this.mainForm.loginNum,
|
|
- refProjectName: this.mainForm.enginName,
|
|
|
|
|
|
+ refProjectName: this.mainForm.refProjectCategory,
|
|
enginOrderType: this.mainForm.loginType,
|
|
enginOrderType: this.mainForm.loginType,
|
|
refFactoryNo: this.mainForm.factoryNum,
|
|
refFactoryNo: this.mainForm.factoryNum,
|
|
refUseUnit: this.mainForm.company,
|
|
refUseUnit: this.mainForm.company,
|
|
@@ -800,7 +800,7 @@ export default {
|
|
fileUrl: this.fileList && this.fileList.length > 0 ? this.fileList[0].url : '',
|
|
fileUrl: this.fileList && this.fileList.length > 0 ? this.fileList[0].url : '',
|
|
fileName: this.fileList && this.fileList.length > 0 ? this.fileList[0].name : '',
|
|
fileName: this.fileList && this.fileList.length > 0 ? this.fileList[0].name : '',
|
|
correspondId: this.mainForm.warehouse,
|
|
correspondId: this.mainForm.warehouse,
|
|
- correspondName: warehouseItem.name,
|
|
|
|
|
|
+ correspondName: warehouseItem.name?warehouseItem.name:'',
|
|
salesOrderId: this.goodsList[0].id,
|
|
salesOrderId: this.goodsList[0].id,
|
|
orders: goodsList,
|
|
orders: goodsList,
|
|
examineStatus: status,
|
|
examineStatus: status,
|