解析日志添加时间

parent f3f78078
......@@ -269,7 +269,7 @@ public class LogApi {
//更新格口文件解析状态
// logService.updateGKState(gkId);
//生成解析日志
logService.insertIntoAnalysis(gkId, xmlId, postCount, String.valueOf(commonCount));
logService.insertIntoAnalysis(gkId, xmlId, postCount, String.valueOf(commonCount),getCurrentDate2String("yyyyMMddhhmmss"));
}
}catch (Exception e){
logger.error("导入时间:" + printDate);
......
......@@ -71,8 +71,8 @@ public interface LogMapper {
* @param postCardCount
* @return
*/
@Insert("INSERT INTO ANALYSIS (FILE_DIC_ID,FILE_ID,COMMON_CARD_COUNT,POST_CARD_COUNT) VALUES (#{fileDic},#{fileId},#{commonCardCount},#{postCardCount})")
public boolean insertIntoAnalysis(@Param("fileDic")String fileDic,@Param("fileId")String fileId,@Param("commonCardCount")String commonCardCount,@Param("postCardCount")String 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,@Param("analysisDate")String analysisDate);
//查询解析数据
......
......@@ -34,7 +34,7 @@ public interface LogService {
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);
......
......@@ -111,8 +111,8 @@ public class LogServiceImpl implements LogService {
}
@Override
public boolean insertIntoAnalysis(String fileDic, String fileId, String commonCardCount, String postCardCount) {
logMapper.insertIntoAnalysis(fileDic,fileId,commonCardCount,postCardCount);
public boolean insertIntoAnalysis(String fileDic, String fileId, String commonCardCount, String postCardCount,String analysisDate) {
logMapper.insertIntoAnalysis(fileDic,fileId,commonCardCount,postCardCount,analysisDate);
return true;
}
......
......@@ -14,151 +14,203 @@
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:0px dashed #000;width:74mm;font-family:'黑体';">
<tr>
<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>
<td style="width:72mm;height:4mm">
<span style="font-size:4mm; position: absolute;top:1mm;left:55mm;font-family:'黑体';">特快专递</span>
</td>
</tr>
<tr>
<td style="border:0px dashed #000;width:37mm">
<td style="border:0px dashed #000;width:72mm;height:20mm">
</td>
<td style="width:35mm">
<span style="font-size:7mm; position: absolute;top:1mm;left: 45mm;font-family:'黑体';">标准快递</span>
<span style="font-size:2mm; position: absolute;top:9mm;left: 39mm;">时间:2022-07-28 13:56:17</span>
</td>
</tr>
</tr>
</table>
</td>
</tr>
<tr>
<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">
<tr>
<td style="border:0px dashed #000;width:72mm">
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:17mm">
<tr>
<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>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:29mm">
<td style="border-right:1px dashed #000;width:55mm;font-size: 4.5mm;">
<div style="position:absolute;top:42mm;left:1.5mm;width:54mm;word-break: break-all;">收:杨某某杨某某杨某
<!-- <div style="width:54mm;">广东省湛江市雷州市新城街道帮塘南村家旭宾馆路口直走中科楼</div> -->
</div>
<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>
</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>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr>
<td style="width:41.5mm;font-size: 2mm;">
<div style="position:absolute;top:76mm;left:1.5mm;width:40mm;">公司名称:</div>
</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>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:24mm">
<tr>
<td style="width:41.5mm;font-size: 2mm;border-right:1px dashed #000;">
<div style="position:absolute;top:80mm;left:1.5mm;width:40mm;">备注:</div>
<!-- <div style="position:absolute;top:83mm;left:1.5mm;width:40mm;">微户政订单,不收费,请以相应协议客户揽收</div> -->
<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 style="width:30.5mm;font-size: 2mm;">
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:80mm;left:43mm;width:29mm;">签收人:</div>
<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>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr>
<td style="width:72mm;font-size: 2mm;">
<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>
</tr>
</table>
</td>
</tr>
<tr>
<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>
<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>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:13mm">
<tr>
<td style="width:45mm;font-size: 2mm;">
</td>
<td style="width:27mm;font-size: 2mm;">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:14mm">
<tr>
<td style="width:72mm;font-size: 3.5mm;">
<div style="position:absolute;top:123mm;left:1.5mm;width:72mm;">收:李某某李某某李某某&nbsp;13313331333
</td>
</tr>
<tr >
<td style="width:72mm;font-size: 3.5mm;">
<div style="position:absolute;top:127mm;left:1.5mm;width:72mm;">广东省湛江市雷州市新城街道帮塘南村家旭宾馆路口直走中科楼</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:8mm">
<tr>
<td style="width:72mm;font-size: 2mm;">
<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>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-bottom:1px dashed #000;border-collapse:collapse;height:3mm">
<tr>
<td style="width:41.5mm;font-size: 2mm;">
<!-- <div style="position:absolute;top:141mm;left:1.5mm;width:40mm;">公司名称11:</div> -->
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="height:16mm;border-left:1px dashed #000;border-right:2px solid #000;">
<tr>
<td style="border-top:1px dashed #000;border-bottom:1px dashed #000;width:37mm;font-size: 3mm;">
<p style="position:absolute;top:26mm;left:1.5mm;">寄件:吕兰兰</p>
<p style="position:absolute;top:29mm;left:10mm;">15825898734</p>
<span style="position:absolute;top:35mm;left:10mm;width:27.5mm;">北京市大兴区西红门镇团河路如家快捷酒店旁二楼</span>
</td>
<td style="border:2px solid #000;border-right:0px;width:35mm;"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:17mm">
<tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:72mm">
<p style="font-size: 3mm; position:absolute;top:42mm;left:1.5mm;">收件:<span style="font-size: 4mm;">北京人口管理总队&nbsp;&nbsp;01087682315</span></p>
<span style="position:absolute;top:49mm;left:10mm;width:63.5mm;font-size: 4mm;">北京市丰台区成寿寺路甲19号</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:15mm;font-size: 3mm;">
<tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:29mm;">
<p style="position:absolute;top:60mm;left:1.5mm;">付款方式:</p>
<p style="position:absolute;top:64mm;left:1.5mm;">计费重量(KG):0.1</p>
<p style="position:absolute;top:68mm;left:1.5mm;">报价金额(元):</p>
</td>
<td style="border-right:1px dashed #000;border-bottom:1px dashed #000;width:43mm">
<p style="position:absolute;top:60mm;left:31mm;">收件人\代收人:</p>
<p style="position:absolute;top:64mm;left:31mm;">签收时间:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<span style="position:absolute;top:71mm;left:31mm;font-size: 2mm;width:40mm;">快件送达收货人地址,经收件人或收件人允许的代收人签字,视为送达。</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm">
<tr>
<td style="border:1px dashed #000;border-top:0;width:72mm">
<span style="position:absolute;top:76mm;left:1.5mm;font-size:7mm;">1&nbsp;收货单(返单)</span>
</td>
</tr>
</table>
<td>
</tr>
<tr>
<td style="height:4mm"></td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-collapse:collapse;height:15mm">
<tr>
<td style="border-right:1px dashed #000;width:72mm"></td>
</tr>
</table>
<td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm;font-size: 3mm;">
<tr>
<td style="border-right:1px dashed #000;width:72mm">
<p style="position:absolute;top:104mm;left:2mm;width:72mm">寄件:</p>
<p style="position:absolute;top:104mm;left:11mm;width:60mm;">吕兰兰&nbsp;15825898734</p>
<p style="position:absolute;top:107mm;left:11mm;width:60mm;">北京市大兴区西红门镇团河路如家快捷酒店旁二楼</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm;font-size: 3mm;">
<tr>
<td style="border:0px dashed #000;width:72mm">
<p style="position:absolute;top:115mm;left:2mm;">收件:</p>
<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>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm">
<tr>
<td style="border-right:1px dashed #000;width:57mm">
<span style="position:absolute;top:128mm;left:1.5mm;font-size:7mm;">1&nbsp;收货单(返单)</span>
</td>
<td style="border:0px dashed #000;width:15mm"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:6mm">
<tr>
<td style="border-right:1px dashed #000;width:57mm">
<span style="font-size: 3mm; margin-left: 1mm;">网址:www.ems.com.cn</span>
<span style="font-size: 3mm; margin-left: 1mm;">客服电话:11183</span>
</td>
<td style="border:0px dashed #000;width:15mm"></td>
</tr>
</table>
</td>
</tr>
<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>
</tr>
</table>
</td>
</tr>
</table>
</div>
<hr/>
......@@ -174,11 +226,14 @@
LODOP=getLodop();
LODOP.PRINT_INIT("打印控件功能演示_Lodop功能_预览打印表格");
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_BARCODE('13mm', '3mm','70mm','16mm', "128A",'1258343936501');
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,"AngleOfPageInside",0);
......
......@@ -10,176 +10,194 @@
<body>
<div id="div3">
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:0px dashed #000;width:74mm;font-family: '黑体';">
<tr>
<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;">
<tr>
<td style="width:37mm">
</td>
<td style="width:35mm">
<span style="font-size:3mm; position: absolute;top:1mm;left: 52mm;">标准快递</span>
<span style="font-size:7mm; position: absolute;top:3mm;left: 45mm;">实物返单</span>
<span style="font-size:2mm; position: absolute;top:10mm;left: 39mm;">时间:{{currentTime}}</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<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;">
<tr>
<td style="border:0px dashed #000;width:72mm">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="height:16mm;border-left:1px dashed #000;border-right:2px solid #000;">
<tr>
<td style="border-top:1px dashed #000;border-bottom:1px dashed #000;width:37mm;font-size: 3mm;">
<p style="position:absolute;top:21mm;left:1.5mm;">寄件:北京人口管理总队</p>
<p style="position:absolute;top:24mm;left:10mm;">01087682315</p>
<span style="position:absolute;top:30mm;left:10mm;width:27.5mm;">北京市丰台区成寿寺路甲19号</span>
</td>
<td style="border:2px solid #000;border-right:0px;width:35mm;">
<p style="font-size: 8mm;width:35mm;position:absolute;top:15mm;left: 39mm">
王婷婷
</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:16mm">
<tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:72mm">
<p style="font-size: 3mm; position:absolute;top:36mm;left:1.5mm;">收件:<span style="font-size: 4mm;">王婷婷&nbsp;&nbsp;19832198165</p>
<p style="position:absolute;top:40mm;left:10mm;width:63.5mm;font-size: 4mm;">北京市朝阳区柳芳北里11号楼北侧平房底商奥亭美容</p></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:15mm;font-size: 3mm;">
<tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:29mm;">
<p style="position:absolute;top:53mm;left:1.5mm;">付款方式:</p>
<p style="position:absolute;top:57mm;left:1.5mm;">计费重量(KG):0.1</p>
<p style="position:absolute;top:61mm;left:1.5mm;">报价金额(元):</p>
</td>
<td style="border-right:1px dashed #000;border-bottom:1px dashed #000;width:43mm">
<p style="position:absolute;top:53mm;left:31mm;">收件人\代收人:</p>
<p style="position:absolute;top:57mm;left:31mm;">签收时间:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<span style="position:absolute;top:64mm;left:31mm;font-size: 2mm;width:40mm;">快件送达收货人地址,经收件人或收件人允许的代收人签字,视为送达。</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:21mm">
<tr>
<td style="border:1px dashed #000;border-top:0;width:72mm">
<p style="font-size:3mm; position:absolute;top:69mm;left:2mm;">订单号:</p>
<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>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height:4mm"></td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-collapse:collapse;height:12mm">
<tr>
<td style="border-right:1px dashed #000;width:72mm"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;
border-top:none;border-collapse:collapse;height:10mm;font-size: 3mm;">
<tr>
<td style="border-right:1px dashed #000;width:72mm">
<p style="position:absolute;top:105mm;left:2mm;">寄件:北京人口管理总队&nbsp;01087682315</p>
<!-- <p style="position:absolute;top:106mm;left:10mm;">01087682315</p> -->
<p style="position:absolute;top:108mm;left:10mm;width:72mm;">北京市丰台区成寿寺路甲19号</p>
</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>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000; border-bottom:none;
border-top:none;border-collapse:collapse;height:10mm;font-size: 3mm;">
<tr>
<td style="border:0px dashed #000;width:72mm">
<p style="position:absolute;top:115mm;left:2mm;">收件:王婷婷&nbsp;19832198165</p>
<p style="position:absolute;top:118mm;left:10mm;width:62mm;">北京市朝阳区柳芳北里11号楼北侧平房底商奥亭美容</p></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border-left:1px dashed #000;height:10mm">
<tr>
<td style="border-bottom:1px dashed #000;border-top:1px dashed #000;width:43mm">
<span style="position:absolute;top:128mm;left:1.5mm;font-size:3mm;">备注:</span>
</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 style="border:2px solid #000;width:24mm;height: 10mm;">
<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>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:6mm">
<tr>
<td style="border-right:1px dashed #000;width:47mm">
<span style="font-size: 2.5mm; margin-left: 0mm;">网址:www.ems.com.cn</span>
<span style="font-size: 2.5mm; margin-left: 0mm;">客服电话:11183</span>
</td>
<td style="border:0px dashed #000;width:25mm">
<span>
</span>
</td>
</tr>
</table>
<div id="div1">
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:0px dashed #000;width:74mm;font-family:'黑体';">
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;height:24mm">
<tr>
<td style="width:72mm;height:4mm">
<span style="font-size:4mm; position: absolute;top:1mm;left:55mm;font-family:'黑体';">特快快递</span>
</td>
</tr>
<tr>
<td style="border:0px dashed #000;width:72mm;height:20mm">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:17mm">
<tr>
<td style="width:72mm;">
<span style="font-size:8mm; position:absolute;top:25mm;left:2mm;width:72mm;font-weight: bold;"></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:29mm">
<td style="border-right:1px dashed #000;width:55mm;font-size: 4.5mm;">
<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:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:47mm;left:1.5mm;width:53mm;">{{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>
</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>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr>
<td style="width:41.5mm;font-size: 2mm;">
<div style="position:absolute;top:76mm;left:1.5mm;width:40mm;">公司名称:</div>
</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>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:24mm">
<tr>
<td style="width:41.5mm;font-size: 2mm;border-right:1px dashed #000;">
<div style="position:absolute;top:80mm;left:1.5mm;width:40mm;">备注:</div>
<div style="position:absolute;top:83mm;left:1.5mm;width:40mm;">微户政订单,不收费,请以相应协议客户揽收</div>
<div style="position:absolute;top:100mm;left:1.5mm;width:40mm;">密码签收/实物返单/一票多收</div>
</td>
<td style="width:30.5mm;font-size: 2mm;">
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:80mm;left:43mm;width:29mm;">签收人:</div>
<div style="position:absolute;top:90mm;left:43mm;width:29mm;">日期:</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr>
<td style="width:72mm;font-size: 2mm;">
<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>
</tr>
</table>
</td>
</tr>
<tr>
<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>
<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>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:13mm">
<tr>
<td style="width:45mm;font-size: 2mm;">
</td>
<td style="width:27mm;font-size: 2mm;">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:14mm">
<tr>
<td style="width:72mm;font-size: 3.5mm;">
<div style="position:absolute;top:123mm;left:1.5mm;width:72mm;">收:{{postMsgDetail[idx].senderName}}&nbsp;&nbsp;{{postMsgDetail[idx].senderPhone}}</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].senderAddress}}</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:8mm">
<tr>
<td style="width:72mm;font-size: 2mm;">
<div style="position:absolute;top:137mm;left:1.5mm;width:72mm;">寄:{{postMsgDetail[idx].recipientName}}&nbsp;&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>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-bottom:1px dashed #000;border-collapse:collapse;height:3mm">
<tr>
<td style="width:41.5mm;font-size: 2mm;">
<!-- <div style="position:absolute;top:141mm;left:1.5mm;width:40mm;">公司名称11:</div> -->
<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>
</tr>
</table>
</td>
</tr>
</table>
</div>
<hr/>
......@@ -194,32 +212,30 @@
LODOP=getLodop();
LODOP.PRINT_INIT("打印控件功能演示_Lodop功能_预览打印表格");
LODOP.SET_PRINT_PAGESIZE(1,"76mm","149mm","");
LODOP.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm',document.getElementById("div3").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('97mm', '3.5mm', '72mm', '11mm',"128A",'12345');
// LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Full-Page");
// LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Width:100%;Height:100%");
LODOP.SET_PRINT_STYLEA(1, "FontSize", 10);
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, "AngleOfPageInside", 0);
LODOP.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm',document.getElementById("div1").innerHTML);
LODOP.ADD_PRINT_BARCODE('7mm', '4.5mm','72mm','18mm', "128A",'1258343936501');
LODOP.SET_PRINT_STYLEA(0, "FontSize", 10);
LODOP.ADD_PRINT_BARCODE('112mm','4.5mm', '46mm','10mm', "128A",'1258343936501');
LODOP.SET_PRINT_STYLEA(3, "FontSize", 5);
LODOP.SET_PRINT_STYLEA(0,"TableHeightScope",iRadioValue);
LODOP.SET_PRINT_STYLEA(0,"AngleOfPageInside",0);
LODOP.PREVIEW();
};
function PreviewMytableRotate(){
LODOP=getLodop();
function PreviewMytableRotate(){
LODOP=getLodop();
LODOP.PRINT_INIT("打印控件功能演示_Lodop功能_预览打印表格");
LODOP.SET_PRINT_PAGESIZE(1,"76mm","149mm","");
LODOP.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm',document.getElementById("div3").innerHTML);
LODOP.ADD_PRINT_BARCODE('3mm', '39mm', '37mm', '16mm',"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(2, "FontSize", 5);
LODOP.SET_PRINT_STYLEA(3, "FontSize", 10);
LODOP.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm',document.getElementById("div1").innerHTML);
LODOP.ADD_PRINT_BARCODE('3mm', '33mm','42mm','18mm', "128A",'12345');
LODOP.SET_PRINT_STYLEA(1, "FontSize", 10);
LODOP.ADD_PRINT_BARCODE('93mm','5mm', '50mm','14mm', "128A",'12345');
LODOP.SET_PRINT_STYLEA(2, "FontSize", 10);
LODOP.SET_PRINT_STYLEA(0,"TableHeightScope",iRadioValue);
LODOP.SET_PRINT_STYLEA(0,"AngleOfPageInside",180);
LODOP.PREVIEW();
......
......@@ -113,321 +113,400 @@
<embed id="LODOP_EM" type="application/x-print-lodop" width=0 height=0 pluginspage="install_lodop32.exe"></embed>
</object>
<div id="div1">
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:0px dashed #000;width:74mm;font-family:'黑体';">
<tr>
<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">
<tr>
<td style="border:0px dashed #000;width:37mm">
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:0px dashed #000;width:74mm;font-family:'黑体';">
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;height:24mm">
<tr>
<td style="width:72mm;height:4mm">
<span style="font-size:4mm; position: absolute;top:1mm;left:55mm;font-family:'黑体';">特快专递</span>
</td>
</tr>
<tr>
<td style="border:0px dashed #000;width:72mm;height:20mm">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:17mm">
<tr>
<td style="width:72mm;">
<span style="font-size:8mm; position:absolute;top:25mm;left:2mm;width:72mm;font-weight: bold;"></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:29mm">
<td style="border-right:1px dashed #000;width:55mm;font-size: 4.5mm;">
<div style="position:absolute;top:42mm;left:1.5mm;width:54mm;">收:{{postMsgDetail[idx].senderName}}
</div>
<div style="position:absolute;top:47mm;left:1.5mm;width:54mm;">{{postMsgDetail[idx].senderPhone}}
</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>
</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>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr>
<td style="width:41.5mm;font-size: 2mm;">
<div style="position:absolute;top:76mm;left:1.5mm;width:40mm;">公司名称:</div>
</td>
<td style="width:35mm">
<span style="font-size:7mm; position: absolute;top:1mm;left: 45mm;font-family:'黑体';">标准快递</span>
<span style="font-size:2mm; position: absolute;top:9mm;left: 39mm;">时间:{{currentTime}}</span>
</td>
</tr>
</table>
<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>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:24mm">
<tr>
<td style="width:41.5mm;font-size: 2mm;border-right:1px dashed #000;">
<div style="position:absolute;top:80mm;left:1.5mm;width:40mm;">备注:</div>
<div style="font-size:8mm;position:absolute;top:88mm;left:5mm;width:40mm;">标准快递</div>
</td>
<td style="width:30.5mm;font-size: 2mm;">
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:80mm;left:43mm;width:29mm;">签收人:</div>
<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>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr>
<td style="width:72mm;font-size: 2mm;">
<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>
</tr>
</table>
</td>
</tr>
<tr>
<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>
<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>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:13mm">
<tr>
<td style="width:45mm;font-size: 2mm;">
</td>
<td style="width:27mm;font-size: 2mm;">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:14mm">
<tr>
<td style="width:72mm;font-size: 3.5mm;">
<div style="position:absolute;top:123mm;left:1.5mm;width:72mm;">收:{{postMsgDetail[idx].senderName}}&nbsp;{{postMsgDetail[idx].senderPhone}}
</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>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:8mm">
<tr>
<td style="width:72mm;font-size: 2mm;">
<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>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-bottom:1px dashed #000;border-collapse:collapse;height:3mm">
<tr>
<td style="width:41.5mm;font-size: 2mm;">
<!-- <div style="position:absolute;top:141mm;left:1.5mm;width:40mm;">公司名称11:</div> -->
</tr>
<tr>
<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">
<tr>
<td style="border:0px dashed #000;width:72mm">
</td>
</tr>
</table>
<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>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div id="div3">
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:0px dashed #000;width:74mm;font-family:'黑体';">
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;height:24mm">
<tr>
<td style="width:72mm;height:4mm">
<span style="font-size:4mm; position: absolute;top:1mm;left:55mm;font-family:'黑体';">实物返单</span>
</td>
</tr>
<tr>
<td style="border:0px dashed #000;width:72mm;height:20mm">
</td>
</tr>
</table>
</td>
</tr>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:17mm">
<tr>
<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>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:29mm">
<td style="border-right:1px dashed #000;width:55mm;font-size: 4.5mm;">
<div style="position:absolute;top:42mm;left:1.5mm;width:54mm;">收:{{postMsgDetail[idx].recipientName}}
</div>
<div style="position:absolute;top:47mm;left:1.5mm;width:54mm;">{{postMsgDetail[idx].recipientPhone}}
</div>
<div style="position:absolute;top:52mm;left:1.5mm;width:54mm;">{{postMsgDetail[idx].recipientAddress}}</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;">
{{postMsgDetail[idx].applicantName}}
</p>
</td>
</table>
</td>
</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>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="height:16mm;border-left:1px dashed #000;border-right:2px solid #000;">
<tr>
<td style="border-top:1px dashed #000;border-bottom:1px dashed #000;width:37mm;font-size: 3mm;">
<p style="position:absolute;top:26mm;left:1.5mm;">寄件:{{postMsgDetail[idx].recipientName}}</p>
<p style="position:absolute;top:29mm;left:10mm;">{{postMsgDetail[idx].recipientPhone}}</p>
<span style="position:absolute;top:35mm;left:10mm;width:27.5mm;">{{postMsgDetail[idx].recipientAddress}}</span>
</td>
<td style="border:2px solid #000;border-right:0px;width:35mm;"></td>
</tr>
</table>
</td>
<td style="width:41.5mm;font-size: 2mm;">
<div style="position:absolute;top:76mm;left:1.5mm;width:40mm;">公司名称:</div>
</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>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:24mm">
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:17mm">
<tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:72mm">
<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>
<span style="position:absolute;top:49mm;left:10mm;width:63.5mm;font-size: 4mm;">{{postMsgDetail[idx].senderAddress}}</span></td>
</tr>
</table>
</td>
<td style="width:41.5mm;font-size: 2mm;border-right:1px dashed #000;">
<div style="position:absolute;top:80mm;left:1.5mm;width:40mm;">备注:</div>
<div style="font-size:8mm;position:absolute;top:88mm;left:5mm;width:40mm;">实物返单</div>
</td>
<td style="width:30.5mm;font-size: 2mm;">
<!-- <p style="position:absolute;top:44mm;left:10mm;"></p> -->
<div style="position:absolute;top:80mm;left:43mm;width:29mm;">签收人:</div>
<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>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:3mm">
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:15mm;font-size: 3mm;">
<tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:29mm;">
<p style="position:absolute;top:60mm;left:1.5mm;">付款方式:</p>
<p style="position:absolute;top:64mm;left:1.5mm;">计费重量(KG):0.1</p>
<p style="position:absolute;top:68mm;left:1.5mm;">报价金额(元):</p>
</td>
<td style="border-right:1px dashed #000;border-bottom:1px dashed #000;width:43mm">
<p style="position:absolute;top:60mm;left:31mm;">收件人\代收人:</p>
<p style="position:absolute;top:64mm;left:31mm;">签收时间:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<span style="position:absolute;top:71mm;left:31mm;font-size: 2mm;width:40mm;">快件送达收货人地址,经收件人或收件人允许的代收人签字,视为送达。</span>
</td>
</tr>
</table>
</td>
<td style="width:72mm;font-size: 2mm;">
<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>
</tr>
</table>
</td>
</tr>
<tr>
<td >
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:2mm">
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm">
<tr>
<td style="border:1px dashed #000;border-top:0;width:72mm">
<span style="position:absolute;top:76mm;left:1.5mm;font-size:7mm;">1&nbsp;收货单(返单)</span>
</td>
</tr>
</table>
<td>
<td style="width:72mm;">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td >
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:2mm">
<tr>
<td style="height:4mm"></td>
<td style="width:72mm;">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:13mm">
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-collapse:collapse;height:15mm">
<tr>
<td style="border-right:1px dashed #000;width:72mm"></td>
</tr>
</table>
<td>
<td style="width:45mm;font-size: 2mm;">
</td>
<td style="width:27mm;font-size: 2mm;">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:14mm">
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm;font-size: 3mm;">
<tr>
<td style="border-right:1px dashed #000;width:72mm">
<p style="position:absolute;top:104mm;left:2mm;width:72mm">寄件:</p>
<p style="position:absolute;top:104mm;left:11mm;width:60mm;">{{postMsgDetail[idx].recipientName}}&nbsp;{{postMsgDetail[idx].recipientPhone}}</p>
<p style="position:absolute;top:107mm;left:11mm;width:60mm;">{{postMsgDetail[idx].recipientAddress}}</p>
</td>
</tr>
</table>
</td>
<td style="width:72mm;font-size: 3.5mm;">
<div style="position:absolute;top:123mm;left:1.5mm;width:72mm;">收:{{postMsgDetail[idx].recipientName}}&nbsp;{{postMsgDetail[idx].recipientPhone}}
<!-- <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>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm;font-size: 3mm;">
<tr>
<td style="border:0px dashed #000;width:72mm">
<p style="position:absolute;top:115mm;left:2mm;">收件:</p>
<p style="position:absolute;top:115mm;left:11mm;width:60mm;">{{postMsgDetail[idx].senderName}}&nbsp;{{postMsgDetail[idx].senderPhone}}</p>
<p style="position:absolute;top:118mm;left:11mm;width:60mm;">{{postMsgDetail[idx].senderAddress}}</p>
</td>
</tr>
</table>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-collapse:collapse;height:8mm">
<tr>
<td style="width:72mm;font-size: 2mm;">
<div style="position:absolute;top:137mm;left:1.5mm;width:72mm;">寄:{{postMsgDetail[idx].senderName}}&nbsp;{{postMsgDetail[idx].senderPhone}}</div>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:11mm">
<tr>
<td style="border-right:1px dashed #000;width:57mm">
<span style="position:absolute;top:128mm;left:1.5mm;font-size:7mm;">1&nbsp;收货单(返单)</span>
</td>
<td style="border:0px dashed #000;width:15mm"></td>
</tr>
</table>
<td style="width:72mm;font-size: 2mm;">
<div style="position:absolute;top:140mm;left:1.5mm;width:72mm;">{{postMsgDetail[idx].senderAddress}}</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-top:1px dashed #000;border-bottom:1px dashed #000;border-collapse:collapse;height:3mm">
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:6mm">
<tr>
<td style="border-right:1px dashed #000;width:57mm">
<span style="font-size: 3mm; margin-left: 1mm;">网址:www.ems.com.cn</span>
<span style="font-size: 3mm; margin-left: 1mm;">客服电话:11183</span>
</td>
<td style="border:0px dashed #000;width:15mm"></td>
</tr>
</table>
</td>
<td style="width:41.5mm;font-size: 2mm;">
<!-- <div style="position:absolute;top:141mm;left:1.5mm;width:40mm;">公司名称11:</div> -->
<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>
</tr>
</table>
</div>
<div id="div3">
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:0px dashed #000;width:74mm;font-family: '黑体';">
<tr>
<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;">
<tr>
<td style="width:37mm">
</td>
<td style="width:35mm">
<span style="font-size:3mm; position: absolute;top:1mm;left: 52mm;">标准快递</span>
<span style="font-size:7mm; position: absolute;top:3mm;left: 45mm;">实物返单</span>
<span style="font-size:2mm; position: absolute;top:10mm;left: 39mm;">时间:{{currentTime}}</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<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;">
<tr>
<td style="border:0px dashed #000;width:72mm">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="height:16mm;border-left:1px dashed #000;border-right:2px solid #000;">
<tr>
<td style="border-top:1px dashed #000;border-bottom:1px dashed #000;width:37mm;font-size: 3mm;">
<p style="position:absolute;top:21mm;left:1.5mm;">寄件:{{postMsgDetail[idx].senderName}}</p>
<p style="position:absolute;top:24mm;left:10mm;">{{postMsgDetail[idx].senderPhone}}</p>
<span style="position:absolute;top:30mm;left:10mm;width:27.5mm;">{{postMsgDetail[idx].senderAddress}}</span>
</td>
<td style="border:2px solid #000;border-right:0px;width:35mm;">
<p style="font-size: 8mm;width:35mm;position:absolute;top:15mm;left: 39mm">
{{postMsgDetail[idx].applicantName}}
</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:16mm">
<tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:72mm">
<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>
<p style="position:absolute;top:40mm;left:10mm;width:63.5mm;font-size: 4mm;">{{postMsgDetail[idx].recipientAddress}}</p></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:15mm;font-size: 3mm;">
<tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:29mm;">
<p style="position:absolute;top:53mm;left:1.5mm;">付款方式:</p>
<p style="position:absolute;top:57mm;left:1.5mm;">计费重量(KG):0.1</p>
<p style="position:absolute;top:61mm;left:1.5mm;">报价金额(元):</p>
</td>
<td style="border-right:1px dashed #000;border-bottom:1px dashed #000;width:43mm">
<p style="position:absolute;top:53mm;left:31mm;">收件人\代收人:</p>
<p style="position:absolute;top:57mm;left:31mm;">签收时间:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<span style="position:absolute;top:64mm;left:31mm;font-size: 2mm;width:40mm;">快件送达收货人地址,经收件人或收件人允许的代收人签字,视为送达。</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:21mm">
<tr>
<td style="border:1px dashed #000;border-top:0;width:72mm">
<p style="font-size:3mm; position:absolute;top:69mm;left:2mm;">订单号:</p>
<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>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height:4mm"></td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-collapse:collapse;height:12mm">
<tr>
<td style="border-right:1px dashed #000;width:72mm"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;
border-top:none;border-collapse:collapse;height:10mm;font-size: 3mm;">
<tr>
<td style="border-right:1px dashed #000;width:72mm">
<p style="position:absolute;top:105mm;left:2mm;">寄件:{{postMsgDetail[idx].senderName}}&nbsp;{{postMsgDetail[idx].senderPhone}}</p>
<p style="position:absolute;top:108mm;left:10mm;width:72mm;">{{postMsgDetail[idx].senderAddress}}</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000; border-bottom:none;
border-top:none;border-collapse:collapse;height:10mm;font-size: 3mm;">
<tr>
<td style="border:0px dashed #000;width:72mm">
<p style="position:absolute;top:115mm;left:2mm;">收件:{{postMsgDetail[idx].recipientName}}&nbsp;{{postMsgDetail[idx].recipientPhone}}</p>
<p style="position:absolute;top:118mm;left:10mm;width:62mm;">{{postMsgDetail[idx].recipientAddress}}</p></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;border-left:1px dashed #000;height:10mm">
<tr>
<td style="border-bottom:1px dashed #000;border-top:1px dashed #000;width:43mm">
<span style="position:absolute;top:128mm;left:1.5mm;font-size:3mm;">备注:</span>
</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 style="border:2px solid #000;width:24mm;height: 10mm;">
<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>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:6mm">
<tr>
<td style="border-right:1px dashed #000;width:47mm">
<span style="font-size: 2.5mm; margin-left: 0mm;">网址:www.ems.com.cn</span>
<span style="font-size: 2.5mm; margin-left: 0mm;">客服电话:11183</span>
</td>
<td style="border:0px dashed #000;width:25mm">
<span>
{{postMsgDetail[idx].UploadDistrict}}
</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</div>
......
......@@ -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_TABLE(13, 2, 960, 1400, document.getElementById("div3").innerHTML);
//(2019-07-01 改)
LODOP1.ADD_PRINT_BARCODE('14mm', '18mm', '52mm', '10mm',"128A",$scope.postMsgDetail[$scope.idx].waybillNumber);
LODOP1.ADD_PRINT_BARCODE('72mm', '16mm', '25mm', '7mm', "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('7mm', '4.5mm','72mm','18mm', "128A",$scope.postMsgDetail[$scope.idx].waybillNumber);
// LODOP1.ADD_PRINT_BARCODE('112mm','4.5mm', '46mm','10mm', "128A",$scope.postMsgDetail[$scope.idx].fileId);
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.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_STYLEA(1, "FontSize", 10);
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, "AngleOfPageInside", 0);
// LODOP1.PREVIEW();
......@@ -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(380, 13, 236, 40, "128A", $scope.postMsgDetail[$scope.idx].fxyjh);
//(2019-07-01 改)
LODOP.ADD_PRINT_BARCODE('13mm', '3mm','70mm','16mm', "128A",$scope.postMsgDetail[$scope.idx].backWaybillNumber);
LODOP.ADD_PRINT_BARCODE('93mm','5mm', '50mm','14mm', "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('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.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Full-Page");
LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Width:100%;Height:100%");
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, "AngleOfPageInside", 0);
// 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