123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <?php foreach($need_data as $val){ ?>
- <div class="w794">
- <table width ="794px" cellpadding="0">
- <tr class="lft">
- <td class="tdleft bold"><?php echo $shoname; ?></td>
- <td class="tdleft bold">(团长配送清单)</td>
- </tr>
- <tr class="lft">
- <td class=" ">团长名称:<?php echo $val['head_info']['head_name']; ?></td>
- <td class=" ">团长电话:<?php echo $val['head_info']['head_mobile']; ?></td>
- </tr>
- <tr class="lft">
- <td class=" ">配送地址:<?php echo $val['head_info']['head_address']; ?></td>
- <td class=" "></td>
- </tr>
- <tr class="lft">
- <td class=" ">配送单号:<?php echo $val['head_info']['list_sn']; ?></td>
- <td class=" ">配送时间:</td>
- </tr>
- <tr class="lft">
- <td class=" ">司机名称:<?php echo $val['head_info']['clerk_name']; ?></td>
- <td class=" ">司机电话:<?php echo $val['head_info']['clerk_mobile']; ?></td>
- </tr>
- <tr class="lft">
- <td class=" ">配送线路:<?php echo $val['head_info']['line_name']; ?></td>
-
- </tr>
- </table>
- </div>
- <div class="w794">
- <table width ="792px" border="1" cellpadding="0">
- <th colspan="6">团长配送清单</th>
- <tr class="a">
- <td class="td1">序号</td>
- <td class="td2">商品名称</td>
- <td class="td4">规格</td>
- <td class="td3">数量</td>
- <td class="td5">单价</td>
- <td class="td6">总价</td>
- </tr>
- <?php $i=1; foreach($val['order_goods_list'] as $order_goods){ ?>
- <tr class="a">
- <td class="num"><?php echo $i; ?></td>
- <td><?php echo $order_goods['goods_name']; ?></td>
- <td data-rel="(<?php echo $order_goods['rela_goodsoption_valueid']; ?>)"><?php echo $order_goods['sku_str']; ?></td>
- <td><?php echo $order_goods['goods_count']; ?></td>
- <td><?php echo sprintf('%.2f', $order_goods['price'] ); ?></td>
- <td><?php echo $order_goods['total']; ?></td>
- </tr>
- <?php $i++; } ?>
- </table>
- </div>
- <div style="height:20px;"></div>
- <?php if( !empty($val['wait_pay_moeny_list'] ) ){ ?>
- <div class="w794">
- <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 } ?>
- <div style="height:20px;"></div>
- <div class="PageNext"></div>
- <?php } ?>
|