Commit 100ef353c8083d6a76b7a6aa5244daa0eb0efd68

Authored by 王通
2 parents 1a3f1987 6e47d285

Merge branch 'pudong' into pudong_jdk8

src/main/resources/static/pages/forms/calc/calcDetailMonthly.html
@@ -149,9 +149,10 @@ @@ -149,9 +149,10 @@
149 }; 149 };
150 150
151 var d = new Date(); 151 var d = new Date();
  152 + d.setTime(d.getTime() - 4*1000*60*60*24);//只能查4天以前的数据
152 var year = d.getFullYear(); 153 var year = d.getFullYear();
153 var month = d.getMonth() + 1; 154 var month = d.getMonth() + 1;
154 - var day = d.getDate()-4;//只能查4天以前的数据 155 + var day = d.getDate();
155 if(month < 10) 156 if(month < 10)
156 month = "0" + month; 157 month = "0" + month;
157 if(day < 10) 158 if(day < 10)
src/main/resources/static/pages/report/cardInsertion/cardInsertionList.html
@@ -265,13 +265,11 @@ @@ -265,13 +265,11 @@
265 265
266 }); 266 });
267 function showcalcSheetList(){ 267 function showcalcSheetList(){
268 - debugger;  
269 var id = $(this).data('id'); 268 var id = $(this).data('id');
270 var date = $("#date").val(); 269 var date = $("#date").val();
271 var endDate = $("#endDate").val(); 270 var endDate = $("#endDate").val();
272 $("#id").val(id); 271 $("#id").val(id);
273 $get('/CardSigning/calcListSheet',{line:id,date:date,endDate:endDate,type:'query'},function(result){ 272 $get('/CardSigning/calcListSheet',{line:id,date:date,endDate:endDate,type:'query'},function(result){
274 - debugger;  
275 var calcSheetList = template('calcSheetList_1',{list:result}); 273 var calcSheetList = template('calcSheetList_1',{list:result});
276 $('#forms_1 tbody').html(calcSheetList); 274 $('#forms_1 tbody').html(calcSheetList);
277 $('.btn-calcSheetList_1').on('click', opencalcSheetList); 275 $('.btn-calcSheetList_1').on('click', opencalcSheetList);
src/main/resources/static/pages/report/cardInsertion/cardList.html
@@ -65,7 +65,6 @@ @@ -65,7 +65,6 @@
65 var i = layer.load(2); 65 var i = layer.load(2);
66 $get('/CardSigning/calcSheet',{line:no,date:dates,dir:dir,type:'query'},function(result){ 66 $get('/CardSigning/calcSheet',{line:no,date:dates,dir:dir,type:'query'},function(result){
67 layer.close(i); 67 layer.close(i);
68 - debugger;  
69 var calcSheetList_2 = template('calcSheetList_2',{list:result}); 68 var calcSheetList_2 = template('calcSheetList_2',{list:result});
70 $('#forms_2 tbody').html(calcSheetList_2); 69 $('#forms_2 tbody').html(calcSheetList_2);
71 }); 70 });