From 0c86c5c5c78cdda35e8341f689d9df9e906028b6 Mon Sep 17 00:00:00 2001 From: zhangzhen <525765282@qq.com> Date: Thu, 4 Dec 2025 11:29:39 +0800 Subject: [PATCH] 暂停不要填原因; --- src/mes/scheduledTasks/machineTasks/index.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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)} /> -
+
*/} ); }; -- libgit2 0.22.2