收口付款批次创建与复核(08-01-reimbursement-notification-progress-clarity)
这个提交包含在:
@@ -173,6 +173,14 @@ export function mapApiErrorMessage(
|
||||
return "当前批次状态不允许继续复核。";
|
||||
}
|
||||
|
||||
if (details?.review === "no_eligible_reviewer") {
|
||||
return "当前没有可复核人(复核人必须是非制单人且在职),请联系管理员。";
|
||||
}
|
||||
|
||||
if (details?.receiptAttachments === "bank_receipt_required") {
|
||||
return "请先上传银行回单,再登记付款完成。";
|
||||
}
|
||||
|
||||
if (details?.transfer === "chain_limit_exceeded") {
|
||||
return "当前任务转审次数已达上限。";
|
||||
}
|
||||
|
||||
@@ -123,7 +123,7 @@ export async function fetchPaymentBatchCandidates(query: { q?: string; page?: nu
|
||||
|
||||
export async function createPaymentBatch(payload: {
|
||||
entityType: PaymentBatchEntityType;
|
||||
name: string;
|
||||
name?: string;
|
||||
entityIds: string[];
|
||||
defaultPaymentDate?: string;
|
||||
defaultPaymentChannel?: PaymentChannel;
|
||||
|
||||
在新工单中引用
屏蔽一个用户