Commit 305988f0b4c45ff7c07f1a14e93d5af01364228d

Authored by 潘钊
1 parent f5d79d46

update...

src/main/resources/static/pages/history_sch/edit/history_sch_maintain.html
... ... @@ -240,7 +240,7 @@
240 240 $('[name=lpName_eq]', modal).val('').html('');
241 241 reLoadLp = true;
242 242 }
243   -
  243 +
244 244 //nbbm autocomplete
245 245 var carAutoCom=$('.autocomplete-cars', modal);
246 246 UIkit.autocomplete(carAutoCom, {
... ... @@ -495,7 +495,7 @@
495 495 $(that).prepend('<i class="uk-icon-spinner uk-icon-spin"></i>');
496 496  
497 497  
498   - var reCountEp = EventProxy.create('ylbUpdate', 'calcWaybill', 'scheduleDetail', function () {
  498 + var reCountEp = EventProxy.create('ylbUpdate', function () {
499 499 $('i.uk-icon-spin', that).remove();
500 500 $(that).removeAttr('disabled');
501 501 notify_succ('重新统计成功!');
... ... @@ -507,15 +507,10 @@
507 507 });
508 508  
509 509 //统计油 -廖磊
510   - gb_common.$post('/ylb/updateHistory', {date:rq, line: lineCode}, function () {
  510 + gb_common.$post('/ylb/updateHistoryJd', {date:rq, line: lineCode}, function () {
511 511 reCountEp.emitLater('ylbUpdate');
512 512 });
513 513  
514   - //重新统计班次明细
515   - /*gb_common.$post('/sch/reCalc/scheduleDetail', {date:rq, line: lineCode}, function () {
516   - reCountEp.emitLater('scheduleDetail');
517   - });*/
518   -
519 514 }, '我确定');
520 515 });
521 516 })();
... ...
src/main/resources/static/real_control_v2/fragments/north/nav/history_sch_maintain.html
... ... @@ -2,8 +2,8 @@
2 2 <div class="uk-modal-dialog" style="width: 1180px;">
3 3 <a href="" class="uk-modal-close uk-close"></a>
4 4 <div class="uk-modal-header">
5   - <h2>历史路单维护</h2>
6   - </div>
  5 + <h2>历史路单维护</h2>
  6 + </div>
7 7  
8 8 <div style="padding-left: 12px;margin: 20px 0">
9 9 <ul class="uk-subnav uk-subnav-pill h-s-time">
... ... @@ -242,7 +242,7 @@
242 242 $('[name=lpName_eq]', modal).val('').html('');
243 243 reLoadLp = true;
244 244 }
245   -
  245 +
246 246 //nbbm autocomplete
247 247 var carAutoCom=$('.autocomplete-cars', modal);
248 248 UIkit.autocomplete(carAutoCom, {
... ... @@ -296,7 +296,7 @@
296 296 f = 'value';
297 297 var rs = {};
298 298 $.each(arr, function () {
299   - rs[this[f]]=this;
  299 + rs[this[f]]=this;
300 300 });
301 301 return gb_common.get_vals(rs);
302 302 }
... ... @@ -431,7 +431,7 @@
431 431 $(that).prepend('<i class="uk-icon-spinner uk-icon-spin"></i>');
432 432  
433 433  
434   - var reCountEp = EventProxy.create('ylbUpdate', 'calcWaybill', 'scheduleDetail', function () {
  434 + var reCountEp = EventProxy.create('ylbUpdate', function () {
435 435 $('i.uk-icon-spin', that).remove();
436 436 $(that).removeAttr('disabled');
437 437 notify_succ('重新统计成功!');
... ... @@ -447,11 +447,6 @@
447 447 reCountEp.emitLater('ylbUpdate');
448 448 });
449 449  
450   - //重新统计班次明细
451   - /*gb_common.$post('/sch/reCalc/scheduleDetail', {date:rq, line: lineCode}, function () {
452   - reCountEp.emitLater('scheduleDetail');
453   - });*/
454   -
455 450 }, '我确定');
456 451 });
457 452 })();
... ...