Commit f874d561e4849819fb8f25cc20fed0b09a7a7120

Authored by 娄高锋
1 parent 864ef72f

电、氢表,加全部分公司(车队查询项)

src/main/resources/static/pages/electricity/list/list.html
... ... @@ -483,7 +483,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep
483 483 var ylbFgsdm=$("#ylbListFgsdmId").val();
484 484 if ($("#rq").val() == "" || $("#rq").val() ==null){
485 485 layer.msg('请选择日期.');
486   - }else if(ylbGsdm=="" || ylbGsdm==null || ylbFgsdm=="" ||ylbFgsdm==null){
  486 + }else if(ylbGsdm=="" || ylbGsdm==null){
487 487 layer.msg('请选择公司和分公司.');
488 488 }else {
489 489 var params = getParamsList();
... ... @@ -551,6 +551,7 @@ onkeyup="this.value=this.value.replace(/[^(\d||/.)]/g,'').replace('.','$#$').rep
551 551 }
552 552 }
553 553 }
  554 + options += '<option value="">全部分公司</option>';
554 555 $('#ylbListFgsdmId').html(options);
555 556 initXl();
556 557 initCl();
... ...
src/main/resources/static/pages/hydrogen/list/list.html
... ... @@ -418,7 +418,7 @@ onkeyup=&quot;this.value=this.value.replace(/[^(\d||/.)]/g,&#39;&#39;).replace(&#39;.&#39;,&#39;$#$&#39;).rep
418 418 var ylbFgsdm=$("#ylbListFgsdmId").val();
419 419 if ($("#rq").val() == "" || $("#rq").val() ==null){
420 420 layer.msg('请选择日期.');
421   - }else if(ylbGsdm=="" || ylbGsdm==null || ylbFgsdm=="" ||ylbFgsdm==null){
  421 + }else if(ylbGsdm=="" || ylbGsdm==null){
422 422 layer.msg('请选择公司和分公司.');
423 423 }else {
424 424 var params = getParamsList();
... ... @@ -484,6 +484,7 @@ onkeyup=&quot;this.value=this.value.replace(/[^(\d||/.)]/g,&#39;&#39;).replace(&#39;.&#39;,&#39;$#$&#39;).rep
484 484 }
485 485 }
486 486 }
  487 + options += '<option value="">全部分公司</option>';
487 488 $('#ylbListFgsdmId').html(options);
488 489 initXl();
489 490 initCl();
... ...