From 44b0166c96412cd8722afab1be58a2cd0ad07adf Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Wed, 28 Aug 2024 11:22:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=87=E8=B4=AD=E6=94=B6?= =?UTF-8?q?=E8=B4=A7=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/detail.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/detail.js b/src/common/detail.js index da93b326..ac1b3ed2 100644 --- a/src/common/detail.js +++ b/src/common/detail.js @@ -152,7 +152,9 @@ export function calcTreeHandleQty(detailSource) { } } } - item.handleQty = calc.add(item.handleQty, detail.handleQty); + if(detail.handleQty){ + item.handleQty = calc.add(item.handleQty, detail.handleQty); + } } } }