delivery_allprint_dofetch.html 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?php foreach($need_data as $val){ ?>
  2. <div class="w794">
  3. <table width ="794px" cellpadding="0">
  4. <tr class="lft">
  5. <td class="tdleft bold"><?php echo $shoname; ?></td>
  6. <td class="tdleft bold">(团长配送清单)</td>
  7. </tr>
  8. <tr class="lft">
  9. <td class=" ">团长名称:<?php echo $val['head_info']['head_name']; ?></td>
  10. <td class=" ">团长电话:<?php echo $val['head_info']['head_mobile']; ?></td>
  11. </tr>
  12. <tr class="lft">
  13. <td class=" ">配送地址:<?php echo $val['head_info']['head_address']; ?></td>
  14. <td class=" "></td>
  15. </tr>
  16. <tr class="lft">
  17. <td class=" ">配送单号:<?php echo $val['head_info']['list_sn']; ?></td>
  18. <td class=" ">配送时间:</td>
  19. </tr>
  20. <tr class="lft">
  21. <td class=" ">司机名称:<?php echo $val['head_info']['clerk_name']; ?></td>
  22. <td class=" ">司机电话:<?php echo $val['head_info']['clerk_mobile']; ?></td>
  23. </tr>
  24. <tr class="lft">
  25. <td class=" ">配送线路:<?php echo $val['head_info']['line_name']; ?></td>
  26. </tr>
  27. </table>
  28. </div>
  29. <div class="w794">
  30. <table width ="792px" border="1" cellpadding="0">
  31. <th colspan="6">团长配送清单</th>
  32. <tr class="a">
  33. <td class="td1">序号</td>
  34. <td class="td2">商品名称</td>
  35. <td class="td4">规格</td>
  36. <td class="td3">数量</td>
  37. <td class="td5">单价</td>
  38. <td class="td6">总价</td>
  39. </tr>
  40. <?php $i=1; foreach($val['order_goods_list'] as $order_goods){ ?>
  41. <tr class="a">
  42. <td class="num"><?php echo $i; ?></td>
  43. <td><?php echo $order_goods['goods_name']; ?></td>
  44. <td data-rel="(<?php echo $order_goods['rela_goodsoption_valueid']; ?>)"><?php echo $order_goods['sku_str']; ?></td>
  45. <td><?php echo $order_goods['goods_count']; ?></td>
  46. <td><?php echo sprintf('%.2f', $order_goods['price'] ); ?></td>
  47. <td><?php echo $order_goods['total']; ?></td>
  48. </tr>
  49. <?php $i++; } ?>
  50. </table>
  51. </div>
  52. <div style="height:20px;"></div>
  53. <?php if( !empty($val['wait_pay_moeny_list'] ) ){ ?>
  54. <div class="w794">
  55. <table width ="792px" border="1" cellpadding="0">
  56. <th colspan="4">货到付款待收清单</th>
  57. <tr class="a">
  58. <td class="td1">用户名</td>
  59. <td class="td2">手机号</td>
  60. <td class="td4">应收金额</td>
  61. <td class="td3">签收</td>
  62. </tr>
  63. <?php foreach( $val['wait_pay_moeny_list'] as $money_val ){ ?>
  64. <tr class="a">
  65. <td><?php echo $money_val['username']; ?></td>
  66. <td><?php echo $money_val['moble']; ?></td>
  67. <td><?php echo $money_val['wait_pay_money']; ?></td>
  68. <td></td>
  69. </tr>
  70. <?php } ?>
  71. </table>
  72. </div>
  73. <?php } ?>
  74. <div style="height:20px;"></div>
  75. <div class="PageNext"></div>
  76. <?php } ?>