Commit e7dd94bbe99ac540883056d227aa46b9f8a6ea3c

Authored by 娄高锋
1 parent 810be6fb

LGF

src/main/resources/static/pages/forms/statement/waybillQp.html
... ... @@ -164,6 +164,8 @@
164 164 $("#info tbody").on("click","tr",function(){
165 165 if($(this).children().size() < 1){
166 166 return;
  167 + } else if($(this).children().children().html() == "没有找到相关数据"){
  168 + return;
167 169 }
168 170 $(this).children().each(function(index){
169 171 params[index] = $(this).text();
... ... @@ -209,10 +211,18 @@
209 211 });
210 212  
211 213 $("#exportMore").on("click",function(){
212   - return;
213   - $post('/realSchedule/exportWaybillMore',{date:date},function(result){
214   - window.open("/downloadFile/download?fileName="+jName);
  214 + if($("#info tbody").children().size() < 1){
  215 + return;
  216 + } else if($("#info tbody tr td").children().html() == "没有找到相关数据"){
  217 + return;
  218 + }
  219 + var param = new Array();
  220 + $("#info tbody tr").each(function(index){
  221 + param[index] = $(this).txet();
215 222 });
  223 +// $post('/realSchedule/exportWaybillQpMore',{date:date},function(result){
  224 +// window.open("/downloadFile/downloadList?fileName="+result.fileName);
  225 +// });
216 226 });
217 227  
218 228 function getTime(list){
... ... @@ -323,7 +333,7 @@
323 333 {{/each}}
324 334 {{if list.length == 0}}
325 335 <tr>
326   - <td colspan="14"><h6 class="muted">没有找到相关数据</h6></td>
  336 + <td colspan="15"><h6 class="muted">没有找到相关数据</h6></td>
327 337 </tr>
328 338 {{/if}}
329 339 </script>
... ...