|
|
@@ -8,7 +8,7 @@ import { copyTextToClipboard } from '@/utils/zt';
|
|
|
import { $t } from '@/locales';
|
|
|
import { useForm } from '@/components/zt/Form/hooks/useForm';
|
|
|
import NormalMoadl from '../normal-order/component/normal-modal.vue';
|
|
|
-import { orderStatus } from '../normal-order/normal-order';
|
|
|
+import { dvyStatus, orderStatus } from '../normal-order/normal-order';
|
|
|
import { SearchForm, TypeText, refundEnum, refundStatus } from './after-sales-order';
|
|
|
import OrderModal from './order-modal.vue';
|
|
|
const appStore = useAppStore();
|
|
|
@@ -163,6 +163,15 @@ const { columns, data, loading, getData, mobilePagination } = useNaivePaginatedT
|
|
|
);
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ key: 'dvyType',
|
|
|
+ title: '订单类型',
|
|
|
+ align: 'center',
|
|
|
+ width: 220,
|
|
|
+ render: row => {
|
|
|
+ return <NTag class={'mt7'}>{dvyStatus[row.dvyType as keyof typeof dvyStatus] || '未知类型'}</NTag>;
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
key: 'status',
|
|
|
title: '订单状态',
|
|
|
@@ -189,7 +198,7 @@ const { columns, data, loading, getData, mobilePagination } = useNaivePaginatedT
|
|
|
key: 'operate',
|
|
|
title: $t('common.operate'),
|
|
|
align: 'center',
|
|
|
- width: 130,
|
|
|
+ width: 160,
|
|
|
fixed: 'right',
|
|
|
render: row => {
|
|
|
return (
|
|
|
@@ -199,7 +208,7 @@ const { columns, data, loading, getData, mobilePagination } = useNaivePaginatedT
|
|
|
</n-button>
|
|
|
<n-button
|
|
|
size="small"
|
|
|
- class={'ml2'}
|
|
|
+ class={appStore.isMobile ? ' mt2' : 'ml2'}
|
|
|
type="primary"
|
|
|
ghost
|
|
|
onClick={() => AfterSalesModal.value?.handleOpenOrder(row.refundId)}
|