|
@@ -172,8 +172,8 @@
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :xs="24" :sm="24" :lg="24">
|
|
|
- <el-form-item label="项目编号" prop="refProjectNo">
|
|
|
- <el-input v-model="mainForm.refProjectNo" placeholder="请输入项目编号" :disabled="isDealer" />
|
|
|
+ <el-form-item label="项目编号" prop="projectNo">
|
|
|
+ <el-input v-model="mainForm.projectNo" placeholder="请输入项目编号" :disabled="isDealer" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="24" :lg="24">
|
|
@@ -182,6 +182,21 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="24" :lg="24">
|
|
|
+ <el-form-item label="工程机转零售批复意见" prop="refToRetailIdea">
|
|
|
+ <el-input v-model="mainForm.refToRetailIdea" placeholder="请输入其他附件审批意见" disabled />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="24" :sm="24" :lg="24">
|
|
|
+ <el-form-item label="合同变更批复意见" prop="refContractIdea">
|
|
|
+ <el-input v-model="mainForm.refContractIdea" placeholder="请输入其他附件审批意见" disabled />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="24" :sm="24" :lg="24">
|
|
|
+ <el-form-item label="资料延期批复意见" prop="refDataDelayIdea">
|
|
|
+ <el-input v-model="mainForm.refDataDelayIdea" placeholder="请输入其他附件审批意见" disabled />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="24" :sm="24" :lg="24">
|
|
|
<el-form-item label="其他附件审批意见" prop="refOtherAnnexIdea">
|
|
|
<el-input v-model="mainForm.refOtherAnnexIdea" placeholder="请输入其他附件审批意见" disabled />
|
|
|
</el-form-item>
|
|
@@ -242,9 +257,9 @@
|
|
|
<el-select
|
|
|
v-model="warehouseValue"
|
|
|
placeholder="请选择发货仓库"
|
|
|
- @change="handleWarehouseValue"
|
|
|
size="small"
|
|
|
style="margin-right: 10px"
|
|
|
+ @change="handleWarehouseValue"
|
|
|
>
|
|
|
<el-option v-for="(item, index) in warehouseList" :key="index" :label="item.name" :value="item.id" />
|
|
|
</el-select>
|
|
@@ -372,19 +387,19 @@
|
|
|
(scope.row.price * scope.row.qty * 100 -
|
|
|
((scope.row.price * scope.row.qty * (scope.row.rebateRate * 100)) / 100) * 100 -
|
|
|
((scope.row.qty * (scope.row.discAmount * 100)) / 100) * 100) /
|
|
|
- 100
|
|
|
+ 100
|
|
|
}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <!-- <el-table-column
|
|
|
- align="center"
|
|
|
- label="退订数量"
|
|
|
- prop="tdQty"
|
|
|
- min-width="100"
|
|
|
- show-overflow-tooltip
|
|
|
- />
|
|
|
- <el-table-column align="center" label="销售数量" prop="salesQty" min-width="100" show-overflow-tooltip />
|
|
|
- <el-table-column align="center" label="销售金额" prop="salesAmount" min-width="100" show-overflow-tooltip /> -->
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ label="退订数量"
|
|
|
+ prop="tdQty"
|
|
|
+ min-width="100"
|
|
|
+ show-overflow-tooltip
|
|
|
+ />
|
|
|
+ <el-table-column align="center" label="销售数量" prop="salesQty" min-width="100" show-overflow-tooltip />
|
|
|
+ <el-table-column align="center" label="销售金额" prop="salesAmount" min-width="100" show-overflow-tooltip />
|
|
|
<el-table-column align="center" label="是否直调" prop="isDirectTransfer" min-width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<el-checkbox v-model="scope.row.isDirectTransfer" />
|
|
@@ -487,12 +502,12 @@
|
|
|
:close-on-click-modal="false"
|
|
|
>
|
|
|
<el-form
|
|
|
+ v-if="mainForm.examineStatus !== 'SAVE'"
|
|
|
ref="screenForm"
|
|
|
:model="screenForm"
|
|
|
label-width="0"
|
|
|
size="small"
|
|
|
label-position="left"
|
|
|
- v-if="mainForm.examineStatus !== 'SAVE'"
|
|
|
>
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
@@ -530,8 +545,11 @@
|
|
|
>
|
|
|
<el-table-column align="center" label="" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button type="primary" size="small" @click="chooseItem(scope.row.recordNo, scope.row.userid)"
|
|
|
- >选择
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ size="small"
|
|
|
+ @click="chooseItem(scope.row.recordNo, scope.row.userid)"
|
|
|
+ >选择
|
|
|
</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -822,7 +840,10 @@ export default {
|
|
|
refBuyUnitName: '',
|
|
|
refPromiseProvide: '',
|
|
|
refOtherAnnexIdea: '',
|
|
|
- refProjectNo: '',
|
|
|
+ refToRetailIdea: '',
|
|
|
+ refContractIdea: '',
|
|
|
+ refDataDelayIdea: '',
|
|
|
+ projectNo: '',
|
|
|
isPlanOrder: this.listItem ? '' : true
|
|
|
},
|
|
|
mainFormRules: {
|
|
@@ -957,7 +978,7 @@ export default {
|
|
|
immediate: true,
|
|
|
deep: true
|
|
|
},
|
|
|
- 'mainForm.saleType': function (newValue, oldValue) {
|
|
|
+ 'mainForm.saleType': function(newValue, oldValue) {
|
|
|
this.oldSaleType = oldValue
|
|
|
}
|
|
|
},
|
|
@@ -1244,7 +1265,10 @@ export default {
|
|
|
this.mainForm.examineStatus = data.examineStatus
|
|
|
this.mainForm.refBuyUnitName = data.refBuyUnitName
|
|
|
this.mainForm.refPromiseProvide = data.refPromiseProvide
|
|
|
- this.mainForm.refProjectNo = data.refProjectNo
|
|
|
+ this.mainForm.projectNo = data.projectNo
|
|
|
+ this.mainForm.refToRetailIdea = data.refToRetailIdea
|
|
|
+ this.mainForm.refContractIdea = data.refContractIdea
|
|
|
+ this.mainForm.refDataDelayIdea = data.refDataDelayIdea
|
|
|
this.correspondName = data.correspondName
|
|
|
this.warehouseValue = data.correspondId
|
|
|
this.mainForm.isPlanOrder = data.isPlanOrder
|
|
@@ -1581,7 +1605,12 @@ export default {
|
|
|
refBuyUnitName: this.mainForm.refBuyUnitName,
|
|
|
refPromiseProvide: this.mainForm.refPromiseProvide,
|
|
|
refOtherAnnexIdea: this.mainForm.refOtherAnnexIdea,
|
|
|
- refProjectNo: this.mainForm.refProjectNo,
|
|
|
+ projectNo: this.mainForm.projectNo,
|
|
|
+ contactMan: this.mainForm.contactMan,
|
|
|
+ tel: this.mainForm.tel,
|
|
|
+ refToRetailIdea: this.mainForm.refToRetailIdea,
|
|
|
+ refContractIdea: this.mainForm.refContractIdea,
|
|
|
+ refDataDelayIdea: this.mainForm.refDataDelayIdea,
|
|
|
items: goodsList
|
|
|
}
|
|
|
if (this.mainForm.examineStatus === 'WAIT') {
|
|
@@ -1646,7 +1675,10 @@ export default {
|
|
|
this.mainForm.refBuyUnitName = data.buyUnitName
|
|
|
this.mainForm.refPromiseProvide = data.promiseProvide === 1 ? '已保证' : '未保证'
|
|
|
this.mainForm.refOtherAnnexIdea = data.otherAnnexIdea
|
|
|
- this.mainForm.refProjectNo = data.refProjectNo
|
|
|
+ this.mainForm.projectNo = data.projectNo
|
|
|
+ this.mainForm.refToRetailIdea = data.toRetailIdea
|
|
|
+ this.mainForm.refContractIdea = data.contractIdea
|
|
|
+ this.mainForm.refDataDelayIdea = data.dataDelayIdea
|
|
|
const saleTypeItem = this.salesTypeList.find(o => o.id === this.mainForm.saleType)
|
|
|
|
|
|
this.goodsList = data.items.map(item => {
|
|
@@ -1674,9 +1706,9 @@ export default {
|
|
|
isDirectTransfer: false,
|
|
|
directTransferQty: '',
|
|
|
hasSendQty: '',
|
|
|
- tdQty:0,
|
|
|
- salesQty:0,
|
|
|
- salesAmount:0,
|
|
|
+ tdQty: 0,
|
|
|
+ salesQty: 0,
|
|
|
+ salesAmount: 0,
|
|
|
remark: item.discri,
|
|
|
tax: '',
|
|
|
status1: '',
|