|
@@ -99,12 +99,24 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col> -->
|
|
</el-col> -->
|
|
|
</el-row>
|
|
</el-row>
|
|
|
- <el-row v-show="dataForm.comlevel == 5">
|
|
|
|
|
|
|
+ <el-row v-if="dataForm.comlevel == '5'">
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="门店" prop="house">
|
|
<el-form-item label="门店" prop="house">
|
|
|
<el-input style="width: 100%" placeholder="门店" v-model="dataForm.house"></el-input>
|
|
<el-input style="width: 100%" placeholder="门店" v-model="dataForm.house"></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="来源" prop="managementSource" >
|
|
|
|
|
+ <el-select style="width: 100%" v-model="dataForm.managementSource" >
|
|
|
|
|
+ <el-option label="渠道" value="1"></el-option>
|
|
|
|
|
+ <el-option label="个代" value="2"></el-option>
|
|
|
|
|
+ <el-option label="服务" value="3"></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<el-row>
|
|
<el-row>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
@@ -134,9 +146,9 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<el-row>
|
|
<el-row>
|
|
|
- <el-col :span="8">
|
|
|
|
|
- <el-form-item label="管理费比例%" prop="managementFee" label-width="120px">
|
|
|
|
|
- <el-input-number style="width: 90%" v-model="dataForm.managementFee" controls-position="right" placeholder="管理费比例%" :min="0"></el-input-number>
|
|
|
|
|
|
|
+ <el-col :span="16">
|
|
|
|
|
+ <el-form-item label="机构地址" prop="address">
|
|
|
|
|
+ <el-input v-model="dataForm.address" placeholder="机构地址"></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
@@ -145,17 +157,35 @@
|
|
|
:min="0"></el-input-number>
|
|
:min="0"></el-input-number>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row v-if="dataForm.comlevel=='5'">
|
|
|
|
|
+
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="一级管理费比例%" prop="managementFee" label-width="120px">
|
|
|
|
|
+ <el-input-number style="width: 90%" v-model="dataForm.managementFee" controls-position="right" placeholder="管理费比例%" :min="0"></el-input-number>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
|
|
+ <el-form-item label="二级管理费比例%" prop="managementFeeSecond" label-width="120px">
|
|
|
|
|
+ <el-input-number style="width: 90%" v-model="dataForm.managementFeeSecond" controls-position="right" placeholder="管理费比例%" :min="0"></el-input-number>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="三级管理费比例%" prop="managementFeeThird" label-width="120px">
|
|
|
|
|
+ <el-input-number style="width: 90%" v-model="dataForm.managementFeeThird" controls-position="right" placeholder="管理费比例%" :min="0"></el-input-number>
|
|
|
|
|
+ </el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
- <el-row>
|
|
|
|
|
- <el-col :span="16">
|
|
|
|
|
- <el-form-item label="机构地址" prop="address">
|
|
|
|
|
- <el-input v-model="dataForm.address" placeholder="机构地址"></el-input>
|
|
|
|
|
|
|
+ <el-row v-if="dataForm.comlevel=='5'">
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="四级管理费比例%" prop="managementFeeForth" label-width="120px">
|
|
|
|
|
+ <el-input-number style="width: 90%" v-model="dataForm.managementFeeForth" controls-position="right" placeholder="管理费比例%" :min="0"></el-input-number>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
-
|
|
|
|
|
|
|
+ <el-form-item label="五级管理费比例%" prop="managementFeeFifth" label-width="120px">
|
|
|
|
|
+ <el-input-number style="width: 90%" v-model="dataForm.managementFeeFifth" controls-position="right" placeholder="管理费比例%" :min="0"></el-input-number>
|
|
|
|
|
+ </el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<el-row> </el-row>
|
|
<el-row> </el-row>
|
|
@@ -348,7 +378,12 @@ export default {
|
|
|
area: "", //区县
|
|
area: "", //区县
|
|
|
house: "", //门店
|
|
house: "", //门店
|
|
|
deptType: "", //机构类型:用来区分是子公司还是部门啥的,现有:子公司C,门店M,部门D
|
|
deptType: "", //机构类型:用来区分是子公司还是部门啥的,现有:子公司C,门店M,部门D
|
|
|
- managementFee:0,//管理费比例
|
|
|
|
|
|
|
+ managementFee:0,//一级管理费比例
|
|
|
|
|
+ managementFeeSecond:0,//二级管理费比例
|
|
|
|
|
+ managementFeeThird:0,//三级管理费比例
|
|
|
|
|
+ managementFeeForth:0,//四级管理费比例
|
|
|
|
|
+ managementFeeFifth:0,//五级管理费比例
|
|
|
|
|
+ managementSource:0,//来源
|
|
|
orderNum: 0,
|
|
orderNum: 0,
|
|
|
},
|
|
},
|
|
|
//表单验证
|
|
//表单验证
|
|
@@ -388,10 +423,49 @@ export default {
|
|
|
trigger: "blur",
|
|
trigger: "blur",
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|
|
|
|
|
+ managementSource: [
|
|
|
|
|
+ {
|
|
|
|
|
+ required: true,
|
|
|
|
|
+ message: "来源不能为空",
|
|
|
|
|
+ trigger: "blur",
|
|
|
|
|
+ }, {
|
|
|
|
|
+ pattern: /^[1-3]$/,
|
|
|
|
|
+ message: "来源不能为空",
|
|
|
|
|
+ trigger: "blur"
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
managementFee: [
|
|
managementFee: [
|
|
|
{
|
|
{
|
|
|
required: true,
|
|
required: true,
|
|
|
- message: "管理费比例不能为空",
|
|
|
|
|
|
|
+ message: "一级管理费比例不能为空",
|
|
|
|
|
+ trigger: "blur",
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
|
|
+ managementFeeSecond: [
|
|
|
|
|
+ {
|
|
|
|
|
+ required: true,
|
|
|
|
|
+ message: "二级管理费比例不能为空",
|
|
|
|
|
+ trigger: "blur",
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
|
|
+ managementFeeThird: [
|
|
|
|
|
+ {
|
|
|
|
|
+ required: true,
|
|
|
|
|
+ message: "三级管理费比例不能为空",
|
|
|
|
|
+ trigger: "blur",
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
|
|
+ managementFeeForth: [
|
|
|
|
|
+ {
|
|
|
|
|
+ required: true,
|
|
|
|
|
+ message: "四级管理费比例不能为空",
|
|
|
|
|
+ trigger: "blur",
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
|
|
+ managementFeeFifth: [
|
|
|
|
|
+ {
|
|
|
|
|
+ required: true,
|
|
|
|
|
+ message: "五级管理费比例不能为空",
|
|
|
trigger: "blur",
|
|
trigger: "blur",
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|