|
|
|
@@ -194,14 +194,21 @@ export const REPORTS: ReportDefinition[] = [ |
|
|
|
] |
|
|
|
}, |
|
|
|
{ id: "rep-010", |
|
|
|
title: "物料出倉追蹤報告", |
|
|
|
apiEndpoint: `${NEXT_PUBLIC_API_URL}/report/print-material-stock-out-traceability`, |
|
|
|
title: "庫存品質檢測報告", |
|
|
|
apiEndpoint: `${NEXT_PUBLIC_API_URL}/report/print-item-qc-fail`, |
|
|
|
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" }, |
|
|
|
|
|
|
|
{ label: "QC 不合格日期:由 Last In Date Start", name: "lastInDateStart", type: "date", required: false }, |
|
|
|
{ label: "QC 不合格日期:至 Last In Date End", name: "lastInDateEnd", type: "date", required: false }, |
|
|
|
] |
|
|
|
}, |
|
|
|
{ id: "rep-011", |
|
|
|
title: "庫存明細報告", |
|
|
|
apiEndpoint: `${NEXT_PUBLIC_API_URL}/report/print-stock-ledger`, |
|
|
|
fields: [ |
|
|
|
{ label: "物料編號 Item Code", name: "itemCode", type: "text", required: false}, |
|
|
|
{ label: "庫存日期:由 Last In Date Start", name: "lastInDateStart", type: "date", required: false }, |
|
|
|
{ label: "庫存日期:至 Last In Date End", name: "lastInDateEnd", type: "date", required: false }, |
|
|
|
] |
|
|
|
}, |
|
|
|
] |