From 92c28c1dbc239b53358df43948d93fb64f0b8ec3 Mon Sep 17 00:00:00 2001 From: chenxt <10125295+chen-xintao97@user.noreply.gitee.com> Date: Thu, 29 Jan 2026 14:41:28 +0800 Subject: [PATCH] 扫脸走指令集 --- src/mes/teamInfo/index.js | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/src/mes/teamInfo/index.js b/src/mes/teamInfo/index.js index c8df332..8fa091b 100644 --- a/src/mes/teamInfo/index.js +++ b/src/mes/teamInfo/index.js @@ -579,7 +579,7 @@ const TeamInfo = baseProps => { } }); } - const {sMachineNameStr} = props?.app || {} + const { sMachineNameStr } = props?.app || {} const isSMachineNameStr = sMachineNameStr && sMachineNameStr.includes('礼盒') return (
@@ -632,7 +632,20 @@ const TeamInfo = baseProps => { if (props.masterData && !props.masterData.length) { return message.warning('请先添加一条班组信息!') } - setFaceModal(true); + // setFaceModal(true); + const btnsConfig = + bManualSlaveTableProps?.config?.gdsconfigformslave.find( + item => item.sControlName?.toLowerCase().includes("btnenventinsertwork") + ) || {}; + props.onExecInstructSet({ + btnConfig: { + ...btnsConfig, + sInstruct: btnsConfig.sInstruct + }, + nextProps: { + ...props, + } + }); }} > @@ -776,7 +789,7 @@ const TeamInfo = baseProps => {
- +
@@ -873,7 +886,7 @@ const TeamJoinInfo = props => { }) ) ?.filter(item => item.tableName !== "slave3"); - const {sMachineNameStr} = props?.app || {} + const { sMachineNameStr } = props?.app || {} const isSMachineNameStr = sMachineNameStr && sMachineNameStr.includes('礼盒') const tableProps = tableName => { const result = { @@ -882,7 +895,7 @@ const TeamJoinInfo = props => { onChange: () => { } }, onTableBtnClick: props.onTableBtnClick, - fixedHeight: isSMachineNameStr? (tableName === "slave4" ? "100px" : "80px") : tableName === "slave4" ? "230px" : "160px" + fixedHeight: isSMachineNameStr ? (tableName === "slave4" ? "100px" : "80px") : tableName === "slave4" ? "230px" : "160px" }; result.tableBtnsConfig = result.config?.gdsconfigformslave -- libgit2 0.22.2