修改折扣小计计算方式

This commit is contained in:
gyq
2024-10-26 11:09:27 +08:00
parent 06a0d1d0fc
commit 773a2cf2c9
3 changed files with 4 additions and 4 deletions

View File

@@ -278,7 +278,7 @@ async function printOrderLable() {
number: item.num,
skuName: item.productSkuName,
salePrice: formatDecimal(item.price),
totalAmount: formatDecimal(item.priceAmount)
totalAmount: formatDecimal(item.num * item.price)
}
)
})

View File

@@ -513,7 +513,7 @@ const print = lodash.throttle(
number: item.num,
skuName: item.productSkuName,
salePrice: formatDecimal(item.price),
totalAmount: formatDecimal(item.priceAmount)
totalAmount: formatDecimal(item.num * item.price)
}
)
})