Commit fa0b3cfbfbc06a0b9385817244b9b8e100091e99
1 parent
b2bc71fd
BUG修复(选择线路后查询车载停靠站出错)
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/resources/static/pages/trafficManage/js/lineStationUploadRecord.js
| @@ -31,7 +31,7 @@ | @@ -31,7 +31,7 @@ | ||
| 31 | 31 | ||
| 32 | initLineSelect2(); | 32 | initLineSelect2(); |
| 33 | 33 | ||
| 34 | - function initLineSelect2(compD) {debugger; | 34 | + function initLineSelect2(compD) { |
| 35 | getComp(function(rs) { | 35 | getComp(function(rs) { |
| 36 | var params = {}; | 36 | var params = {}; |
| 37 | if(rs.length>0) { | 37 | if(rs.length>0) { |
| @@ -55,7 +55,7 @@ | @@ -55,7 +55,7 @@ | ||
| 55 | if(len_>0) { | 55 | if(len_>0) { |
| 56 | $.each(array, function(i, g){ | 56 | $.each(array, function(i, g){ |
| 57 | if(g.name!='' || g.name != null) { | 57 | if(g.name!='' || g.name != null) { |
| 58 | - paramsD.push({'id':g.name + '_' + g.id + '_' + g.lineCode ,'text':g.name}); | 58 | + paramsD.push({'id':g.id ,'text':g.name}); |
| 59 | } | 59 | } |
| 60 | }); | 60 | }); |
| 61 | initPinYinSelect2($('#line'),paramsD,function(selector) { | 61 | initPinYinSelect2($('#line'),paramsD,function(selector) { |