This commit is contained in:
xiaozhiyong
2023-03-09 11:51:18 +08:00
parent 9f1b7e7a9a
commit a28edee556

View File

@@ -47,7 +47,7 @@ export default {
};
let validatorSalePrice2company = (rule, value, callback) => {
if (!value || !+value) return callback("企业销售价不能为0或空");
if (value < this.form.floorPrice)
if (+value < this.form.floorPrice)
return callback("企业销售价不能低于成本价");
callback();
};