Commit 415491fafd7f49fa1afaf818734450eb452951a1

Authored by 潘钊
1 parent d0da6346

update...

src/main/resources/static/real_control_v2/fragments/line_schedule/context_menu/sub_task_v2/add_in_out.html
... ... @@ -44,6 +44,14 @@
44 44  
45 45 //营运终点和进场起点改变事件
46 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 55 //$f('startStation', inf).on('change', changeServiceEnd);
48 56 });
49 57  
... ... @@ -88,7 +96,7 @@
88 96 f.addClass('destroy_form');
89 97 }
90 98 else if (sch.status == 2) {
91   - $f('destroy', f).parents('label').hide();
  99 + $f('destroy', f).parents('label').remove();
92 100 $f('endDate', f).val(sch.zdsjActual);
93 101 $('input,select', f).attr('disabled', 'disabled');
94 102 }
... ...