feat: 单个物流查看
This commit is contained in:
@@ -126,6 +126,15 @@
|
||||
@close="closeReceiveItemPopup"
|
||||
@submit="handleReceiveItemSubmit"
|
||||
/>
|
||||
<ExpressListPopup
|
||||
ref="expressListPopupRef"
|
||||
popup-type="bottom"
|
||||
:order-no="props.data.no || ''"
|
||||
:order-data="props.data"
|
||||
:delay-records="state.delayRecords"
|
||||
:order-id="resolveAiOrderId(props.data)"
|
||||
@close="closeExpressListPopup"
|
||||
/>
|
||||
</template>
|
||||
<script setup>
|
||||
import {
|
||||
@@ -149,6 +158,7 @@
|
||||
import AiOrderActionBar from '@/components/orderItem/AiOrderActionBar.vue';
|
||||
import ShipmentPopup from '@/components/orderItem/ShipmentPopup.vue';
|
||||
import ReceiveItemPopup from '@/components/orderItem/ReceiveItemPopup.vue';
|
||||
import ExpressListPopup from '@/components/orderItem/ExpressListPopup.vue';
|
||||
import AfterSaleApi from '@/sheep/api/trade/afterSale';
|
||||
import sheep from '@/sheep';
|
||||
import {
|
||||
@@ -300,9 +310,11 @@
|
||||
const nowShipmentPopupRef = ref();
|
||||
const delayShipmentPopupRef = ref();
|
||||
const receiveItemPopupRef = ref();
|
||||
const expressListPopupRef = ref();
|
||||
const closeNowShipmentPopup = () => {};
|
||||
const closeDelayShipmentPopup = () => {};
|
||||
const closeReceiveItemPopup = () => {};
|
||||
const closeExpressListPopup = () => {};
|
||||
const openDelayShipmentPopup = async (data) => {
|
||||
const id = resolveAiOrderId(data);
|
||||
if (!id) {
|
||||
@@ -431,6 +443,10 @@
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (isAiStoreOrder.value && !isPickUpOrder.value) {
|
||||
expressListPopupRef.value?.open?.();
|
||||
return;
|
||||
}
|
||||
proxy.utils.go('/pages/order/express/log', { id });
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user