|
|
|
@@ -106,7 +106,7 @@ export const REPORTS: ReportDefinition[] = [ |
|
|
|
}, |
|
|
|
{ |
|
|
|
id: "rep-006", |
|
|
|
title: "庫存商品消費趨勢報告", |
|
|
|
title: "庫存材料消耗趨勢報告", |
|
|
|
apiEndpoint: `${NEXT_PUBLIC_API_URL}/report/print-stock-item-consumption-trend`, |
|
|
|
fields: [ |
|
|
|
{ label: "倉存類別 Stock Category", name: "stockCategory", type: "select", required: false, |
|
|
|
@@ -127,8 +127,8 @@ export const REPORTS: ReportDefinition[] = [ |
|
|
|
dynamicOptionsParam: "stockCategory", |
|
|
|
options: [] }, |
|
|
|
{ label: "年份 Year", name: "year", type: "text", required: false, placeholder: "e.g. 2026" }, |
|
|
|
{ label: "完成生產日期:由 Last Out Date Start", name: "lastOutDateStart", type: "date", required: false }, |
|
|
|
{ label: "完成生產日期:至 Last Out Date End", name: "lastOutDateEnd", type: "date", required: false }, |
|
|
|
{ label: "材料消耗日期:由 Last Out Date Start", name: "lastOutDateStart", type: "date", required: false }, |
|
|
|
{ label: "材料消耗日期:至 Last Out Date End", name: "lastOutDateEnd", type: "date", required: false }, |
|
|
|
] |
|
|
|
} |
|
|
|
]; |