lattice.wxml 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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!='空闲'}}">
  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!='空闲'}}">
  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>
  88. <view class="outer10" wx:if="{{taskdetail.status!='空闲'}}">
  89. <text lines="1" class="info9">订单号:{{taskdetail.order_no}}</text>
  90. <view class="section3">
  91. <view class="box3"></view>
  92. </view>
  93. <text lines="1" class="info10" bindtap="copy" data-no="{{taskdetail.order_no}}">复制</text>
  94. </view>
  95. <view class="outer10" wx:if="{{taskdetail.logistics_no}}">
  96. <text lines="1" class="info9">物流单号:{{taskdetail.logistics_no}}</text>
  97. <view class="section3">
  98. <view class="box3"></view>
  99. </view>
  100. <text lines="1" class="info10" bindtap="copy" data-no="{{taskdetail.logistics_no}}">复制</text>
  101. </view>
  102. <view class="outer11"></view>
  103. <view class="outer12">
  104. <block wx:if="{{status=='空闲'||status=='空闲'||status=='待收'||status=='冻结'}}">
  105. <view class="group3" bindtap="show">
  106. <text lines="1" class="txt6">{{status=='空闲'?'开柜存入':(status=='待收'?'开柜取出':(status=='冻结'?'解冻':''))}}</text>
  107. </view>
  108. <view class="group4">
  109. <view class="group5" bindtap="deta"></view>
  110. </view>
  111. </block>
  112. <block wx:else>
  113. <view class="group4 whole">
  114. <view class="group5" bindtap="deta"></view>
  115. </view>
  116. </block>
  117. </view>
  118. </view>
  119. </view>
  120. <view class="mod9" wx:if="{{state>=0}}">
  121. <view class="bd2">
  122. <block wx:if="{{status=='空闲'||status=='空闲'||status=='待收'||status=='冻结'}}">
  123. <view class="outer8">
  124. <text lines="1" class="word12" bindtap="show">{{status=='空闲'?'开柜存入':(status=='待收'?'开柜取出':(status=='冻结'?'解冻':''))}}</text>
  125. </view>
  126. <view class="outer9" wx:if="{{detashow}}" bindtap="deta">
  127. <text lines="1" class="word13">详情</text>
  128. </view>
  129. <view class="group4" wx:else>
  130. <view class="group5"></view>
  131. </view>
  132. </block>
  133. <block wx:else>
  134. <view class="outer9 whole" wx:if="{{detashow}}" bindtap="deta">
  135. <text lines="1" class="word13">详情</text>
  136. </view>
  137. </block>
  138. </view>
  139. </view>
  140. <view wx:if="{{state<0}}" class="empt">
  141. <text>请选择柜门进行相应操作</text>
  142. </view>
  143. <view class="layer12" wx:if="{{show==false}}">
  144. <view class="outer5">
  145. <view class="mod6">
  146. <view class="section10">
  147. <view class="layer13"></view>
  148. <text lines="1" class="word17">确认物流单</text>
  149. <text lines="1" class="txt14">{{taskdetail.num}}号柜</text>
  150. </view>
  151. <view class="section11"></view>
  152. <view class="section12">
  153. <view class="section13">
  154. <input lines="1" class="txt15" placeholder="扫描或人工输入物流单号" model:value="{{orderSn}}"></input>
  155. <view class="section14"></view>
  156. </view>
  157. <view bindtap="scan" class="section15">
  158. <view class="section16"></view>
  159. </view>
  160. </view>
  161. <text wx:if="{{smallPhone!=''}}" lines="1" decode="true" class="txt19">此单客户手机尾号为&nbsp;{{smallPhone}},请注意与物流单核对</text>
  162. <view class="section17">
  163. <button bindtap="onClick" data-type="0" class="group1">
  164. <text lines="1" class="txt16">取消</text>
  165. </button>
  166. <block wx:if="{{smallPhone==''}}">
  167. <button bindtap="onClick" data-type="1" class="group2">
  168. <text lines="1" class="info12">确认</text>
  169. </button>
  170. </block>
  171. <block wx:else>
  172. <button bindtap="onSubmit" data-type="1" class="group2">
  173. <text lines="1" class="info12">{{operateStatus==''?'提交':operateStatus}}</text>
  174. </button>
  175. </block>
  176. </view>
  177. <view class="section18"></view>
  178. <view class="section19">
  179. <view class="outer16"></view>
  180. <text lines="1" class="txt17">异常情况操作</text>
  181. </view>
  182. <view class="section20"></view>
  183. <view class="section21">
  184. <view class="outer17"><text lines="1" class="txt18">柜门未开</text></view>
  185. <view class="outer18"><text lines="1" class="word18">联系用户</text></view>
  186. </view>
  187. </view>
  188. </view>
  189. </view>
  190. </view>
  191. </view>