From 5892199127305cf7b3db60257671434abcf0737c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <852955+jishenghua@users.noreply.gitee.com> Date: Sun, 3 Mar 2019 23:50:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8D=95=E6=8D=AE=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp_web/js/pages/financial/financial_base.js | 8 ++++++ erp_web/js/pages/materials/in_out.js | 7 +++++ erp_web/js/print/print.html | 12 ++++----- erp_web/js/print/print_form.html | 26 +++++++++++++++++++ erp_web/pages/financial/advance_in.html | 7 ++++- erp_web/pages/financial/giro.html | 7 ++++- erp_web/pages/financial/item_in.html | 7 ++++- erp_web/pages/financial/item_out.html | 7 ++++- erp_web/pages/financial/money_in.html | 7 ++++- erp_web/pages/financial/money_out.html | 7 ++++- .../pages/materials/allocation_out_list.html | 7 ++++- erp_web/pages/materials/assemble_list.html | 7 ++++- erp_web/pages/materials/disassemble_list.html | 7 ++++- erp_web/pages/materials/other_in_list.html | 7 ++++- erp_web/pages/materials/other_out_list.html | 7 ++++- .../pages/materials/purchase_back_list.html | 7 ++++- erp_web/pages/materials/purchase_in_list.html | 7 ++++- .../pages/materials/purchase_orders_list.html | 7 ++++- erp_web/pages/materials/retail_back_list.html | 7 ++++- erp_web/pages/materials/retail_out_list.html | 7 ++++- erp_web/pages/materials/sale_back_list.html | 7 ++++- erp_web/pages/materials/sale_orders_list.html | 7 ++++- erp_web/pages/materials/sale_out_list.html | 7 ++++- 23 files changed, 161 insertions(+), 25 deletions(-) create mode 100644 erp_web/js/print/print_form.html diff --git a/erp_web/js/pages/financial/financial_base.js b/erp_web/js/pages/financial/financial_base.js index aaffb378..874e4ccd 100644 --- a/erp_web/js/pages/financial/financial_base.js +++ b/erp_web/js/pages/financial/financial_base.js @@ -874,6 +874,14 @@ }); } }); + + //打印单据 + $("#printAccountHeadShow").off("click").on("click",function(){ + var tableString = $("#accountHeadDlgShow").html(); + localStorage.setItem("tableString",tableString); + window.open("../../js/print/print_form.html","location:No;status:No;help:No;dialogWidth:800px;dialogHeight:600px;scroll:auto;"); + }); + //初始化键盘enter事件 $(document).keydown(function(event) { diff --git a/erp_web/js/pages/materials/in_out.js b/erp_web/js/pages/materials/in_out.js index d724634f..cf9395e3 100644 --- a/erp_web/js/pages/materials/in_out.js +++ b/erp_web/js/pages/materials/in_out.js @@ -2132,6 +2132,13 @@ } }); + //打印单据 + $("#printDepotHeadShow").off("click").on("click",function(){ + var tableString = $("#depotHeadDlgShow").html(); + localStorage.setItem("tableString",tableString); + window.open("../../js/print/print_form.html","location:No;status:No;help:No;dialogWidth:800px;dialogHeight:600px;scroll:auto;"); + }); + //初始化键盘enter事件 $(document).keydown(function(event){ //兼容 IE和firefox 事件 diff --git a/erp_web/js/print/print.html b/erp_web/js/print/print.html index ee802e46..7fa8c511 100644 --- a/erp_web/js/print/print.html +++ b/erp_web/js/print/print.html @@ -3,12 +3,12 @@
| 付款会员: | @@ -146,5 +146,10 @@