Kaynağa Gözat

update

production_process
MSI\derek 2 ay önce
ebeveyn
işleme
d787674f76
4 değiştirilmiş dosya ile 8 ekleme ve 6 silme
  1. +2
    -2
      src/components/PoDetail/PoDetail.tsx
  2. +2
    -2
      src/components/PoDetail/PutawayForm.tsx
  3. +1
    -1
      src/components/PoSearch/PoSearch.tsx
  4. +3
    -1
      src/i18n/zh/purchaseOrder.json

+ 2
- 2
src/components/PoDetail/PoDetail.tsx Dosyayı Görüntüle

@@ -283,7 +283,7 @@ const PoDetail: React.FC<Props> = ({ po, qc, warehouse }) => {
<Grid item>
<Typography mb={2} variant="h4">
{/* {purchaseOrder.code} - {currPoStatus} */}
{purchaseOrder.code} - {purchaseOrder.status}
{purchaseOrder.code} - {t(`${purchaseOrder.status.toLowerCase()}`)}
</Typography>
</Grid>
</Grid>
@@ -338,7 +338,7 @@ const PoDetail: React.FC<Props> = ({ po, qc, warehouse }) => {
onClose={onCloseScanner}
warehouse={warehouse}
/>
<Button onClick={onOpenScanner}>bind</Button>
<Button onClick={onOpenScanner}>{t("bind")}</Button>
</Grid>
</Grid>
{/* tab 1 */}


+ 2
- 2
src/components/PoDetail/PutawayForm.tsx Dosyayı Görüntüle

@@ -349,7 +349,7 @@ const PutawayForm: React.FC<Props> = ({ itemDetail, warehouse, disabled }) => {
getOptionLabel={(option) => option.label}
options={options}
renderInput={(params) => (
<TextField {...params} label="Default Warehouse" />
<TextField {...params} label={t("Default Warehouse")} />
)}
/>
</FormControl>
@@ -371,7 +371,7 @@ const PutawayForm: React.FC<Props> = ({ itemDetail, warehouse, disabled }) => {
/>
</Grid>
<Grid item xs={1}>
<Button disabled={disabled} onClick={onOpenScanner}>bind</Button>
<Button disabled={disabled} onClick={onOpenScanner}>{t("bind")}</Button>
</Grid>
<Grid item xs={5.5}>
{/* <Controller


+ 1
- 1
src/components/PoSearch/PoSearch.tsx Dosyayı Görüntüle

@@ -176,7 +176,7 @@ const PoSearch: React.FC<Props> = ({
onClose={onCloseScanner}
warehouse={warehouse}
/>
<Button onClick={onOpenScanner}>bind</Button>
<Button onClick={onOpenScanner}>{t("bind")}</Button>
</Grid>
</Grid>
<>


+ 3
- 1
src/i18n/zh/purchaseOrder.json Dosyayı Görüntüle

@@ -75,6 +75,7 @@

"reportQty": "上報數量",

"Default Warehouse": "預設倉庫",
"Select warehouse": "選擇倉庫",
"Putaway Detail": "上架詳情",
"LotNo": "批號",
@@ -84,5 +85,6 @@

"Reject": "拒絕",
"submit": "提交",
"print": "列印"
"print": "列印",
"bind": "綁定"
}

Yükleniyor…
İptal
Kaydet