Commit 3ca17368e4ae076c59dbc20da523598a55ba5324
1 parent
40b6b806
1.临加子任务 临加路牌问题
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/resources/static/real_control_v2/fragments/line_schedule/context_menu/lj_zrw.html
| @@ -523,7 +523,7 @@ | @@ -523,7 +523,7 @@ | ||
| 523 | if (lp.indexOf('临') != -1) { | 523 | if (lp.indexOf('临') != -1) { |
| 524 | max = lp.substr(lp.indexOf('临') + 1); | 524 | max = lp.substr(lp.indexOf('临') + 1); |
| 525 | if (!isNaN(max)) | 525 | if (!isNaN(max)) |
| 526 | - index = parseInt(max); | 526 | + index = Math.max(index, parseInt(max)); |
| 527 | } | 527 | } |
| 528 | } | 528 | } |
| 529 | 529 |