all
This commit is contained in:
@@ -265,6 +265,15 @@
|
||||
onSubmit(formName) {
|
||||
this.$refs[formName].validate((valid) => {
|
||||
if (valid) {
|
||||
if(parseFloat(this.coupon.amount)>=parseFloat(this.coupon.minPoint)){
|
||||
this.$message({
|
||||
message: '优惠券面值金额须小于使用门槛金额',
|
||||
type: 'error',
|
||||
duration: 1000
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
this.$confirm('是否提交数据', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
|
||||
Reference in New Issue
Block a user