feat(财务): 新增入账管理模块
新增账单导入和账单核对功能 - 添加账单导入页面,支持微信、支付宝、银行账单文件上传 - 实现账单核对功能,包括自动核对和人工核对 - 添加多种类型订单展示组件(VIP、课程、实物商品等) - 实现订单选择和提交功能 - 添加CardList组件用于展示可选项和已选项
This commit is contained in:
17
apps/finance/src/api/posting/import.ts
Normal file
17
apps/finance/src/api/posting/import.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
export const importBillsApi = {
|
||||
/**
|
||||
* 获取文件列表
|
||||
*/
|
||||
getImportFileList: (data: { month?: number; year: number }) => {
|
||||
return requestClient.post('/common/import/getImportList', data);
|
||||
},
|
||||
|
||||
/**
|
||||
* 上传文件
|
||||
*/
|
||||
uploadFile: (data: any) => {
|
||||
return requestClient.upload('/common/import/importData', data);
|
||||
},
|
||||
};
|
||||
2
apps/finance/src/api/posting/index.ts
Normal file
2
apps/finance/src/api/posting/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from './import';
|
||||
export * from './reconciliate';
|
||||
115
apps/finance/src/api/posting/reconciliate.ts
Normal file
115
apps/finance/src/api/posting/reconciliate.ts
Normal file
@@ -0,0 +1,115 @@
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
export const reconciliateBillsApi = {
|
||||
/**
|
||||
* 获取账单列表
|
||||
*/
|
||||
getReconciliationList: (data: any) => {
|
||||
return requestClient.post('/common/payment/getPaymentList', data);
|
||||
},
|
||||
|
||||
/**
|
||||
* 人工对账--订单对账
|
||||
*/
|
||||
manualCheckOrder: (data: any) => {
|
||||
return requestClient.post('/common/payment/manualCheckoff', data);
|
||||
},
|
||||
|
||||
/**
|
||||
* 人工对账--添加订单后对账
|
||||
*/
|
||||
manualCheckCreated: (data: any) => {
|
||||
return requestClient.post('/common/payment/checkoffByAddOrder', { list: data });
|
||||
},
|
||||
|
||||
/**
|
||||
* 自动对账
|
||||
*/
|
||||
autoCheck: (data: any) => {
|
||||
return requestClient.post('/common/payment/autoCheckoff', data);
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取订单列表
|
||||
*/
|
||||
getOrderList: (data: any) => {
|
||||
return requestClient.post('/common/payment/manualList', data);
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取吴门医述开课记录
|
||||
*/
|
||||
getWumenRecommendCourseBuyList: (data: any) => {
|
||||
return requestClient.post('/common/payment/recommendWumenCourseBuyList', data);
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取吴门医述课程商品列表
|
||||
*/
|
||||
getWumenCourseBuyList: (data: any) => {
|
||||
return requestClient.post('/common/payment/wumenCourseBuyList', data);
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取吴门医述充值记录列表
|
||||
*/
|
||||
getWumenPointBuyList: (data: any) => {
|
||||
return requestClient.post('/common/payment/wumenPointBuyList', data);
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取吴门医述实物商品列表
|
||||
*/
|
||||
getWumenPhysicalBuyList: (data: any) => {
|
||||
return requestClient.post('/common/payment/wumenPhysicalBuyList', data);
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取一路健康开课记录列表
|
||||
*/
|
||||
getYiluRecommendCourseBuyList: (data: any) => {
|
||||
return requestClient.post('/common/payment/recommendCcourseBuyList', data);
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取一路健康课程商品列表
|
||||
*/
|
||||
getYiluCourseBuyList: (data: any) => {
|
||||
return requestClient.post('/common/payment/courseBuyList', data);
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取一路健康充值记录列表
|
||||
*/
|
||||
getYiluPointBuyList: (data: any) => {
|
||||
return requestClient.post('/common/payment/yljkPointBuyList', data);
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取一路健康实物商品列表
|
||||
*/
|
||||
getPhysicalBuyList: (data: any) => {
|
||||
return requestClient.post('/common/payment/physicalBuyList', data);
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取VIP列表
|
||||
*/
|
||||
getVipList: (data: any) => {
|
||||
return requestClient.post('/common/payment/vipList', data);
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取报名培训班列表
|
||||
*/
|
||||
getTrainingClassList: (data: any) => {
|
||||
return requestClient.post('/common/payment/trainingClassList', data);
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取推荐用户
|
||||
*/
|
||||
getRecommendUser: (data: any) => {
|
||||
return requestClient.post('/common/payment/recommendUser', data);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user