Commit 3a596bfc217f83e372875d79800097bc688dbaf3
1 parent
87477693
bManual=1 添加开工完工
Showing
1 changed file
with
2 additions
and
1 deletions
src/mes/scheduledTasks/machineTasks/index.js
| ... | ... | @@ -566,7 +566,8 @@ const MachineTasks = baseProps => { |
| 566 | 566 | sDefault = "${false}"; |
| 567 | 567 | } |
| 568 | 568 | |
| 569 | - const outPut = bManual ? [actProduceReportConfig] : [{ showName, btnBgColor, sDefault, startWorkConfig, pauseWorkConfig }, | |
| 569 | + const outPut = bManual ? [actProduceReportConfig,{ showName, btnBgColor, sDefault, startWorkConfig, pauseWorkConfig }, | |
| 570 | + { showName: "完工", btnBgColor: "#1890FF", sDefault }] : [{ showName, btnBgColor, sDefault, startWorkConfig, pauseWorkConfig }, | |
| 570 | 571 | { showName: "完工", btnBgColor: "#1890FF", sDefault }] |
| 571 | 572 | return [ |
| 572 | 573 | ...outPut, | ... | ... |