index.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_main"}
  3. <div class="alert alert-block mt10">
  4. <ul class="mt5">
  5. <li>{$Think.lang.shopping_guidelines1}</li>
  6. <li>{$Think.lang.shopping_guidelines2}</li>
  7. <li>{$Think.lang.shopping_guidelines3}</li>
  8. </ul>
  9. </div>
  10. <form method="get" action="" target="_self">
  11. <table class="search-form">
  12. <input type="hidden" name="state" value="{$Request.param.state}" />
  13. <tr>
  14. <td></td>
  15. <th>{$Think.lang.store_order_add_time}</th>
  16. <td class="w240"><input type="text" class="text w70" name="query_start_date" id="query_start_date" value="{$Request.param.query_start_date}" /><label class="add-on"><i class="iconfont">&#xe8d6;</i></label>
  17. &nbsp;&#8211;&nbsp;
  18. <input id="query_end_date" class="text w70" type="text" name="query_end_date" value="{$Request.param.query_end_date}" /><label class="add-on"><i class="iconfont">&#xe8d6;</i></label></td>
  19. <th>{$Think.lang.store_order_buyer}</span></th>
  20. <td class="w100"><input type="text" class="text w80" name="buyer_name" value="{$Request.param.buyer_name}" /></td>
  21. <th>{$Think.lang.store_order_order_sn}</th>
  22. <td class="w160"><input type="text" class="text w150" name="order_sn" value="{$Request.param.order_sn}" /></td>
  23. <td class="w70 tc">
  24. <input type="submit" class="submit"value="{$Think.lang.store_order_search}" />
  25. </td>
  26. </tr>
  27. </table>
  28. </form>
  29. <table class="dssc-default-table order deliver">
  30. <tbody>
  31. {notempty name="order_list"}
  32. {foreach name="order_list" item="order" key="order_id" }
  33. <tr>
  34. <td colspan="21" class="sep-row"></td>
  35. </tr>
  36. <tr>
  37. <th colspan="21"><span class="ml5">{$Think.lang.store_order_order_sn}{$Think.lang.ds_colon}<strong>{$order.order_sn}</strong></span><span>{$Think.lang.store_order_add_time}{$Think.lang.ds_colon}<em class="goods-time">{$order.add_time|date="Y-m-d H:i:s"}</em></span>
  38. {if !empty($order['extend_order_common']['shipping_time'])}
  39. <span>{$Think.lang.member_show_order_send_time}{$Think.lang.ds_colon}<em class="goods-time">{$order['extend_order_common']['shipping_time']|date="Y-m-d H:i:s"}</em></span>
  40. {/if}
  41. <span class="fr mr10">
  42. {if $order.shipping_code != ''}
  43. <a href="{:url('Sellerdeliver/search_deliver',['order_sn'=>$order.order_sn])}" class="dssc-btn-mini"><i class="iconfont">&#xe720;</i>{$Think.lang.store_order_show_deliver}</a>
  44. {/if}
  45. <a href="{:url('Sellerorder/print_order',['order_id'=>$order.order_id])}" target="_blank" class="dssc-btn-mini" title="{$Think.lang.store_show_order_printorder}"/><i class="iconfont">&#xe7ca;</i>{$Think.lang.store_show_order_printorder}</a>
  46. </span>
  47. </th>
  48. </tr>
  49. {php}$i = 0;{/php}
  50. {foreach name="$order.goods_list" item="goods" key="k" }
  51. {php}$i++;{/php}
  52. <tr>
  53. <td class="bdl w10"></td>
  54. <td class="w50"><div class="pic-thumb"><a href="{$goods.goods_url}" target="_blank"><img src="{:goods_thumb($goods, 240)}" /></a></div></td>
  55. <td class="tl"><dl class="goods-name">
  56. <dt><a target="_blank" href="{$goods.goods_url}">{$goods.goods_name}</a></dt>
  57. <dd><strong>¥{$goods.goods_price}</strong>&nbsp;x&nbsp;<em>{$goods.goods_num}</em>{$Think.lang.piece}</dd>
  58. </dl></td>
  59. <!-- S 合并TD -->
  60. {if ($order['goods_count'] > 1 && $k == 0) || ($order['goods_count'] == 1)}
  61. <td class="bdl bdr order-info w500" rowspan="{$order.goods_count}"><dl>
  62. <dt>{$Think.lang.store_deliver_buyer_name}{$Think.lang.ds_colon}</dt>
  63. <dd>{$order.buyer_name} <span member_id="{$order.buyer_id}"></span>
  64. {if !empty($order['extend_member']['member_qq'])}
  65. <a target="_blank" href="{$Think.HTTP_TYPE}wpa.qq.com/msgrd?v=3&uin={$order['extend_member']['member_qq']}&site=qq&menu=yes" ><img border="0" src="{$Think.HTTP_TYPE}wpa.qq.com/pa?p=2:{$order['extend_member']['member_qq']}:52" style=" vertical-align: middle;"/></a>
  66. {/if}
  67. {if !empty($order['extend_member']['member_ww'])}
  68. <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid={$order['extend_member']['member_ww']}&site=cntaobao&s=2&charset=utf-8" class="vm" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid={$order['extend_member']['member_ww']}&site=cntaobao&s=2&charset=utf-8" alt="Wang Wang" style=" vertical-align: middle;"/></a>
  69. {/if}
  70. </dd>
  71. </dl>
  72. <dl>
  73. <dt>{$Think.lang.member_address_receiver_name}{$Think.lang.ds_colon}</dt>
  74. <dd>
  75. <div class="alert alert-info m0">
  76. <p><i class="iconfont">&#xe69b;</i>{$order['extend_order_common']['reciver_name']}<span class="ml30" title="{$Think.lang.store_order_phone}"><i class="iconfont">&#xe697;</i>{$order['extend_order_common']['reciver_info']['phone']}</span></p>
  77. <p class="mt5" title="{$Think.lang.store_deliver_buyer_address}"><i class="iconfont">&#xe720;</i>{$order['extend_order_common']['reciver_info']['address']}</p>
  78. {if $order['extend_order_common']['order_message'] != ''}
  79. <p class="mt5" title="{$Think.lang.store_deliver_buyer_address}"><i class="iconfont">&#xe720;</i>{$order['extend_order_common']['order_message']}</p>
  80. {/if}
  81. </div>
  82. </dd>
  83. </dl>
  84. <dl>
  85. <dt>{$Think.lang.store_deliver_shipping_amount}{$Think.lang.ds_colon} </dt>
  86. <dd>
  87. {if !empty($order['shipping_fee']) && $order['shipping_fee'] != '0.00'}
  88. ¥{$order.shipping_fee}
  89. {else/}
  90. {$Think.lang.ds_common_shipping_free}
  91. {/if}
  92. {if empty($order['lock_state'])}
  93. {if $order['order_state'] == ORDER_STATE_PAY}
  94. {if !isset($order.pintuanorder_state) || $order.pintuanorder_state==2}
  95. <span><a href="{:url('Sellerdeliver/send',['order_id'=>$order.order_id])}" class="dssc-btn-mini dssc-btn-green fr"><i class="iconfont">&#xe6f1;</i>{$Think.lang.store_order_send}</a></span>
  96. {else /}
  97. <span>{$order.pintuanorder_state_text}</span>
  98. {/if}
  99. {elseif $order['order_state'] == ORDER_STATE_SEND /}
  100. <span>
  101. <a href="javascript:void(0)" class="dssc-btn-mini dssc-btn-orange ml5 fr" uri="{:url('Sellerdeliver/delay_receive',['order_id'=>$order.order_id])}" dialog_width="480" dialog_title="{$Think.lang.delay_receiving}" ds_type="dialog" dialog_id="seller_order_delay_receive" id="order{$order.order_id}_action_delay_receive" /><i class="iconfont">&#xe736;</i></i>{$Think.lang.delay_receiving}</a>
  102. <a href="{:url('Sellerdeliver/send',['order_id'=>$order.order_id])}" class="dssc-btn-mini dssc-btn-acidblue fr"><i class="iconfont">&#xe731;</i>{$Think.lang.store_deliver_modify_info}</a>
  103. </span>
  104. {/if}
  105. {/if}
  106. </dd>
  107. </dl>
  108. </td>
  109. {/if}
  110. <!-- E 合并TD -->
  111. </tr>
  112. <!-- S 赠品列表 -->
  113. {if !empty($order['zengpin_list']) && $i == count($order['goods_list'])}
  114. <tr>
  115. <td class="bdl w10"></td>
  116. <td colspan="2" class="tl">
  117. <div class="dssc-goods-gift">{$Think.lang.store_deliver_gifts}:
  118. <ul>
  119. {foreach name="$order.zengpin_list" item="zengpin_info" key="k" }
  120. <li><a title="{$Think.lang.store_deliver_gifts}:{$zengpin_info.goods_name} * {$zengpin_info.goods_num}" href="{$zengpin_info.goods_url}" target="_blank"><img src="{:goods_thumb($zengpin_info,240)}"/></a></li>
  121. {/foreach}
  122. </ul>
  123. </div>
  124. </td>
  125. </tr>
  126. {/if}
  127. <!-- E 赠品列表 -->
  128. {/foreach}
  129. {/foreach}
  130. {else/}
  131. <tr>
  132. <td colspan="21" class="norecord"><div class="warning-option"><i class="iconfont">&#xe64c;</i><span>{$Think.lang.no_record}</span></div></td>
  133. </tr>
  134. {/notempty}
  135. </tbody>
  136. <tfoot>
  137. {notempty name="order_list"}
  138. <tr>
  139. <td colspan="21"><div class="pagination"></div></td>
  140. </tr>
  141. {/notempty}
  142. </tfoot>
  143. </table>
  144. {$show_page|raw}
  145. <script type="text/javascript">
  146. $(function(){
  147. $('#query_start_date').datepicker({dateFormat: 'yy-mm-dd'});
  148. $('#query_end_date').datepicker({dateFormat: 'yy-mm-dd'});
  149. });
  150. </script>
  151. {/block}