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.
264 lines
9.6 KiB
264 lines
9.6 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title>报价单打印格式</title>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<table style="text-align: center; width: 100%" cellspacing="0" cellpadding="0" align="center">
|
|
<tr>
|
|
<td style="font-size: 26px; font-weight: bold; height: 40px;">
|
|
<?php if(!empty($shop_info['shop_logo'])){ ?>
|
|
<img src="<?php echo str_replace(array('../') , '', $shop_info['shop_logo']); ?>" alt="Logo" width="134" />
|
|
<?php } ?>
|
|
<?php echo $shop_info['shop_name']; ?>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-size: 12px; height: 20px;">地址:<?php echo $shop_info['shop_address']; ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-size: 12px; height: 20px;">
|
|
传真:<?php echo $shop_info['kf_tel'] . " "; ?>
|
|
<?php
|
|
if(!empty($shop_info['kf_qq'])){
|
|
echo "QQ客服:" . $shop_info['kf_qq'] . " ";
|
|
}
|
|
if(!empty($shop_info['kf_qq'])){
|
|
echo "淘宝客服:" . $shop_info['kf_ww'];
|
|
}
|
|
?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-size: 12px; height: 20px;">网址:www.ecmoban.com</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-size: 12px; height: 20px;"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-size: 26px; font-weight: bold; height: 40px;">订单</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<!--ecmoban模板堂 --zhuo start-->
|
|
<table style="margin: auto; width: 980px; font-family: 宋体;" cellspacing="0" cellpadding="0" align="center">
|
|
<tr>
|
|
<td style="width:200px; font-size: 12px;">
|
|
<table style="width: 100%" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td style="height:20px">收货人姓名: <?php echo $consignee['consignee'];?></td>
|
|
<td style="height:20px"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px"> 收货地址: <?php echo $consignee['address'];?></td>
|
|
<td style="height:20px"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px">电 话:<?php echo $consignee['tel'];?></td>
|
|
<td style="height:20px"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px">传 真:<?php echo $consignee['sign_building'];?></td>
|
|
<td style="height:20px"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px">手 机:<?php echo $consignee['mobile'];?></td>
|
|
<td style="height:20px"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px">电子邮件:<?php echo $consignee['email'];?></td>
|
|
<td style="height:20px"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px">期望交货期:<?php echo $consignee['best_time'];?></td>
|
|
<td style="height:20px"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:10px"></td>
|
|
<td style="height:10px"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td style="width: 600px; "></td>
|
|
<td style="width: 150px; font-size: 12px;">
|
|
<table style="width: 100%" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td style="height:20px">订单号: </td>
|
|
<td style="height:20px"><?php echo $order_inf['order_sn'];?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px">下单时间: </td>
|
|
<td style="height:20px"><?php echo $order_inf['add_time'];?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px">负责业务: </td>
|
|
<td style="height:20px">开发部</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px">手 机: </td>
|
|
<td style="height:20px">13811221526</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px">币 别:</td>
|
|
<td style="height:20px">RMB</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px"></td>
|
|
<td style="height:20px"></td>
|
|
</tr>
|
|
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!--ecmoban模板堂 --zhuo end-->
|
|
|
|
<div style="height:10px; overflow:hidden;"></div>
|
|
<div style="height:10px; overflow:hidden;"></div>
|
|
|
|
|
|
<table style="border: 1px solid #000000; text-align: center; background: #FFFFFF; width: 980px; margin: auto" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td style="height:30px; width: 39px; font-size: 12px; font-weight: bold; text-align: center; border-bottom: 1px solid #000000;border-right: 1px solid #000000;">序号</td>
|
|
<td style="height:30px; width: 149px; font-size: 12px; font-weight: bold; text-align: center; border-bottom: 1px solid #000000;border-right: 1px solid #000000;">订货号</td>
|
|
<td style="height:30px; width: 359px; font-size: 12px; font-weight: bold; text-align: center; border-bottom: 1px solid #000000;border-right: 1px solid #000000;">产品名称</td>
|
|
<td style="height:30px; width: 169px; font-size: 12px; font-weight: bold; text-align: center; border-bottom: 1px solid #000000;border-right: 1px solid #000000;">产品属性</td>
|
|
<td style="height:30px; width: 79px; font-size: 12px; font-weight: bold; text-align: center; border-bottom: 1px solid #000000;border-right: 1px solid #000000;">数量</td>
|
|
<td style="height:30px; width: 79px; font-size: 12px; font-weight: bold; text-align: center; border-bottom: 1px solid #000000;border-right: 1px solid #000000;">单价</td>
|
|
<td style="height:30px; width: 100px; font-size: 12px; font-weight: bold; text-align: center; border-bottom-style: solid; border-bottom-color: #000000; border-bottom-width: 1px;">金额</td>
|
|
</tr>
|
|
<?php foreach ($order_goods as $k=>$v):?>
|
|
<tr>
|
|
<td style="height:30px; width: 39px; font-size: 12px; text-align: center; border-bottom: 1px solid #000000;border-right: 1px solid #000000;"><?php echo $k+1;?></td>
|
|
<td style="height:30px; width: 149px; font-size: 12px; text-align: center; border-bottom: 1px solid #000000;border-right: 1px solid #000000;"><?php echo $v['goods_sn']?></td>
|
|
<td style="height:30px; width: 359px; font-size: 12px; text-align: center; border-bottom: 1px solid #000000;border-right: 1px solid #000000;"><?php echo $v['goods_name'];?></td>
|
|
<td style="height:30px; width: 169px; font-size: 12px; text-align: center; border-bottom: 1px solid #000000;border-right: 1px solid #000000;"><?php echo $v['goods_attr'];?></td>
|
|
<td style="height:30px; width: 79px; font-size: 12px; text-align: center; border-bottom: 1px solid #000000;border-right: 1px solid #000000;"><?php echo $v['goods_number'];?></td>
|
|
<td style="height:30px; width: 79px; font-size: 12px; text-align: center; border-bottom: 1px solid #000000;border-right: 1px solid #000000;"><?php echo $v['formated_goods_price'];?></td>
|
|
<td style="height:30px; width: 100px; font-size: 12px; text-align: center; border-bottom-style: solid; border-bottom-color: #000000; border-bottom-width: 1px;">
|
|
<?php echo $v['formated_subtotal']?>
|
|
<br/>
|
|
<?php
|
|
if($v['dis_amount'] > 0){
|
|
echo "<font style='color:#F00'>(优惠:" . $v['discount_amount'] . ")</font>";
|
|
}
|
|
?>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach;?>
|
|
<tr>
|
|
<td style="border-bottom: 1px solid #000000; height:30px; font-size: 12px; text-align: left; " colspan="7"> 留言:</td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<table style="border: 1px solid #000000; text-align: left; background: #FFFFFF; width: 1014px; margin: auto; font-size: 12px;" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td style="width:70%">
|
|
|
|
<table style="width: 100%" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td align="center" style="height:25px; font-size: 12px; font-weight: bold;" colspan="3">条款说明</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px; width: 100px; text-align:right">付款方式:</td>
|
|
<td style="height:20px" colspan="2"><?php echo $order_inf['pay_name'];?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px; width: 100px; text-align:right">配送方式:</td>
|
|
<td style="height:20px" colspan="2"><?php echo $order_inf['shipping_name'];?></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3"> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
<td style="width:30%; border-left: 1px solid #000000">
|
|
<table style="width: 100%" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td style="height:20px"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px"> 总金额: <?php echo $order_inf['order_amount'];?>(RMB)</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color:#F00"> 包含:</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color:#F00"> 运费: <?php echo $order_inf['formated_shipping_fee'];?>(RMB)</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px"> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<table style="border: 1px solid #000000; text-align: left; background: #FFFFFF; ; margin: auto; font-size: 12px; width:1014px;" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td style="width: 30px">
|
|
</td>
|
|
|
|
<td style="border-right: 1px solid #000000; width: 470px">
|
|
<table style="width: 470px" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td style="height:20px"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px"> 客户确认:</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px"> <?php echo $consignee['consignee'];?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px"> </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
|
|
<td style="width: 500px">
|
|
<table style="width: 500px" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td style="height:20px"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px"> 公司确认:</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px; font-size: 26px;"> <?php echo $shop_info['shop_name']; ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="height:20px"> </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|