pull/7/head
xiaozhiyong 2 years ago
parent 9f1b7e7a9a
commit a28edee556
  1. 2
      src/views/product/components/adjust.vue

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

Loading…
Cancel
Save