|
|
@@ -144,17 +144,17 @@ const PickOrderDetail: React.FC<Props> = ({ consoCode, qc }) => { |
|
|
|
// }, |
|
|
|
{ |
|
|
|
field: "itemName", |
|
|
|
headerName: "itemId", |
|
|
|
headerName: t("item"), |
|
|
|
flex: 1, |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: "qty", |
|
|
|
headerName: "qty", |
|
|
|
headerName: t("qty"), |
|
|
|
flex: 1, |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: "uom", |
|
|
|
headerName: "uom", |
|
|
|
headerName: t("uom"), |
|
|
|
flex: 1, |
|
|
|
}, |
|
|
|
// { |
|
|
@@ -164,7 +164,7 @@ const PickOrderDetail: React.FC<Props> = ({ consoCode, qc }) => { |
|
|
|
// }, |
|
|
|
{ |
|
|
|
field: "warehouse", |
|
|
|
headerName: "location", |
|
|
|
headerName: t("location"), |
|
|
|
flex: 1, |
|
|
|
renderCell: (params) => { |
|
|
|
// console.log(params.row.warehouse) |
|
|
@@ -181,7 +181,7 @@ const PickOrderDetail: React.FC<Props> = ({ consoCode, qc }) => { |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: "suggestedLotNo", |
|
|
|
headerName: "suggestedLotNo", |
|
|
|
headerName: t("suggestedLotNo"), |
|
|
|
flex: 1.2, |
|
|
|
renderCell: (params) => { |
|
|
|
return params.row.suggestedLotNo; |
|
|
@@ -387,12 +387,12 @@ const PickOrderDetail: React.FC<Props> = ({ consoCode, qc }) => { |
|
|
|
() => [ |
|
|
|
{ |
|
|
|
field: "itemName", |
|
|
|
headerName: "item name", |
|
|
|
headerName: t("item name"), |
|
|
|
flex: 1, |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: "qty", |
|
|
|
headerName: "qty", |
|
|
|
headerName: t("qty"), |
|
|
|
editable: true, |
|
|
|
flex: 1, |
|
|
|
type: "number", |
|
|
@@ -416,7 +416,7 @@ const PickOrderDetail: React.FC<Props> = ({ consoCode, qc }) => { |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: "lotNo", |
|
|
|
headerName: "lotNo", |
|
|
|
headerName: t("lotNo"), |
|
|
|
flex: 1, |
|
|
|
}, |
|
|
|
{ |
|
|
|