This commit is contained in:
xiaozhiyong
2023-03-16 15:44:44 +08:00
parent 479879ef38
commit ed47372ad5

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();
};