parent
49499deb60
commit
ae3ed669a3
@ -0,0 +1,58 @@
|
|||||||
|
<!--
|
||||||
|
* @Author: ch
|
||||||
|
* @Date: 2022-07-07 14:29:36
|
||||||
|
* @LastEditors: ch
|
||||||
|
* @LastEditTime: 2022-07-07 15:22:53
|
||||||
|
* @Description: file content
|
||||||
|
-->
|
||||||
|
<template>
|
||||||
|
<div class="main">
|
||||||
|
<el-descriptions title="支付订单信息" border :column="2">
|
||||||
|
<el-descriptions-item label="所属商户">{{ detail.mchInfo?.mchName }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="所属应用">{{ detail.appInfo?.appName }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="支付订单号">{{ detail.payOrderNo }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="订单金额">{{ detail.amount }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="商品标题">{{ detail.subject }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="商品描述">{{ detail.body }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="支付方式">{{ detail.payCodeText }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="下单时间">{{ detail.createTime }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="订单状态">{{ detail.payStatusText }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="支付时间">{{ detail.successTime }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="通知状态">{{ detail.notifyStatusText }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="通知地址">{{ detail.notifyUrl }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="已退款金额">{{ detail.refundAmount }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="退款次数">{{ detail.refundTimes }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="支付渠道订单">{{ detail.channelPayOrderNo }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="支付渠道用户ID">{{ detail.channelUserId }}</el-descriptions-item>
|
||||||
|
</el-descriptions>
|
||||||
|
<el-descriptions title="渠道订单信息" :column="1" class="channel">
|
||||||
|
<el-descriptions-item label="发起支付参数">
|
||||||
|
<el-input type="textarea" rows="2" v-model="detail.channelRequest" readonly />
|
||||||
|
</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="发起支付响应">
|
||||||
|
<el-input type="textarea" v-model="detail.channelResponse" readonly />
|
||||||
|
</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="渠道支付回调">
|
||||||
|
<el-input type="textarea" v-model="detail.channelNotify" readonly />
|
||||||
|
</el-descriptions-item>
|
||||||
|
</el-descriptions>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script setup>
|
||||||
|
const store = useStore();
|
||||||
|
const route = useRoute();
|
||||||
|
const detail = reactive({});
|
||||||
|
const getDetail = async () => {
|
||||||
|
const res = await store.dispatch('payOrder/detail', route.params.id);
|
||||||
|
detail = Object.assign(detail, res);
|
||||||
|
};
|
||||||
|
onActivated(getDetail);
|
||||||
|
</script>
|
||||||
|
<style lang="less" scoped>
|
||||||
|
.main {
|
||||||
|
padding: 30px !important;
|
||||||
|
}
|
||||||
|
.channel {
|
||||||
|
padding: 30px 0;
|
||||||
|
}
|
||||||
|
</style>
|
@ -0,0 +1,55 @@
|
|||||||
|
<!--
|
||||||
|
* @Author: ch
|
||||||
|
* @Date: 2022-07-07 14:29:36
|
||||||
|
* @LastEditors: ch
|
||||||
|
* @LastEditTime: 2022-07-07 15:42:44
|
||||||
|
* @Description: file content
|
||||||
|
-->
|
||||||
|
<template>
|
||||||
|
<div class="main">
|
||||||
|
<el-descriptions title="退款订单信息" border :column="2">
|
||||||
|
<el-descriptions-item label="所属商户">{{ detail.mchInfo?.mchName }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="所属应用">{{ detail.appInfo?.appName }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="支付订单号">{{ detail.payOrderInfo?.payOrderNo }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="退款订单号">{{ detail.refundOrderNo }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="订单金额">{{ detail.payOrderInfo?.amount }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="退款金额">{{ detail.refundAmount }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="退款状态">{{ detail.refundStatusText }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="申请时间">{{ detail.createTime }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="通知状态">{{ detail.notifyStatusText }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="通知地址">{{ detail.notifyUrl }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="退款渠道订单">
|
||||||
|
{{ detail.channelRefundOrderNo }}
|
||||||
|
</el-descriptions-item>
|
||||||
|
</el-descriptions>
|
||||||
|
<el-descriptions title="渠道订单信息" :column="1" class="channel">
|
||||||
|
<el-descriptions-item label="发起退款参数">
|
||||||
|
<el-input type="textarea" rows="2" v-model="detail.channelRequest" readonly />
|
||||||
|
</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="发起退款响应">
|
||||||
|
<el-input type="textarea" v-model="detail.channelResponse" readonly />
|
||||||
|
</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="渠道退款回调">
|
||||||
|
<el-input type="textarea" v-model="detail.channelNotify" readonly />
|
||||||
|
</el-descriptions-item>
|
||||||
|
</el-descriptions>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script setup>
|
||||||
|
const store = useStore();
|
||||||
|
const route = useRoute();
|
||||||
|
const detail = reactive({});
|
||||||
|
const getDetail = async () => {
|
||||||
|
const res = await store.dispatch('refundOrder/detail', route.params.id);
|
||||||
|
detail = Object.assign(detail, res);
|
||||||
|
};
|
||||||
|
onActivated(getDetail);
|
||||||
|
</script>
|
||||||
|
<style lang="less" scoped>
|
||||||
|
.main {
|
||||||
|
padding: 30px !important;
|
||||||
|
}
|
||||||
|
.channel {
|
||||||
|
padding: 30px 0;
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in new issue