fix(quotes): createQuoteSheetApi 返回类型补 created_count/sheets(verifier S2 类型缺口)
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s

This commit is contained in:
Ubuntu
2026-10-19 17:42:34 +08:00
parent 53a6714dd3
commit 35213fd2a0
+2 -1
View File
@@ -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),
});