|
@@ -18,7 +18,7 @@ import { commonExport } from '@/utils/common';
|
|
|
import { useModal } from '@/components/zt/Modal/hooks/useModal';
|
|
import { useModal } from '@/components/zt/Modal/hooks/useModal';
|
|
|
import { useTable } from '@/components/zt/Table/hooks/useTable';
|
|
import { useTable } from '@/components/zt/Table/hooks/useTable';
|
|
|
// import { type } from '../../../../packages/axios/src/index';
|
|
// import { type } from '../../../../packages/axios/src/index';
|
|
|
-import { DJKOrderStatus, SearchForm, businessType, getSearchForm, orderStatus } from './normal-order';
|
|
|
|
|
|
|
+import { DJKOrderStatus, businessType, getSearchForm, orderStatus } from './normal-order';
|
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
|
const route = useRoute();
|
|
const route = useRoute();
|
|
|
const activeTab = ref('all');
|
|
const activeTab = ref('all');
|
|
@@ -69,6 +69,16 @@ const columns: NaiveUI.TableColumn<Api.delivery.deliveryOrder>[] = [
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ key: 'orderMoney',
|
|
|
|
|
+ title: '订单金额(元)',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ width: 140,
|
|
|
|
|
+ render: row => {
|
|
|
|
|
+ const amount = Number(row.orderMoney);
|
|
|
|
|
+ return <span>{Number.isFinite(amount) ? amount.toFixed(2) : '--'}</span>;
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
key: 'status',
|
|
key: 'status',
|
|
|
title: '订单状态',
|
|
title: '订单状态',
|