fix: 本单匹数数量改取整单合计并升至1.1.16

This commit is contained in:
2026-11-01 15:55:10 +08:00
parent ec57e43b25
commit cc2d0218b5
9 changed files with 30 additions and 2 deletions
+1
View File
@@ -288,6 +288,7 @@ export function buildScanDetailFromScanResponse(res) {
: '',
product_code: res.product_code || '',
product_color_code: res.product_color_code || '',
// 本单匹数/数量:整单合计(扫码后会再以详情 total_* 覆盖)
order_roll: formatRoll(res.order_roll != null ? res.order_roll : res.total_roll),
item_roll: formatRoll(res.item_roll != null ? res.item_roll : res.roll),
order_weight: formatWeightKg(res.order_weight != null ? res.order_weight : res.total_weight),