fix(quotes): createQuoteSheetApi 返回类型补 created_count/sheets(verifier S2 类型缺口)
This commit is contained in:
@@ -2665,7 +2665,8 @@ export async function getStatementLinesApi(statementNo: string, type = 'customer
|
||||
|
||||
|
||||
export async function createQuoteSheetApi(body: Record<string, unknown>) {
|
||||
return workflowFetch<{ data: unknown }>('/quote/sheet', {
|
||||
/** 一客户一单:一次新建可能生成 N 张,`created_count` 用于前端提示「已生成 N 张报价单」 */
|
||||
return workflowFetch<{ data: unknown; created_count?: number; sheets?: unknown[] }>('/quote/sheet', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(body),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user