|
@@ -136,6 +136,11 @@
|
|
</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="refBuyUnitName">
|
|
|
|
+ <el-input v-model="mainForm.refBuyUnitName" placeholder="请输入购买单位" :disabled="isDealer" />
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :xs="24" :sm="12" :lg="8">
|
|
<el-form-item label="联系人" prop="contactMan">
|
|
<el-form-item label="联系人" prop="contactMan">
|
|
<el-input v-model="mainForm.contactMan" placeholder="请输入联系人" />
|
|
<el-input v-model="mainForm.contactMan" placeholder="请输入联系人" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -170,10 +175,14 @@
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
-
|
|
|
|
|
|
+ <el-col :xs="24" :sm="12" :lg="8">
|
|
|
|
+ <el-form-item label="跨区厂编号" prop="refBuyUnitName">
|
|
|
|
+ <el-input v-model="mainForm.refBuyUnitName" placeholder="请输入购买单位" :disabled="isDealer" />
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
<el-col :xs="24" :sm="24" :lg="24">
|
|
<el-col :xs="24" :sm="24" :lg="24">
|
|
- <el-form-item label="项目编号" prop="projectNo">
|
|
|
|
- <el-input v-model="mainForm.projectNo" placeholder="请输入项目编号" :disabled="isDealer" />
|
|
|
|
|
|
+ <el-form-item label="项目编号" prop="refProjectNo">
|
|
|
|
+ <el-input v-model="mainForm.refProjectNo" placeholder="请输入项目编号" :disabled="isDealer" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="24" :lg="24">
|
|
<el-col :xs="24" :sm="24" :lg="24">
|
|
@@ -843,7 +852,7 @@ export default {
|
|
refToRetailIdea: '',
|
|
refToRetailIdea: '',
|
|
refContractIdea: '',
|
|
refContractIdea: '',
|
|
refDataDelayIdea: '',
|
|
refDataDelayIdea: '',
|
|
- projectNo: '',
|
|
|
|
|
|
+ refProjectNo: '',
|
|
isPlanOrder: this.listItem ? '' : true
|
|
isPlanOrder: this.listItem ? '' : true
|
|
},
|
|
},
|
|
mainFormRules: {
|
|
mainFormRules: {
|
|
@@ -1265,10 +1274,12 @@ export default {
|
|
this.mainForm.examineStatus = data.examineStatus
|
|
this.mainForm.examineStatus = data.examineStatus
|
|
this.mainForm.refBuyUnitName = data.refBuyUnitName
|
|
this.mainForm.refBuyUnitName = data.refBuyUnitName
|
|
this.mainForm.refPromiseProvide = data.refPromiseProvide
|
|
this.mainForm.refPromiseProvide = data.refPromiseProvide
|
|
- this.mainForm.projectNo = data.projectNo
|
|
|
|
|
|
+ this.mainForm.refProjectNo = data.refProjectNo
|
|
this.mainForm.refToRetailIdea = data.refToRetailIdea
|
|
this.mainForm.refToRetailIdea = data.refToRetailIdea
|
|
this.mainForm.refContractIdea = data.refContractIdea
|
|
this.mainForm.refContractIdea = data.refContractIdea
|
|
this.mainForm.refDataDelayIdea = data.refDataDelayIdea
|
|
this.mainForm.refDataDelayIdea = data.refDataDelayIdea
|
|
|
|
+ this.mainForm.refBillsExpireDate = data.billsExpireDate
|
|
|
|
+
|
|
this.correspondName = data.correspondName
|
|
this.correspondName = data.correspondName
|
|
this.warehouseValue = data.correspondId
|
|
this.warehouseValue = data.correspondId
|
|
this.mainForm.isPlanOrder = data.isPlanOrder
|
|
this.mainForm.isPlanOrder = data.isPlanOrder
|
|
@@ -1582,7 +1593,6 @@ export default {
|
|
refProjectCategory: this.mainForm.enginName || '',
|
|
refProjectCategory: this.mainForm.enginName || '',
|
|
refTradeCategory: this.mainForm.loginType || '',
|
|
refTradeCategory: this.mainForm.loginType || '',
|
|
refPromiseStatus: this.mainForm.promiseStatus || '',
|
|
refPromiseStatus: this.mainForm.promiseStatus || '',
|
|
- refFactoryNo: this.mainForm.factoryNum || '',
|
|
|
|
refUseUnit: this.mainForm.company || '',
|
|
refUseUnit: this.mainForm.company || '',
|
|
refLinkman: this.mainForm.contactMan || '',
|
|
refLinkman: this.mainForm.contactMan || '',
|
|
refTel: this.mainForm.tel || '',
|
|
refTel: this.mainForm.tel || '',
|
|
@@ -1602,15 +1612,24 @@ export default {
|
|
refProjectNote: this.mainForm.projectRemark,
|
|
refProjectNote: this.mainForm.projectRemark,
|
|
refProjectType: this.mainForm.projectType,
|
|
refProjectType: this.mainForm.projectType,
|
|
refRegionWork: this.mainForm.regionWork,
|
|
refRegionWork: this.mainForm.regionWork,
|
|
- refBuyUnitName: this.mainForm.refBuyUnitName,
|
|
|
|
refPromiseProvide: this.mainForm.refPromiseProvide,
|
|
refPromiseProvide: this.mainForm.refPromiseProvide,
|
|
refOtherAnnexIdea: this.mainForm.refOtherAnnexIdea,
|
|
refOtherAnnexIdea: this.mainForm.refOtherAnnexIdea,
|
|
- projectNo: this.mainForm.projectNo,
|
|
|
|
|
|
+ refProjectNo: this.mainForm.refProjectNo,
|
|
contactMan: this.mainForm.contactMan,
|
|
contactMan: this.mainForm.contactMan,
|
|
tel: this.mainForm.tel,
|
|
tel: this.mainForm.tel,
|
|
refToRetailIdea: this.mainForm.refToRetailIdea,
|
|
refToRetailIdea: this.mainForm.refToRetailIdea,
|
|
refContractIdea: this.mainForm.refContractIdea,
|
|
refContractIdea: this.mainForm.refContractIdea,
|
|
refDataDelayIdea: this.mainForm.refDataDelayIdea,
|
|
refDataDelayIdea: this.mainForm.refDataDelayIdea,
|
|
|
|
+ refToRetailResult: this.mainForm.refToRetailResult,
|
|
|
|
+ refToRetailldea: this.mainForm.refToRetailldea,
|
|
|
|
+ refDataDelayResult: this.mainForm.refDataDelayResult,
|
|
|
|
+ refDataDelayldea: this.mainForm.refDataDelayldea,
|
|
|
|
+ refOtherAnnexResult: this.mainForm.refOtherAnnexResult,
|
|
|
|
+ refOtherAnnexldea: this.mainForm.refOtherAnnexldea,
|
|
|
|
+ refBuyUnitPhone: this.mainForm.refBuyUnitPhone,
|
|
|
|
+ refBuyUnitName: this.mainForm.refBuyUnitName,
|
|
|
|
+ refBuyUnitTel: this.mainForm.refBuyUnitTel,
|
|
|
|
+ refFactoryNo: this.mainForm.refFactoryNo,
|
|
items: goodsList
|
|
items: goodsList
|
|
}
|
|
}
|
|
if (this.mainForm.examineStatus === 'WAIT') {
|
|
if (this.mainForm.examineStatus === 'WAIT') {
|
|
@@ -1675,10 +1694,22 @@ export default {
|
|
this.mainForm.refBuyUnitName = data.buyUnitName
|
|
this.mainForm.refBuyUnitName = data.buyUnitName
|
|
this.mainForm.refPromiseProvide = data.promiseProvide === 1 ? '已保证' : '未保证'
|
|
this.mainForm.refPromiseProvide = data.promiseProvide === 1 ? '已保证' : '未保证'
|
|
this.mainForm.refOtherAnnexIdea = data.otherAnnexIdea
|
|
this.mainForm.refOtherAnnexIdea = data.otherAnnexIdea
|
|
- this.mainForm.projectNo = data.projectNo
|
|
|
|
|
|
+ this.mainForm.refProjectNo = data.projectNo
|
|
this.mainForm.refToRetailIdea = data.toRetailIdea
|
|
this.mainForm.refToRetailIdea = data.toRetailIdea
|
|
this.mainForm.refContractIdea = data.contractIdea
|
|
this.mainForm.refContractIdea = data.contractIdea
|
|
this.mainForm.refDataDelayIdea = data.dataDelayIdea
|
|
this.mainForm.refDataDelayIdea = data.dataDelayIdea
|
|
|
|
+ this.mainForm.refContractResult = data.contractResult
|
|
|
|
+ this.mainForm.refContractldea = data.contractldea
|
|
|
|
+ this.mainForm.refToRetailResult = data.toRetailResult
|
|
|
|
+ this.mainForm.refToRetailldea = data.toRetailldea
|
|
|
|
+ this.mainForm.refDataDelayResult = data.dataDelayResult
|
|
|
|
+ this.mainForm.refDataDelayldea = data.dataDelayldea
|
|
|
|
+ this.mainForm.refOtherAnnexResult = data.otherAnnexResult
|
|
|
|
+ this.mainForm.refOtherAnnexldea = data.otherAnnexldea
|
|
|
|
+ this.mainForm.refBuyUnitPhone = data.buyUnitPhone
|
|
|
|
+ this.mainForm.refBuyUnitName = data.buyUnitName
|
|
|
|
+ this.mainForm.refBuyUnitTel = data.buyUnitTel
|
|
|
|
+ this.mainForm.refFactoryNo=data.factoryNo
|
|
const saleTypeItem = this.salesTypeList.find(o => o.id === this.mainForm.saleType)
|
|
const saleTypeItem = this.salesTypeList.find(o => o.id === this.mainForm.saleType)
|
|
|
|
|
|
this.goodsList = data.items.map(item => {
|
|
this.goodsList = data.items.map(item => {
|