From ec3a8ddd24ef745ee3b9fabec6312013e1547b55 Mon Sep 17 00:00:00 2001 From: chenxt <10125295+chen-xintao97@user.noreply.gitee.com> Date: Tue, 27 Jan 2026 11:43:24 +0800 Subject: [PATCH] 产量上报上传 --- src/mes/common/commonModelComponent/index.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/mes/common/commonModelComponent/index.js b/src/mes/common/commonModelComponent/index.js index 1adf46f..f247744 100644 --- a/src/mes/common/commonModelComponent/index.js +++ b/src/mes/common/commonModelComponent/index.js @@ -478,7 +478,9 @@ const useCommonModelEvent = props => { if (commonUtils.isNotEmptyObject(returnData)) { for (const key of Object.keys(returnData)) { const data = returnData[key].map(x => { - x.sParentId = props.masterData.sId + x.sParentId = props.masterData.sId + x.sId = x.sId ? x.sId : commonUtils.createSid() + x.handleType = "add" return x }) addState[`${key}Data`] = data; @@ -1582,7 +1584,6 @@ const useGetSelectedDataGroup = props => { }, [tableList.length] ); - const selectedDataGroup = Object.keys(sSqlConditionGroup).reduce( (result, tableName) => { const { @@ -1800,8 +1801,6 @@ const CommonModelComponent = props => { }); window.refreshTableList = null; } - props.onSaveState({slaveSelectedRowKeys:[]}) - }} > {configList @@ -2267,7 +2266,6 @@ const CommonTableComponent = props => { } } }, [props.masterData]) - return ( <> -- libgit2 0.22.2