//发货单和物流单模板打印字段对照表:
[当前日期]
[单据编号]
[平台单号]
[会员名称]
[店铺名称]
[物流公司]
[物流单号]
[仓库]
[仓库联系人]
[仓库联系人电话]
[仓库联系人手机]
[仓库备注]
[仓库地址]
[物流费用]
[买家留言]
[卖家备注]
[二次备注]
[省市区]
[收货人]
[收货人电话]
[收货人手机]
[收货人邮编]
[收货人地址]
[订单金额]
[商品总数]
[商品总重量]
重量:[标准重量]克
[支付金额]
[未付金额]
[支付时间]
[制单人]
[寄件人姓名]
[寄件人地址]
[寄件人电话]
[寄件人手机]
[寄件人邮编]
[店铺备注]
[发票抬头]
[业务员]
[区域代码]
[大头笔]
[顺丰原地址]
[顺丰目的地]
[顺丰物流类型]
[波次号]
[顺丰月结账号]
[商品类型]
[商品代码]
[商品名称]
[来源商品代码]
[来源商品名称]
[商品简称]
[规格代码]
[规格名称]
[平台商品名称]
[平台规格名称]
[商品图片]
[数量]
[折扣]
[标准单价]
[实际单价]
[标准金额]
[实际金额]
[让利金额]
[让利后金额]
[商品重量]
[商品备注]
[库位代码]
[库位名称]
//条码打印模板字段对照表
[条码]
[商品代码]
[商品名称]
[商品简称]
[规格代码]
[规格名称]
[类别]
[标准售价]
[采购数量]
[打印数量]
[数量明细]
市区
<base href="http://www.guanyierp.com/tc/delivery/logistics/dialog/"/><script language="javascript">
document.write("<span style='font-size:30px'>"+"[省市区]".split("-",3)[1]+"</span>");
</script>
<script language="javascript">
document.write("<span style='font-size:30px'>"+"[省市区]".split("-",3)[2]+"</span>");
</script>
商品不换行
<tr id=order-item col=2>
打印商品
<base href="http://www.guanyierp.com/tc/delivery/invoice/dialog/"/><style> table, td, th {
font-size: 18px;
border-width: 0px;
border-style: solid;
border-color: #000;
border-collapse: collapse
}</style>
<table>
<tr id=order-item col=2>
<td width="150px">[规格代码]*[数量]</td>
</tr>
</table>
打印商品
<base href="http://www.guanyierp.com/tc/delivery/pickup_order/dialog/"/><style> table, td, th {
font-size: 15px;
border-width: 0x;
border-collapse: collapse
}</style>
<div style="height:90px; overflow: hidden">
<table>
<tr id=order-item>
<td> [数量]* </td>
<td> [规格名称]</td>
</tr>
</table>
</div>
打印时间时分秒
<script type="text/javascript">
var currentDate = new Date();
document.write("<span style='font-size:12px;'>"+currentDate.getFullYear() + "-"
+ (currentDate.getMonth()+1) + "-"
+ currentDate.getDate() + " "
+ currentDate.getHours() + ":"
+ currentDate.getMinutes()+":"
+ currentDate.getSeconds()
+ "</span>");
</script>