1. 分账项目
This commit is contained in:
parent
2f83603276
commit
ecb4cc1757
|
@ -207,6 +207,18 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="分账项目" prop="dividendItemIds">
|
||||
<el-checkbox-group v-model="form.dividendItemIds" size="medium">
|
||||
<el-checkbox
|
||||
v-for="dict in dict.type.et_dividend_item"
|
||||
:key="dict.value"
|
||||
:label="dict.value">
|
||||
{{dict.label}}
|
||||
</el-checkbox>
|
||||
</el-checkbox-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="状态" prop="dividendStatus">
|
||||
<el-radio-group v-model="form.dividendStatus">
|
||||
|
@ -244,7 +256,7 @@ import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|||
|
||||
export default {
|
||||
name: "User",
|
||||
dicts: ['et_dividend_status', 'sys_user_sex'],
|
||||
dicts: ['et_dividend_status', 'sys_user_sex','et_dividend_item'],
|
||||
components: { Treeselect },
|
||||
data() {
|
||||
return {
|
||||
|
@ -323,6 +335,9 @@ export default {
|
|||
{ required: true, message: "分账比例不能为空", trigger: "blur" },
|
||||
{ pattern: /^\d+$/, message: '分账比例必须为正整数', trigger: 'blur' }
|
||||
],
|
||||
dividendItemIds: [
|
||||
{ required: true, message: "分账项目不能为空", trigger: "blur" },
|
||||
],
|
||||
cooperationTime: [
|
||||
{ required: true, message: "请选择合作时间", trigger: "blur" }
|
||||
],
|
||||
|
@ -409,6 +424,7 @@ export default {
|
|||
nickName: undefined,
|
||||
password: undefined,
|
||||
phonenumber: undefined,
|
||||
dividendItemIds: [],
|
||||
email: undefined,
|
||||
sex: undefined,
|
||||
dividendStatus: undefined,
|
||||
|
|
Loading…
Reference in New Issue
Block a user