|
|
@@ -7,7 +7,7 @@ import { defaultTransform, useNaivePaginatedTable } from '@/hooks/common/table';
|
|
|
import { copyTextToClipboard } from '@/utils/zt';
|
|
|
import { $t } from '@/locales';
|
|
|
import { useForm } from '@/components/zt/Form/hooks/useForm';
|
|
|
-import { SearchForm, orderStatus, orderStatusEnum, refundStatus } from './normal-order';
|
|
|
+import { SearchForm, ShippingButton, orderStatus, refundStatus } from './normal-order';
|
|
|
import DeliveryModal from './component/delivery-modal.vue';
|
|
|
import NormalMoadl from './component/normal-modal.vue';
|
|
|
const appStore = useAppStore();
|
|
|
@@ -173,10 +173,7 @@ const { columns, data, loading, getData, mobilePagination } = useNaivePaginatedT
|
|
|
<n-button size="small" type="primary" quaternary onClick={() => handleOpenMoadl(row)}>
|
|
|
查看订单
|
|
|
</n-button>
|
|
|
- {(row.hbOrderStatus == orderStatusEnum.WAIT_DELIVERY ||
|
|
|
- row.hbOrderStatus == orderStatusEnum.ORDER_WAIT_DELIVERY ||
|
|
|
- row.hbOrderStatus == orderStatusEnum.ORDER_DELIVERY ||
|
|
|
- row.hbOrderStatus == orderStatusEnum.ORDER_DELIVERY) && (
|
|
|
+ {ShippingButton.includes(row.hbOrderStatus) && (
|
|
|
<n-button size="small" type="primary" quaternary onClick={() => handleDeivery(row)}>
|
|
|
{row.dvyFlowId ? '修改物流' : '发货'}
|
|
|
</n-button>
|