提交
This commit is contained in:
1 parent
58a47b96a5
commit
482d6bbe5d
70 files changed
+28702
-25810
No files matched your search
@@ -104,6 +104,13 @@ export function fetchReceiptConfirmSubmit(
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchReceiptConfirmReject(detailId: string) {
|
||||
return request.post({
|
||||
url: `/web/admin/protocol-payment-details/${detailId}/receipt-reject`,
|
||||
showSuccessMessage: true
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchRefundConfirmList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
@@ -141,9 +148,37 @@ export function fetchRefundConfirmSubmit(
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchSubmitReceiptFinance(detailId: string) {
|
||||
export function fetchRefundConfirmReject(detailId: string) {
|
||||
return request.post({
|
||||
url: `/web/admin/protocol-payment-details/${detailId}/refund-reject`,
|
||||
showSuccessMessage: true
|
||||
})
|
||||
}
|
||||
|
||||
export type PaymentDetailDraftPayload = {
|
||||
transferType?: string
|
||||
transferAmount?: number | null
|
||||
transferTime?: string | null
|
||||
transferAttachments?: string
|
||||
remark?: string
|
||||
}
|
||||
|
||||
export function fetchUpdatePaymentDetailDraft(
|
||||
detailId: string,
|
||||
data: PaymentDetailDraftPayload,
|
||||
options?: { showSuccessMessage?: boolean }
|
||||
) {
|
||||
return request.put({
|
||||
url: `/web/admin/protocol-payment-details/${detailId}`,
|
||||
data,
|
||||
showSuccessMessage: options?.showSuccessMessage ?? true
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchSubmitReceiptFinance(detailId: string, data?: PaymentDetailDraftPayload) {
|
||||
return request.post({
|
||||
url: `/web/admin/protocol-payment-details/${detailId}/submit-receipt-finance`,
|
||||
data: data || {},
|
||||
showSuccessMessage: true
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user