Commit 73c71969 by 吕明尚

优惠券配置,有效开始,结束时段不能为空

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