confirmedList.wxml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. <!--confirmedList.wxml 订单详情 -->
  2. <view class="container">
  3. <!-- 订单信息 -->
  4. <view class="header">
  5. <block wx:if="{{goosdListnew.order_number_o == ''}}">
  6. <view class="order_time order_time_line">下单时间:<text>{{orderTime}}</text></view>
  7. </block>
  8. <block wx:else>
  9. <view class="order_time order_time_line">赠送时间:<text>{{orderTime}}</text></view>
  10. </block>
  11. <view class="order_time">订单编号:<text>{{goosdListnew.order_number}}</text></view>
  12. <!-- 未拆分订单 -->
  13. <block wx:if="{{goosdListnew.order_number_o == ''}}">
  14. <view wx:if="{{orderState == 1}}" class="confirme_btn btn_red">待付款</view>
  15. <view wx:elif="{{orderState == 2}}" class="confirme_btn btn_green">待定制</view>
  16. <view wx:elif="{{orderState == 4}}" class="confirme_btn btn_purple">已发货</view>
  17. <view wx:elif="{{orderState == 5}}" class="confirme_btn btn_blue">已完成</view>
  18. <view wx:elif="{{orderState == 6}}" class="confirme_btn btn_blue">已取消</view>
  19. <view wx:elif="{{orderState == 10}}" class="confirme_btn btn_blue">待送礼</view>
  20. <!-- <block wx:else>
  21. <block wx:if="{{goosdListnew.order_split_flag != 2 }}">
  22. <view class="confirme_btn btn_green">待送礼</view>
  23. </block>
  24. </block> -->
  25. </block>
  26. <block wx:else>
  27. <!-- 子订单状态 -->
  28. <view wx:if="{{orderState == 3}}" class="confirme_btn btn_yellow">待发货</view>
  29. <view wx:elif="{{orderState == 4}}" class="confirme_btn btn_purple">已发货</view>
  30. <view wx:elif="{{orderState == 5}}" class="confirme_btn btn_blue">已完成</view>
  31. <view wx:elif="{{orderState == 6}}" class="confirme_btn btn_blue">已取消</view>
  32. </block>
  33. </view>
  34. <view class="goods_infor">
  35. <view class="goods_top_title">商品信息</view>
  36. <block wx:for="{{goosdListnew.list_order_aff_data}}" wx:key="*this" wx:for-index="i">
  37. <view bindtap='buyUrl' data-id="{{i}}" class="each_goods">
  38. <image src="{{item.logo}}" class="goods_img"></image>
  39. <view class="goods_cont">
  40. <view class="goods_name">{{item.com_name}}</view>
  41. <view class="goods_style">
  42. <text wx:if="{{item.com_style1 != 'null'}}">{{item.com_style1}} </text>
  43. <text wx:if="{{item.com_style2 != 'null'}}">{{item.com_style2}} </text>
  44. <text wx:if="{{item.com_style3 != 'null'}}">{{item.com_style3}} </text>
  45. <text wx:if="{{item.com_style4 != 'null'}}">{{item.com_style4}} </text>
  46. <text wx:if="{{item.com_style5 != 'null'}}">{{item.com_style5}} </text>
  47. <text wx:if="{{item.com_dz != 'null'}}">{{item.com_dz}} </text>
  48. <text wx:if="{{item.com_lh != 'null'}}">{{item.com_lh}} </text>
  49. <text> ×{{item.com_num}}</text>
  50. </view>
  51. <!-- <view class="goods_num">×{{item.com_num}}</view> -->
  52. <view class="goods_price">¥<text>{{item.new_price}}</text></view>
  53. </view>
  54. <view class="clearfix"></view>
  55. </view>
  56. </block>
  57. </view>
  58. <view class="infor_content">
  59. <view class="each_infor borderBottom">
  60. <view class="infor_title">配送费</view>
  61. <view class="infor_num">快递¥0.00</view>
  62. <view class="clearfix"></view>
  63. </view>
  64. <view class="each_infor peisong borderBottom">
  65. <view class="infor_title">定制费用</view>
  66. <view class="infor_num">¥0.00</view>
  67. <view class="clearfix"></view>
  68. </view>
  69. <!-- 优惠劵 -->
  70. <block wx:if="">
  71. <view class="each_infor peisong borderBottom">
  72. <view class="infor_title">优惠劵</view>
  73. <view class="coupon_num">1张可用</view>
  74. <block wx:if="">
  75. <view class="infor_num">未使用</view>
  76. </block>
  77. <block wx:else>
  78. <view class="infor_num">-¥0.00</view>
  79. </block>
  80. <view class="clearfix"></view>
  81. </view>
  82. </block>
  83. <block wx:else>
  84. <view class="each_infor peisong borderBottom">
  85. <view class="infor_title">优惠劵</view>
  86. <view class="infor_num">¥{{orderr_Coupon}}</view>
  87. <view class="clearfix"></view>
  88. </view>
  89. </block>
  90. <view class="each_infor peisong">
  91. <view class="infor_title">商品合计</view>
  92. <view class="infor_num">¥{{goosdListnew.total}}</view>
  93. <view class="clearfix"></view>
  94. </view>
  95. </view>
  96. <!-- <view class="fapiao_infor">
  97. <view class="infor_title">收货信息:</view>
  98. <view class="fp_infor_cont">
  99. <view>{{order_Consignee}} {{order_phone}}</view>
  100. <view>{{order_address}}</view>
  101. </view>
  102. </view> -->
  103. <view class="fapiao_infor" wx:if="{{invoice_type_name}}">
  104. <view class="infor_title">发票信息:</view>
  105. <view class="fp_infor_cont">
  106. <view>发票类型:{{invoice_type_name}}</view>
  107. <block wx:if="{{invoice_number != ''}}">
  108. <view>发票抬头:单位</view>
  109. </block>
  110. <block wx:else>
  111. <view>发票抬头:个人</view>
  112. </block>
  113. <view wx:if="{{invoice_number}}">纳税识别号:{{invoice_number}}</view>
  114. </view>
  115. </view>
  116. <!-- 补开发票 : 如果没有开发票这里显示,补开发票,右侧右箭头,点击进入填写发票页面。-->
  117. <!-- <view class="fapiao_infor">
  118. <view class="infor_title">发票信息:</view>
  119. <view class="fp_infor_cont">
  120. <view></view>
  121. <view></view>
  122. </view>
  123. </view> -->
  124. <view class="service_wrap">
  125. <view class="service_title">服务时间: 周一至周五 9:00-18:00</view>
  126. <view class="service_tel">客服电话:{{phone}}</view>
  127. </view>
  128. <!-- 待付款 -->
  129. <view wx:if="{{orderState == 1}}" class="footer_total">
  130. <view bindtap='save' class="footer_total_each">立即付款</view>
  131. <view bindtap='cancalSaveMsg' class="footer_total_each footer_total_right">取消</view>
  132. </view>
  133. <!-- 待定制 -->
  134. <view wx:elif="{{orderState == 2}}" class="footer_total">
  135. <block wx:if="{{order_check_sta == 0}}">
  136. <view data-order_number="{{order_number}}" bindtap='dzwc' class="footer_total_each">定制完成</view>
  137. <view bindtap='openCancelWind' class="footer_total_each footer_total_right">取消</view>
  138. </block>
  139. <block wx:else>
  140. <view class="footer_total">审核中</view>
  141. </block>
  142. </view>
  143. <!-- 待送礼 -->
  144. <view wx:elif="{{orderState == 10}}" class="footer_total">
  145. <view bindtap='breakFriend' data-sendflag="0" data-order="{{goosdListnew}}" class="footer_total_each">送朋友</view>
  146. <view bindtap='breakFriend' data-sendflag="1" data-order="{{goosdListnew}}" class="footer_total_each footer_total_right">送自己</view>
  147. </view>
  148. <!-- 待发货 -->
  149. <view wx:elif="{{orderState == 3}}" class="footer_total">
  150. <!-- 待发货 - 礼物状态为1/2 - -->
  151. <!-- <block wx:if="{{order_type == 0}}">
  152. <view bindtap='breakFriend' data-sendflag="1" data-order="{{goosdListnew}}" class="footer_total_each">送朋友</view>
  153. <view bindtap='breakFriend' data-sendflag="0" data-order="{{goosdListnew}}" class="footer_total_each footer_total_right">送自己</view>
  154. </block>
  155. <block wx:else> -->
  156. <view bindtap='fahuo' class="footer_total">提醒发货</view>
  157. <!-- </block> -->
  158. </view>
  159. <!-- 已发货 -->
  160. <view wx:elif="{{orderState == 4}}" class="footer_total">
  161. <view data-order_number="{{order_number}}" bindtap='qrsh' class="footer_total_each">确认收货</view>
  162. <navigator url='/pages/wuliu/wuliu?id={{order_number}}' class="footer_total_each footer_total_right">查看物流</navigator>
  163. </view>
  164. <!-- 已完成 -->
  165. <view wx:elif="{{orderState == 5}}" class="footer_total">
  166. <block wx:if="{{order_check_sta == 1}}">
  167. <view class="footer_total">处理中</view>
  168. </block>
  169. <block wx:else>
  170. <block wx:if="{{goosdListnew.order_number_o == '' && goosdListnew.order_split_flag == ''}}">
  171. <navigator url='/pages/wuliu/wuliu?id={{order_number}}' class="footer_total_each">查看物流</navigator>
  172. <view class="footer_total_each footer_total_right" bindtap='openShowhouWind'>申请售后</view>
  173. </block>
  174. <block wx:elif="{{goosdListnew.order_number_o != ''}}">
  175. <navigator url='/pages/wuliu/wuliu?id={{order_number}}' class="footer_total_each">查看物流</navigator>
  176. <view class="footer_total_each footer_total_right" bindtap='openShowhouWind'>申请售后</view>
  177. </block>
  178. <block wx:else>
  179. <view class="footer_total" bindtap='openShowhouWind'>申请售后</view>
  180. </block>
  181. </block>
  182. </view>
  183. </view>
  184. <view class="modal_wrap {{hiddenmodal ? 'hidden' : ''}}">
  185. <view class="modal {{hiddenmodal ? 'hidden' : ''}}">{{modalCont}}</view>
  186. </view>
  187. <view wx:if="{{maskBg}}" class="modal_bg "></view>
  188. <!-- 定制完成 -->
  189. <view class="qrfh_wrap {{showQrfhMode ? '' : 'hidden'}}">
  190. <view class='qrfh_content_wrap'>
  191. <view class='qrfh_cont_wrap'>
  192. <view class='qrfh_cont'>定制确认后将无法修改,</view>
  193. <view class='qrfh_cont'>是否确认?</view>
  194. </view>
  195. <view class='qrsh_btn_wrap clearfix'>
  196. <view class='qrfh_cancle' bindtap='cancelFh'>取消</view>
  197. <view class='qrfh_sure' bindtap='sureFh'>确定</view>
  198. </view>
  199. </view>
  200. </view>
  201. <!-- 送自己 -->
  202. <view class="qrfh_wrap {{showSendMineMsg ? '' : 'hidden'}}">
  203. <view class='qrfh_content_wrap'>
  204. <view class='qrfh_cont_wrap'>
  205. <view class='qrfh_cont'>将会按照订单地址为您发货,</view>
  206. <view class='qrfh_cont'>是否确认?</view>
  207. </view>
  208. <view class='qrsh_btn_wrap clearfix'>
  209. <view class='qrfh_cancle' bindtap='cancelSendMine'>取消</view>
  210. <view class='qrfh_sure' bindtap='sureSendMine'>确定</view>
  211. </view>
  212. </view>
  213. </view>
  214. <!-- 送朋友 -->
  215. <view class="qrfh_wrap {{showSendFriendMsg ? '' : 'hidden'}}">
  216. <view class='qrfh_content_wrap'>
  217. <view class='qrfh_cont_wrap'>
  218. <view class='qrfh_cont'>将会按照朋友填写的地址为您发货,</view>
  219. <view class='qrfh_cont'>是否确认?</view>
  220. </view>
  221. <view class='qrsh_btn_wrap clearfix'>
  222. <view class='qrfh_cancle' bindtap='cancelSendFriend'>取消</view>
  223. <view class='qrfh_sure' bindtap='sureSendFriend'>确定</view>
  224. </view>
  225. </view>
  226. </view>
  227. <!-- 待定制 - 申请取消 -->
  228. <view class="qrfh_wrap {{showCancelOrder ? '' : 'hidden'}}">
  229. <view class='qrfh_content_wrap'>
  230. <view class='qrfh_cont_wrap'>
  231. <view class='qrfh_cont'>将会为您申请取消,</view>
  232. <view class='qrfh_cont'>是否确认?</view>
  233. </view>
  234. <view class='qrsh_btn_wrap clearfix'>
  235. <view class='qrfh_cancle' bindtap='cancelCancelOrder'>取消</view>
  236. <view class='qrfh_sure' bindtap='cancelOrder'>确定</view>
  237. </view>
  238. </view>
  239. </view>
  240. <!-- 已完成 - 申请售后 -->
  241. <view class="qrfh_wrap {{showShouhou ? '' : 'hidden'}}">
  242. <view class='qrfh_content_wrap'>
  243. <view class='qrfh_cont_wrap'>
  244. <view class='qrfh_cont'>将会为您申请售后,</view>
  245. <view class='qrfh_cont'>是否确认?</view>
  246. </view>
  247. <view class='qrsh_btn_wrap clearfix'>
  248. <view class='qrfh_cancle' bindtap='cancelShouhou'>取消</view>
  249. <view class='qrfh_sure' bindtap='sureShouhou'>确定</view>
  250. </view>
  251. </view>
  252. </view>
  253. <!-- 待付款 - 取消 -->
  254. <view class="qrfh_wrap {{showCancelPay ? '' : 'hidden'}}">
  255. <view class='qrfh_content_wrap'>
  256. <view class='qrfh_cont_wrap'>
  257. <view class='qrfh_cont'>取消后订单无法恢复,</view>
  258. <view class='qrfh_cont'>是否确认?</view>
  259. </view>
  260. <view class='qrsh_btn_wrap clearfix'>
  261. <view class='qrfh_cancle' bindtap='closeSaveMsg'>取消</view>
  262. <view class='qrfh_sure' bindtap='sureSave'>确定</view>
  263. </view>
  264. </view>
  265. </view>
  266. <!-- 拆分订单弹窗 -->
  267. <view class='qrfh_wrap {{showSendFriendMsg ? "" : "hidden"}}'>
  268. <view class='break_order_content'>
  269. <view class='break_title_wrap'>
  270. <view class='break_title'>请选择需要赠送的礼物及数量</view>
  271. </view>
  272. <view class='break_content'>
  273. <block wx:for="{{breakOrderList.list_order_aff_data}}" wx:key="index" wx:for-index="i">
  274. <view class='each_break_goods clearfix'>
  275. <image src="{{item.logo}}" class="goods_img"></image>
  276. <!-- 商品信息开始 -->
  277. <view class='break_goods_infor'>
  278. <view class='break_infor_content clearfix'>
  279. <view class="goods_name break_goods_name">{{item.com_name}}</view>
  280. <view class="goods_style break_goods_style">
  281. <text wx:if="{{item.com_style1 != 'null'}}">{{item.com_style1}} </text>
  282. <text wx:if="{{item.com_style2 != 'null'}}">{{item.com_style2}} </text>
  283. <text wx:if="{{item.com_style3 != 'null'}}">{{item.com_style3}} </text>
  284. <text wx:if="{{item.com_style4 != 'null'}}">{{item.com_style4}} </text>
  285. <text wx:if="{{item.com_style5 != 'null'}}">{{item.com_style5}} </text>
  286. <text wx:if="{{item.com_dz != 'null'}}">{{item.com_dz}} </text>
  287. <text wx:if="{{item.com_lh != 'null'}}">{{item.com_lh}}</text>
  288. </view>
  289. <view class="goods_num break_goods_num">×{{item.com_num}}</view>
  290. </view>
  291. <view class='break_num_wrap clearfix'>
  292. <view class='each_break_btn'>选择数量:</view>
  293. <view class='each_break_btn_wrap'>
  294. <view class='each_break {{item.minus}}' bindtap='minusCount' data-breaknum="{{item.break_num}}" data-price="{{item.com_price}}" data-id="{{i}}" data-num='{{item.com_num}}'>-</view>
  295. <input class='each_break' type='number' bindblur='writeNum' bindconfirm='writeNum' data-breaknum="{{item.break_num}}" data-num='{{item.com_num}}' value='{{item.break_num}}' data-id="{{i}}" />
  296. <!-- <view class='each_break'>{{item.break_num}}</view> -->
  297. <view class='each_break {{item.add}}' bindtap='addCount' data-breaknum="{{item.break_num}}" data-price="{{item.com_price}}" data-id="{{i}}" data-num='{{item.com_num}}'>+</view>
  298. </view>
  299. </view>
  300. </view>
  301. <!-- 商品信息结束 -->
  302. </view>
  303. </block>
  304. </view>
  305. <!-- 操作按钮 -->
  306. <view class='break_btn_wrap'>
  307. <view class='break_btn break_btn_left' bindtap='cancelSendFriend'>取消</view>
  308. <form bindsubmit="sureSendFriend" report-submit >
  309. <button formType="submit" class='form_button'>
  310. <view class='break_btn break_btn_right'>确定</view>
  311. </button>
  312. </form>
  313. <!-- <view class='break_btn break_btn_right' bindtap='sureSendFriend'>确定</view> -->
  314. </view>
  315. </view>
  316. </view>