冲突解决

This commit is contained in:
2026-05-07 15:36:18 +08:00
parent 598609e050
commit 9b1e9cc8a9

View File

@@ -74,11 +74,8 @@ export default {
this.$refs.form.validate((valid) => {
if (valid) {
console.log(valid);
// if (this.form.discount_sale_amount * 1 <= 0 || this.form.discount_sale_amount * 1 <= 0) {
// return ElMessage.error("价格和数量必须大于0");
// }
if (this.form.discount_sale_amount * 1 <= 0 || this.form.discount_sale_amount * 1 <= 0) {
// return ElMessage.error("价格和数量必须大于0");
return ElMessage.error("价格和数量必须大于0");
}
this.submit();
} else {