diff --git a/src/mes/scheduledTasks/machineTasks/index.js b/src/mes/scheduledTasks/machineTasks/index.js index 575fdb3..1cea01a 100644 --- a/src/mes/scheduledTasks/machineTasks/index.js +++ b/src/mes/scheduledTasks/machineTasks/index.js @@ -834,7 +834,7 @@ const TaskConfirmModal = props => { title={提示!} open={taskConfirmModalVisible} width={500} - height={370} + height={250} className="mesCommonModal" footer={ @@ -844,10 +844,10 @@ const TaskConfirmModal = props => { type="primary" className={styles.btnZt} onClick={() => { - if (!pauseValue.trim()) { - message.warning("请先输入暂停原因!"); - return; - } + // if (!pauseValue.trim()) { + // message.warning("请先输入暂停原因!"); + // return; + // } props.pauseCallback(pauseValue.trim()); }} > @@ -875,10 +875,10 @@ const TaskConfirmModal = props => { type="primary" className={styles.btnZt} onClick={() => { - if (!pauseValue.trim()) { - message.warning("请先输入暂停原因!"); - return; - } + // if (!pauseValue.trim()) { + // message.warning("请先输入暂停原因!"); + // return; + // } if (props.itemClickRef.current?.data) props.onTableBtnClick({ ...(props.itemClickRef.current?.data || {}), @@ -897,7 +897,7 @@ const TaskConfirmModal = props => { onCancel={handleClose} >
{taskConfirmModalMsg}
-
+ {/*
暂停原因
{ value={pauseValue} onChange={e => setPauseValue(e.target.value)} /> -
+
*/} ); };