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

View File

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