From 2a7329179a1c3ce922c69d1f15b11c925243490a Mon Sep 17 00:00:00 2001 From: chenxt <10125295+chen-xintao97@user.noreply.gitee.com> Date: Tue, 27 Jan 2026 14:12:16 +0800 Subject: [PATCH] 手工机台上班 --- src/mes/teamInfo/index.js | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/src/mes/teamInfo/index.js b/src/mes/teamInfo/index.js index 8ec7b3b..d93f9ab 100644 --- a/src/mes/teamInfo/index.js +++ b/src/mes/teamInfo/index.js @@ -509,18 +509,21 @@ const TeamInfo = baseProps => { let bManualTableProps let bManualSlaveTableProps if (bManual) { - const tableBaseProps = commonBusiness.getTableTypes("master", props); - const slaveTableBaseProps = commonBusiness.getTableTypes("slave", props); + const tableBaseProps = commonBusiness.getTableTypes("slave", props); + const slaveTableBaseProps = commonBusiness.getTableTypes("slave1", props); bManualTableProps = { ...tableBaseProps, + selectedRowKeys: tableBaseProps.selectedRowKeys ? tableBaseProps.selectedRowKeys : [tableBaseProps?.data?.sId], fixedHeight: "calc(50vh - 218px)" } bManualSlaveTableProps = { ...slaveTableBaseProps, + data: slaveTableBaseProps?.data?.filter(item=>item.sParentId === bManualTableProps.selectedRowKeys?.[0]), fixedHeight: "calc(50vh - 126px)" } } + const handleSave = (props) => { props.onExecInstructSet({ btnConfig: { @@ -588,7 +591,10 @@ const TeamInfo = baseProps => {