From 669fe984048785873c20fbd0ce8abb3cd52c1fce Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期二, 29 四月 2025 15:22:24 +0800 Subject: [PATCH] 新增出库单优化 --- rsf-admin/src/page/task/TaskList.jsx | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/rsf-admin/src/page/task/TaskList.jsx b/rsf-admin/src/page/task/TaskList.jsx index 8f310bf..84fd054 100644 --- a/rsf-admin/src/page/task/TaskList.jsx +++ b/rsf-admin/src/page/task/TaskList.jsx @@ -146,7 +146,7 @@ <DateField source="createTime" label="common.field.createTime" showTime /> {/* <BooleanField source="statusBool" label="common.field.status" sortable={false} /> */} <TextField source="memo" label="common.field.memo" sortable={false} /> - <WrapperField cellClassName="opt" label="common.field.opt"> + <WrapperField cellClassName="opt" label="common.field.opt" onClick={(e) => e.stopPropagation()} > <DoneButton sx={{ padding: '1px', fontSize: '.75rem' }} ></DoneButton> <CancelButton sx={{ padding: '1px', fontSize: '.75rem' }} mutationMode={OPERATE_MODE} /> <SetTopButton sx={{ padding: '1px', fontSize: '.75rem' }} ></SetTopButton> @@ -206,7 +206,8 @@ const record = useRecordContext(); const notify = useNotify(); const refresh = useRefresh(); - const clickCancel = () => { + const clickCancel = (event) => { + event.stopPropagation(); cancleTask(record) }; //鍙栨秷浠诲姟 @@ -236,7 +237,8 @@ const record = useRecordContext(); const notify = useNotify(); const refresh = useRefresh(); - const clickTop = () => { + const clickTop = (event) => { + event.stopPropagation(); topTask(record) }; //缃《浠诲姟 -- Gitblit v1.9.1