|
|
@ -146,7 +146,23 @@ |
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
<el-divider direction="horizontal" /> |
|
|
|
<el-divider direction="horizontal" /> |
|
|
|
|
|
|
|
<el-row :gutter="20"> |
|
|
|
|
|
|
|
<el-col :span="12" :offset="0"> |
|
|
|
|
|
|
|
<el-form-item label="包含区域提成" labelWidth="150px"> |
|
|
|
|
|
|
|
<el-radio-group v-model="formData.quyuticheng"> |
|
|
|
|
|
|
|
<el-radio :label="true"> 是 </el-radio> |
|
|
|
|
|
|
|
<el-radio :label="false"> 否 </el-radio> |
|
|
|
|
|
|
|
</el-radio-group> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
<el-col :span="12" :offset="0"> |
|
|
|
|
|
|
|
<el-form-item label="接待提成比例" labelWidth="150px"> |
|
|
|
|
|
|
|
<el-input v-model="formData.jiedaiticheng" placeholder="比例" clearable> |
|
|
|
|
|
|
|
<template #suffix> % </template> |
|
|
|
|
|
|
|
</el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
</el-row> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="12" :offset="0"> |
|
|
|
<el-col :span="12" :offset="0"> |
|
|
|
<el-form-item label="是否扣除其他支出" labelWidth="150px"> |
|
|
|
<el-form-item label="是否扣除其他支出" labelWidth="150px"> |
|
|
@ -303,13 +319,15 @@ const resetForm = () => { |
|
|
|
rateRules: [], |
|
|
|
rateRules: [], |
|
|
|
isDeductExtraPay: true, |
|
|
|
isDeductExtraPay: true, |
|
|
|
isDeductAfterSale: true, |
|
|
|
isDeductAfterSale: true, |
|
|
|
calculateType: 1 |
|
|
|
calculateType: 1, |
|
|
|
|
|
|
|
jiedaiticheng: undefined, |
|
|
|
|
|
|
|
quyuticheng: false |
|
|
|
} |
|
|
|
} |
|
|
|
formRef.value?.resetFields() |
|
|
|
formRef.value?.resetFields() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function handleAddRules() { |
|
|
|
function handleAddRules() { |
|
|
|
formData.value.rules.push(formData.value.rules[0]) |
|
|
|
formData.value.rules.push({ ...formData.value.rules[0] }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const emit = defineEmits(['success']) |
|
|
|
const emit = defineEmits(['success']) |
|
|
|