mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化代码
This commit is contained in:
parent
be7e4bd931
commit
3c48f3e887
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user