Browse Source

printer

MergeProblem1
CANCERYS\kw093 2 weeks ago
parent
commit
a32e2b30bc
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      src/components/FinishedGoodSearch/FinishedGoodSearch.tsx
  2. +1
    -1
      src/components/Jodetail/JodetailSearch.tsx

+ 2
- 2
src/components/FinishedGoodSearch/FinishedGoodSearch.tsx View File

@@ -615,7 +615,7 @@ const handleAssignByLane = useCallback(async (
sx={{ minWidth: 200 }}
size="small"
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 }}
size="small"
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 View File

@@ -461,7 +461,7 @@ const JodetailSearch: React.FC<Props> = ({ pickOrders, printerCombo }) => {
sx={{ minWidth: 200 }}
size="small"
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 }}>


Loading…
Cancel
Save