Commit b9c14ca7 by 吕明尚

Merge branch 'refs/heads/2024-06-19'

parents 9de1ff6a 73c71969
...@@ -619,6 +619,12 @@ export default { ...@@ -619,6 +619,12 @@ export default {
{pattern: /^[0-9]+(.[0-9]{1,2})?$/, message: '请输入正确的金额格式', trigger: 'blur'}, {pattern: /^[0-9]+(.[0-9]{1,2})?$/, message: '请输入正确的金额格式', trigger: 'blur'},
{required: true, message: "促销金额不能为空", trigger: "change"} {required: true, message: "促销金额不能为空", trigger: "change"}
], ],
validStartTime: [
{required: true, message: "有效开始时段不能为空", trigger: "change"}
],
validEndTime: [
{required: true, message: "有效结束时段不能为空", trigger: "change"}
],
} }
}; };
}, },
......
...@@ -404,6 +404,12 @@ export default { ...@@ -404,6 +404,12 @@ export default {
{pattern: /^[0-9]+(.[0-9]{1,2})?$/, message: '请输入正确的金额格式', trigger: 'blur'}, {pattern: /^[0-9]+(.[0-9]{1,2})?$/, message: '请输入正确的金额格式', trigger: 'blur'},
{required: true, message: "促销金额不能为空", trigger: "change"} {required: true, message: "促销金额不能为空", trigger: "change"}
], ],
validStartTime: [
{required: true, message: "有效开始时段不能为空", trigger: "change"}
],
validEndTime: [
{required: true, message: "有效结束时段不能为空", trigger: "change"}
],
} }
}; };
}, },
......
...@@ -404,6 +404,12 @@ export default { ...@@ -404,6 +404,12 @@ export default {
{pattern: /^[0-9]+(.[0-9]{1,2})?$/, message: '请输入正确的金额格式', trigger: 'blur'}, {pattern: /^[0-9]+(.[0-9]{1,2})?$/, message: '请输入正确的金额格式', trigger: 'blur'},
{required: true, message: "促销金额不能为空", trigger: "change"} {required: true, message: "促销金额不能为空", trigger: "change"}
], ],
validStartTime: [
{required: true, message: "有效开始时段不能为空", trigger: "change"}
],
validEndTime: [
{required: true, message: "有效结束时段不能为空", trigger: "change"}
],
} }
}; };
}, },
......
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