浏览代码

make putaway smaller

reset-do-picking-order
父节点
当前提交
86bf59e675
共有 2 个文件被更改,包括 6 次插入6 次删除
  1. +1
    -1
      src/components/PutAwayScan/PutAwayModal.tsx
  2. +5
    -5
      src/components/StockIn/CalculateExpiryDateModal.tsx

+ 1
- 1
src/components/PutAwayScan/PutAwayModal.tsx 查看文件

@@ -55,7 +55,7 @@ const style = {
position: "absolute", position: "absolute",
top: "50%", top: "50%",
left: "50%", left: "50%",
transform: "translate(-50%, -50%)",
transform: "translate(-50%, -50%) scale(0.85)",
bgcolor: "background.paper", bgcolor: "background.paper",
pt: { xs: 0.5, sm: 0.75, md: 1 }, pt: { xs: 0.5, sm: 0.75, md: 1 },
px: { xs: 1, sm: 1, md: 1.5 }, px: { xs: 1, sm: 1, md: 1.5 },


+ 5
- 5
src/components/StockIn/CalculateExpiryDateModal.tsx 查看文件

@@ -166,7 +166,7 @@ const CalculateExpiryDateModal: React.FC<Props> = ({
position: "fixed", position: "fixed",
top: "50%", top: "50%",
left: "50%", left: "50%",
transform: "translate(-50%, -50%)",
transform: "translate(-50%, -50%) scale(0.8)",
}} }}
> >
<Box <Box
@@ -202,7 +202,7 @@ const CalculateExpiryDateModal: React.FC<Props> = ({
alignItems="flex-start" alignItems="flex-start"
spacing={2} spacing={2}
> >
<Grid item xs={2.5}>
<Grid item xs={4}>
<DatePicker <DatePicker
sx={textfieldSx} sx={textfieldSx}
label={t("productionDate")} label={t("productionDate")}
@@ -229,14 +229,14 @@ const CalculateExpiryDateModal: React.FC<Props> = ({
justifyContent: 'center', justifyContent: 'center',
alignItems: 'center', alignItems: 'center',
alignSelf: 'flex-start', alignSelf: 'flex-start',
mt: '8px', // align icon with vertical center of MUI outlined input
mt: '20px', // align icon with vertical center of 生產日期 input (label ~20px + half input 28px)
height: 56, height: 56,
}}> }}>
<Add sx={{ <Add sx={{
fontSize: '1.25rem', color:'secondary.main', fontSize: '1.25rem', color:'secondary.main',
}}/> }}/>
</Grid> </Grid>
<Grid item xs={4}>
<Grid item xs={2.5}>
<ShelfLifeInput <ShelfLifeInput
sx={textfieldSx} sx={textfieldSx}
value={shelfLife} value={shelfLife}
@@ -254,7 +254,7 @@ const CalculateExpiryDateModal: React.FC<Props> = ({
justifyContent: 'center', justifyContent: 'center',
alignItems: 'center', alignItems: 'center',
alignSelf: 'flex-start', alignSelf: 'flex-start',
mt: '8px',
mt: '20px', // align with 生產日期 input text box
height: 56, height: 56,
}}> }}>
<SwapHoriz sx={{fontSize: '1.25rem', color:'secondary.main'}}/> <SwapHoriz sx={{fontSize: '1.25rem', color:'secondary.main'}}/>


正在加载...
取消
保存