diff --git a/src/views/product/components/adjust.vue b/src/views/product/components/adjust.vue index 0379c4f..bf1c410 100644 --- a/src/views/product/components/adjust.vue +++ b/src/views/product/components/adjust.vue @@ -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(); };