浏览代码

revert button first

master
cyril.tsui 2 个月前
父节点
当前提交
e0ad3fb7f6
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. +2
    -2
      src/components/JoSave/JoRelease.tsx
  2. +1
    -1
      src/components/JoSave/JoSave.tsx

+ 2
- 2
src/components/JoSave/JoRelease.tsx 查看文件

@@ -100,14 +100,14 @@ const JoRelease: React.FC<Props> = ({
{t("Lines with insufficient stock: ")}<strong style={{ color: 'red' }}>{stockCounts.insufficient}</strong> {t("Lines with insufficient stock: ")}<strong style={{ color: 'red' }}>{stockCounts.insufficient}</strong>
</Typography> </Typography>


<Button
{/* <Button
variant="contained" variant="contained"
color="primary" color="primary"
onClick={handleRelease} onClick={handleRelease}
disabled={stockCounts.insufficient > 0 || status !== "planning"} disabled={stockCounts.insufficient > 0 || status !== "planning"}
> >
{t("Release")} {t("Release")}
</Button>
</Button> */}
</Stack> </Stack>




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

@@ -192,7 +192,7 @@ const JoSave: React.FC<Props> = ({
{serverError} {serverError}
</Typography> </Typography>
)} )}
{/*<ActionButtons handleRelease={handleRelease} handleStart={handleStart}/>*/}
<ActionButtons handleRelease={handleRelease} handleStart={handleStart}/>
<InfoCard /> <InfoCard />
<JoRelease pickLines={pickLines} handleRelease={handleRelease}/> <JoRelease pickLines={pickLines} handleRelease={handleRelease}/>
<PickTable /> <PickTable />


正在加载...
取消
保存