Commit 889d11ae0d31bf162d2ddae1e01cfd4cede9d273

Authored by qmj
1 parent 6027d371

机台任务去除弹窗中完工按钮

src/mes/scheduledTasks/machineTasks/index.js
... ... @@ -846,21 +846,21 @@ const TaskConfirmModal = props => {
846 846 </Button>
847 847 ) : (
848 848 <>
849   - <Button
850   - size="large"
851   - type="primary"
852   - className={styles.btnWg}
853   - onClick={() => {
854   - if (props.itemClickRef.current?.data)
855   - props.onTableBtnClick({
856   - ...(props.itemClickRef.current?.data || {}),
857   - iFlag: 4
858   - });
859   - // handleClose();
860   - }}
861   - >
862   - 完工
863   - </Button>
  849 + {/*<Button*/}
  850 + {/* size="large"*/}
  851 + {/* type="primary"*/}
  852 + {/* className={styles.btnWg}*/}
  853 + {/* onClick={() => {*/}
  854 + {/* if (props.itemClickRef.current?.data)*/}
  855 + {/* props.onTableBtnClick({*/}
  856 + {/* ...(props.itemClickRef.current?.data || {}),*/}
  857 + {/* iFlag: 4*/}
  858 + {/* });*/}
  859 + {/* // handleClose();*/}
  860 + {/* }}*/}
  861 + {/*>*/}
  862 + {/* 完工*/}
  863 + {/*</Button>*/}
864 864 <Button
865 865 size="large"
866 866 type="primary"
... ...