| @@ -166,5 +166,42 @@ export const REPORTS: ReportDefinition[] = [ | |||||
| { label: "存貨位置 Store Location", name: "storeLocation", type: "text", required: false, placeholder: "例如:2F-W201-#Z-01, 2F, W201" }, | { label: "存貨位置 Store Location", name: "storeLocation", type: "text", required: false, placeholder: "例如:2F-W201-#Z-01, 2F, W201" }, | ||||
| ] | ] | ||||
| } | |||||
| ]; | |||||
| }, | |||||
| { | |||||
| 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" }, | |||||
| ] | |||||
| }, | |||||
| ] | |||||