From ed47372ad51f695c840a8419ab6c477c396263e7 Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Thu, 16 Mar 2023 15:44:44 +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 bf1c410..73113b4 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(); };