!198 fix: 修复支付的一些小问题

Merge pull request !198 from dhb52/master
This commit is contained in:
芋道源码 2023-08-15 13:22:50 +00:00 committed by Gitee
commit a3f2a01eb0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 11 additions and 13 deletions

View File

@ -121,7 +121,8 @@ const message = useMessage() // 消息弹窗
const loading = ref(true) // const loading = ref(true) //
const total = ref(0) // const total = ref(0) //
const list = ref([]) // const list = ref([]) //
const queryParams = ref({ //
const queryParams = reactive({
pageNo: 1, pageNo: 1,
pageSize: 10 pageSize: 10
}) })
@ -141,7 +142,7 @@ const getList = async () => {
} }
/** 支付按钮操作 */ /** 支付按钮操作 */
const handlePay = (row) => { const handlePay = (row: any) => {
router.push({ router.push({
name: 'PayCashier', name: 'PayCashier',
query: { query: {
@ -195,7 +196,7 @@ const spus = ref([
const dialogVisible = ref(false) // const dialogVisible = ref(false) //
const formLoading = ref(false) // const formLoading = ref(false) //
const formData = ref({}) // const formData = ref<any>({}) //
const formRules = { const formRules = {
spuId: [{ required: true, message: '商品编号不能为空', trigger: 'blur' }] spuId: [{ required: true, message: '商品编号不能为空', trigger: 'blur' }]
} }

View File

@ -7,32 +7,27 @@
<el-descriptions-item label="通知状态"> <el-descriptions-item label="通知状态">
<dict-tag :type="DICT_TYPE.PAY_NOTIFY_STATUS" :value="detailData.status" /> <dict-tag :type="DICT_TYPE.PAY_NOTIFY_STATUS" :value="detailData.status" />
</el-descriptions-item> </el-descriptions-item>
</el-descriptions>
<el-descriptions :column="2">
<el-descriptions-item label="应用编号">{{ detailData.appId }}</el-descriptions-item> <el-descriptions-item label="应用编号">{{ detailData.appId }}</el-descriptions-item>
<el-descriptions-item label="应用名称">{{ detailData.appName }}</el-descriptions-item> <el-descriptions-item label="应用名称">{{ detailData.appName }}</el-descriptions-item>
</el-descriptions>
<el-descriptions :column="2">
<el-descriptions-item label="关联编号">{{ detailData.dataId }}</el-descriptions-item> <el-descriptions-item label="关联编号">{{ detailData.dataId }}</el-descriptions-item>
<el-descriptions-item label="通知类型"> <el-descriptions-item label="通知类型">
<dict-tag :type="DICT_TYPE.PAY_NOTIFY_TYPE" :value="detailData.type" /> <dict-tag :type="DICT_TYPE.PAY_NOTIFY_TYPE" :value="detailData.type" />
</el-descriptions-item> </el-descriptions-item>
</el-descriptions>
<el-descriptions :column="2">
<el-descriptions-item label="通知次数">{{ detailData.notifyTimes }}</el-descriptions-item> <el-descriptions-item label="通知次数">{{ detailData.notifyTimes }}</el-descriptions-item>
<el-descriptions-item label="最大通知次数"> <el-descriptions-item label="最大通知次数">
{{ detailData.maxNotifyTimes }} {{ detailData.maxNotifyTimes }}
</el-descriptions-item> </el-descriptions-item>
</el-descriptions>
<el-descriptions :column="2">
<el-descriptions-item label="最后通知时间"> <el-descriptions-item label="最后通知时间">
{{ formatDate(detailData.lastExecuteTime) }} {{ formatDate(detailData.lastExecuteTime) }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="下次通知时间"> <el-descriptions-item label="下次通知时间">
{{ formatDate(detailData.nextNotifyTime) }} {{ formatDate(detailData.nextNotifyTime) }}
</el-descriptions-item> </el-descriptions-item>
</el-descriptions>
<el-descriptions :column="2">
<el-descriptions-item label="创建时间"> <el-descriptions-item label="创建时间">
{{ formatDate(detailData.createTime) }} {{ formatDate(detailData.createTime) }}
</el-descriptions-item> </el-descriptions-item>
@ -40,8 +35,10 @@
{{ formatDate(detailData.updateTime) }} {{ formatDate(detailData.updateTime) }}
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>
<!-- 分割线 --> <!-- 分割线 -->
<el-divider /> <el-divider />
<el-descriptions :column="1" direction="vertical" border> <el-descriptions :column="1" direction="vertical" border>
<el-descriptions-item label="回调日志"> <el-descriptions-item label="回调日志">
<el-table :data="detailData.logs"> <el-table :data="detailData.logs">