delivery_allprint_order_dofetch_2.html 4.9 KB

1
  1. <?php if( $page == 1 ){ ?><?php } ?> <?php // dump($need_user_head_delivery_list); ?> <!--here begin --> <?php foreach( $need_user_head_delivery_list as $more_val ){ ?> <?php foreach($more_val as $val){ ?> <?php //dump($val); ?> <div class="w794"> <table width ="794px" cellpadding="0"> <tr class="lft"> <td class="tdleft bold" style="text-align: center;font-size:18px;" colspan="5"> <?php echo $val['user_info']['community_name']; ?>小区提货单(日期 <?php echo date('Y-m-d', $val['user_info']['deliverylist_addtime']) ?>)</td> </tr> <tr class="lft"> <td class=" ">团长电话:<?php echo $val['user_info']['head_name']; ?> &nbsp;&nbsp; <?php echo $val['user_info']['head_mobile']; ?></td> <td class=" ">团长地址:<?php echo $val['user_info']['head_address']; ?></td> </tr> </table> </div> <div class="w794" > <table width ="792px" border="1" cellpadding="0"> <tbody > <tr class="a"> <td class="td4">联系人/<br/>联系电话</td> <td class="td6">小区名称</td> <td class="td2">商品名称</td> <td class="td3">商品规格</td> <td class="td4">商品数量</td> <td class="td6">详细地址</td> <td class="td4">已提货/已配送</td> </tr> <tr> <td style="text-align:center;"> <div class="tDiv"> <?php echo $val['user_info']['shipping_name']; ?><br/> <?php echo $val['user_info']['shipping_tel']; ?> <?php if( $val['user_info']['wait_pay_money'] > 0 ){ ?> <br/> <font color="red">待收:¥<?php echo $val['user_info']['wait_pay_money']; ?></font> <?php } ?> <div> </td> <td style="text-align:center;"> <?php $g_count = count($val['goods_arr']); $i = 1; ?> <?php foreach( $val['goods_arr'] as $goods ){ ?> <div class="tpinfo <?php if( $i == $g_count ){ ?>last<?php } ?> "> <?php echo $goods['head_name']; ?> </div> <?php $i++; } ?> </td> <td style="text-align:left; font-size:13px;" class="pd2"> <?php $i = 1; ?> <?php foreach( $val['goods_arr'] as $goods ){ ?> <div class="tpinfo <?php if( $i == $g_count ){ ?>last<?php } ?> "> <?php echo mb_substr($goods['goods_name'],0,27,'utf-8'); ?> </div> <?php $i++; } ?> </td> <td style="text-align:center;"> <?php $i = 1; ?> <?php foreach( $val['goods_arr'] as $goods ){ ?> <div class="tpinfo <?php if( $i == $g_count ){ ?>last<?php } ?> "> <?php echo $goods['sku_name']; ?> </div> <?php $i++; } ?> </td> <td style="text-align:center;"> <?php $i = 1; ?> <?php foreach( $val['goods_arr'] as $goods ){ ?> <div class="tpinfo <?php if( $i == $g_count ){ ?>last<?php } ?> "> <?php echo $goods['quantity']; ?> </div> <?php $i++; } ?> </td> <td style="text-align:center; font-size:13px;"> <?php $i = 1; ?> <?php foreach( $val['goods_arr'] as $goods ){ ?> <div class="tpinfo <?php if( $i == $g_count ){ ?>last<?php } ?> "> <?php echo $val['user_info']['shipping_address']; ?> </div> <?php $i++; } ?> </td> <td style="text-align:center;"> <div class="tDiv"> <?php if( $val['user_info']['delivery'] == 'express'){ ?> 快递:<?php echo $val['user_info']['shipping_address']; ?> <?php }else if( $val['user_info']['delivery'] == 'tuanz_send'){ ?> 配送:<?php echo $val['user_info']['tuan_send_address']; ?> <?php }else { ?> 自提 <?php } ?> <div> </td> <td style="text-align:center;"></td> </tr> <?php } ?> <tr> <td style="text-align:center;"></td> <td style="text-align:center;font-weight:bold;">合计数量</td> <td style="text-align:center;"></td> <td style="text-align:center;"></td> </td><td style="text-align:center;"><?php echo $head_count_arr[ $val['user_info']['head_id'] ]; ?></td> <td style="text-align:center;"></td> <td style="text-align:center;"></td> </tr> </tbody> </table> </div> <div style="height:20px;"></div> <?php foreach( $need_data as $val ){ ?> <?php if( !empty($val['wait_pay_moeny_list'] ) ){ ?> <div class="w794" style="display:none;"> <table width ="792px" border="1" cellpadding="0"> <th colspan="4">货到付款待收清单</th> <tr class="a"> <td class="td1">用户名</td> <td class="td2">手机号</td> <td class="td4">应收金额</td> <td class="td3">签收</td> </tr> <?php foreach( $val['wait_pay_moeny_list'] as $money_val ){ ?> <tr class="a"> <td><?php echo $money_val['username']; ?></td> <td><?php echo $money_val['moble']; ?></td> <td><?php echo $money_val['wait_pay_money']; ?></td> <td></td> </tr> <?php } ?> </table> </div> <?php } ?> <?php } ?> <div class="PageNext"></div> <br> <br> <br> <br> <?php } ?> <!--here end--> <?php if( $page == 1 ){ ?> <?php } ?>