Commit 6f1344ea8220acafb6185a6722b5ecc9a3c457b0
1 parent
fb9ebce6
更新
Showing
1 changed file
with
4 additions
and
3 deletions
src/main/resources/static/pages/forms/statement/waybill.html
| ... | ... | @@ -99,6 +99,7 @@ |
| 99 | 99 | $('#line').select2({ |
| 100 | 100 | ajax: { |
| 101 | 101 | url: '/realSchedule/findLine', |
| 102 | + type: 'post', | |
| 102 | 103 | dataType: 'json', |
| 103 | 104 | delay: 150, |
| 104 | 105 | data: function(params){ |
| ... | ... | @@ -170,13 +171,13 @@ |
| 170 | 171 | $('#forms .ludan_1').append(ludan_1); |
| 171 | 172 | //$('#forms .ludan_4').append(ludan_4); |
| 172 | 173 | }); |
| 173 | - $get('/realSchedule/queryListWaybill',{jName:jName,clZbh:params[1],lpName:params[2]},function(result){ | |
| 174 | + $post('/realSchedule/queryListWaybill',{jName:jName,clZbh:params[1],lpName:params[2]},function(result){ | |
| 174 | 175 | getTime(result); |
| 175 | 176 | var ludan_2 = template('ludan_2',{list:result}); |
| 176 | 177 | // 把渲染好的模版html文本追加到表格中 |
| 177 | 178 | $('#forms .ludan_2').append(ludan_2); |
| 178 | 179 | }); |
| 179 | - $get('/realSchedule/findKMBC',{jName:jName,clZbh:params[1],lpName:params[2]},function(result){ | |
| 180 | + $post('/realSchedule/findKMBC',{jName:jName,clZbh:params[1],lpName:params[2]},function(result){ | |
| 180 | 181 | var ludan_3 = template('ludan_3',result); |
| 181 | 182 | $('#forms .ludan_3').append(ludan_3); |
| 182 | 183 | }); |
| ... | ... | @@ -184,7 +185,7 @@ |
| 184 | 185 | }); |
| 185 | 186 | |
| 186 | 187 | $("#export").on("click",function(){ |
| 187 | - $get('/realSchedule/exportWaybill',{jName:jName,clZbh:params[1],lpName:params[2]},function(result){ | |
| 188 | + $post('/realSchedule/exportWaybill',{jName:jName,clZbh:params[1],lpName:params[2]},function(result){ | |
| 188 | 189 | window.open("/downloadFile/download?fileName="+jName); |
| 189 | 190 | }); |
| 190 | 191 | }); | ... | ... |