diff --git a/src/api/SalesOrderAPI.ts b/src/api/SalesOrderAPI.ts index 91df214..42b0b61 100644 --- a/src/api/SalesOrderAPI.ts +++ b/src/api/SalesOrderAPI.ts @@ -62,4 +62,29 @@ async function fundRecordDetail(id: string): Promise { return await axios.post(`${FUND_URI}/detail`, undefined, { params: { id } }); } -export default { list, detail, createDirectProduct, update, cancel, receivePayment, verifyPayment, rejectPayment, cancelPayment, refund, confirmNoRefund, revokeFund, fundRecordList, fundRecordDetail }; +async function myReceiveRecordList(page: FundRecordPage): Promise> { + return await axios.post(`${FUND_URI}/my-receive/list`, withCurrentStoreId(page)); +} + +async function myReceiveRecordDetail(id: string): Promise { + return await axios.post(`${FUND_URI}/my-receive/detail`, undefined, { params: { id } }); +} + +export default { + list, + detail, + createDirectProduct, + update, + cancel, + receivePayment, + verifyPayment, + rejectPayment, + cancelPayment, + refund, + confirmNoRefund, + revokeFund, + fundRecordList, + fundRecordDetail, + myReceiveRecordList, + myReceiveRecordDetail +}; diff --git a/src/pages/salesOrder/FundRecordDetail.vue b/src/pages/salesOrder/FundRecordDetail.vue index 9670c3d..3f4c6e8 100644 --- a/src/pages/salesOrder/FundRecordDetail.vue +++ b/src/pages/salesOrder/FundRecordDetail.vue @@ -1,5 +1,5 @@