Parcourir la source

Update StockBalanceReport & StockInTracabilityReport

MergeProblem1
Tommy\2Fi-Staff il y a 19 heures
Parent
révision
4446c8503f
1 fichiers modifiés avec 26 ajouts et 1 suppressions
  1. +26
    -1
      src/config/reportConfig.ts

+ 26
- 1
src/config/reportConfig.ts Voir le fichier

@@ -75,7 +75,7 @@ export const REPORTS: ReportDefinition[] = [
{ label: "倉存類別 Stock Category", name: "stockCategory", type: "select", required: true,
multiple: true,
options: [
{ label: "All", value: "MAT,FG,WIP,NM,CMB"},
{ label: "All", value: "All"},
{ label: "MAT", value: "MAT" },
{ label: "FG", value: "FG" },
{ label: "WIP", value: "WIP" },
@@ -138,5 +138,30 @@ export const REPORTS: ReportDefinition[] = [
{ label: "材料消耗日期:由 Last Out Date Start", name: "lastOutDateStart", type: "date", required: false },
{ label: "材料消耗日期:至 Last Out Date End", name: "lastOutDateEnd", type: "date", required: false },
]
},
{
id: "rep-007",
title: "庫存結餘報告",
apiEndpoint: `${NEXT_PUBLIC_API_URL}/report/print-stock-balance`,
fields: [
{ label: "倉存類別 Stock Category", name: "stockCategory", type: "select", required: false,
multiple: true,
options: [
{ label: "All", value: "All" },
{ label: "MAT", value: "MAT" },
{ label: "WIP", value: "WIP" },
{ label: "NM", value: "NM" },
{ label: "FG", value: "FG" },
{ label: "CMB", value: "CMB" }
] },
{ label: "物料編號 Item Code", name: "itemCode", type: "text", required: false},
{ label: "存量:由 Current Balance Start", name: "balanceFilterStart", type: "number", required: false},
{ label: "存量:至 Current Balance End", name: "balanceFilterEnd", type: "number", required: false},
{ label: "存貨位置 Store Location", name: "storeLocation", type: "text", required: false, placeholder: "例如:2F-W201-#Z-01, 2F, W201" },
{ label: "最後入倉日期:由 Last In Date Start", name: "lastInDateStart", type: "date", required: false },
{ label: "最後入倉日期:至 Last In Date End", name: "lastInDateEnd", 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 },
]
}
];

Chargement…
Annuler
Enregistrer