版本更新,优化退款显示
This commit is contained in:
@@ -241,7 +241,9 @@ async function printOrderLable(isBefore = false) {
|
||||
let packFee = 0
|
||||
|
||||
data.cartList.forEach(item => {
|
||||
packFee += item.num - item.returnNum * item.packAmount
|
||||
if (item.packNumber > 0 && (item.num - item.returnNum) >= item.packNumber) {
|
||||
packFee += (item.num - item.returnNum) * item.packAmount
|
||||
}
|
||||
})
|
||||
|
||||
if (packFee > 0 && isBefore) {
|
||||
|
||||
Reference in New Issue
Block a user