Commit ef1f9a64572474d5668b26fa9374184c0d33a7e8
1 parent
4c1f742a
update...
Showing
4 changed files
with
6 additions
and
2 deletions
src/main/resources/static/real_control_v2/fragments/line_schedule/context_menu/sub_task_v2/add_in_out.html
| ... | ... | @@ -240,7 +240,7 @@ |
| 240 | 240 | half_form.removeClass('destroy_form'); |
| 241 | 241 | |
| 242 | 242 | //出场终点 |
| 243 | - $f('endStation',outf).val($f('endStation',sf).val()); | |
| 243 | + $f('endStation',outf).val($f('endStation',sf).val()).trigger('change'); | |
| 244 | 244 | //出发合计公里重新计算 |
| 245 | 245 | $f('mileage', half_form).trigger('input'); |
| 246 | 246 | } | ... | ... |
src/main/resources/static/real_control_v2/fragments/line_schedule/context_menu/sub_task_v2/main.html
src/main/resources/static/real_control_v2/fragments/line_schedule/context_menu/utils/station_to_park.html
src/main/resources/static/real_control_v2/js/line_schedule/sch_table.js
| ... | ... | @@ -564,7 +564,7 @@ var gb_schedule_table = (function () { |
| 564 | 564 | return a.clZbh == sch.clZbh && a.bcType=='normal'; |
| 565 | 565 | }).sort(schedule_sort); |
| 566 | 566 | |
| 567 | - for (var i = 0, item; item = array[i++];) { | |
| 567 | + for (var i = 0; i < array.length; i++) { | |
| 568 | 568 | if (array[i].id == sch.id) { |
| 569 | 569 | return i < array.length ? array[i + 1] : null; |
| 570 | 570 | } | ... | ... |