版本更新,优化退款显示

This commit is contained in:
gyq
2026-04-09 14:50:42 +08:00
parent 1985713f28
commit 50a5aeb8e5
6 changed files with 28401 additions and 189 deletions

View File

@@ -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) {