Commit 415491fafd7f49fa1afaf818734450eb452951a1
1 parent
d0da6346
update...
Showing
1 changed file
with
9 additions
and
1 deletions
src/main/resources/static/real_control_v2/fragments/line_schedule/context_menu/sub_task_v2/add_in_out.html
| @@ -44,6 +44,14 @@ | @@ -44,6 +44,14 @@ | ||
| 44 | 44 | ||
| 45 | //营运终点和进场起点改变事件 | 45 | //营运终点和进场起点改变事件 |
| 46 | $f('endStation', sf).on('change', changeServiceEnd); | 46 | $f('endStation', sf).on('change', changeServiceEnd); |
| 47 | + //进场终点改变事件 | ||
| 48 | + $f('endStation', inf).on('change', function () { | ||
| 49 | + $f('startStation',outf).val($(this).val()); | ||
| 50 | + }); | ||
| 51 | + //进场公里改变 | ||
| 52 | + $f('mileage',inf).on('input', function () { | ||
| 53 | + $f('mileage',outf).val($(this).val()); | ||
| 54 | + }); | ||
| 47 | //$f('startStation', inf).on('change', changeServiceEnd); | 55 | //$f('startStation', inf).on('change', changeServiceEnd); |
| 48 | }); | 56 | }); |
| 49 | 57 | ||
| @@ -88,7 +96,7 @@ | @@ -88,7 +96,7 @@ | ||
| 88 | f.addClass('destroy_form'); | 96 | f.addClass('destroy_form'); |
| 89 | } | 97 | } |
| 90 | else if (sch.status == 2) { | 98 | else if (sch.status == 2) { |
| 91 | - $f('destroy', f).parents('label').hide(); | 99 | + $f('destroy', f).parents('label').remove(); |
| 92 | $f('endDate', f).val(sch.zdsjActual); | 100 | $f('endDate', f).val(sch.zdsjActual); |
| 93 | $('input,select', f).attr('disabled', 'disabled'); | 101 | $('input,select', f).attr('disabled', 'disabled'); |
| 94 | } | 102 | } |