Commit 5bd485e2f45aca8f24d27b171fe42d27f4743f7c
1 parent
bb6cfe9b
修改完工提示
Showing
1 changed file
with
5 additions
and
1 deletions
src/mes/scheduledTasks/machineTasks/index.js
| ... | ... | @@ -349,9 +349,13 @@ const useInfoEvent = props => { |
| 349 | 349 | return; |
| 350 | 350 | } |
| 351 | 351 | if (showName === "完工") { |
| 352 | + console.log(item.record) | |
| 353 | + var prompt = "生产订单号:"+item.record.sSReserve5+"<br/>"+item.record.sProductName+"" | |
| 354 | + + "<br/>已完成:"+item.record.dProductionReportQty+"<br/>剩余:"+item.record.dNoProductionReportQty+"<br/>是否确认完工!" | |
| 355 | + ; | |
| 352 | 356 | Modal.confirm({ |
| 353 | 357 | title: "温馨提示:", |
| 354 | - content: <div>确认完工?</div>, | |
| 358 | + content: prompt, | |
| 355 | 359 | okText: "确认", |
| 356 | 360 | cancelText: "取消", |
| 357 | 361 | onOk() { | ... | ... |