|
@@ -17,12 +17,13 @@
|
|
|
/>
|
|
|
<el-row :gutter="2">
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="销售费用" prop="channelCommission" :required="required.channelCommission">
|
|
|
+ <el-form-item label="销售费用合计" prop="channelCommission" :required="required.channelCommission">
|
|
|
<number-input
|
|
|
:value="channelCommission"
|
|
|
@input="onChannelCommissionChange"
|
|
|
placeholder="请填写销售费用"
|
|
|
:decimal="2"
|
|
|
+ disabled
|
|
|
>
|
|
|
<template #append>元</template>
|
|
|
</number-input>
|
|
@@ -93,12 +94,12 @@ export default {
|
|
|
computed: {
|
|
|
...mapState({
|
|
|
pageForm: state => state.order.pageForm,
|
|
|
- channelCommission: state => state.order.pageForm.channelCommission
|
|
|
+ // channelCommission: state => state.order.pageForm.channelCommission,
|
|
|
}),
|
|
|
buySubject() {
|
|
|
return this.pageForm.buySubject
|
|
|
},
|
|
|
- ...mapGetters('order', ['pageTotalMoney', 'orderMoney0Type', 'pureAmountMoney']),
|
|
|
+ ...mapGetters('order', ['pageTotalMoney', 'orderMoney0Type', 'pureAmountMoney', 'channelCommission']),
|
|
|
rules() {
|
|
|
const channelCommissionRequired = this.required.channelCommission
|
|
|
|
|
@@ -114,7 +115,7 @@ export default {
|
|
|
},
|
|
|
watch: {
|
|
|
buySubject() {
|
|
|
- this.onChannelCommissionChange(0)
|
|
|
+ // this.onChannelCommissionChange(0)
|
|
|
}
|
|
|
},
|
|
|
methods: {
|