aiyou 4 年之前
父节点
当前提交
a3106acad1
共有 1 个文件被更改,包括 0 次插入52 次删除
  1. 0 52
      application/admin/view/cost/cost_bill_paid/index.html

+ 0 - 52
application/admin/view/cost/cost_bill_paid/index.html

@@ -33,55 +33,3 @@
         </div>
     </div>
 </div>
-
-<input id="btnPrint" type="button" value="打印"onclick="javascript:window.print();" />
-<input id="btnPrint" type="button" value="打印预览" onclick="preview(1)"/>
-<style type="text/css" media=print>
-    .noprint{display : none}
-</style>
-<p class="noprint">不须要打印的地方</p>
-<script>
-    function preview(oper)
-    {
-        if (oper <10)
-        {
-            bdhtml=window.document.body.innerHTML;//获取当前页的html代码
-            sprnstr="<!–startprint"+oper+"–>";//设置打印開始区域
-            eprnstr="<!–endprint"+oper+"–>";//设置打印结束区域
-            prnhtml=bdhtml.substring(bdhtml.indexOf(sprnstr)+18);//从開始代码向后取html
-            prnhtmlprnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr));//从结束代码向前取html
-            window.document.body.innerHTML=prnhtml;
-            window.print();
-            window.document.body.innerHTML=bdhtml;
-        } else {
-            window.print();
-        }
-    }
-</script>
-<p>XXXXX</p>
-
-<input id="btnPrint" type="button" value="打印"onclick="javascript:window.print();" />
-<input id="btnPrint" type="button" value="打印预览" onclick="preview(1)"/>
-<styletype="text/css" media=print>
-.noprint{display : none}
-</style>
-<p class="noprint">不须要打印的地方</p>
-                             <script>
-                             function preview(oper)
-{
-if (oper <10)
-{
-    bdhtml=window.document.body.innerHTML;//获取当前页的html代码
-sprnstr="<!–startprint"+oper+"–>";//设置打印開始区域
-eprnstr="<!–endprint"+oper+"–>";//设置打印结束区域
-prnhtml=bdhtml.substring(bdhtml.indexOf(sprnstr)+18);//从開始代码向后取html
-prnhtmlprnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr));//从结束代码向前取html
-window.document.body.innerHTML=prnhtml;
-    window.print();
-    window.document.body.innerHTML=bdhtml;
-} else {
-      window.print();
-  }
-}
-</script>
-  <p>XXXXX</p>