CANCERYS\kw093 2 недель назад
Родитель
Сommit
a32e2b30bc
2 измененных файлов: 3 добавлений и 3 удалений
  1. +2
    -2
      src/components/FinishedGoodSearch/FinishedGoodSearch.tsx
  2. +1
    -1
      src/components/Jodetail/JodetailSearch.tsx

+ 2
- 2
src/components/FinishedGoodSearch/FinishedGoodSearch.tsx Просмотреть файл

@@ -615,7 +615,7 @@ const handleAssignByLane = useCallback(async (
sx={{ minWidth: 200 }} sx={{ minWidth: 200 }}
size="small" size="small"
renderInput={(params) => ( renderInput={(params) => (
<TextField {...params} placeholder={t("A4 Printer")} />
<TextField {...params} placeholder={t("A4 Printer")}inputProps={{ ...params.inputProps, readOnly: true }} />
)} )}
/> />


@@ -632,7 +632,7 @@ const handleAssignByLane = useCallback(async (
sx={{ minWidth: 200 }} sx={{ minWidth: 200 }}
size="small" size="small"
renderInput={(params) => ( renderInput={(params) => (
<TextField {...params} placeholder={t("Label Printer")} />
<TextField {...params} placeholder={t("Label Printer")} inputProps={{ ...params.inputProps, readOnly: true }}/>
)} )}
/> />




+ 1
- 1
src/components/Jodetail/JodetailSearch.tsx Просмотреть файл

@@ -461,7 +461,7 @@ const JodetailSearch: React.FC<Props> = ({ pickOrders, printerCombo }) => {
sx={{ minWidth: 200 }} sx={{ minWidth: 200 }}
size="small" size="small"
renderInput={(params) => ( renderInput={(params) => (
<TextField {...params} placeholder={t("Printer")} />
<TextField {...params} placeholder={t("Printer")}inputProps={{ ...params.inputProps, readOnly: true }} />
)} )}
/> />
<Typography variant="body2" sx={{ minWidth: 'fit-content', ml: 1 }}> <Typography variant="body2" sx={{ minWidth: 'fit-content', ml: 1 }}>


Загрузка…
Отмена
Сохранить