This commit is contained in:
lzh
2023-03-19 01:23:15 +08:00
parent 4b73744552
commit 90334e8ede
8 changed files with 116 additions and 4 deletions

View File

@@ -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: '取消',