diff --git a/src/views/main/BookingLedger/detail/modules/preOrder.vue b/src/views/main/BookingLedger/detail/modules/preOrder.vue index b6fe193..d7c3ed0 100644 --- a/src/views/main/BookingLedger/detail/modules/preOrder.vue +++ b/src/views/main/BookingLedger/detail/modules/preOrder.vue @@ -2145,9 +2145,10 @@ export default { // } if ($data.portdischargeid) { GetPortlist({ KeyWord: $data.portdischargeid }).then((res) => { - console.log(res.data[0], 'res.data[0]') - $data.consigneecountry = res.data[0].countryCode - $data.consigneecountryName = `${res.data[0].countryCode}/${res.data[0].cnName}` + if (res.data) { + $data.consigneecountry = res.data[0].countryCode + $data.consigneecountryName = `${res.data[0].countryCode}/${res.data[0].cnName}` + } }) } if ($details.shipper) {