项目数量价格数额删除
小计
折扣 (%)
折扣金额
税款 (%)
税款金额
总额
按金 / 付款 总额
结欠
`; printWindow.document.open(); printWindow.document.write(html); printWindow.document.close();var checkLogoLoaded = function() { var logoImg = printWindow.document.getElementById('logoImg'); if (logoImg) { if (logoImg.complete) { printWindow.focus(); printWindow.print(); } else { logoImg.onload = function() { printWindow.focus(); printWindow.print(); }; } } else { printWindow.focus(); printWindow.print(); } };setTimeout(checkLogoLoaded, 300);});// helpers function escapeHtml(s){ return String(s).replace(/[&<>"']/g, function(m){return {'&':'&','<':'<','>':'>','"':'"',"'":'''}[m]; }); } function nl2br(s){ return String(s).replace(/\n/g, '
'); }// Add first empty row by default loadItemsData(); })();