Commit a04cd389ec4aa647e59384a52ab665fdea3d169c

Authored by Min
1 parent 376a0c72

1.修复MES 完工调用接口逻辑

src/mes/scheduledTasks/machineTasks/index.js
@@ -353,7 +353,7 @@ @@ -353,7 +353,7 @@
353 const handleTableBtnClick = async item => { 353 const handleTableBtnClick = async item => {
354 const { tableName, index, record, tableData, config, iFlag } = item; 354 const { tableName, index, record, tableData, config, iFlag } = item;
355 const { showName, sChinese } = config; 355 const { showName, sChinese } = config;
356 - if (sChinese === "完工") { 356 + if (sChinese === "完工" || showName === 'Complete') {
357 Modal.confirm({ 357 Modal.confirm({
358 title: FriendlyReminder, 358 title: FriendlyReminder,
359 content: <div>{confirmCompletion}?</div>, 359 content: <div>{confirmCompletion}?</div>,