From 3c48f3e8870eb36fbf899a56802c20625605c4e1 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Wed, 9 Dec 2020 11:44:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/components/property/payFeeDiscount/payFeeDiscount.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/components/property/payFeeDiscount/payFeeDiscount.js b/public/components/property/payFeeDiscount/payFeeDiscount.js index 3231266ce..3c4d085a6 100644 --- a/public/components/property/payFeeDiscount/payFeeDiscount.js +++ b/public/components/property/payFeeDiscount/payFeeDiscount.js @@ -91,7 +91,7 @@ let _selectDiscount = []; $that.payFeeDiscountInfo.selectDiscountIds.forEach(item => { $that.payFeeDiscountInfo.feeDiscounts.forEach(disItem => { - if (item == disItem.discountId && disItem.discountPrice > 0) { + if (item == disItem.discountId && disItem.discountPrice != 0) { _totalDiscountMoney += parseFloat(disItem.discountPrice); _selectDiscount.push(disItem); }