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 {