index.wxml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <view>
  2. <view class="i-flex i-aic bg-f p15 m15 rounded shadow">
  3. <image class="avatar" src="{{salesroom_list[salesroomIdx].room_logo?salesroom_list[salesroomIdx].room_logo:'../../images/icon-tab-me.png'}}"></image>
  4. <text class="i-flex-item mx10 fsz-28">{{salesroom_list[salesroomIdx].room_name}}</text>
  5. <view bindtap="handleHexiaoModal" class="bule fsz-24">切换店铺 <text class="iconfont icon-youjiantou fsz-24"></text></view>
  6. </view>
  7. <view class='three py15 bg-f m15 rounded shadow' wx:if="{{false}}">
  8. <view class='three-item'>
  9. <view class='three-title'>今日核销(次)</view>
  10. <view class='three-money'>10</view>
  11. </view>
  12. <view class='three-item'>
  13. <view class='three-title'>累计核销(次)</view>
  14. <view class='three-money'>100</view>
  15. </view>
  16. </view>
  17. <view class='menu bg-f m15 rounded shadow' wx:if="{{false}}">
  18. <navigator class="border-bottom" url='/lionfish_comshop/moduleB/writeoff/member'>
  19. <view class="item-main i-flex i-flex-alc bor-bottom">
  20. <view class="item-title i-flex-item">核销人员</view>
  21. <view class="tool-right">
  22. <text class="text-gray">5</text><image class="icon-right ml5" src="../../images/rightArrowImg.png"></image>
  23. </view>
  24. </view>
  25. </navigator>
  26. <navigator url=''>
  27. <view class="item-main i-flex i-flex-alc bor-bottom">
  28. <view class="item-title i-flex-item">商品核销</view>
  29. <view class="tool-right">
  30. <image class="icon-right " src="../../images/rightArrowImg.png"></image>
  31. </view>
  32. </view>
  33. </navigator>
  34. </view>
  35. <!-- 核销方式 -->
  36. <view class="bg-f p15 m15 rounded shadow">
  37. <view class="fsz-28">选择核销方式</view>
  38. <form catchsubmit="preFormSubmit">
  39. <view class="i-flex i-aic mt10">
  40. <input class="i-flex-item ipt" name="code" placeholder="请输入手机号/券码"></input>
  41. <button type="primary" formType="submit" class="btn">查询</button>
  42. </view>
  43. </form>
  44. <view class="scan i-flex-col i-flex-alc" bindtap="goScan">
  45. <text class="iconfont icon-erweima1"></text>
  46. <view class="fsz-30 mt10">扫码核销</view>
  47. </view>
  48. </view>
  49. </view>
  50. <!-- 核销方式 -->
  51. <view class="bg-f p15 m15 rounded shadow">
  52. <view class="fsz32 weight">今日核销记录({{today_saleshexiao_count}}个)</view>
  53. <view class="list mt10 border-top pt10">
  54. <block wx:if="{{saleshexiao_record_list&&saleshexiao_record_list.length}}">
  55. <view class="item border-bottom fsz-24" wx:for="{{saleshexiao_record_list}}" wx:key="id">
  56. <view>操作员:{{item.smember_name}}</view>
  57. <view class="mt5">订单编号:{{item.order_num_alias}}</view>
  58. <view class="mt5">用户手机号:{{item.shipping_tel}}</view>
  59. <view slot="header" class="header i-flex i-flex-spb">
  60. <view class="mt5">核销时间:{{item.hx_time}} </view>
  61. <view class="red fsz-24" >已核销</view>
  62. </view>
  63. <view class="i-flex mt10">
  64. <image src="{{item.goods_images}}" class="goodsimg"></image>
  65. <view>
  66. <view class="fsz-28">{{item.goods_name}}</view>
  67. <view class="fsz-24 text-gray mt10">
  68. <text wx:if="{{item.option_sku}}">{{item.option_sku}}</text> x{{item.quantity}}
  69. </view>
  70. <view class="fsz-24 red mt10">小计 ¥{{item.total}}</view>
  71. <view class="fsz-24 text-gray mt10">共 <text class="red">{{item.hexiao_count}}</text> 次</view>
  72. <view class="fsz-24 text-gray mt5" wx:if="{{item.hexiao_type!=1}}">核销类型:订单核销</view>
  73. <view wx:if="{{item.hexiao_type==1}}" class=" fsz-24 text-gray mt5">
  74. <view class="mt5">核销类型:按次核销;本次核销消耗<text class="red">{{item.hexiao_count2}}</text>次</view>
  75. </view>
  76. </view>
  77. </view>
  78. </view>
  79. </block>
  80. <view class="empty fsz32 text-center" wx:else>暂无记录~</view>
  81. </view>
  82. </view>
  83. <!-- 核销弹窗 -->
  84. <i-modal scrollUp="{{true}}" visible="{{showHexiaoModal}}" bind:cancel="handleHexiaoModal">
  85. <view class="sku-card">
  86. <view class="weight fsz-32 pb10 text-center">门店选择</view>
  87. <scroll-view scroll-y style="height: 60vh;">
  88. <view class="border-bottom i-flex i-aic py10" wx:for="{{salesroom_list}}" wx:key="index" bindtap="changeMendian" data-idx="{{index}}">
  89. <view class="i-flex-item">
  90. <view class="fsz-28 weight mb5">{{item.room_name}}</view>
  91. <view class="fsz-22">{{item.room_address}}</view>
  92. </view>
  93. <text class="iconfont icon-youjiantou fsz-28"></text>
  94. </view>
  95. </scroll-view>
  96. </view>
  97. </i-modal>