From 7a562f9bf4dbf1775afcbbe2859d79f59ce6f2b5 Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Mon, 25 May 2026 11:48:16 +0800 Subject: [PATCH] 1.处理前期生产,问题反馈的界面报错 --- src/mes/scheduledTasks/machineTasks/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mes/scheduledTasks/machineTasks/index.js b/src/mes/scheduledTasks/machineTasks/index.js index 1310ed7..f5b2d2a 100644 --- a/src/mes/scheduledTasks/machineTasks/index.js +++ b/src/mes/scheduledTasks/machineTasks/index.js @@ -562,7 +562,7 @@ const MachineTasks = baseProps => { tableBtnsConfig: params => { const { record, index } = params; const { iStar, bManual } = record; - + let showName, btnBgColor, sDefault, finishBtnBgColor, finishSdefault; if (iStar === 1) { showName = "暂停"; @@ -575,7 +575,7 @@ const MachineTasks = baseProps => { btnBgColor = "#AAA"; sDefault = "${false}"; } - + if (iStar === 2) { finishBtnBgColor = "#AAA" finishSdefault = "${false}"; @@ -591,7 +591,7 @@ const MachineTasks = baseProps => { finishBtnBgColor = "#1890FF" finishSdefault = "${true}"; } - + const outPut = bManual ? [actProduceReportConfig, { showName: "完工", btnBgColor: finishBtnBgColor, sDefault: finishSdefault }] : [{ showName, btnBgColor, sDefault, startWorkConfig, pauseWorkConfig }, { showName: "完工", btnBgColor: finishBtnBgColor, sDefault: finishSdefault }] @@ -647,7 +647,7 @@ const MachineTasks = baseProps => { if (issue?.length > 0) { return (
- {issue[id].items.map(item => ( + {issue[id]?.items.map(item => (

{item.title}: {slave1Data[0] ? ( -- libgit2 0.22.2