|
@@ -359,6 +359,10 @@
|
|
<span class="line-left-spn">集团简称:</span>
|
|
<span class="line-left-spn">集团简称:</span>
|
|
<span class="line-right-spn-else">{{ queryByIdList.groupAbbreviation || '-' }}</span>
|
|
<span class="line-right-spn-else">{{ queryByIdList.groupAbbreviation || '-' }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="policy-line-left">
|
|
|
|
+ <span class="line-left-spn">预估利润:</span>
|
|
|
|
+ <span class="line-right-spn-else">{{ queryByIdList.estimatedProfit || '-' }}</span>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
<div class="line-quen-right">
|
|
<div class="line-quen-right">
|
|
<div class="policy-line-right">
|
|
<div class="policy-line-right">
|
|
@@ -791,6 +795,16 @@
|
|
@change="handleRemarksChange"
|
|
@change="handleRemarksChange"
|
|
/>
|
|
/>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <a-form-model-item label="预估利润" prop="estimatedProfit">
|
|
|
|
+ <a-input
|
|
|
|
+ v-model="policyOperationForm.estimatedProfit"
|
|
|
|
+ placeholder="请输入预估利润"
|
|
|
|
+ allow-clear
|
|
|
|
+ />
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+
|
|
</a-row>
|
|
</a-row>
|
|
</a-form-model>
|
|
</a-form-model>
|
|
</div>
|
|
</div>
|
|
@@ -1058,7 +1072,8 @@
|
|
dianPayCompanyName: '',
|
|
dianPayCompanyName: '',
|
|
dianPayCompanyRebateRate: '',
|
|
dianPayCompanyRebateRate: '',
|
|
addTimes: [],
|
|
addTimes: [],
|
|
- remarks: ''
|
|
|
|
|
|
+ remarks: '',
|
|
|
|
+ estimatedProfit: ''
|
|
},
|
|
},
|
|
voidId: undefined,
|
|
voidId: undefined,
|
|
reasonForm: {
|
|
reasonForm: {
|
|
@@ -1264,6 +1279,17 @@
|
|
width: 190,
|
|
width: 190,
|
|
scopedSlots: {customRender: 'remarks'}
|
|
scopedSlots: {customRender: 'remarks'}
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ {
|
|
|
|
+ title: '预估利润',
|
|
|
|
+ align: 'center',
|
|
|
|
+ dataIndex: 'estimatedProfit',
|
|
|
|
+ width: 190,
|
|
|
|
+ scopedSlots: {customRender: 'estimatedProfit'}
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+
|
|
{
|
|
{
|
|
title: '操作',
|
|
title: '操作',
|
|
dataIndex: 'action',
|
|
dataIndex: 'action',
|
|
@@ -1860,7 +1886,7 @@
|
|
},
|
|
},
|
|
// 新增政策确定按钮
|
|
// 新增政策确定按钮
|
|
handlePolicyOperationSure() {
|
|
handlePolicyOperationSure() {
|
|
- const {companyName, advancePay, advertiserName, rebateType, mediaType, defaultFormList, customerFlag, addTimes, saleId, areaInfo, companySubjectName, promotionType, groupAbbreviation, rebateRate, accountingPeriod, isDianPay, dianPayCompanyName, dianPayCompanyRebateRate, remarks, id} = this.policyOperationForm;
|
|
|
|
|
|
+ const {companyName, advancePay, advertiserName, rebateType, mediaType, defaultFormList, customerFlag, addTimes, saleId, areaInfo, companySubjectName, promotionType, groupAbbreviation, rebateRate, accountingPeriod, isDianPay, dianPayCompanyName, dianPayCompanyRebateRate, remarks, id, estimatedProfit} = this.policyOperationForm;
|
|
const paramsData = {
|
|
const paramsData = {
|
|
policyProductName: defaultFormList.map(item => item.value),
|
|
policyProductName: defaultFormList.map(item => item.value),
|
|
policyStartDate: addTimes[0],
|
|
policyStartDate: addTimes[0],
|
|
@@ -1883,6 +1909,7 @@
|
|
dianPayCompanyName,
|
|
dianPayCompanyName,
|
|
dianPayCompanyRebateRate,
|
|
dianPayCompanyRebateRate,
|
|
remarks,
|
|
remarks,
|
|
|
|
+ estimatedProfit,
|
|
createUserName: this.saleShowOption[0].userName || ''
|
|
createUserName: this.saleShowOption[0].userName || ''
|
|
};
|
|
};
|
|
this.$refs.policyOperationForm.validate(valid => {
|
|
this.$refs.policyOperationForm.validate(valid => {
|