Commit ced17d1d authored by 耿迪迪's avatar 耿迪迪

账户校验

parent e2989ebd
......@@ -180,7 +180,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="可用金额" prop="ableAmount">
<el-input v-model="form.ableAmount" type="number" placeholder="请输入可用金额" />
<el-input-number v-model="form.ableAmount" placeholder="请输入可用金额" />
</el-form-item>
</el-col>
</el-row>
......@@ -402,7 +402,15 @@ export default {
// 表单参数
form: {},
// 表单校验
rules: {},
rules: {
deptId: [
{ required: true, message: "请选择部门", trigger: "change" },
],
ableAmount: [
{ required: true, message: "可用金额为空", trigger: "blur" },
{type: 'number',min: 0.00 , message: "可用金额不能小于0"}
],
},
// 部门树选项
deptOptions: [],
disabled: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment