diff --git a/src/api/order/refund/model/index.ts b/src/api/order/refund/model/index.ts
index d4174d0..926a071 100644
--- a/src/api/order/refund/model/index.ts
+++ b/src/api/order/refund/model/index.ts
@@ -24,7 +24,7 @@ export interface OrderRefund {
status?: number;
merchantCode?: string;
createTime?: string;
- updateTIme?: string;
+ updateTime?: string;
tenantId?: string;
}
diff --git a/src/views/yunxinwei/refund/components/edit.vue b/src/views/yunxinwei/refund/components/edit.vue
index d7f18b7..14e2f04 100644
--- a/src/views/yunxinwei/refund/components/edit.vue
+++ b/src/views/yunxinwei/refund/components/edit.vue
@@ -43,7 +43,7 @@ import {ref, reactive, watch, computed} from 'vue';
import { useUserStore } from '@/store/modules/user';
import { OrderRefund } from "@/api/order/refund/model";
import { updateOrderRefund } from "@/api/order/refund";
-import { assignObject } from "ele-admin-pro";
+import {assignObject, toDateString} from "ele-admin-pro";
const userStore = useUserStore();
// 当前用户信息
@@ -109,7 +109,8 @@ import { assignObject } from "ele-admin-pro";
...form,
orderRefundId: props.data?.orderRefundId,
orderId: props.data?.orderId,
- tenantId: props.data?.tenantId
+ tenantId: props.data?.tenantId,
+ updateTime:toDateString(new Date(), 'yyyy-MM-dd HH:mm:ss'),
};
// 转字符串
updateOrderRefund(data)
diff --git a/src/views/yunxinwei/refund/index.vue b/src/views/yunxinwei/refund/index.vue
index f8a8cf5..1ace6af 100644
--- a/src/views/yunxinwei/refund/index.vue
+++ b/src/views/yunxinwei/refund/index.vue
@@ -69,6 +69,10 @@
审核
+
+ -
+ {{ record.updateTime }}
+
@@ -142,6 +146,12 @@
key: 'applyDesc',
ellipsis: true
},
+ {
+ title: '拒绝原因',
+ dataIndex: 'refuseDesc',
+ key: 'refuseDesc',
+ ellipsis: true
+ },
{
title: '实际返还金额',
dataIndex: 'refundMoney',
@@ -152,6 +162,12 @@
key: 'auditStatus',
dataIndex: 'auditStatus'
},
+ {
+ title: '审核时间',
+ dataIndex: 'updateTime',
+ key: 'updateTime',
+ customRender: ({ text }) => toDateString(text)
+ },
{
title: '创建时间',
dataIndex: 'createTime',
diff --git a/src/views/yunxinwei/withdraw/index.vue b/src/views/yunxinwei/withdraw/index.vue
index bad9402..360f954 100644
--- a/src/views/yunxinwei/withdraw/index.vue
+++ b/src/views/yunxinwei/withdraw/index.vue
@@ -78,7 +78,8 @@
{{ record.createTime }}
- {{ record.updateTime }}
+ {{ record.updateTime }}
+ -