|
@@ -1339,7 +1339,7 @@ function parsedate(value){
|
|
|
}
|
|
|
|
|
|
function getPrintContentOrder(ticket) {
|
|
|
- var content = "<div style=\"width: 300px;font-family: 微软雅黑;font-size: 8px;\">";
|
|
|
+ var content = "<div style=\"width: 270px;font-family: 微软雅黑;font-size: 8px;\">";
|
|
|
// 打印ogo
|
|
|
content += "<div style=\"text-align: center;width: 100%;height: 260px;\">";
|
|
|
content += "<img src='/statics/img/cw_logo2.png' style='width: 100%;height: 100%;' />";
|
|
@@ -1360,7 +1360,7 @@ function getPrintContentOrder(ticket) {
|
|
|
content += "<div style=\"width: 100%;\">";
|
|
|
content += "交易时间:" + ticket.ticketHead.tradeTime;
|
|
|
content += "</div>";
|
|
|
- content += "<div style=\"width: 100%;overflow:hidden;white-space: nowrap;\">--------------------------------------------------</div>";
|
|
|
+ content += "<div style=\"width: 100%;overflow:hidden;white-space: nowrap;\">-------------------------------------------------------</div>";
|
|
|
//商品信息
|
|
|
content += "<table style=\"width: 100%;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
|
|
|
content += "<tr>";
|
|
@@ -1372,7 +1372,7 @@ function getPrintContentOrder(ticket) {
|
|
|
content += "<td style=\"width: 18%;text-align: right;font-size: 10px;font-weight: bold;\">小计</td>";
|
|
|
content += "</tr>";
|
|
|
content += "</table>";
|
|
|
- content += "<div style=\"width: 100%;overflow:hidden;white-space: nowrap;\">--------------------------------------------------</div>";
|
|
|
+ content += "<div style=\"width: 100%;overflow:hidden;white-space: nowrap;\">-------------------------------------------------------</div>";
|
|
|
content += "<table style=\"width: 100%;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
|
|
|
for (var i=0;i< ticket.goods.length;i++){
|
|
|
content += "<tr>";
|