From 19ff95c66d7c88ec5474dadc983179e5945091b5 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Thu, 4 Apr 2024 23:23:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/distribution/inventory/distrilbutionBillLading.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/distribution/inventory/distrilbutionBillLading.vue b/src/views/distribution/inventory/distrilbutionBillLading.vue index 938d2eef..a04be651 100644 --- a/src/views/distribution/inventory/distrilbutionBillLading.vue +++ b/src/views/distribution/inventory/distrilbutionBillLading.vue @@ -2742,9 +2742,12 @@ export default { submitFormData.zeroType = '2'; zeroOrderList.forEach(valE => { console.log(valE,'valE==>'); - if(valE.ParcelLisList.length){ + if(valE.ParcelLisList){ + if(valE.ParcelLisList.length){ submitFormData.parcelLisList = [...submitFormData.parcelLisList, ...valE.ParcelLisList]; } + } + }); // submitFormData.parcelLisList.forEach(val => (val.quantity = val.tiQuantity)); } else {