From d56cd6e69f3bcd11d7141b6f25771184d3adf231 Mon Sep 17 00:00:00 2001 From: "CANCERYS\\kw093" Date: Tue, 10 Feb 2026 11:38:53 +0800 Subject: [PATCH] update --- src/config/reportConfig.ts | 41 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/src/config/reportConfig.ts b/src/config/reportConfig.ts index 49ecf84..710105a 100644 --- a/src/config/reportConfig.ts +++ b/src/config/reportConfig.ts @@ -166,5 +166,42 @@ export const REPORTS: ReportDefinition[] = [ { label: "存貨位置 Store Location", name: "storeLocation", type: "text", required: false, placeholder: "例如:2F-W201-#Z-01, 2F, W201" }, ] - } -]; \ No newline at end of file + }, + + { + id: "rep-008", + title: "成品出倉報告", + apiEndpoint: `${NEXT_PUBLIC_API_URL}/report/print-fg-delivery-report`, + fields: [ + + { label: "物料編號 Item Code", name: "itemCode", type: "text", required: false}, + { label: "出貨日期:由 Last Out Date Start", name: "lastOutDateStart", type: "date", required: false }, + { label: "出貨日期:至 Last Out Date End", name: "lastOutDateEnd", type: "date", required: false }, + { label: "年份 Year", name: "year", type: "text", required: false, placeholder: "e.g. 2026" }, + + ] + }, + { id: "rep-009", + title: "成品出倉追蹤報告", + apiEndpoint: `${NEXT_PUBLIC_API_URL}/report/print-fg-stock-out-traceability`, + fields: [ + + { label: "物料編號 Item Code", name: "itemCode", type: "text", required: false}, + { label: "出貨日期:由 Last Out Date Start", name: "lastOutDateStart", type: "date", required: false }, + { label: "出貨日期:至 Last Out Date End", name: "lastOutDateEnd", type: "date", required: false }, + { label: "年份 Year", name: "year", type: "text", required: false, placeholder: "e.g. 2026" }, + + ] + }, + { id: "rep-010", + title: "物料出倉追蹤報告", + apiEndpoint: `${NEXT_PUBLIC_API_URL}/report/print-material-stock-out-traceability`, + fields: [ + { label: "物料編號 Item Code", name: "itemCode", type: "text", required: false}, + { label: "出貨日期:由 Last Out Date Start", name: "lastOutDateStart", type: "date", required: false }, + { label: "出貨日期:至 Last Out Date End", name: "lastOutDateEnd", type: "date", required: false }, + { label: "年份 Year", name: "year", type: "text", required: false, placeholder: "e.g. 2026" }, + + ] + }, +] \ No newline at end of file