|
@@ -1,3 +1,45 @@
|
|
|
+<!--
|
|
|
+actualPrice: 50
|
|
|
+addTime: 1631094304000
|
|
|
+address: "港湾一号港11"
|
|
|
+brandId: 1046508
|
|
|
+brandName: "一楼展厅-多点位"
|
|
|
+callbackStatus: null
|
|
|
+city: "珠海市"
|
|
|
+confirmTime: null
|
|
|
+consignee: "cy"
|
|
|
+country: null
|
|
|
+couponId: ""
|
|
|
+couponPrice: 0
|
|
|
+district: "香洲区"
|
|
|
+freightPrice: 0
|
|
|
+goodsList: null
|
|
|
+goodsPrice: 50
|
|
|
+id: 676
|
|
|
+integral: 0
|
|
|
+integralMoney: 0
|
|
|
+logistics: null
|
|
|
+mobile: "15975119071"
|
|
|
+newId: "6761046508"
|
|
|
+nickName: "sousya"
|
|
|
+orderPrice: 50
|
|
|
+orderSn: "20210908174503807397842"
|
|
|
+orderStatus: 0
|
|
|
+orderType: "4"
|
|
|
+parentId: null
|
|
|
+payId: "wx0817450412422539ab24fc31729b920000"
|
|
|
+payName: null
|
|
|
+payStatus: 0
|
|
|
+payTime: null
|
|
|
+postscript: null
|
|
|
+province: "广东省"
|
|
|
+shippingFee: 0
|
|
|
+shippingId: 0
|
|
|
+shippingName: null
|
|
|
+shippingNo: null
|
|
|
+shippingStatus: 0
|
|
|
+userId: 17
|
|
|
+userName: "微信用户q0zj95zuo4pv" -->
|
|
|
<template>
|
|
|
<div class="p-4">
|
|
|
<BasicTable @register="registerTable">
|
|
@@ -15,6 +57,9 @@
|
|
|
<template #paymentStatus="{ record }">
|
|
|
{{ renderPaymentStatusLabel(record.paymentStatus) }}
|
|
|
</template>
|
|
|
+ <template #addTime="{ record }">
|
|
|
+ <Time :value="record.addTime" mode="datetime" />
|
|
|
+ </template>
|
|
|
<template #action="{ record }">
|
|
|
<TableAction
|
|
|
:actions="[
|
|
@@ -57,9 +102,10 @@
|
|
|
import { useI18n } from '/@/hooks/web/useI18n';
|
|
|
// import { useCopyToClipboard } from '/@/hooks/web/useCopyToClipboard';
|
|
|
import { useGo } from '/@/hooks/web/usePage';
|
|
|
+ import { Time } from '/@/components/Time';
|
|
|
|
|
|
export default defineComponent({
|
|
|
- components: { BasicTable, TableAction, TableImg },
|
|
|
+ components: { BasicTable, TableAction, TableImg, Time },
|
|
|
setup() {
|
|
|
const { createMessage } = useMessage();
|
|
|
const go = useGo();
|
|
@@ -73,13 +119,13 @@
|
|
|
},
|
|
|
{
|
|
|
title: '订单号',
|
|
|
- dataIndex: 'orderNo',
|
|
|
+ dataIndex: 'orderSn',
|
|
|
|
|
|
width: 160,
|
|
|
},
|
|
|
{
|
|
|
title: '会员昵称',
|
|
|
- dataIndex: 'name',
|
|
|
+ dataIndex: 'nickName',
|
|
|
width: 80,
|
|
|
},
|
|
|
{
|
|
@@ -116,7 +162,7 @@
|
|
|
},
|
|
|
{
|
|
|
title: '快递公司',
|
|
|
- dataIndex: 'shipingCompany',
|
|
|
+ dataIndex: 'shipingName',
|
|
|
width: 60,
|
|
|
},
|
|
|
{
|
|
@@ -126,13 +172,14 @@
|
|
|
},
|
|
|
{
|
|
|
title: '实际支付金额',
|
|
|
- dataIndex: 'shipingAmount',
|
|
|
+ dataIndex: 'actualPrice',
|
|
|
width: 80,
|
|
|
},
|
|
|
{
|
|
|
title: '下单时间',
|
|
|
- dataIndex: 'createTime',
|
|
|
+ dataIndex: 'addTime',
|
|
|
width: 120,
|
|
|
+ slots: { customRender: 'addTime' },
|
|
|
},
|
|
|
{
|
|
|
title: '操作',
|