File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/views/mall/trade/order/detail Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -334,13 +334,13 @@ onMounted(async () => {
334
334
// 如果配送方式为快递,则查询物流公司
335
335
if (formData .value .deliveryType === DeliveryTypeEnum .EXPRESS .type ) {
336
336
deliveryExpressList .value = await DeliveryExpressApi .getSimpleDeliveryExpressList ()
337
- if (form .value .logisticsId ) {
337
+ if (formData .value .logisticsId ) {
338
338
expressTrackList .value = await TradeOrderApi .getExpressTrackList (formData .value .id ! )
339
339
}
340
340
} else if (formData .value .deliveryType === DeliveryTypeEnum .PICK_UP .type ) {
341
- pickUpStore .value = await DeliveryPickUpStoreApi . getDeliveryPickUpStore (
342
- formData .value .pickUpStoreId
343
- )
341
+ if ( formData .value . pickUpStoreId ) {
342
+ pickUpStore . value = await DeliveryPickUpStoreApi . getDeliveryPickUpStore ( formData .value .pickUpStoreId )
343
+ }
344
344
}
345
345
})
346
346
</script >
You can’t perform that action at this time.
0 commit comments