lattice.wxml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. <view class="page">
  2. <view class="box1">
  3. <view class="main3">
  4. <view class="mod1">
  5. <text lines="1" decode="true" class="txt1">{{workeinfo.title}}&nbsp;</text>
  6. <view class="main4"></view>
  7. <text lines="1" class="word3" style="{{workeinfo.status?'':'coloe:#ccc'}}">{{workeinfo.status?"在线":'离线'}}</text>
  8. </view>
  9. <view class="mod2">
  10. <view class="mod3">
  11. <text lines="1" class="word4">空闲:</text>
  12. <text lines="1" class="txt2">{{workeinfo.idle_num}}</text>
  13. </view>
  14. <view class="mod3">
  15. <text lines="1" class="word4">待收:</text>
  16. <text lines="1" class="txt2">{{workeinfo.wait_num}}</text>
  17. </view>
  18. <view class="mod3">
  19. <text lines="1" class="word4">已存:</text>
  20. <text lines="1" class="txt2">{{workeinfo.deposit_num}}</text>
  21. </view>
  22. <view class="mod3">
  23. <text lines="1" class="word4">暂存:</text>
  24. <text lines="1" class="txt2">{{workeinfo.temporary_num}}</text>
  25. </view>
  26. <view class="mod3">
  27. <text lines="1" class="word4">冻结:</text>
  28. <text lines="1" class="txt2">{{workeinfo.frozen_num}}</text>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="main5">
  33. <view class="layer2">
  34. <view class="outer1">
  35. <text lines="1" class="word7">柜门列表</text>
  36. <text lines="1" class="word9">共{{workeinfo.num}}格</text>
  37. </view>
  38. <view class="outer2"></view>
  39. </view>
  40. </view>
  41. <view class="main6">
  42. <view class="layer3">
  43. <view class="outer3-0" wx:for="{{latticelist}}" wx:key="index" data-key='{{index}}' data-id="{{item.id}}" data-num="{{item.external_cabinet}}" data-status="{{item.status}}" bindtap="seled">
  44. <view class="layer4-0">
  45. <view class="main7-0" style="background-color:{{state==index?item.color:''}}">
  46. <text lines="1" class="word8-0">{{item.external_cabinet}}</text>
  47. </view>
  48. <text lines="1" class="word9-01" style="color:{{item.color}}">{{item.status}}</text>
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="outer6" wx:if="{{detashow==false}}">
  54. <view class="wrap1">
  55. <view class="outer7">
  56. <text lines="1" class="info8">{{taskdetail.num}}号柜详情</text>
  57. <view class="mod11" wx:if="{{taskdetail.status!='空闲'}}">
  58. <text lines="1" class="txt7" bindtap="tel" data-reply-phone="{{taskdetail.phone}}" >联系用户</text>
  59. </view>
  60. </view>
  61. <view class="outer-8"></view>
  62. <view class="outer-9">
  63. <view class="bd6-0">
  64. <view class="layer9-0">
  65. <text lines="1" class="word9-0" >{{taskdetail.status}}</text>
  66. <text lines="1" class="word10-0">状态</text>
  67. </view>
  68. </view>
  69. <view class="bd6-1">
  70. <view class="layer9-1">
  71. <text lines="1" decode="true" class="word9-0">{{taskdetail.add_time}}</text>
  72. <text lines="1" class="word10-0">{{taskdetail.status!='空闲'?'存入时间':"上次开柜"}}</text>
  73. </view>
  74. </view>
  75. <view class="bd6-2" wx:if="{{taskdetail.status!='空闲'&&taskdetail.status!='已冻结'&&taskdetail.status!='暂存待取'}}">
  76. <view class="layer9-2">
  77. <text lines="1" class="word9-0">{{taskdetail.name}}</text>
  78. <text lines="1" class="word10-0">下单用户</text>
  79. </view>
  80. </view>
  81. <view class="bd6-3" wx:if="{{taskdetail.status!='空闲'&&taskdetail.status!='已冻结'&&taskdetail.status!='暂存待取'&&taskdetail.status!='用户净衣,已存柜'}}">
  82. <view class="layer9-3">
  83. <text lines="1" class="word9-0">{{taskdetail.factory_name?taskdetail.factory_name:taskdetail.time}}</text>
  84. <text lines="1" class="word10-0">{{taskdetail.factory_name?'目的地':'存入时间'}}</text>
  85. </view>
  86. </view>
  87. <view class="bd6-3" wx:if="{{taskdetail.status=='用户净衣,已存柜'}}">
  88. <view class="layer9-3">
  89. <text lines="1" class="word9-0">{{taskdetail.time}}</text>
  90. <text lines="1" class="word10-0">存入时长</text>
  91. </view>
  92. </view>
  93. <view class="bd6-3" wx:if="{{taskdetail.status=='暂存待取'}}">
  94. <view class="layer9-3">
  95. <text lines="1" class="word9-0">{{taskdetail.temporary_code}}</text>
  96. <text lines="1" class="word10-0">取件码</text>
  97. </view>
  98. </view>
  99. <view class="bd6-2" wx:if="{{taskdetail.status=='暂存待取'}}">
  100. <view class="layer9-2">
  101. <text lines="1" class="word9-0">{{taskdetail.time}}</text>
  102. <text lines="1" class="word10-0">存入时长</text>
  103. </view>
  104. </view>
  105. </view>
  106. <view class="outer10" wx:if="{{taskdetail.status!='空闲'&&taskdetail.status!='已冻结'&&taskdetail.status!='暂存待取'}}">
  107. <text lines="1" class="info9">订单号:{{taskdetail.order_no}}</text>
  108. <view class="section3">
  109. <view class="box3"></view>
  110. </view>
  111. <text lines="1" class="info10" bindtap="copy" data-no="{{taskdetail.order_no}}">复制</text>
  112. </view>
  113. <view class="outer10" style="flex-wrap: wrap;font-size: 26rpx;color: rgba(51, 51, 51, 1);" wx:if="{{taskdetail.status=='已冻结'}}">冻结原因:{{taskdetail.remark}}
  114. <!-- <view lines="1" class="info9"></view> -->
  115. <!-- <view class="section3">
  116. <view class="box3"></view>
  117. </view> -->
  118. </view>
  119. <view class="outer10" wx:if="{{taskdetail.status=='已冻结'}}">
  120. <text lines="1" class="info9">操作人:{{taskdetail.admin_user}}</text>
  121. <view class="section3">
  122. <view class="box3"></view>
  123. </view>
  124. </view>
  125. <view class="outer10" wx:if="{{taskdetail.logistics_no}}">
  126. <text lines="1" class="info9">物流单号:{{taskdetail.logistics_no}}</text>
  127. <view class="section3">
  128. <view class="box3"></view>
  129. </view>
  130. <text lines="1" class="info10" bindtap="copy" data-no="{{taskdetail.logistics_no}}">复制</text>
  131. </view>
  132. <view class="outer10" wx:if="{{taskdetail.status=='暂存待取'}}">
  133. <text lines="1" class="info9">存放物品:{{taskdetail.remark}}</text>
  134. </view>
  135. <view class="outer10" wx:if="{{taskdetail.status=='暂存待取'}}">
  136. <text lines="1" class="info9">物流单号:{{taskdetail.order_no}}</text>
  137. <view class="section3">
  138. <view class="box3"></view>
  139. </view>
  140. <text lines="1" class="info10" bindtap="copy" data-no="{{taskdetail.logistics_no}}">复制</text>
  141. </view>
  142. <view class="outer11"></view>
  143. <view class="outer12">
  144. <block wx:if="{{status=='空闲'||status=='空闲'||status=='待收'||status=='冻结'}}">
  145. <view class="group3" bindtap="show">
  146. <text lines="1" class="txt6">{{status=='空闲'?'开柜存入':(status=='待收'?'开柜取出':(status=='冻结'?'解冻':''))}}</text>
  147. </view>
  148. <view class="group4">
  149. <view class="group5" bindtap="deta"></view>
  150. </view>
  151. </block>
  152. <block wx:else>
  153. <view class="group4 whole">
  154. <view class="group5" bindtap="deta"></view>
  155. </view>
  156. </block>
  157. </view>
  158. </view>
  159. </view>
  160. <view class="mod9" wx:if="{{state>=0}}">
  161. <view class="bd2">
  162. <block wx:if="{{status=='空闲'||status=='空闲'||status=='待收'||status=='冻结'}}">
  163. <view class="outer8" wx:if="{{status!='冻结'}}">
  164. <text lines="1" class="word12" bindtap="show">{{status=='空闲'?'开柜存入':(status=='待收'?'开柜取出':(status=='冻结'?'解冻':''))}}</text>
  165. </view>
  166. <view class="outer8" wx:else>
  167. <text lines="1" class="word12" bindtap="gothaw">解冻</text>
  168. </view>
  169. <view class="outer9" wx:if="{{detashow}}" bindtap="deta">
  170. <text lines="1" class="word13">详情</text>
  171. </view>
  172. <view class="group4" wx:else>
  173. <view class="group5"></view>
  174. </view>
  175. </block>
  176. <block wx:else>
  177. <view class="outer9 whole" wx:if="{{detashow}}" bindtap="deta">
  178. <text lines="1" class="word13">详情</text>
  179. </view>
  180. </block>
  181. </view>
  182. </view>
  183. <view wx:if="{{state<0}}" class="empt">
  184. <text>请选择柜门进行相应操作</text>
  185. </view>
  186. <view class="layer12" wx:if="{{show==false}}">
  187. <view class="outer5">
  188. <view class="mod6">
  189. <view class="section10">
  190. <view class="layer13"></view>
  191. <text lines="1" class="word17">确认物流单</text>
  192. <text lines="1" class="txt14">{{taskdetail.num}}号柜</text>
  193. </view>
  194. <view class="section11"></view>
  195. <view class="section12">
  196. <view class="section13">
  197. <input lines="1" class="txt15" placeholder="扫描或人工输入物流单号" model:value="{{orderSn}}"></input>
  198. <view class="section14"></view>
  199. </view>
  200. <view bindtap="scan" class="section15">
  201. <view class="section16"></view>
  202. </view>
  203. </view>
  204. <text wx:if="{{smallPhone!=''}}" lines="1" decode="true" class="txt19">此单客户手机尾号为&nbsp;{{smallPhone}},请注意与物流单核对</text>
  205. <view class="section17">
  206. <button bindtap="onClick" data-type="0" class="group1">
  207. <text lines="1" class="txt16">取消</text>
  208. </button>
  209. <block wx:if="{{smallPhone==''}}">
  210. <button bindtap="onClick" data-type="1" class="group2">
  211. <text lines="1" class="info12">确认</text>
  212. </button>
  213. </block>
  214. <block wx:else>
  215. <button bindtap="onSubmit" data-type="1" class="group2">
  216. <text lines="1" class="info12">{{operateStatus==''?'提交':operateStatus}}</text>
  217. </button>
  218. </block>
  219. </view>
  220. <view class="section18"></view>
  221. <view class="section19">
  222. <view class="outer16"></view>
  223. <text lines="1" class="txt17">异常情况操作</text>
  224. </view>
  225. <view class="section20"></view>
  226. <view class="section21">
  227. <view class="outer17"><text lines="1" class="txt18">柜门未开</text></view>
  228. <view class="outer18"><text lines="1" class="word18">联系用户</text></view>
  229. </view>
  230. </view>
  231. </view>
  232. </view>
  233. </view>
  234. </view>