diff --git a/src/views/payment/record/flow/TradeFlowRecord.api.ts b/src/views/payment/record/flow/TradeFlowRecord.api.ts new file mode 100644 index 000000000..934f9ed75 --- /dev/null +++ b/src/views/payment/record/flow/TradeFlowRecord.api.ts @@ -0,0 +1,43 @@ +import { defHttp } from '/@/utils/http/axios' +import { PageResult, Result } from '/#/axios' +import { BaseEntity } from '/#/web' + +/** + * 分页 + */ +export function page(params) { + return defHttp.get>>({ + url: '/record/flow/page', + params, + }) +} + +/** + * 获取单条 + */ +export function get(id) { + return defHttp.get>({ + url: '/record/flow/findById', + params: { id }, + }) +} + +/** + * 支付同步记录 + */ +export interface TradeFlowRecord extends BaseEntity { + // 订单标题 + title?: string + // 金额 + amount?: number + // 业务类型 + type?: string + // 同步通道 + channel?: string + // 修复号 + tradeNo?: string + // 商户交易号 + bizTradeNo?: string + // 通道交易号 + outTradeNo?: string +} diff --git a/src/views/payment/record/flow/TradeFlowRecordInfo.vue b/src/views/payment/record/flow/TradeFlowRecordInfo.vue new file mode 100644 index 000000000..cf6383ddd --- /dev/null +++ b/src/views/payment/record/flow/TradeFlowRecordInfo.vue @@ -0,0 +1,76 @@ + + + + + diff --git a/src/views/payment/record/flow/TradeFlowRecordList.vue b/src/views/payment/record/flow/TradeFlowRecordList.vue new file mode 100644 index 000000000..ff94ef6a6 --- /dev/null +++ b/src/views/payment/record/flow/TradeFlowRecordList.vue @@ -0,0 +1,160 @@ + + + + + diff --git a/src/views/payment/record/sync/PaySyncRecordList.vue b/src/views/payment/record/sync/PaySyncRecordList.vue index 83a4d4c3e..f55148e05 100644 --- a/src/views/payment/record/sync/PaySyncRecordList.vue +++ b/src/views/payment/record/sync/PaySyncRecordList.vue @@ -97,7 +97,7 @@ return [ { field: 'tradeNo', type: STRING, name: '本地交易号', placeholder: '请输入本地交易号' }, { field: 'bizTradeNo', type: STRING, name: '商户交易号', placeholder: '请输入商户交易号' }, - { field: 'bizTradeNo', type: STRING, name: '通道交易号', placeholder: '请输入通道交易号' }, + { field: 'outTradeNo', type: STRING, name: '通道交易号', placeholder: '请输入通道交易号' }, { field: 'syncType', type: LIST,