From a28edee5562643536f765ca4d84b1360d38a7a4e Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Thu, 9 Mar 2023 11:51:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/components/adjust.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); };