@@ -283,7 +283,7 @@ const PoDetail: React.FC<Props> = ({ po, qc, warehouse }) => { | |||||
<Grid item> | <Grid item> | ||||
<Typography mb={2} variant="h4"> | <Typography mb={2} variant="h4"> | ||||
{/* {purchaseOrder.code} - {currPoStatus} */} | {/* {purchaseOrder.code} - {currPoStatus} */} | ||||
{purchaseOrder.code} - {purchaseOrder.status} | |||||
{purchaseOrder.code} - {t(`${purchaseOrder.status.toLowerCase()}`)} | |||||
</Typography> | </Typography> | ||||
</Grid> | </Grid> | ||||
</Grid> | </Grid> | ||||
@@ -338,7 +338,7 @@ const PoDetail: React.FC<Props> = ({ po, qc, warehouse }) => { | |||||
onClose={onCloseScanner} | onClose={onCloseScanner} | ||||
warehouse={warehouse} | warehouse={warehouse} | ||||
/> | /> | ||||
<Button onClick={onOpenScanner}>bind</Button> | |||||
<Button onClick={onOpenScanner}>{t("bind")}</Button> | |||||
</Grid> | </Grid> | ||||
</Grid> | </Grid> | ||||
{/* tab 1 */} | {/* tab 1 */} | ||||
@@ -349,7 +349,7 @@ const PutawayForm: React.FC<Props> = ({ itemDetail, warehouse, disabled }) => { | |||||
getOptionLabel={(option) => option.label} | getOptionLabel={(option) => option.label} | ||||
options={options} | options={options} | ||||
renderInput={(params) => ( | renderInput={(params) => ( | ||||
<TextField {...params} label="Default Warehouse" /> | |||||
<TextField {...params} label={t("Default Warehouse")} /> | |||||
)} | )} | ||||
/> | /> | ||||
</FormControl> | </FormControl> | ||||
@@ -371,7 +371,7 @@ const PutawayForm: React.FC<Props> = ({ itemDetail, warehouse, disabled }) => { | |||||
/> | /> | ||||
</Grid> | </Grid> | ||||
<Grid item xs={1}> | <Grid item xs={1}> | ||||
<Button disabled={disabled} onClick={onOpenScanner}>bind</Button> | |||||
<Button disabled={disabled} onClick={onOpenScanner}>{t("bind")}</Button> | |||||
</Grid> | </Grid> | ||||
<Grid item xs={5.5}> | <Grid item xs={5.5}> | ||||
{/* <Controller | {/* <Controller | ||||
@@ -176,7 +176,7 @@ const PoSearch: React.FC<Props> = ({ | |||||
onClose={onCloseScanner} | onClose={onCloseScanner} | ||||
warehouse={warehouse} | warehouse={warehouse} | ||||
/> | /> | ||||
<Button onClick={onOpenScanner}>bind</Button> | |||||
<Button onClick={onOpenScanner}>{t("bind")}</Button> | |||||
</Grid> | </Grid> | ||||
</Grid> | </Grid> | ||||
<> | <> | ||||
@@ -75,6 +75,7 @@ | |||||
"reportQty": "上報數量", | "reportQty": "上報數量", | ||||
"Default Warehouse": "預設倉庫", | |||||
"Select warehouse": "選擇倉庫", | "Select warehouse": "選擇倉庫", | ||||
"Putaway Detail": "上架詳情", | "Putaway Detail": "上架詳情", | ||||
"LotNo": "批號", | "LotNo": "批號", | ||||
@@ -84,5 +85,6 @@ | |||||
"Reject": "拒絕", | "Reject": "拒絕", | ||||
"submit": "提交", | "submit": "提交", | ||||
"print": "列印" | |||||
"print": "列印", | |||||
"bind": "綁定" | |||||
} | } |