优化代码

This commit is contained in:
wuxw 2024-05-13 16:34:20 +08:00
parent 3d25468cdd
commit 852fb63bb8

View File

@ -145,6 +145,8 @@
_feeReceiptDetails.forEach(data => { _feeReceiptDetails.forEach(data => {
if (data.discountType == '2002') { if (data.discountType == '2002') {
_item.discountPrice = parseFloat(data.discountPrice) * -1; _item.discountPrice = parseFloat(data.discountPrice) * -1;
}else{
_item.discountPrice = 0;
} }
}) })
}, },