diff --git a/yudao-admin-vue3/src/api/mall/trade/brokerage/withdraw/index.ts b/yudao-admin-vue3/src/api/mall/trade/brokerage/withdraw/index.ts index c93286a..33eab48 100644 --- a/yudao-admin-vue3/src/api/mall/trade/brokerage/withdraw/index.ts +++ b/yudao-admin-vue3/src/api/mall/trade/brokerage/withdraw/index.ts @@ -18,6 +18,28 @@ export interface BrokerageWithdrawVO { remark: string } +export interface withDrawSupplyVO { + id: number, + userId: number, + agentPrice: number, + brokeragePrice: number, + frozenPrice: number, + closingType: number, + wechatAccountQrCodeUrl: string, + aliyAccountQrCodeUrl: string, + realName: string, + accountNo: string, + bankName: string, + bankCardNo: string, + supplyPrice: number, + remark: string, + wechatAccount: string, + aliyAccount: string, + agentId: number, + agentName: string, +} + + // 查询佣金提现列表 export const getBrokerageWithdrawPage = async (params: any) => { return await request.get({ url: `/trade/brokerage-withdraw/page`, params }) @@ -37,3 +59,13 @@ export const approveBrokerageWithdraw = async (id: number) => { export const rejectBrokerageWithdraw = async (data: BrokerageWithdrawVO) => { return await request.put({ url: `/trade/brokerage-withdraw/reject`, data }) } + +// 结算申请 +export const createWithDraw = async (data: withDrawSupplyVO) => { + return await request.post({ url: `/trade/brokerage-withdraw/create-supply`,data }) +} + +// 导出佣金提现 Excel +export const exportBrokerageWithDraw = async (params) => { + return await request.download({ url: `/trade/brokerage-withdraw/export-excel`, params }) +} diff --git a/yudao-admin-vue3/src/views/mall/promotion/supportstaff/SupportStaffForm.vue b/yudao-admin-vue3/src/views/mall/promotion/supportstaff/SupportStaffForm.vue index 5af56d3..da1af44 100644 --- a/yudao-admin-vue3/src/views/mall/promotion/supportstaff/SupportStaffForm.vue +++ b/yudao-admin-vue3/src/views/mall/promotion/supportstaff/SupportStaffForm.vue @@ -9,6 +9,26 @@ > + + + + + + + @@ -65,6 +85,7 @@ \ No newline at end of file + + diff --git a/yudao-admin-vue3/src/views/mall/trade/brokerage/withdraw/ClosingRecordForm.vue b/yudao-admin-vue3/src/views/mall/trade/brokerage/withdraw/ClosingRecordForm.vue new file mode 100644 index 0000000..dc2a868 --- /dev/null +++ b/yudao-admin-vue3/src/views/mall/trade/brokerage/withdraw/ClosingRecordForm.vue @@ -0,0 +1,232 @@ + + + diff --git a/yudao-admin-vue3/src/views/mall/trade/brokerage/withdraw/index.vue b/yudao-admin-vue3/src/views/mall/trade/brokerage/withdraw/index.vue index 762451f..ac0b11e 100644 --- a/yudao-admin-vue3/src/views/mall/trade/brokerage/withdraw/index.vue +++ b/yudao-admin-vue3/src/views/mall/trade/brokerage/withdraw/index.vue @@ -82,6 +82,12 @@ 搜索 重置 + + 申请结算 + @@ -184,6 +190,7 @@ +