cyril.tsui 4 settimane fa
parent
commit
987520fa47
4 ha cambiato i file con 17 aggiunte e 4 eliminazioni
  1. +3
    -0
      src/components/RoughScheduleDetail/ViewByFGDetails.tsx
  2. +4
    -4
      src/components/ScheduleTable/BomMaterialTable.tsx
  3. +5
    -0
      src/i18n/zh/common.json
  4. +5
    -0
      src/i18n/zh/schedule.json

+ 3
- 0
src/components/RoughScheduleDetail/ViewByFGDetails.tsx Vedi File

@@ -154,6 +154,9 @@ const ViewByFGDetails: React.FC<Props> = ({
label: t("type"),
type: "read-only",
// editable: true,
renderCell: (row) => {
return t(row.type)
}
},
{
field: "availableQty",


+ 4
- 4
src/components/ScheduleTable/BomMaterialTable.tsx Vedi File

@@ -112,7 +112,7 @@ function BomMaterialTable({ bomMaterial }: Props) {
{
field: "availableQty",
headerName: t("Available Qty"),
flex: 0.5,
flex: 1,
type: "number",
// editable: true,
align: "right",
@@ -125,7 +125,7 @@ function BomMaterialTable({ bomMaterial }: Props) {
{
field: "demandQty",
headerName: t("Demand Qty"),
flex: 0.5,
flex: 1,
// editable: true,
align: "right",
headerAlign: "right",
@@ -136,7 +136,7 @@ function BomMaterialTable({ bomMaterial }: Props) {
{
field: "uomName",
headerName: t("UoM"),
flex: 0.5,
flex: 1,
align: "left",
headerAlign: "left",
renderCell: (row) => {
@@ -146,7 +146,7 @@ function BomMaterialTable({ bomMaterial }: Props) {
{
field: "status",
headerName: t("status"),
flex: 0.5,
flex: 0.7,
// editable: true,
align: "center",
headerAlign: "center",


+ 5
- 0
src/i18n/zh/common.json Vedi File

@@ -36,6 +36,11 @@
"Product":"產品",
"Material":"材料",
"mat":"原料",
"consumables": "消耗品",
"non-consumables": "非消耗品",
"fg": "成品",
"sfg": "半成品",
"item": "物品",
"FG":"成品",
"FG & Material Demand Forecast Detail":"成品及材料需求預測詳情",
"View item In-out And inventory Ledger":"查看物料出入庫及庫存日誌",


+ 5
- 0
src/i18n/zh/schedule.json Vedi File

@@ -81,6 +81,11 @@
"Job Date": "工單日期",
"Job Qty": "工單數量",
"mat": "物料",
"consumables": "消耗品",
"non-consumables": "非消耗品",
"fg": "成品",
"sfg": "半成品",
"item": "物品",
"UoM": "單位",
"Type": "類型",
"Test Detailed Schedule": "測試細排",


Caricamento…
Annulla
Salva