|
@@ -143,20 +143,23 @@
|
|
|
<FormItem label="红冲类型">
|
|
|
<RadioGroup v-model="models.redType" @on-change="checkAllGroupChange">
|
|
|
<Radio label="签约主体红冲"></Radio>
|
|
|
- <Radio label="金额红冲"></Radio>
|
|
|
+ <Radio label="合同金额红冲"></Radio>
|
|
|
+ <Radio label="销售费用红冲"></Radio>
|
|
|
</RadioGroup>
|
|
|
</FormItem>
|
|
|
<p class="correctionLabel" v-if="redCorrection == 1">请输入该订单最终准确的信息:</p>
|
|
|
- <FormItem label="签约主体" v-if="redCorrection == 3 || redCorrection == 1">
|
|
|
+ <FormItem label="签约主体" v-if=" redCorrection == 1">
|
|
|
<Input v-model="signingSubject" type="text" :maxlength="50" disabled placeholder="请输入签约主体"></Input>
|
|
|
</FormItem>
|
|
|
-
|
|
|
- <FormItem label="修正原因" v-if="redCorrection == 1">
|
|
|
+ <FormItem label="销售费用" v-if="redCorrection == 3">
|
|
|
+ <Input v-model="models.commission" type="text" :maxlength="9" placeholder="请输入销售费用"></Input>
|
|
|
+ </FormItem>
|
|
|
+ <FormItem label="修正原因" v-if="redCorrection == 3 || redCorrection == 1">
|
|
|
<Select placeholder="请选择修正原因" clearable v-model="models.correctionType">
|
|
|
<Option v-for="item in correctionType" :value="item.v" :key="item.v">{{ item.n }}</Option>
|
|
|
</Select>
|
|
|
</FormItem>
|
|
|
- <FormItem label="" v-if="redCorrection == 1">
|
|
|
+ <FormItem label="" v-if="redCorrection == 3 || redCorrection == 1">
|
|
|
<Input v-model="models.correctionReason" v-if="models.correctionType === '其他'" type="textarea" size="large"
|
|
|
:autosize="{ minRows: 2, maxRows: 5 }" placeholder="请输入修正原因"></Input>
|
|
|
</FormItem>
|
|
@@ -629,7 +632,7 @@ export default {
|
|
|
async doSubmitHc () {
|
|
|
|
|
|
// 签约主体走旧逻辑
|
|
|
- if (this.redCorrection == 1) {
|
|
|
+ if (this.redCorrection == 1 || this.redCorrection == 3) {
|
|
|
return this.correctionSave()
|
|
|
}
|
|
|
|
|
@@ -707,6 +710,8 @@ export default {
|
|
|
this.redCorrection = 1
|
|
|
} else if (data === '金额红冲') {
|
|
|
this.redCorrection = 2
|
|
|
+ } else if (data === '销售费用红冲') {
|
|
|
+ this.redCorrection = 3
|
|
|
}
|
|
|
// 以下为多选时判断
|
|
|
// if (data.length === 1 && data[0] === '签约主体红冲') {
|