From 35213fd2a0df9b466545457192a36210ec0b4a8a Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Mon, 19 Oct 2026 17:42:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(quotes):=20createQuoteSheetApi=20=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E7=B1=BB=E5=9E=8B=E8=A1=A5=20created=5Fcount/sheets?= =?UTF-8?q?=EF=BC=88verifier=20S2=20=E7=B1=BB=E5=9E=8B=E7=BC=BA=E5=8F=A3?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/workflowApi.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/workflowApi.ts b/src/utils/workflowApi.ts index ec69247..d9a4ef4 100644 --- a/src/utils/workflowApi.ts +++ b/src/utils/workflowApi.ts @@ -2665,7 +2665,8 @@ export async function getStatementLinesApi(statementNo: string, type = 'customer export async function createQuoteSheetApi(body: Record) { - 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), });