Commit 7c322b394e1c943905a32aa33af811c1ea7f7ed1

Authored by 娄高锋
1 parent c141728f

滚动条

src/main/resources/static/pages/forms/statement/historyMessage.html
... ... @@ -46,7 +46,7 @@
46 46 </form>
47 47 </div>
48 48 <div class="portlet-body">
49   - <div class="table-container" style="margin-top: 10px;overflow:auto;min-width: 906px">
  49 + <div class="table-container" style="margin-top: 10px;overflow:auto;min-width: 906px;max-height: 520px;">
50 50 <table class="table table-bordered table-hover table-checkable" id="forms">
51 51 <thead>
52 52 <tr class="hidden">
... ...
src/main/resources/static/pages/forms/statement/waybill.html
... ... @@ -55,7 +55,7 @@
55 55 <div class="portlet-body">
56 56 <div class="row">
57 57 <div class="col-md-3">
58   - <div class="" style="margin-top: 10px;overflow:auto;height: 860px">
  58 + <div class="" style="margin-top: 10px;overflow:auto;height: 520px">
59 59 <table class="table table-bordered table-hover table-checkable pre-scrollable" id="info">
60 60 <thead>
61 61 <tr class="hidden">
... ... @@ -71,7 +71,7 @@
71 71 </div>
72 72 </div>
73 73 <div class="col-md-9" id="printArea">
74   - <div class="table-container" style="margin-top: 10px;overflow:auto;min-width: 906px">
  74 + <div class="table-container" style="margin-top: 10px;overflow:auto;min-width: 906px;height: 520px">
75 75 <table class="table table-bordered table-checkable" id="forms">
76 76 <tbody class="ludan_1">
77 77  
... ... @@ -264,6 +264,7 @@
264 264 jName = params[0].split("\\")[0];
265 265 jGh = params[0].split("\\")[1];
266 266 var id = params[3];
  267 + var obj = $(this);
267 268 $get('/realSchedule/MapById',{id:id},function(result){
268 269 result.scheduleDate = moment(result.scheduleDate).format("YYYY/MM/DD");
269 270 var ludan_1 = template('ludan_1',result);
... ... @@ -279,8 +280,11 @@
279 280 $get('/realSchedule/findKMBC',{jGh:jGh,clZbh:params[1],lpName:params[2],date:date,line:line},function(result){
280 281 var ludan_3 = template('ludan_3',result);
281 282 $('#forms .ludan_3').html(ludan_3);
  283 + $("#info tbody tr").css('background-color', '');
  284 + obj.css('background-color', '#99CCFF');
282 285 });
283 286  
  287 +
284 288 });
285 289  
286 290 $("#export").on("click",function(){
... ...