You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
simple-yewu/frontend/views/print/op-ems-print1.php

256 lines
11 KiB

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>打印快递单</title>
<style>
*{
padding:0;
margin:0;}
</style>
<script src="/js/jquery.min.js"></script>
<script src="/js/LodopFuncs.js"></script>
<script src="/js/expElePrint.js"></script>
</head>
<body>
<script>
window.onload=function() {
// try{
// var LODOP=getLodop();
// if (LODOP.VERSION) {
// if (LODOP.CVERSION)
// alert("当前有C-Lodop云打印可用!\n C-Lodop版本:"+LODOP.CVERSION+"(内含Lodop"+LODOP.VERSION+")");
// else
// alert("本机已成功安装了Lodop控件!\n 版本号:"+LODOP.VERSION);
//
// };
// }catch(err){
// }
//
//
// console.log(LODOP);
var datas=<?=$mailNo?>;
// alert(datas+'快递单号已保存在订单里!');
lodopPrintTable(datas);
};
</script>
<div id="printContext" class="ordercontent"
style="margin-top: 15px; width: 630px; height: 665px; float: left; overflow-y: auto; text-align: center; display:block">
<div id="expressPrintArea">
<style>
.wayBill li {
float: left;
width: 85px;
}
.wayBill li a:hover {
color: blue;
}
.wayBill li a {
color: blue;
}
#expressPrintArea {
width: 100mm;
height: 180mm;
/*margin-left: 100px;*/
/* float: left; */
/* background: url('../images/order/lttBackground.jpg') no-repeat; */
background-size: 104mm 175mm;
/*padding: 4mm 0.5mm 0.5mm 2.3mm;*/
}
td {
border: 0.4mm solid #000000;
padding-left: 1mm;
font-size: 12px;
font-family: 宋体;
vertical-align: middle;
text-align: left;
}
tr {
width: 100%;
border-left:0mm;
border-right:0mm;
/*border: 0.2mm solid #000000;*/
}
.singlePlane{
font-size:7pt;width:60mm;font-family:黑体;
text-align:left;
valign:top;
}
.singlePlane2{
font-size:7pt;width:60mm;font-family:黑体;
text-align:left;
valign:top;
}
.sign{
font-size:8pt;width:60mm;font-family:黑体;
text-align:right;
}
.houseCode td{
font-size:17px;width:20mm;font-family:黑体; font-weight:bold; text-align:center;
}
</style>
<span class="markerPenCode" style="display: none;"></span>
<table border="0" style="width: 99mm;border-collapse:collapse;">
<!-- <%--==================================上联=============================================--%> -->
<tr class="tr1">
<td width="10mm"></td>
<td width="10mm"></td>
<td width="10mm"></td>
<td width="10mm"></td>
<td width="10mm"></td>
<td width="10mm"></td>
<td width="10mm"></td>
<td width="10mm"></td>
<td width="10mm"></td>
<td width="5mm"></td>
</tr>
<!-- <%--德邦--%> -->
<tr style="height: 14mm;">
<td colspan="3"></td>
<td valign="middle" colspan="3"style="border-top:0mm;font-weight:bold; text-align:center; color:#000000; font-size:20px;" id="refundPaymentId">德邦</td>
<td valign="middle" colspan="2"style="border-top:0mm;line-height:72px;font-weight:bold; text-align:center; color:#000000; font-size:20px;" id="payTypeId"></td>
<td valign="middle" colspan="2"style="border-top:0mm;background:#FFFFFF;line-height:72px;font-weight:bold; text-align:center; color:#000000; font-size:13px;" id = "transTypeId">
<span class=transType></span></td>
</tr>
<!-- <%--金额--%> -->
<tr style="height: 11mm;">
<td colspan="5" style="width: 30mm; vertical-align: middle; border-right: 0px;">
<span style="padding-bottom: 1.5mm;"><strong>代收金额:</strong></span><span
class="refundPayment">0</span><br/>
<span style="padding-bottom: 1.5mm;"><strong>标准快递</strong></span>
</td>
<td colspan="5" style="width: 50mm; vertical-align: middle; border-left: 0px;">
<span style="padding-bottom: 1.5mm;"><strong>保价金额:</strong></span><span
class="insuranceMoney">0</span><br/>
<span style="padding-bottom: 1.5mm;"><strong>签单返回:</strong></span><span
class="signSheet">0</span><br/>
</td>
</tr>
<!-- <%--大头笔--%> -->
<tr style="height: 14mm;" >
<td colspan="10" style="text-align: center; line-height: 13mm; vertical-align: middle;font-size: 35px; font-weight: bold; margin: 0px; padding: 0px;" id="markerPen">
<?=$bigNo?>
</td>
</tr>
<!-- <%--收件人--%> -->
<tr style="height: 14mm;">
<td colspan="1" style="border-right:0mm;font-size:10px;width:10mm;font-family:黑体;text-align:center;">收</td>
<td colspan="9"
style="border-right:0mm;font-size:10pt;width:90mm;font-family:黑体;font-weight:bold;text-align:left; " id="conMsg">
<span class="conName"><?=$params['insurer_name']?></span>&nbsp;&nbsp;
<span class="conPhone"><?=$params['link_tel']?></span><br/>
<span class="caddress"><?=$params['receiver_province']?><?=$params['receiver_city']?><?=$params['receiver_county']?><?=$params['receiver_address']?></span>
</td>
</tr>
<!-- <%--寄件人--%> -->
<tr style="height: 11mm;">
<td colspan="1" style="border-right:0mm;font-size:25px;width:10mm;font-family:黑体;font-weight:bold;text-align:center;">
</td>
<td colspan="9"
style="border-right:0mm;font-size:8pt;width:90mm;font-family:黑体;text-align:left;">
<span class="shipperName"><?=$sender['name']?></span>&nbsp;&nbsp;&nbsp;
<span class="shipperPhone"><?=$sender['phone']?></span><br/>
<span class="saddress"><?=$sender['mobile']?></span>
</td>
</tr>
<!-- <%--运单号条码--%> -->
<tr style="height: 23mm;">
<td colspan="10"></td>
</tr>
<!-- <%--打印时间验视--%> -->
<tr style="height: 18mm; text-align: left;">
<td colspan="2" valign="bottom" colspan="2" style="text-align:left;font-size:12px;font-family:黑体;width:20mm;border-right:0mm;">
<span class="printTime">
<?=$time?>
</span><br/>
打印时间
</td>
<td colspan="6">
<div class = "singlePlane">
快件送达收件人地址,经收件人或收件人(寄件人)允许的代收人签字,视为送达。您的签字代表您已经签收次包裹,并已确定商品信息无损,包装完好、没有划痕、破损等表面质量问题。
<br/>
</div>
<div class="sign">
签收栏
</div>
</td>
<td valign="bottom" colspan="2" style="text-align:center;font-size:12px;width:20mm;font-family:黑体;border-right:0mm;">
已验视
</td>
</tr>
<!-- <%--==================================下联=============================================--%> -->
<!-- <%--德邦图标--%> -->
<tr style="height: 12mm;" >
<td colspan="4" align="center"></td>
<td colspan="6" align="center">
</td>
</tr>
<!-- <%--收件人--%> -->
<tr style="height: 12mm;">
<td colspan="1"style="border-right:0mm;font-family:黑体;font-size:11pt;text-align:center;"> 收</td>
<td colspan="7"style="font-family:黑体;text-align:left; font-size:10px;font-weight:bold;" id="conMsg2">
<span class="conName"><?=$params['insurer_name']?></span>&nbsp;&nbsp;
<span class="conPhone"><?=$params['link_tel']?></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span class="conTel"></span><br/><span class="caddress"><?=$params['receiver_province']?><?=$params['receiver_city']?><?=$params['receiver_county']?><?=$params['receiver_address']?></span></td>
<td valign="bottom" rowspan="2" style="width:20mm;border-right:0mm;">
</td>
</tr>
<!-- <%--寄件人--%> -->
<tr style="height: 11mm;">
<td colspan="1"style="font-weight:bold;border-right:0mm;font-family:黑体;font-size:14pt;width:10mm;text-align:center;">寄</td>
<td colspan="7"style="font-family:黑体;text-align:left; font-size:7pt;width:70mm">
<span class="shipperName"><?=$sender['name']?></span>&nbsp;&nbsp;&nbsp;
<span class="shipperPhone"><?=$sender['phone']?></span><br/>
<span class="saddress"><?=$sender['mobile']?></span>
</tr>
<tr style="height: 12mm; text-align: left;">
<td colspan="4" align="center">德邦</td>
<td colspan="6" align="center"></td>
</tr>
<tr style="height: 5mm;">
<td colspan="1" style="border-right:0mm;font-size:10px;width:10mm;font-family:黑体;text-align:center;">收</td>
<td colspan="9"
style="border-right:0mm;font-size:5pt;width:90mm;font-family:黑体;font-weight:bold;text-align:left; " id="conMsg">
<span class="conName"><?=$params['insurer_name']?></span>&nbsp;&nbsp;
<span class="conPhone"><?=$params['link_tel']?></span>&nbsp;&nbsp;&nbsp;<span class="conTel"></span><br/>
<span class="caddress"><?=$params['receiver_province']?><?=$params['receiver_city']?><?=$params['receiver_county']?><?=$params['receiver_address']?></span>
</td>
</tr>
<!-- <%--寄件人--%> -->
<tr style="height: 5mm;">
<td colspan="1" style="border-right:0mm;font-size:14px;width:10mm;font-family:黑体;font-weight:bold;text-align:center;">
</td>
<td colspan="9"
style="border-right:0mm;font-size:5pt;width:90mm;font-family:黑体;text-align:left;">
<span class="shipperName"><?=$sender['name']?></span>&nbsp;&nbsp;&nbsp;
<span class="shipperPhone"><?=$sender['mobile']?></span>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>