| xqd
@@ -3,11 +3,12 @@
|
|
|
@section('table')
|
|
|
|
|
|
|
|
|
+
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
|
- <div class="box box-primary">
|
|
|
- <div class="box-header with-border">
|
|
|
- <h3 class="box-title">成本审计汇总表</h3>
|
|
|
+ <div class="box box-primary" id="print">
|
|
|
+ <div class="box-header with-border" style="text-align: center">
|
|
|
+ <h1 class="box-title">成本审计汇总表</h1>
|
|
|
</div>
|
|
|
<div class="box-body">
|
|
|
<table class="table table-bordered" >
|
| xqd
@@ -369,6 +370,21 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <button class="btn btn-success" onclick="printed('print')">打印</button>
|
|
|
+
|
|
|
+ <script>
|
|
|
+ function printed(printpage)
|
|
|
+ {
|
|
|
+ var headstr = "<html><head><title></title></head><body>";
|
|
|
+ var footstr = "</body>";
|
|
|
+ var newstr = document.all.item(printpage).innerHTML;
|
|
|
+ var oldstr = document.body.innerHTML;
|
|
|
+ document.body.innerHTML = headstr+newstr+footstr;
|
|
|
+ window.print();
|
|
|
+ document.body.innerHTML = oldstr;
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ </script>
|
|
|
|
|
|
|
|
|
@endsection
|