js 账单打印并分页

前端之家收集整理的这篇文章主要介绍了js 账单打印并分页前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@include file="/webpage/inc/inc.jsp"%> <Meta charset="UTF-8"> 账单打印 Box"> 收据打印
<tr&gt; <td rowspan="2" style="text-align: center;"&gt;<a href="https://www.jb51.cc/tag/mingcheng/" target="_blank" class="keywords">名称</a></td&gt; <td rowspan="2" style="text-align: center;width:80px;"&gt;单位</td&gt; <td rowspan="2" style="text-align: center;width:50px;"&gt;<a href="https://www.jb51.cc/tag/shuliang/" target="_blank" class="keywords">数量</a></td&gt; <td rowspan="2" style="text-align: center;width:50px;"&gt;单价</td&gt; <td colspan="9" style="text-align: center;"&gt;金额</td&gt; <td style="text-align: center;"&gt;总金额<b>¥</b><b class="total"&gt;</b></td&gt; </tr&gt; <tr&gt; <td style="width: 30px;text-align: center;"&gt;佰</td&gt; <td style="width: 30px;text-align: center;"&gt;拾</td&gt; <td style="width: 30px;text-align: center;"&gt;万</td&gt; <td style="width: 30px;text-align: center;"&gt;千</td&gt; <td style="width: 30px;text-align: center;"&gt;百</td&gt; <td style="width: 30px;text-align: center;"&gt;十</td&gt; <td style="width: 30px;text-align: center;"&gt;元</td&gt; <td style="width: 30px;text-align: center;"&gt;角</td&gt; <td style="width: 30px;text-align: center;"&gt;分</td&gt; <td style="text-align: center;"&gt;备注</td&gt; </tr&gt; </thead> <tbody id="tbodyList"&gt; <!-- <tr class="t_money_tr_0"&gt; <td class="td_name_0" style="text-align: center;"&gt;{{items.name}}</td&gt; <td style="text-align: center;"&gt;&amp;nbsp;</td&gt; <td style="text-align: center;"&gt;&amp;nbsp;</td&gt; <td style="text-align: center;"&gt;&amp;nbsp;</td&gt; <td class="hunbit_0" style="text-align: center;"&gt;&amp;nbsp;</td&gt; <td class="debit_0" style="text-align: center;"&gt;&amp;nbsp;</td&gt; <td class="myriabit_0" style="text-align: center;"&gt;&amp;nbsp;</td&gt; <td class="kilbit_0" style="text-align: center;"&gt;&amp;nbsp;</td&gt; <td class="hunders_0" style="text-align: center;"&gt;&amp;nbsp;</td&gt; <td class="decade_0" style="text-align: center;"&gt;&amp;nbsp;</td&gt; <td class="unit_0" style="text-align: center;"&gt;&amp;nbsp;</td&gt; <td class="unitone_0" style="text-align: center;"&gt;&amp;nbsp;</td&gt; <td class="unittwo_0" style="text-align: center;"&gt;&amp;nbsp;</td&gt; <td class="td_remark_0" style="text-align: center;"&gt;&amp;nbsp;</td&gt; </tr&gt; --> </tbody> <tfoot> <!-- <tr&gt; <td&gt;合计人民币(大写)</td&gt; <td colspan="13"&gt; <span class="money_num_text"&gt; <i class="num_text_hunbit" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;X</i>佰<i class="num_text_debit" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;X</i>拾<i class="num_text_myriabit" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;X</i>万<i class="num_text_kilbit" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;X</i>仟<i class="num_text_hunders" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;X</i>佰<i class="num_text_decade" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;X</i>拾<i class="num_text_unit" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;X</i>元<i class="num_text_unitone" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;零</i>角<i class="num_text_unittwo" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;零</i>分<b>¥</b><b class="mtotal"&gt;</b> </span> </td&gt; </tr&gt; --> <tr&gt; <td&gt;主管</td&gt; <td colspan="6"&gt;会计</td&gt; <td colspan="7"&gt;收款人</td&gt; </tr&gt; <tr&gt; <td colspan="13" style="text-align: center;"&gt;<span> &amp;nbsp;白1&amp;nbsp;(存根)&amp;nbsp;黄&amp;nbsp;(收据)&amp;nbsp;绿&amp;nbsp;(记账)&amp;nbsp;蓝&amp;nbsp;(提货)&amp;nbsp;红&amp;nbsp;(核对)&amp;nbsp;白2&amp;nbsp;(确认) </span></td&gt; <td colspan="1"&gt; <span tdata="pageNO" format="#" ><span style="color: #000000"&gt; 第</span><font color="#0000FF"&gt;#</font>张</span> <span tdata="pageCount" format="#"&gt;<span style="color: #000000"&gt; 共</span><font color="#0000FF"&gt;##</font>张</span> </td&gt; </tr&gt; </tfoot> </table&gt; </div> </div> </body> <script src="<%=staticServPath%>/static/assets/global/plugins/jquery.min.js" type="text/javascript"&gt;</script> <script src="<%=staticServPath%>/static/js/public.js" type="text/javascript"&gt;</script> <script src="<%=staticServPath%>/static/plug-in/ng/angular.min.js" type="text/javascript"&gt;</script> <script src="<%=staticServPath%>/static/plug-in/lodop/LodopFuncs.js" type="text/javascript"&gt;</script> <script> <span style="color: #0000ff"&gt;var</span> app = angular.module('myApp'<span style="color: #000000"&gt;,[]); app.controller(</span>'myCtrl',<span style="color: #0000ff"&gt;function</span><span style="color: #000000"&gt;($scope,$http) { </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt; var $scope = $scope;</span> inputId = window.location.href.split('?')[1].split('&amp;')[0].split('=')[1<span style="color: #000000"&gt;]; </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;请求接口</span> ajaxJson('GET',webroot + '/bill/printList?ids=' + inputId,'',<span style="color: #0000ff"&gt;function</span><span style="color: #000000"&gt;(err,rsp) { </span><span style="color: #0000ff"&gt;if</span> (rsp.code == 200<span style="color: #000000"&gt;) { $scope.aa </span>=<span style="color: #000000"&gt; rsp.result; $scope.data </span>= rsp.result[0<span style="color: #000000"&gt;]; $scope.paymentDate </span>= $scope.data.paymentDate.split('-'<span style="color: #000000"&gt;); $scope.customer </span>=<span style="color: #000000"&gt; $scope.data.customer; $scope.code </span>=<span style="color: #000000"&gt; $scope.data.code; $scope.total </span>=<span style="color: #000000"&gt; $scope.data.total; </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt; $scope.total = 10000.99;</span> <span style="color: #008000"&gt;//</span><span style="color: #008000"&gt; $scope.items = $scope.data.items;</span> $scope.items =<span style="color: #000000"&gt; [{ money: </span>9<span style="color: #000000"&gt;,remark: </span>'备注1'<span style="color: #000000"&gt;,name: </span>'01'<span style="color: #000000"&gt; },{ money: </span>9<span style="color: #000000"&gt;,name: </span>'01'<span style="color: #000000"&gt; }]; </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;年月日</span> $('.time_year').text($scope.paymentDate[0<span style="color: #000000"&gt;]); $(</span>'.time_month').text($scope.paymentDate[1<span style="color: #000000"&gt;]); $(</span>'.time_day').text($scope.paymentDate[2<span style="color: #000000"&gt;]); $(</span>'.customer'<span style="color: #000000"&gt;).text($scope.customer); $(</span>'.code'<span style="color: #000000"&gt;).text($scope.code); $(</span>'.total'<span style="color: #000000"&gt;).text($scope.total); </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;数据总行数</span> <span style="color: #0000ff"&gt;var</span> itemLen =<span style="color: #000000"&gt; $scope.items.length; </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;迭代行数</span> <span style="color: #0000ff"&gt;var</span> rowNum = itemLen + (6-itemLen%6<span style="color: #000000"&gt;); </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;每页累加合计金额(一行)</span> <span style="color: #0000ff"&gt;var</span> sumMoney = 0<span style="color: #000000"&gt;; </span><span style="color: #0000ff"&gt;function</span><span style="color: #000000"&gt; moneyTr (sum){ </span><span style="color: #0000ff"&gt;var</span> DXhtml =<span style="color: #000000"&gt; moneyDX (sum); </span><span style="color: #0000ff"&gt;var</span> TotalMoneyTr = '<tr&gt;'+ '<td&gt;合计人民币(大写)</td&gt;'+ '<td colspan="13"&gt;'+ '<span class="money_num_text"&gt;'+ <span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;--------------</span> DXhtml+ <span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;--------------</span> '<b>'+'¥'+sum+'</b>'+ '</span>' '</tr&gt;'<span style="color: #000000"&gt;; </span><span style="color: #0000ff"&gt;return</span><span style="color: #000000"&gt; TotalMoneyTr; }; </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;打印控件行处理</span> <span style="color: #0000ff"&gt;function</span><span style="color: #000000"&gt; rowNumTotal(){ </span><span style="color: #0000ff"&gt;for</span>(<span style="color: #0000ff"&gt;var</span> i = 1; i <=rowNum; i++<span style="color: #000000"&gt;){ </span><span style="color: #0000ff"&gt;if</span>(i<=<span style="color: #000000"&gt;itemLen){ sumMoney </span>+= $scope.items[i-1<span style="color: #000000"&gt;].money; addmoneyTr($scope.items[i</span>-1<span style="color: #000000"&gt;]); }</span><span style="color: #0000ff"&gt;else</span><span style="color: #000000"&gt;{ addmoneyTr(</span><span style="color: #0000ff"&gt;null</span><span style="color: #000000"&gt;); } </span><span style="color: #0000ff"&gt;if</span>(i%6 == 0<span style="color: #000000"&gt;){ </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;<a href="https://www.jb51.cc/tag/tianjia/" target="_blank" class="keywords">添加</a>合计行</span> $('#tbodyList'<span style="color: #000000"&gt;).append(moneyTr(sumMoney)); moneyDX(sumMoney); sumMoney </span>= 0<span style="color: #000000"&gt;; } } }; rowNumTotal(); </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;<a href="https://www.jb51.cc/tag/tianjia/" target="_blank" class="keywords">添加</a>每个金额行</span> <span style="color: #0000ff"&gt;function</span><span style="color: #000000"&gt; addmoneyTr(obj){ </span><span style="color: #0000ff"&gt;var</span><span style="color: #000000"&gt; innerHtml ; </span><span style="color: #0000ff"&gt;if</span>(<span style="color: #0000ff"&gt;null</span>==<span style="color: #000000"&gt;obj){ innerHtml </span>= '<tr class="t_money_tr_"&gt;'+ '<td class="td_name_0" style="text-align: center;"&gt;&amp;nbsp;</td&gt;'+ '<td style="text-align: center;"&gt;&amp;nbsp;</td&gt;'+ '<td style="text-align: center;"&gt;&amp;nbsp;</td&gt;'+ '<td style="text-align: center;"&gt;&amp;nbsp;</td&gt;'+ '<td style="text-align: center;"&gt;&amp;nbsp;</td&gt;'+ '<td style="text-align: center;"&gt;&amp;nbsp;</td&gt;'+ '<td style="text-align: center;"&gt;&amp;nbsp;</td&gt;'+ '<td style="text-align: center;"&gt;&amp;nbsp;</td&gt;'+ '<td style="text-align: center;"&gt;&amp;nbsp;</td&gt;'+ '<td style="text-align: center;"&gt;&amp;nbsp;</td&gt;'+ '<td style="text-align: center;"&gt;&amp;nbsp;</td&gt;'+ '<td style="text-align: center;"&gt;&amp;nbsp;</td&gt;'+ '<td style="text-align: center;"&gt;&amp;nbsp;</td&gt;'+ '<td class="td_remark_0" style="text-align: center;"&gt;&amp;nbsp;</td&gt;'+ '</tr&gt;'<span style="color: #000000"&gt;; }</span><span style="color: #0000ff"&gt;else</span><span style="color: #000000"&gt;{ </span><span style="color: #0000ff"&gt;var</span> mhtml =<span style="color: #000000"&gt; getMoneyHtml(obj.money) ; innerHtml </span>= '<tr class="t_money_tr_"&gt;'+ '<td class="td_name_0" style="text-align: center;"&gt;'+(obj.name?obj.name:'/')+'</td&gt;'+ '<td style="text-align: center;"&gt;'+(obj.unitType?obj.unitType:'/')+'</td&gt;'+ '<td style="text-align: center;"&gt;'+(obj.quantity ?obj.quantity:'/')+'</td&gt;'+ '<td style="text-align: center;"&gt;'+(obj.price?obj.price:'/')+'</td&gt;'+ <span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;---------------</span> mhtml + <span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;---------------</span> '<td class="td_remark_0" style="text-align: center;"&gt;&amp;nbsp;</td&gt;'+ '</tr&gt;'<span style="color: #000000"&gt;; } $(</span>'#tbodyList'<span style="color: #000000"&gt;).append(innerHtml); }; </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;小写金额填入处理</span> <span style="color: #0000ff"&gt;function</span><span style="color: #000000"&gt; getMoneyHtml(m){ </span><span style="color: #0000ff"&gt;var</span> m =<span style="color: #000000"&gt; m.toString(); </span><span style="color: #0000ff"&gt;if</span>(m.indexOf(".") == -1){<span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;整数补齐小数位数为00</span> m = m + ".00"<span style="color: #000000"&gt;; } </span><span style="color: #0000ff"&gt;var</span> money = m.split('.'<span style="color: #000000"&gt;); </span><span style="color: #0000ff"&gt;var</span> money_1 = '¥'+money[0];<span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;整数部分</span> <span style="color: #0000ff"&gt;if</span>(Number(money[0]) >= 1000000){ <span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;大于一百万<a href="https://www.jb51.cc/tag/buxianshi/" target="_blank" class="keywords">不显示</a>¥</span> <span style="color: #0000ff"&gt;var</span> money_1 = money[0<span style="color: #000000"&gt;]; } </span><span style="color: #0000ff"&gt;var</span> money1_arr = money_1.split('')<span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;转换成数组</span> <span style="color: #0000ff"&gt;var</span> mhtml = ''<span style="color: #000000"&gt; ; </span><span style="color: #0000ff"&gt;var</span> temp = money1_arr.length,j = 0<span style="color: #000000"&gt; ; </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt; 整数部分</span> <span style="color: #0000ff"&gt;for</span>(<span style="color: #0000ff"&gt;var</span> i = 7;i>0;i--<span style="color: #000000"&gt;){ </span><span style="color: #0000ff"&gt;if</span>(temp <<span style="color: #000000"&gt; i){ mhtml </span>= mhtml + '<td class="hunbit_0" style="text-align: center;"&gt;&amp;nbsp;</td&gt;'<span style="color: #000000"&gt; ; }</span><span style="color: #0000ff"&gt;else</span><span style="color: #000000"&gt;{ mhtml </span>= mhtml + '<td class="hunbit_0" style="text-align: center;"&gt;' + money1_arr[j] + '</td&gt;'<span style="color: #000000"&gt; ; j</span>++<span style="color: #000000"&gt;; } } </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;小数部分</span> <span style="color: #0000ff"&gt;if</span>(m.toString().indexOf(".") != -1<span style="color: #000000"&gt;){ </span><span style="color: #0000ff"&gt;var</span> money_2 = money[1<span style="color: #000000"&gt;]; </span><span style="color: #0000ff"&gt;var</span> money2_arr = money_2.split(''<span style="color: #000000"&gt;); </span><span style="color: #0000ff"&gt;var</span> temp2 =<span style="color: #000000"&gt; money2_arr.length ; </span><span style="color: #0000ff"&gt;for</span>(<span style="color: #0000ff"&gt;var</span> i = 0;i < 2; i++<span style="color: #000000"&gt;){ mhtml </span>= mhtml + '<td class="hunbit_0" style="text-align: center;"&gt;' + money2_arr[i] + '</td&gt;'<span style="color: #000000"&gt; ; } } </span><span style="color: #0000ff"&gt;return</span><span style="color: #000000"&gt; mhtml; }; </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;处理大写金额</span> <span style="color: #0000ff"&gt;function</span><span style="color: #000000"&gt; moneyDX (mtotal){ </span><span style="color: #0000ff"&gt;var</span> DNum =<span style="color: #000000"&gt; { </span>'1': '壹'<span style="color: #000000"&gt;,</span>'2': '贰'<span style="color: #000000"&gt;,</span>'3': '叁'<span style="color: #000000"&gt;,</span>'4': '肆'<span style="color: #000000"&gt;,</span>'5': '伍'<span style="color: #000000"&gt;,</span>'6': '陆'<span style="color: #000000"&gt;,</span>'7': '柒'<span style="color: #000000"&gt;,</span>'8': '捌'<span style="color: #000000"&gt;,</span>'9': '玖'<span style="color: #000000"&gt;,</span>'0': '零'<span style="color: #000000"&gt; } </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;取出各个位数的值</span> <span style="color: #0000ff"&gt;var</span> total =<span style="color: #000000"&gt; mtotal.toString(); </span><span style="color: #0000ff"&gt;if</span>(total.indexOf(".") == -1){<span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;整数补齐小数位数为00</span> total = total + ".00"<span style="color: #000000"&gt;; } </span><span style="color: #0000ff"&gt;var</span> totalArr = total.split('.'<span style="color: #000000"&gt;); </span><span style="color: #0000ff"&gt;var</span> totalArr1 = totalArr[0<span style="color: #000000"&gt;]; </span><span style="color: #0000ff"&gt;var</span> text_unit = totalArr1[totalArr1.length - 1<span style="color: #000000"&gt;]; </span><span style="color: #0000ff"&gt;var</span> text_decade = totalArr1[totalArr1.length - 2<span style="color: #000000"&gt;]; </span><span style="color: #0000ff"&gt;var</span> text_hunders = totalArr1[totalArr1.length - 3<span style="color: #000000"&gt;]; </span><span style="color: #0000ff"&gt;var</span> text_kilbit = totalArr1[totalArr1.length - 4<span style="color: #000000"&gt;]; </span><span style="color: #0000ff"&gt;var</span> text_myriabit = totalArr1[totalArr1.length - 5<span style="color: #000000"&gt;]; </span><span style="color: #0000ff"&gt;var</span> text_debit = totalArr1[totalArr1.length - 6<span style="color: #000000"&gt;]; </span><span style="color: #0000ff"&gt;var</span> text_hunbit = totalArr1[totalArr1.length - 7<span style="color: #000000"&gt;]; </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;小数部分</span> <span style="color: #0000ff"&gt;if</span>(total.indexOf(".") != -1<span style="color: #000000"&gt;){ </span><span style="color: #0000ff"&gt;var</span> totalArr2 = totalArr[1].split(''<span style="color: #000000"&gt;); </span><span style="color: #0000ff"&gt;var</span> text_unitone = totalArr2[0<span style="color: #000000"&gt;]; </span><span style="color: #0000ff"&gt;var</span> text_unittwo = totalArr2[1<span style="color: #000000"&gt;]; } </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;赋值拼接</span> <span style="color: #0000ff"&gt;var</span> DXhtml = '<i class="num_text_hunbit" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;'+(DNum[text_hunbit]?DNum[text_hunbit]:'X')+ '</i>佰<i class="num_text_debit" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;'+(DNum[text_debit]?DNum[text_debit]:'X')+ '</i>拾<i class="num_text_myriabit" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;'+(DNum[text_myriabit]?DNum[text_myriabit]:'X')+ '</i>万<i class="num_text_kilbit" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;'+(DNum[text_kilbit]?DNum[text_kilbit]:'X')+ '</i>仟<i class="num_text_hunders" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;'+(DNum[text_hunders]?DNum[text_hunders]:'X')+ '</i>佰<i class="num_text_decade" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;'+(DNum[text_decade]?DNum[text_decade]:'X')+ '</i>拾<i class="num_text_unit" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;'+(DNum[text_unit]?DNum[text_unit]:'X')+ '</i>元<i class="num_text_unitone" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;'+(DNum[text_unitone]?DNum[text_unitone]:'X')+ '</i>角<i class="num_text_unittwo" style="font-style: normal;margin: 0 12px;display: inline-block;width: 12px;"&gt;'+(DNum[text_unittwo]?DNum[text_unittwo]:'X')+ '</i>分'<span style="color: #000000"&gt;; </span><span style="color: #0000ff"&gt;return</span><span style="color: #000000"&gt; DXhtml; }; } </span><span style="color: #0000ff"&gt;else</span><span style="color: #000000"&gt; { console.log(rsp.message); } }); }); </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;返回账单列表</span> <span style="color: #0000ff"&gt;function</span><span style="color: #000000"&gt; _back() { </span><span style="color: #0000ff"&gt;var</span> url = webroot + '/bill/index'<span style="color: #000000"&gt;; window.location.href </span>=<span style="color: #000000"&gt; url; } </span><span style="color: #008000"&gt;//</span><span style="color: #008000"&gt;打印</span> <span style="color: #0000ff"&gt;function</span><span style="color: #000000"&gt; printData(){ </span><span style="color: #0000ff"&gt;var</span> LODOP=<span style="color: #000000"&gt;getLodop(); LODOP.PRINT_INIT(</span>"打印账单收据"<span style="color: #000000"&gt;); LODOP.SET_PRINT_PAGESIZE(</span>1,"21cm","13.5cm","LodopCustomPage"<span style="color: #000000"&gt;) </span><span style="color: #0000ff"&gt;var</span> strStyle="<style> table,td,th {border-width: 1px;border-style: solid;border-collapse: collapse}</style>"<span style="color: #000000"&gt; LODOP.ADD_PRINT_TABLE(</span>128,"1%","96%","4.5cm",strStyle + document.getElementById("div2"<span style="color: #000000"&gt;).innerHTML); LODOP.SET_PRINT_STYLEA(</span>0,"Vorient",1<span style="color: #000000"&gt;); LODOP.ADD_PRINT_HTM(</span>26,"98%","1cm",document.getElementById("div1"<span style="color: #000000"&gt;).innerHTML); LODOP.SET_PRINT_STYLEA(</span>0,"ItemType",1<span style="color: #000000"&gt;); LODOP.SET_PRINT_STYLEA(</span>0,"LinkedItem",1<span style="color: #000000"&gt;); LODOP.PREVIEW(); }; </span></script> </html></pre>

原文链接:https://www.f2er.com/js/73979.html

猜你在找的JavaScript相关文章