解析日志添加时间

parent f3f78078
...@@ -269,7 +269,7 @@ public class LogApi { ...@@ -269,7 +269,7 @@ public class LogApi {
//更新格口文件解析状态 //更新格口文件解析状态
// logService.updateGKState(gkId); // logService.updateGKState(gkId);
//生成解析日志 //生成解析日志
logService.insertIntoAnalysis(gkId, xmlId, postCount, String.valueOf(commonCount)); logService.insertIntoAnalysis(gkId, xmlId, postCount, String.valueOf(commonCount),getCurrentDate2String("yyyyMMddhhmmss"));
} }
}catch (Exception e){ }catch (Exception e){
logger.error("导入时间:" + printDate); logger.error("导入时间:" + printDate);
......
...@@ -71,8 +71,8 @@ public interface LogMapper { ...@@ -71,8 +71,8 @@ public interface LogMapper {
* @param postCardCount * @param postCardCount
* @return * @return
*/ */
@Insert("INSERT INTO ANALYSIS (FILE_DIC_ID,FILE_ID,COMMON_CARD_COUNT,POST_CARD_COUNT) VALUES (#{fileDic},#{fileId},#{commonCardCount},#{postCardCount})") @Insert("INSERT INTO ANALYSIS (FILE_DIC_ID,FILE_ID,COMMON_CARD_COUNT,POST_CARD_COUNT,ANALYSIS_DATE) VALUES (#{fileDic},#{fileId},#{commonCardCount},#{postCardCount},#{analysisDate})")
public boolean insertIntoAnalysis(@Param("fileDic")String fileDic,@Param("fileId")String fileId,@Param("commonCardCount")String commonCardCount,@Param("postCardCount")String postCardCount); public boolean insertIntoAnalysis(@Param("fileDic")String fileDic,@Param("fileId")String fileId,@Param("commonCardCount")String commonCardCount,@Param("postCardCount")String postCardCount,@Param("analysisDate")String analysisDate);
//查询解析数据 //查询解析数据
......
...@@ -34,7 +34,7 @@ public interface LogService { ...@@ -34,7 +34,7 @@ public interface LogService {
public List<String> selectId(@Param("uploadTime")String uploadTime); public List<String> selectId(@Param("uploadTime")String uploadTime);
public boolean insertIntoAnalysis(@Param("fileDic")String fileDic,@Param("fileId")String fileId,@Param("commonCardCount")String commonCardCount,@Param("postCardCount")String postCardCount); public boolean insertIntoAnalysis(@Param("fileDic")String fileDic,@Param("fileId")String fileId,@Param("commonCardCount")String commonCardCount,@Param("postCardCount")String postCardCount,@Param("analysisDate")String analysisDate);
public List<Map<String,Object>> selectFileIdByUploadDate(@Param("uploadDate")String uploadDate); public List<Map<String,Object>> selectFileIdByUploadDate(@Param("uploadDate")String uploadDate);
......
...@@ -111,8 +111,8 @@ public class LogServiceImpl implements LogService { ...@@ -111,8 +111,8 @@ public class LogServiceImpl implements LogService {
} }
@Override @Override
public boolean insertIntoAnalysis(String fileDic, String fileId, String commonCardCount, String postCardCount) { public boolean insertIntoAnalysis(String fileDic, String fileId, String commonCardCount, String postCardCount,String analysisDate) {
logMapper.insertIntoAnalysis(fileDic,fileId,commonCardCount,postCardCount); logMapper.insertIntoAnalysis(fileDic,fileId,commonCardCount,postCardCount,analysisDate);
return true; return true;
} }
......
...@@ -14,14 +14,15 @@ ...@@ -14,14 +14,15 @@
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:0px dashed #000;width:74mm;font-family:'黑体';"> <table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:0px dashed #000;width:74mm;font-family:'黑体';">
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-left:1px dashed #000;border-right:1px dashed #000;border-collapse:collapse;height:11mm"> <table cellspacing="0" cellpadding="0" style="border-collapse:collapse;height:24mm">
<tr> <tr>
<td style="border:0px dashed #000;width:37mm">
<td style="width:72mm;height:4mm">
<span style="font-size:4mm; position: absolute;top:1mm;left:55mm;font-family:'黑体';">特快专递</span>
</td> </td>
<td style="width:35mm"> </tr>
<span style="font-size:7mm; position: absolute;top:1mm;left: 45mm;font-family:'黑体';">标准快递</span> <tr>
<span style="font-size:2mm; position: absolute;top:9mm;left: 39mm;">时间:2022-07-28 13:56:17</span> <td style="border:0px dashed #000;width:72mm;height:20mm">
</td> </td>
</tr> </tr>
</table> </table>
...@@ -30,55 +31,82 @@ ...@@ -30,55 +31,82 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-left:1px dashed #000;border-right:1px dashed #000;border-collapse:collapse;height:17mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:17mm">
<tr> <tr>
<td style="border:0px dashed #000;width:72mm"> <td style="width:72mm;">
<span style="font-size:8mm; position:absolute;top:25mm;left:2mm;width:72mm;font-weight: bold;">141-14B-T12-194</span>
</td> </td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="height:16mm;border-left:1px dashed #000;border-right:2px solid #000;"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:29mm">
<tr> <td style="border-right:1px dashed #000;width:55mm;font-size: 4.5mm;">
<td style="border-top:1px dashed #000;border-bottom:1px dashed #000;width:37mm;font-size: 3mm;"> <div style="position:absolute;top:42mm;left:1.5mm;width:54mm;word-break: break-all;">收:杨某某杨某某杨某
<p style="position:absolute;top:26mm;left:1.5mm;">寄件:吕兰兰</p> <!-- <div style="width:54mm;">广东省湛江市雷州市新城街道帮塘南村家旭宾馆路口直走中科楼</div> -->
<p style="position:absolute;top:29mm;left:10mm;">15825898734</p> </div>
<span style="position:absolute;top:35mm;left:10mm;width:27.5mm;">北京市大兴区西红门镇团河路如家快捷酒店旁二楼</span> <div style="position:absolute;top:47mm;left:1.5mm;width:54mm;word-break: break-all;">13313331333
<!-- <div style="width:54mm;">广东省湛江市雷州市新城街道帮塘南村家旭宾馆路口直走中科楼</div> -->
</div>
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:52mm;left:1.5mm;width:53mm;">广东省湛江市雷州市新城街道帮塘南村家旭宾馆路口直走中科楼</div>
</td>
<td style="width:17mm;font-size: 2mm;">
<p style="font-size: 6mm;height:29mm;position:absolute;top:35mm;left: 55mm;text-align: justify;writing-mode:vertical-lr;">
<!-- 王婷婷王婷婷王婷婷王婷婷 -->
</p>
</td>
</table>
</td> </td>
<td style="border:2px solid #000;border-right:0px;width:35mm;"></td>
</tr> </tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:5mm">
<td style="width:72mm;font-size: 2mm;">
<div style="position:absolute;top:71mm;left:1.5mm;width:72mm;">寄:杨某某 010-12345678 13833456784</div>
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:73mm;left:1.5mm;width:72mm;">北京市石景山区西山汇中关村科技园6号楼五单元502</div>
</td>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:17mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr> <tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:72mm"> <td style="width:41.5mm;font-size: 2mm;">
<p style="font-size: 3mm; position:absolute;top:42mm;left:1.5mm;">收件:<span style="font-size: 4mm;">北京人口管理总队&nbsp;&nbsp;01087682315</span></p> <div style="position:absolute;top:76mm;left:1.5mm;width:40mm;">公司名称:</div>
<span style="position:absolute;top:49mm;left:10mm;width:63.5mm;font-size: 4mm;">北京市丰台区成寿寺路甲19号</span></td> </td>
<td style="width:30.5mm;font-size: 2mm;">
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:76mm;left:43mm;width:29mm;">内件品名:物品</div>
</td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:15mm;font-size: 3mm;"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:24mm">
<tr> <tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:29mm;"> <td style="width:41.5mm;font-size: 2mm;border-right:1px dashed #000;">
<p style="position:absolute;top:60mm;left:1.5mm;">付款方式:</p> <div style="position:absolute;top:80mm;left:1.5mm;width:40mm;">备注:</div>
<p style="position:absolute;top:64mm;left:1.5mm;">计费重量(KG):0.1</p> <!-- <div style="position:absolute;top:83mm;left:1.5mm;width:40mm;">微户政订单,不收费,请以相应协议客户揽收</div> -->
<p style="position:absolute;top:68mm;left:1.5mm;">报价金额(元):</p> <div style="font-size:8mm;position:absolute;top:88mm;left:5mm;width:40mm;">实物返单</div>
<!-- <div style="position:absolute;top:100mm;left:1.5mm;width:40mm;">密码签收/实物返单/一票多收</div> -->
</td> </td>
<td style="border-right:1px dashed #000;border-bottom:1px dashed #000;width:43mm"> <td style="width:30.5mm;font-size: 2mm;">
<p style="position:absolute;top:60mm;left:31mm;">收件人\代收人:</p> <!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<p style="position:absolute;top:64mm;left:31mm;">签收时间:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p> <div style="position:absolute;top:80mm;left:43mm;width:29mm;">签收人:</div>
<span style="position:absolute;top:71mm;left:31mm;font-size: 2mm;width:40mm;">快件送达收货人地址,经收件人或收件人允许的代收人签字,视为送达。</span> <div style="position:absolute;top:90mm;left:43mm;width:29mm;">日期:</div>
<div style="position:absolute;top:79mm;left:55mm;width: 20mm;text-align: center">
<img style="margin-left:1mm;width: 18mm;display: block;" src="css/image/QRCode.jpg" alt="" srcset="">
<div style="width:20mm;">客服电话:11183</div>
<div style="width:20mm;">www.ems.com.cn</div>
</div>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -86,49 +114,63 @@ ...@@ -86,49 +114,63 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr> <tr>
<td style="border:1px dashed #000;border-top:0;width:72mm"> <td style="width:72mm;font-size: 2mm;">
<span style="position:absolute;top:76mm;left:1.5mm;font-size:7mm;">1&nbsp;收货单(返单)</span> <div style="position:absolute;top:103mm;left:1.5mm;width:20mm;">验视人:张三</div>
<div style="position:absolute;top:103mm;left:18.5mm;width:20mm;">验视机构:北京永安路</div>
<div style="position:absolute;top:103mm;left:45.5mm;width:20mm;">来源:abcdef</div>
<div style="position:absolute;top:103mm;left:61.5mm;width:12mm;">第31-100</div>
</td> </td>
</tr> </tr>
</table> </table>
<td> </td>
</tr> </tr>
<tr> <tr>
<td style="height:4mm"></td> <td >
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:2mm">
<tr>
<td style="width:72mm;">
</td>
</tr>
</table>
</td>
</tr> </tr>
<tr> <tr>
<td> <td >
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-collapse:collapse;height:15mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:2mm">
<tr> <tr>
<td style="border-right:1px dashed #000;width:72mm"></td> <td style="width:72mm;">
</td>
</tr> </tr>
</table> </table>
<td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm;font-size: 3mm;"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:13mm">
<tr> <tr>
<td style="border-right:1px dashed #000;width:72mm"> <td style="width:45mm;font-size: 2mm;">
<p style="position:absolute;top:104mm;left:2mm;width:72mm">寄件:</p> </td>
<p style="position:absolute;top:104mm;left:11mm;width:60mm;">吕兰兰&nbsp;15825898734</p> <td style="width:27mm;font-size: 2mm;">
<p style="position:absolute;top:107mm;left:11mm;width:60mm;">北京市大兴区西红门镇团河路如家快捷酒店旁二楼</p>
</td> </td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm;font-size: 3mm;"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:14mm">
<tr> <tr>
<td style="border:0px dashed #000;width:72mm"> <td style="width:72mm;font-size: 3.5mm;">
<p style="position:absolute;top:115mm;left:2mm;">收件:</p> <div style="position:absolute;top:123mm;left:1.5mm;width:72mm;">收:李某某李某某李某某&nbsp;13313331333
<p style="position:absolute;top:115mm;left:11mm;width:60mm;">北京人口管理总队&nbsp;01087682315</p>
<p style="position:absolute;top:118mm;left:11mm;width:60mm;">北京市丰台区成寿寺路甲19号</p> </td>
</tr>
<tr >
<td style="width:72mm;font-size: 3.5mm;">
<div style="position:absolute;top:127mm;left:1.5mm;width:72mm;">广东省湛江市雷州市新城街道帮塘南村家旭宾馆路口直走中科楼</div>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -136,25 +178,35 @@ ...@@ -136,25 +178,35 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:8mm">
<tr> <tr>
<td style="border-right:1px dashed #000;width:57mm"> <td style="width:72mm;font-size: 2mm;">
<span style="position:absolute;top:128mm;left:1.5mm;font-size:7mm;">1&nbsp;收货单(返单)</span> <div style="position:absolute;top:137mm;left:1.5mm;width:72mm;">寄:杨某某&nbsp;13313331333</div>
</td>
</tr>
<tr>
<td style="width:72mm;font-size: 2mm;">
<div style="position:absolute;top:140mm;left:1.5mm;width:72mm;">北京市石景山区西山汇中关村科技园6号楼五单元502</div>
</td> </td>
<td style="border:0px dashed #000;width:15mm"></td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:6mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-bottom:1px dashed #000;border-collapse:collapse;height:3mm">
<tr> <tr>
<td style="border-right:1px dashed #000;width:57mm"> <td style="width:41.5mm;font-size: 2mm;">
<span style="font-size: 3mm; margin-left: 1mm;">网址:www.ems.com.cn</span> <!-- <div style="position:absolute;top:141mm;left:1.5mm;width:40mm;">公司名称11:</div> -->
<span style="font-size: 3mm; margin-left: 1mm;">客服电话:11183</span>
<div style="position:absolute;top:145mm;left:1.5mm;width:41mm;">客服电话:11183&nbsp;网址:www.ems.com.cn</div>
<!-- <div style="margin-left: 1mm;">客服电话:11183</div> -->
</td>
<td style="font-size: 2mm;;width:30.5mm;">
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:145mm;left:43mm;width:29mm;">打印时间:201-3-15 14:20 X</div>
</td> </td>
<td style="border:0px dashed #000;width:15mm"></td>
</tr> </tr>
</table> </table>
</td> </td>
...@@ -174,11 +226,14 @@ ...@@ -174,11 +226,14 @@
LODOP=getLodop(); LODOP=getLodop();
LODOP.PRINT_INIT("打印控件功能演示_Lodop功能_预览打印表格"); LODOP.PRINT_INIT("打印控件功能演示_Lodop功能_预览打印表格");
LODOP.SET_PRINT_PAGESIZE(1,"76mm","149mm",""); LODOP.SET_PRINT_PAGESIZE(1,"76mm","149mm","");
LODOP.ADD_PRINT_BARCODE('7mm', '4.5mm','72mm','18mm', "128A",'1258343936501');
LODOP.ADD_PRINT_BARCODE('112mm','4.5mm', '46mm','10mm', "128A",'1258343936501');
LODOP.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm',document.getElementById("div1").innerHTML); LODOP.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm',document.getElementById("div1").innerHTML);
LODOP.ADD_PRINT_BARCODE('13mm', '3mm','70mm','16mm', "128A",'1258343936501');
LODOP.SET_PRINT_STYLEA(1, "FontSize", 10); LODOP.SET_PRINT_STYLEA(1, "FontSize", 10);
LODOP.ADD_PRINT_BARCODE('93mm','5mm', '50mm','14mm', "128A",'1258343936501');
LODOP.SET_PRINT_STYLEA(2, "FontSize", 10); LODOP.SET_PRINT_STYLEA(2, "FontSize", 5);
LODOP.SET_PRINT_STYLEA(0,"TableHeightScope",iRadioValue); LODOP.SET_PRINT_STYLEA(0,"TableHeightScope",iRadioValue);
LODOP.SET_PRINT_STYLEA(0,"AngleOfPageInside",0); LODOP.SET_PRINT_STYLEA(0,"AngleOfPageInside",0);
......
...@@ -10,29 +10,31 @@ ...@@ -10,29 +10,31 @@
<body> <body>
<div id="div3"> <div id="div1">
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:0px dashed #000;width:74mm;font-family: '黑体';"> <table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:0px dashed #000;width:74mm;font-family:'黑体';">
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-left:1px dashed #000;border-right:1px dashed #000;border-collapse:collapse;height:12mm;"> <table cellspacing="0" cellpadding="0" style="border-collapse:collapse;height:24mm">
<tr> <tr>
<td style="width:37mm">
<td style="width:72mm;height:4mm">
<span style="font-size:4mm; position: absolute;top:1mm;left:55mm;font-family:'黑体';">特快快递</span>
</td> </td>
<td style="width:35mm"> </tr>
<span style="font-size:3mm; position: absolute;top:1mm;left: 52mm;">标准快递</span> <tr>
<span style="font-size:7mm; position: absolute;top:3mm;left: 45mm;">实物返单</span> <td style="border:0px dashed #000;width:72mm;height:20mm">
<span style="font-size:2mm; position: absolute;top:10mm;left: 39mm;">时间:{{currentTime}}</span>
</td> </td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-left:1px dashed #000;border-right:1px dashed #000;border-collapse:collapse;height:11mm;"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:17mm">
<tr> <tr>
<td style="border:0px dashed #000;width:72mm"> <td style="width:72mm;">
<span style="font-size:8mm; position:absolute;top:25mm;left:2mm;width:72mm;font-weight: bold;"></span>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -40,46 +42,58 @@ ...@@ -40,46 +42,58 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="height:16mm;border-left:1px dashed #000;border-right:2px solid #000;"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:29mm">
<tr> <td style="border-right:1px dashed #000;width:55mm;font-size: 4.5mm;">
<td style="border-top:1px dashed #000;border-bottom:1px dashed #000;width:37mm;font-size: 3mm;"> <div style="position:absolute;top:42mm;left:1.5mm;width:53mm;">收:{{postMsgDetail[idx].senderName}}&nbsp;&nbsp;{{postMsgDetail[idx].senderPhone}}</div>
<p style="position:absolute;top:21mm;left:1.5mm;">寄件:北京人口管理总队</p> <!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<p style="position:absolute;top:24mm;left:10mm;">01087682315</p> <div style="position:absolute;top:47mm;left:1.5mm;width:53mm;">{{postMsgDetail[idx].senderAddress}}</div>
<span style="position:absolute;top:30mm;left:10mm;width:27.5mm;">北京市丰台区成寿寺路甲19号</span> </td>
</td> <td style="width:17mm;font-size: 2mm;">
<td style="border:2px solid #000;border-right:0px;width:35mm;"> <p style="font-size: 8mm;width:10mm;position:absolute;top:33mm;left: 59mm;writing-mode: vertical-lr;text-align: justify;">
<p style="font-size: 8mm;width:35mm;position:absolute;top:15mm;left: 39mm">
王婷婷
</p> </p>
</td> </td>
</table>
</td>
</tr> </tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:5mm">
<td style="width:72mm;font-size: 2mm;">
<div style="position:absolute;top:71mm;left:1.5mm;width:72mm;">寄:{{postMsgDetail[idx].recipientName}}&nbsp;&nbsp;{{postMsgDetail[idx].recipientPhone}}</div>
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:73mm;left:1.5mm;width:72mm;">{{postMsgDetail[idx].recipientAddress}}</div>
</td>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:16mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr> <tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:72mm"> <td style="width:41.5mm;font-size: 2mm;">
<p style="font-size: 3mm; position:absolute;top:36mm;left:1.5mm;">收件:<span style="font-size: 4mm;">王婷婷&nbsp;&nbsp;19832198165</p> <div style="position:absolute;top:76mm;left:1.5mm;width:40mm;">公司名称:</div>
<p style="position:absolute;top:40mm;left:10mm;width:63.5mm;font-size: 4mm;">北京市朝阳区柳芳北里11号楼北侧平房底商奥亭美容</p></td> </td>
<td style="width:30.5mm;font-size: 2mm;">
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:76mm;left:43mm;width:29mm;">内件品名:物品</div>
</td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:15mm;font-size: 3mm;"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:24mm">
<tr> <tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:29mm;"> <td style="width:41.5mm;font-size: 2mm;border-right:1px dashed #000;">
<p style="position:absolute;top:53mm;left:1.5mm;">付款方式:</p> <div style="position:absolute;top:80mm;left:1.5mm;width:40mm;">备注:</div>
<p style="position:absolute;top:57mm;left:1.5mm;">计费重量(KG):0.1</p> <div style="position:absolute;top:83mm;left:1.5mm;width:40mm;">微户政订单,不收费,请以相应协议客户揽收</div>
<p style="position:absolute;top:61mm;left:1.5mm;">报价金额(元):</p> <div style="position:absolute;top:100mm;left:1.5mm;width:40mm;">密码签收/实物返单/一票多收</div>
</td> </td>
<td style="border-right:1px dashed #000;border-bottom:1px dashed #000;width:43mm"> <td style="width:30.5mm;font-size: 2mm;">
<p style="position:absolute;top:53mm;left:31mm;">收件人\代收人:</p> <!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<p style="position:absolute;top:57mm;left:31mm;">签收时间:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p> <div style="position:absolute;top:80mm;left:43mm;width:29mm;">签收人:</div>
<span style="position:absolute;top:64mm;left:31mm;font-size: 2mm;width:40mm;">快件送达收货人地址,经收件人或收件人允许的代收人签字,视为送达。</span> <div style="position:absolute;top:90mm;left:43mm;width:29mm;">日期:</div>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -87,76 +101,78 @@ ...@@ -87,76 +101,78 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:21mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr> <tr>
<td style="border:1px dashed #000;border-top:0;width:72mm"> <td style="width:72mm;font-size: 2mm;">
<p style="font-size:3mm; position:absolute;top:69mm;left:2mm;">订单号:</p> <div style="position:absolute;top:103mm;left:1.5mm;width:20mm;">验视人:张三</div>
<p style="font-size:3mm; position:absolute;top:75mm;left:2mm;width:72mm">配货信息:<span style="font-size:7mm;margin-left: 30px">01京-朝阳05-京北-西坝A28-32</span></p> <div style="position:absolute;top:103mm;left:18.5mm;width:20mm;">验视机构:北京永安路</div>
<div style="position:absolute;top:103mm;left:45.5mm;width:20mm;">来源:abcdef</div>
<div style="position:absolute;top:103mm;left:61.5mm;width:12mm;">第31-100</div>
</td> </td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td style="height:4mm"></td> <td >
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:2mm">
<tr>
<td style="width:72mm;">
</td>
</tr>
</table>
</td>
</tr> </tr>
<tr> <tr>
<td> <td >
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-collapse:collapse;height:12mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:2mm">
<tr> <tr>
<td style="border-right:1px dashed #000;width:72mm"></td> <td style="width:72mm;">
</td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000; <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:13mm">
border-top:none;border-collapse:collapse;height:10mm;font-size: 3mm;">
<tr> <tr>
<td style="border-right:1px dashed #000;width:72mm"> <td style="width:45mm;font-size: 2mm;">
<p style="position:absolute;top:105mm;left:2mm;">寄件:北京人口管理总队&nbsp;01087682315</p> </td>
<!-- <p style="position:absolute;top:106mm;left:10mm;">01087682315</p> --> <td style="width:27mm;font-size: 2mm;">
<p style="position:absolute;top:108mm;left:10mm;width:72mm;">北京市丰台区成寿寺路甲19号</p>
</td> </td>
<!-- <td style="border:0px dashed #000;width:38mm">
<p style="position:absolute;top:103mm;left:35mm;">收件:王婷婷&nbsp;19832198165</p>
<span style="position:absolute;top:109mm;left:42mm;width:30mm;">北京市朝阳区柳芳北里11号楼北侧平房底商奥亭美容</span></td> -->
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000; border-bottom:none; <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:14mm">
border-top:none;border-collapse:collapse;height:10mm;font-size: 3mm;">
<tr> <tr>
<td style="border:0px dashed #000;width:72mm"> <td style="width:72mm;font-size: 3.5mm;">
<p style="position:absolute;top:115mm;left:2mm;">收件:王婷婷&nbsp;19832198165</p> <div style="position:absolute;top:123mm;left:1.5mm;width:72mm;">收:{{postMsgDetail[idx].senderName}}&nbsp;&nbsp;{{postMsgDetail[idx].senderPhone}}</div>
<p style="position:absolute;top:118mm;left:10mm;width:62mm;">北京市朝阳区柳芳北里11号楼北侧平房底商奥亭美容</p></td> </td>
</tr>
<tr >
<td style="width:72mm;font-size: 3.5mm;">
<div style="position:absolute;top:127mm;left:1.5mm;width:72mm;">{{postMsgDetail[idx].senderAddress}}</div>
</td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border-left:1px dashed #000;height:10mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:8mm">
<tr> <tr>
<td style="border-bottom:1px dashed #000;border-top:1px dashed #000;width:43mm"> <td style="width:72mm;font-size: 2mm;">
<span style="position:absolute;top:128mm;left:1.5mm;font-size:3mm;">备注:</span> <div style="position:absolute;top:137mm;left:1.5mm;width:72mm;">寄:{{postMsgDetail[idx].recipientName}}&nbsp;&nbsp;{{postMsgDetail[idx].recipientPhone}}</div>
</td>
<td style="width:5mm;border: 2px solid #000;border-bottom: 2px solid #000; text-align: center;">
<p><span style="font-size:3mm;"><br/></span><strong></strong></p>
</td> </td>
<td style="border:2px solid #000;width:24mm;height: 10mm;"> </tr>
<div style="width:24mm;height: 5mm;line-height:5mm;padding-top: 2mm;"> <tr>
<span style="padding-left: 1mm;" >丰台分公司</span> <td style="width:72mm;font-size: 2mm;">
</div> <div style="position:absolute;top:140mm;left:1.5mm;width:72mm;">{{postMsgDetail[idx].recipientAddress}}</div>
<div style="width:24mm;height: 5mm;line-height:5mm;border-top: 2px solid #000;">
<span style="padding-left: 1mm;font-size: 3mm;">
检验人:马超
</span>
</div>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -164,16 +180,18 @@ ...@@ -164,16 +180,18 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:6mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-bottom:1px dashed #000;border-collapse:collapse;height:3mm">
<tr> <tr>
<td style="border-right:1px dashed #000;width:47mm"> <td style="width:41.5mm;font-size: 2mm;">
<span style="font-size: 2.5mm; margin-left: 0mm;">网址:www.ems.com.cn</span> <!-- <div style="position:absolute;top:141mm;left:1.5mm;width:40mm;">公司名称11:</div> -->
<span style="font-size: 2.5mm; margin-left: 0mm;">客服电话:11183</span>
</td>
<td style="border:0px dashed #000;width:25mm">
<span>
</span> <div style="position:absolute;top:145mm;left:1.5mm;width:41mm;">客服电话:11183&nbsp;&nbsp;网址:www.ems.com.cn</div>
<!-- <div style="margin-left: 1mm;">客服电话:11183</div> -->
</td>
<td style="font-size: 2mm;;width:30.5mm;">
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:145mm;left:43mm;width:29mm;">打印时间:{{currentTime}}</div>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -194,17 +212,16 @@ ...@@ -194,17 +212,16 @@
LODOP=getLodop(); LODOP=getLodop();
LODOP.PRINT_INIT("打印控件功能演示_Lodop功能_预览打印表格"); LODOP.PRINT_INIT("打印控件功能演示_Lodop功能_预览打印表格");
LODOP.SET_PRINT_PAGESIZE(1,"76mm","149mm",""); LODOP.SET_PRINT_PAGESIZE(1,"76mm","149mm","");
LODOP.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm',document.getElementById("div3").innerHTML); LODOP.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm',document.getElementById("div1").innerHTML);
LODOP.ADD_PRINT_BARCODE('14mm', '18mm', '52mm', '10mm',"128A",'1234567891011');
LODOP.ADD_PRINT_BARCODE('72mm', '16mm', '25mm', '7mm', "128A",'12345'); LODOP.ADD_PRINT_BARCODE('7mm', '4.5mm','72mm','18mm', "128A",'1258343936501');
LODOP.ADD_PRINT_BARCODE('97mm', '3.5mm', '72mm', '11mm',"128A",'12345'); LODOP.SET_PRINT_STYLEA(0, "FontSize", 10);
// LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Full-Page");
// LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Width:100%;Height:100%"); LODOP.ADD_PRINT_BARCODE('112mm','4.5mm', '46mm','10mm', "128A",'1258343936501');
LODOP.SET_PRINT_STYLEA(1, "FontSize", 10); LODOP.SET_PRINT_STYLEA(3, "FontSize", 5);
LODOP.SET_PRINT_STYLEA(2, "FontSize", 5);
LODOP.SET_PRINT_STYLEA(3, "FontSize", 10); LODOP.SET_PRINT_STYLEA(0,"TableHeightScope",iRadioValue);
LODOP.SET_PRINT_STYLEA(0, "TableHeightScope", iRadioValue); LODOP.SET_PRINT_STYLEA(0,"AngleOfPageInside",0);
LODOP.SET_PRINT_STYLEA(0, "AngleOfPageInside", 0);
LODOP.PREVIEW(); LODOP.PREVIEW();
}; };
...@@ -213,13 +230,12 @@ ...@@ -213,13 +230,12 @@
LODOP=getLodop(); LODOP=getLodop();
LODOP.PRINT_INIT("打印控件功能演示_Lodop功能_预览打印表格"); LODOP.PRINT_INIT("打印控件功能演示_Lodop功能_预览打印表格");
LODOP.SET_PRINT_PAGESIZE(1,"76mm","149mm",""); LODOP.SET_PRINT_PAGESIZE(1,"76mm","149mm","");
LODOP.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm',document.getElementById("div3").innerHTML); LODOP.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm',document.getElementById("div1").innerHTML);
LODOP.ADD_PRINT_BARCODE('3mm', '39mm', '37mm', '16mm',"128A",'12345'); LODOP.ADD_PRINT_BARCODE('3mm', '33mm','42mm','18mm', "128A",'12345');
LODOP.ADD_PRINT_BARCODE('68mm', '16mm', '25mm', '7mm', "128A",'12345');
LODOP.ADD_PRINT_BARCODE('93mm', '3.5mm', '37.5mm', '11mm',"128A",'12345');
LODOP.SET_PRINT_STYLEA(1, "FontSize", 10); LODOP.SET_PRINT_STYLEA(1, "FontSize", 10);
LODOP.SET_PRINT_STYLEA(2, "FontSize", 5); LODOP.ADD_PRINT_BARCODE('93mm','5mm', '50mm','14mm', "128A",'12345');
LODOP.SET_PRINT_STYLEA(3, "FontSize", 10); LODOP.SET_PRINT_STYLEA(2, "FontSize", 10);
LODOP.SET_PRINT_STYLEA(0,"TableHeightScope",iRadioValue); LODOP.SET_PRINT_STYLEA(0,"TableHeightScope",iRadioValue);
LODOP.SET_PRINT_STYLEA(0,"AngleOfPageInside",180); LODOP.SET_PRINT_STYLEA(0,"AngleOfPageInside",180);
LODOP.PREVIEW(); LODOP.PREVIEW();
......
...@@ -116,14 +116,15 @@ ...@@ -116,14 +116,15 @@
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:0px dashed #000;width:74mm;font-family:'黑体';"> <table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:0px dashed #000;width:74mm;font-family:'黑体';">
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-left:1px dashed #000;border-right:1px dashed #000;border-collapse:collapse;height:11mm"> <table cellspacing="0" cellpadding="0" style="border-collapse:collapse;height:24mm">
<tr> <tr>
<td style="border:0px dashed #000;width:37mm">
<td style="width:72mm;height:4mm">
<span style="font-size:4mm; position: absolute;top:1mm;left:55mm;font-family:'黑体';">特快专递</span>
</td> </td>
<td style="width:35mm"> </tr>
<span style="font-size:7mm; position: absolute;top:1mm;left: 45mm;font-family:'黑体';">标准快递</span> <tr>
<span style="font-size:2mm; position: absolute;top:9mm;left: 39mm;">时间:{{currentTime}}</span> <td style="border:0px dashed #000;width:72mm;height:20mm">
</td> </td>
</tr> </tr>
</table> </table>
...@@ -132,55 +133,77 @@ ...@@ -132,55 +133,77 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-left:1px dashed #000;border-right:1px dashed #000;border-collapse:collapse;height:17mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:17mm">
<tr> <tr>
<td style="border:0px dashed #000;width:72mm"> <td style="width:72mm;">
<span style="font-size:8mm; position:absolute;top:25mm;left:2mm;width:72mm;font-weight: bold;"></span>
</td> </td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="height:16mm;border-left:1px dashed #000;border-right:2px solid #000;"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:29mm">
<tr> <td style="border-right:1px dashed #000;width:55mm;font-size: 4.5mm;">
<td style="border-top:1px dashed #000;border-bottom:1px dashed #000;width:37mm;font-size: 3mm;"> <div style="position:absolute;top:42mm;left:1.5mm;width:54mm;">收:{{postMsgDetail[idx].senderName}}
<p style="position:absolute;top:26mm;left:1.5mm;">寄件:{{postMsgDetail[idx].recipientName}}</p> </div>
<p style="position:absolute;top:29mm;left:10mm;">{{postMsgDetail[idx].recipientPhone}}</p> <div style="position:absolute;top:47mm;left:1.5mm;width:54mm;">{{postMsgDetail[idx].senderPhone}}
<span style="position:absolute;top:35mm;left:10mm;width:27.5mm;">{{postMsgDetail[idx].recipientAddress}}</span> </div>
<div style="position:absolute;top:52mm;left:1.5mm;width:54mm;">{{postMsgDetail[idx].senderAddress}}</div>
</td>
<td style="width:17mm;font-size: 2mm;">
<p style="font-size: 8mm;width:10mm;position:absolute;top:33mm;left: 59mm;writing-mode: vertical-lr;text-align: justify;">
</p>
</td>
</table>
</td> </td>
<td style="border:2px solid #000;border-right:0px;width:35mm;"></td>
</tr> </tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:5mm">
<td style="width:72mm;font-size: 2mm;">
<div style="position:absolute;top:71mm;left:1.5mm;width:72mm;">寄:{{postMsgDetail[idx].recipientName}}&nbsp;{{postMsgDetail[idx].recipientPhone}}</div>
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:73mm;left:1.5mm;width:72mm;">{{postMsgDetail[idx].recipientAddress}}</div>
</td>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:17mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr> <tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:72mm"> <td style="width:41.5mm;font-size: 2mm;">
<p style="font-size: 3mm; position:absolute;top:42mm;left:1.5mm;">收件:<span style="font-size: 4mm;">{{postMsgDetail[idx].senderName}}&nbsp;&nbsp;{{postMsgDetail[idx].senderPhone}}</span></p> <div style="position:absolute;top:76mm;left:1.5mm;width:40mm;">公司名称:</div>
<span style="position:absolute;top:49mm;left:10mm;width:63.5mm;font-size: 4mm;">{{postMsgDetail[idx].senderAddress}}</span></td> </td>
<td style="width:30.5mm;font-size: 2mm;">
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:76mm;left:43mm;width:29mm;">内件品名:文件</div>
</td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:15mm;font-size: 3mm;"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:24mm">
<tr> <tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:29mm;"> <td style="width:41.5mm;font-size: 2mm;border-right:1px dashed #000;">
<p style="position:absolute;top:60mm;left:1.5mm;">付款方式:</p> <div style="position:absolute;top:80mm;left:1.5mm;width:40mm;">备注:</div>
<p style="position:absolute;top:64mm;left:1.5mm;">计费重量(KG):0.1</p> <div style="font-size:8mm;position:absolute;top:88mm;left:5mm;width:40mm;">标准快递</div>
<p style="position:absolute;top:68mm;left:1.5mm;">报价金额(元):</p> </td>
</td> <td style="width:30.5mm;font-size: 2mm;">
<td style="border-right:1px dashed #000;border-bottom:1px dashed #000;width:43mm"> <!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<p style="position:absolute;top:60mm;left:31mm;">收件人\代收人:</p> <div style="position:absolute;top:80mm;left:43mm;width:29mm;">签收人:</div>
<p style="position:absolute;top:64mm;left:31mm;">签收时间:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p> <div style="position:absolute;top:90mm;left:43mm;width:29mm;">日期:</div>
<span style="position:absolute;top:71mm;left:31mm;font-size: 2mm;width:40mm;">快件送达收货人地址,经收件人或收件人允许的代收人签字,视为送达。</span> <div style="position:absolute;top:79mm;left:55mm;width: 20mm;text-align: center">
<img style="margin-left:1mm;width: 18mm;display: block;" src="../../css/image/QRCode.jpg" alt="" srcset="">
<div style="width:20mm;">客服电话:11183</div>
<div style="width:20mm;">www.ems.com.cn</div>
</div>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -188,49 +211,63 @@ ...@@ -188,49 +211,63 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr> <tr>
<td style="border:1px dashed #000;border-top:0;width:72mm"> <td style="width:72mm;font-size: 2mm;">
<span style="position:absolute;top:76mm;left:1.5mm;font-size:7mm;">1&nbsp;收货单(返单)</span> <div style="position:absolute;top:103mm;left:1.5mm;width:20mm;">验视人:</div>
<div style="position:absolute;top:103mm;left:18.5mm;width:20mm;">验视机构:</div>
<div style="position:absolute;top:103mm;left:45.5mm;width:20mm;">来源:</div>
<div style="position:absolute;top:103mm;left:61.5mm;width:12mm;"></div>
</td> </td>
</tr> </tr>
</table> </table>
<td> </td>
</tr> </tr>
<tr> <tr>
<td style="height:4mm"></td> <td >
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:2mm">
<tr>
<td style="width:72mm;">
</td>
</tr>
</table>
</td>
</tr> </tr>
<tr> <tr>
<td> <td >
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-collapse:collapse;height:15mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:2mm">
<tr> <tr>
<td style="border-right:1px dashed #000;width:72mm"></td> <td style="width:72mm;">
</td>
</tr> </tr>
</table> </table>
<td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm;font-size: 3mm;"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:13mm">
<tr> <tr>
<td style="border-right:1px dashed #000;width:72mm"> <td style="width:45mm;font-size: 2mm;">
<p style="position:absolute;top:104mm;left:2mm;width:72mm">寄件:</p> </td>
<p style="position:absolute;top:104mm;left:11mm;width:60mm;">{{postMsgDetail[idx].recipientName}}&nbsp;{{postMsgDetail[idx].recipientPhone}}</p> <td style="width:27mm;font-size: 2mm;">
<p style="position:absolute;top:107mm;left:11mm;width:60mm;">{{postMsgDetail[idx].recipientAddress}}</p>
</td> </td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm;font-size: 3mm;"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:14mm">
<tr> <tr>
<td style="border:0px dashed #000;width:72mm"> <td style="width:72mm;font-size: 3.5mm;">
<p style="position:absolute;top:115mm;left:2mm;">收件:</p> <div style="position:absolute;top:123mm;left:1.5mm;width:72mm;">收:{{postMsgDetail[idx].senderName}}&nbsp;{{postMsgDetail[idx].senderPhone}}
<p style="position:absolute;top:115mm;left:11mm;width:60mm;">{{postMsgDetail[idx].senderName}}&nbsp;{{postMsgDetail[idx].senderPhone}}</p> </td>
<p style="position:absolute;top:118mm;left:11mm;width:60mm;">{{postMsgDetail[idx].senderAddress}}</p> </tr>
<tr >
<td style="width:72mm;font-size: 3.5mm;">
<div style="position:absolute;top:127mm;left:1.5mm;width:72mm;">
{{postMsgDetail[idx].senderAddress}}</div>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -238,25 +275,35 @@ ...@@ -238,25 +275,35 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:8mm">
<tr> <tr>
<td style="border-right:1px dashed #000;width:57mm"> <td style="width:72mm;font-size: 2mm;">
<span style="position:absolute;top:128mm;left:1.5mm;font-size:7mm;">1&nbsp;收货单(返单)</span> <div style="position:absolute;top:137mm;left:1.5mm;width:72mm;">寄:{{postMsgDetail[idx].recipientName}}&nbsp;{{postMsgDetail[idx].recipientPhone}}</div>
</td>
</tr>
<tr>
<td style="width:72mm;font-size: 2mm;">
<div style="position:absolute;top:140mm;left:1.5mm;width:72mm;">{{postMsgDetail[idx].recipientAddress}}</div>
</td> </td>
<td style="border:0px dashed #000;width:15mm"></td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:6mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-bottom:1px dashed #000;border-collapse:collapse;height:3mm">
<tr> <tr>
<td style="border-right:1px dashed #000;width:57mm"> <td style="width:41.5mm;font-size: 2mm;">
<span style="font-size: 3mm; margin-left: 1mm;">网址:www.ems.com.cn</span> <!-- <div style="position:absolute;top:141mm;left:1.5mm;width:40mm;">公司名称11:</div> -->
<span style="font-size: 3mm; margin-left: 1mm;">客服电话:11183</span>
<div style="position:absolute;top:145mm;left:1.5mm;width:41mm;">客服电话:11183&nbsp;网址:www.ems.com.cn</div>
<!-- <div style="margin-left: 1mm;">客服电话:11183</div> -->
</td>
<td style="font-size: 2mm;;width:30.5mm;">
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:145mm;left:43mm;width:29mm;">打印时间:{{currentTime}}</div>
</td> </td>
<td style="border:0px dashed #000;width:15mm"></td>
</tr> </tr>
</table> </table>
</td> </td>
...@@ -264,28 +311,30 @@ ...@@ -264,28 +311,30 @@
</table> </table>
</div> </div>
<div id="div3"> <div id="div3">
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:0px dashed #000;width:74mm;font-family: '黑体';"> <table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:0px dashed #000;width:74mm;font-family:'黑体';">
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-left:1px dashed #000;border-right:1px dashed #000;border-collapse:collapse;height:12mm;"> <table cellspacing="0" cellpadding="0" style="border-collapse:collapse;height:24mm">
<tr> <tr>
<td style="width:37mm">
<td style="width:72mm;height:4mm">
<span style="font-size:4mm; position: absolute;top:1mm;left:55mm;font-family:'黑体';">实物返单</span>
</td> </td>
<td style="width:35mm"> </tr>
<span style="font-size:3mm; position: absolute;top:1mm;left: 52mm;">标准快递</span> <tr>
<span style="font-size:7mm; position: absolute;top:3mm;left: 45mm;">实物返单</span> <td style="border:0px dashed #000;width:72mm;height:20mm">
<span style="font-size:2mm; position: absolute;top:10mm;left: 39mm;">时间:{{currentTime}}</span>
</td> </td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-left:1px dashed #000;border-right:1px dashed #000;border-collapse:collapse;height:11mm;"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:17mm">
<tr> <tr>
<td style="border:0px dashed #000;width:72mm"> <td style="width:72mm;">
<span style="font-size:8mm; position:absolute;top:25mm;left:2mm;width:72mm;font-weight: bold;">{{postMsgDetail[idx].latticeMouthInformation}}</span>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -293,46 +342,65 @@ ...@@ -293,46 +342,65 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="height:16mm;border-left:1px dashed #000;border-right:2px solid #000;"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:29mm">
<tr> <td style="border-right:1px dashed #000;width:55mm;font-size: 4.5mm;">
<td style="border-top:1px dashed #000;border-bottom:1px dashed #000;width:37mm;font-size: 3mm;"> <div style="position:absolute;top:42mm;left:1.5mm;width:54mm;">收:{{postMsgDetail[idx].recipientName}}
<p style="position:absolute;top:21mm;left:1.5mm;">寄件:{{postMsgDetail[idx].senderName}}</p> </div>
<p style="position:absolute;top:24mm;left:10mm;">{{postMsgDetail[idx].senderPhone}}</p> <div style="position:absolute;top:47mm;left:1.5mm;width:54mm;">{{postMsgDetail[idx].recipientPhone}}
<span style="position:absolute;top:30mm;left:10mm;width:27.5mm;">{{postMsgDetail[idx].senderAddress}}</span> </div>
<div style="position:absolute;top:52mm;left:1.5mm;width:54mm;">{{postMsgDetail[idx].recipientAddress}}</div>
</td> </td>
<td style="border:2px solid #000;border-right:0px;width:35mm;"> <td style="width:17mm;font-size: 2mm;">
<p style="font-size: 8mm;width:35mm;position:absolute;top:15mm;left: 39mm"> <p style="font-size: 6mm;height:29mm;position:absolute;top:35mm;left: 55mm;text-align: justify;writing-mode:vertical-lr;">
{{postMsgDetail[idx].applicantName}} {{postMsgDetail[idx].applicantName}}
</p> </p>
</td> </td>
</table>
</td>
</tr> </tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:5mm">
<td style="width:72mm;font-size: 2mm;">
<div style="position:absolute;top:71mm;left:1.5mm;width:72mm;">寄:{{postMsgDetail[idx].senderName}}&nbsp;{{postMsgDetail[idx].senderPhone}}</div>
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:73mm;left:1.5mm;width:72mm;">{{postMsgDetail[idx].senderAddress}}</div>
</td>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:16mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr> <tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:72mm"> <td style="width:41.5mm;font-size: 2mm;">
<p style="font-size: 3mm; position:absolute;top:36mm;left:1.5mm;">收件:<span style="font-size: 4mm;">{{postMsgDetail[idx].recipientName}}&nbsp;&nbsp;{{postMsgDetail[idx].recipientPhone}}</p> <div style="position:absolute;top:76mm;left:1.5mm;width:40mm;">公司名称:</div>
<p style="position:absolute;top:40mm;left:10mm;width:63.5mm;font-size: 4mm;">{{postMsgDetail[idx].recipientAddress}}</p></td> </td>
<td style="width:30.5mm;font-size: 2mm;">
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:76mm;left:43mm;width:29mm;">内件品名:证件</div>
</td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:15mm;font-size: 3mm;"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:24mm">
<tr> <tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:29mm;"> <td style="width:41.5mm;font-size: 2mm;border-right:1px dashed #000;">
<p style="position:absolute;top:53mm;left:1.5mm;">付款方式:</p> <div style="position:absolute;top:80mm;left:1.5mm;width:40mm;">备注:</div>
<p style="position:absolute;top:57mm;left:1.5mm;">计费重量(KG):0.1</p> <div style="font-size:8mm;position:absolute;top:88mm;left:5mm;width:40mm;">实物返单</div>
<p style="position:absolute;top:61mm;left:1.5mm;">报价金额(元):</p> </td>
</td> <td style="width:30.5mm;font-size: 2mm;">
<td style="border-right:1px dashed #000;border-bottom:1px dashed #000;width:43mm"> <!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<p style="position:absolute;top:53mm;left:31mm;">收件人\代收人:</p> <div style="position:absolute;top:80mm;left:43mm;width:29mm;">签收人:</div>
<p style="position:absolute;top:57mm;left:31mm;">签收时间:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p> <div style="position:absolute;top:90mm;left:43mm;width:29mm;">日期:</div>
<span style="position:absolute;top:64mm;left:31mm;font-size: 2mm;width:40mm;">快件送达收货人地址,经收件人或收件人允许的代收人签字,视为送达。</span> <div style="position:absolute;top:79mm;left:55mm;width: 20mm;text-align: center">
<img style="margin-left:1mm;width: 18mm;display: block;" src="../../css/image/QRCode.jpg" alt="" srcset="">
<div style="width:20mm;">客服电话:11183</div>
<div style="width:20mm;">www.ems.com.cn</div>
</div>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -340,36 +408,46 @@ ...@@ -340,36 +408,46 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:21mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr> <tr>
<td style="border:1px dashed #000;border-top:0;width:72mm"> <td style="width:72mm;font-size: 2mm;">
<p style="font-size:3mm; position:absolute;top:69mm;left:2mm;">订单号:</p> <div style="position:absolute;top:103mm;left:1.5mm;width:20mm;">验视人:</div>
<p style="font-size:3mm; position:absolute;top:75mm;left:2mm;width:72mm">配货信息:<span style="font-size:7mm;margin-left: 30px">{{postMsgDetail[idx].latticeMouthInformation}}</span></p> <div style="position:absolute;top:103mm;left:18.5mm;width:20mm;">验视机构:</div>
<div style="position:absolute;top:103mm;left:45.5mm;width:20mm;">来源:</div>
<div style="position:absolute;top:103mm;left:61.5mm;width:12mm;"></div>
</td> </td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td style="height:4mm"></td> <td >
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:2mm">
<tr>
<td style="width:72mm;">
</td>
</tr>
</table>
</td>
</tr> </tr>
<tr> <tr>
<td> <td >
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-collapse:collapse;height:12mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:2mm">
<tr> <tr>
<td style="border-right:1px dashed #000;width:72mm"></td> <td style="width:72mm;">
</td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000; <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:13mm">
border-top:none;border-collapse:collapse;height:10mm;font-size: 3mm;">
<tr> <tr>
<td style="border-right:1px dashed #000;width:72mm"> <td style="width:45mm;font-size: 2mm;">
<p style="position:absolute;top:105mm;left:2mm;">寄件:{{postMsgDetail[idx].senderName}}&nbsp;{{postMsgDetail[idx].senderPhone}}</p> </td>
<p style="position:absolute;top:108mm;left:10mm;width:72mm;">{{postMsgDetail[idx].senderAddress}}</p> <td style="width:27mm;font-size: 2mm;">
</td> </td>
</tr> </tr>
</table> </table>
...@@ -377,35 +455,34 @@ ...@@ -377,35 +455,34 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000; border-bottom:none; <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:14mm">
border-top:none;border-collapse:collapse;height:10mm;font-size: 3mm;">
<tr> <tr>
<td style="border:0px dashed #000;width:72mm"> <td style="width:72mm;font-size: 3.5mm;">
<p style="position:absolute;top:115mm;left:2mm;">收件:{{postMsgDetail[idx].recipientName}}&nbsp;{{postMsgDetail[idx].recipientPhone}}</p> <div style="position:absolute;top:123mm;left:1.5mm;width:72mm;">收:{{postMsgDetail[idx].recipientName}}&nbsp;{{postMsgDetail[idx].recipientPhone}}
<p style="position:absolute;top:118mm;left:10mm;width:62mm;">{{postMsgDetail[idx].recipientAddress}}</p></td> <!-- <div style="position:absolute;width:72mm;">{{postMsgDetail[idx].recipientAddress}}</div> -->
</div>
</td>
</tr>
<tr >
<td style="width:72mm;font-size: 3.5mm;">
<div style="position:absolute;top:127mm;left:1.5mm;width:72mm;">
{{postMsgDetail[idx].recipientAddress}}</div>
</td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border-left:1px dashed #000;height:10mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:8mm">
<tr> <tr>
<td style="border-bottom:1px dashed #000;border-top:1px dashed #000;width:43mm"> <td style="width:72mm;font-size: 2mm;">
<span style="position:absolute;top:128mm;left:1.5mm;font-size:3mm;">备注:</span> <div style="position:absolute;top:137mm;left:1.5mm;width:72mm;">寄:{{postMsgDetail[idx].senderName}}&nbsp;{{postMsgDetail[idx].senderPhone}}</div>
</td> </td>
<td style="width:5mm;border: 2px solid #000;border-bottom: 2px solid #000; text-align: center;"> </tr>
<p><span style="font-size:3mm;"><br/></span><strong></strong></p> <tr>
</td> <td style="width:72mm;font-size: 2mm;">
<td style="border:2px solid #000;width:24mm;height: 10mm;"> <div style="position:absolute;top:140mm;left:1.5mm;width:72mm;">{{postMsgDetail[idx].senderAddress}}</div>
<div style="width:24mm;height: 5mm;line-height:5mm;padding-top: 2mm;">
<span style="padding-left: 1mm;" >丰台分公司</span>
</div>
<div style="width:24mm;height: 5mm;line-height:5mm;border-top: 2px solid #000;">
<span style="padding-left: 1mm;font-size: 3mm;">
检验人:马超
</span>
</div>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -413,16 +490,18 @@ ...@@ -413,16 +490,18 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:6mm"> <table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-bottom:1px dashed #000;border-collapse:collapse;height:3mm">
<tr> <tr>
<td style="border-right:1px dashed #000;width:47mm"> <td style="width:41.5mm;font-size: 2mm;">
<span style="font-size: 2.5mm; margin-left: 0mm;">网址:www.ems.com.cn</span> <!-- <div style="position:absolute;top:141mm;left:1.5mm;width:40mm;">公司名称11:</div> -->
<span style="font-size: 2.5mm; margin-left: 0mm;">客服电话:11183</span>
<div style="position:absolute;top:145mm;left:1.5mm;width:41mm;">客服电话:11183&nbsp;网址:www.ems.com.cn</div>
<!-- <div style="margin-left: 1mm;">客服电话:11183</div> -->
</td> </td>
<td style="border:0px dashed #000;width:25mm"> <td style="font-size: 2mm;;width:30.5mm;">
<span> <!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
{{postMsgDetail[idx].UploadDistrict}} <div style="position:absolute;top:145mm;left:43mm;width:29mm;">打印时间:{{currentTime}}</div>
</span>
</td> </td>
</tr> </tr>
</table> </table>
......
...@@ -247,15 +247,15 @@ angular.module('AvatarCheck.searchCardMsg', ['ngRoute', 'AvatarCheck.http']) ...@@ -247,15 +247,15 @@ angular.module('AvatarCheck.searchCardMsg', ['ngRoute', 'AvatarCheck.http'])
// LODOP1.ADD_PRINT_BARCODE(290, 48, 70, 20, "128A", $scope.postMsgDetail[$scope.idx].sequence); // LODOP1.ADD_PRINT_BARCODE(290, 48, 70, 20, "128A", $scope.postMsgDetail[$scope.idx].sequence);
// LODOP1.ADD_PRINT_TABLE(13, 2, 960, 1400, document.getElementById("div3").innerHTML); // LODOP1.ADD_PRINT_TABLE(13, 2, 960, 1400, document.getElementById("div3").innerHTML);
//(2019-07-01 改) //(2019-07-01 改)
LODOP1.ADD_PRINT_BARCODE('14mm', '18mm', '52mm', '10mm',"128A",$scope.postMsgDetail[$scope.idx].waybillNumber); LODOP1.ADD_PRINT_BARCODE('7mm', '4.5mm','72mm','18mm', "128A",$scope.postMsgDetail[$scope.idx].waybillNumber);
LODOP1.ADD_PRINT_BARCODE('72mm', '16mm', '25mm', '7mm', "128A",$scope.postMsgDetail[$scope.idx].fileId); // LODOP1.ADD_PRINT_BARCODE('112mm','4.5mm', '46mm','10mm', "128A",$scope.postMsgDetail[$scope.idx].fileId);
LODOP1.ADD_PRINT_BARCODE('97mm', '3.5mm', '72mm', '11mm',"128A",$scope.postMsgDetail[$scope.idx].waybillNumber); LODOP1.ADD_PRINT_BARCODE('112mm','4.5mm', '46mm','10mm', "128A",$scope.postMsgDetail[$scope.idx].waybillNumber);
// LODOP1.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Full-Page"); // LODOP1.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Full-Page");
LODOP1.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm', document.getElementById("div3").innerHTML); LODOP1.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm', document.getElementById("div3").innerHTML);
LODOP1.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Width:100%;Height:100%"); LODOP1.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Width:100%;Height:100%");
LODOP1.SET_PRINT_STYLEA(1, "FontSize", 10); LODOP1.SET_PRINT_STYLEA(1, "FontSize", 10);
LODOP1.SET_PRINT_STYLEA(2, "FontSize", 5); LODOP1.SET_PRINT_STYLEA(2, "FontSize", 5);
LODOP1.SET_PRINT_STYLEA(3, "FontSize", 10); // LODOP1.SET_PRINT_STYLEA(3, "FontSize", 10);
LODOP1.SET_PRINT_STYLEA(0, "TableHeightScope", iRadioValue); LODOP1.SET_PRINT_STYLEA(0, "TableHeightScope", iRadioValue);
LODOP1.SET_PRINT_STYLEA(0, "AngleOfPageInside", 0); LODOP1.SET_PRINT_STYLEA(0, "AngleOfPageInside", 0);
// LODOP1.PREVIEW(); // LODOP1.PREVIEW();
...@@ -283,13 +283,14 @@ angular.module('AvatarCheck.searchCardMsg', ['ngRoute', 'AvatarCheck.http']) ...@@ -283,13 +283,14 @@ angular.module('AvatarCheck.searchCardMsg', ['ngRoute', 'AvatarCheck.http'])
// LODOP.ADD_PRINT_BARCODE(20, 185, 242, 60, "128A", $scope.postMsgDetail[$scope.idx].fxyjh); // LODOP.ADD_PRINT_BARCODE(20, 185, 242, 60, "128A", $scope.postMsgDetail[$scope.idx].fxyjh);
// LODOP.ADD_PRINT_BARCODE(380, 13, 236, 40, "128A", $scope.postMsgDetail[$scope.idx].fxyjh); // LODOP.ADD_PRINT_BARCODE(380, 13, 236, 40, "128A", $scope.postMsgDetail[$scope.idx].fxyjh);
//(2019-07-01 改) //(2019-07-01 改)
LODOP.ADD_PRINT_BARCODE('13mm', '3mm','70mm','16mm', "128A",$scope.postMsgDetail[$scope.idx].backWaybillNumber); LODOP.ADD_PRINT_BARCODE('7mm', '4.5mm','72mm','18mm', "128A",$scope.postMsgDetail[$scope.idx].backWaybillNumber);
LODOP.ADD_PRINT_BARCODE('93mm','5mm', '50mm','14mm', "128A",$scope.postMsgDetail[$scope.idx].backWaybillNumber); LODOP.ADD_PRINT_BARCODE('112mm','4.5mm', '46mm','10mm', "128A",$scope.postMsgDetail[$scope.idx].backWaybillNumber);
LODOP.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm', document.getElementById("div1").innerHTML); LODOP.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm', document.getElementById("div1").innerHTML);
// LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Full-Page"); // LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Full-Page");
LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Width:100%;Height:100%"); LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Width:100%;Height:100%");
LODOP.SET_PRINT_STYLEA(1, "FontSize", 10); LODOP.SET_PRINT_STYLEA(1, "FontSize", 10);
LODOP.SET_PRINT_STYLEA(2, "FontSize", 10); LODOP.SET_PRINT_STYLEA(2, "FontSize", 5);
LODOP.SET_PRINT_STYLEA(0, "TableHeightScope", iRadioValue); LODOP.SET_PRINT_STYLEA(0, "TableHeightScope", iRadioValue);
LODOP.SET_PRINT_STYLEA(0, "AngleOfPageInside", 0); LODOP.SET_PRINT_STYLEA(0, "AngleOfPageInside", 0);
// LODOP.PREVIEW(); // LODOP.PREVIEW();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment