Parcourir la source

update

master
MSI\derek il y a 1 mois
Parent
révision
44b555bd43
2 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. +2
    -2
      src/components/PickOrderDetail/PickOrderDetail.tsx
  2. +2
    -0
      src/components/PoDetail/PutawayForm.tsx

+ 2
- 2
src/components/PickOrderDetail/PickOrderDetail.tsx Voir le fichier

@@ -794,7 +794,7 @@ const PickOrderDetail: React.FC<Props> = ({ consoCode, qc }) => {
</Button>
</Grid>
{/* homemade qrcode for testing purpose */}
<Grid
{/* <Grid
item
xs={12}
style={{ display: "flex", justifyContent: "center" }}
@@ -803,7 +803,7 @@ const PickOrderDetail: React.FC<Props> = ({ consoCode, qc }) => {
content={homemade_Qrcode}
sx={{ width: 200, height: 200 }}
/>
</Grid>
</Grid> */}
</Grid>
<Grid container xs={12} justifyContent="space-between">
{/* <Grid item xs={12} sx={{ height: 400 }}>


+ 2
- 0
src/components/PoDetail/PutawayForm.tsx Voir le fichier

@@ -255,6 +255,8 @@ const PutawayForm: React.FC<Props> = ({ itemDetail, warehouse, disabled }) => {
}, [warehouseId]);

const getWarningTextHardcode = useCallback((): string | undefined => {
console.log(options)
if (options.length === 0) return undefined
const defaultWarehouseId = options[0].value;
const currWarehouseId = watch("warehouseId");
if (defaultWarehouseId !== currWarehouseId) {


Chargement…
Annuler
Enregistrer