Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

112 wiersze
6.0 KiB

  1. <view class="tab">
  2. <view class="{{item.value === active?'tab-list tab-list-active':'tab-list'}}" wx:for="{{tabList}}" wx:key="index" data-index="{{item.value}}" data-label="{{item.label}}" bindtap="tabChange">{{item.label}}</view>
  3. </view>
  4. <view wx:if="{{active==='1'}}" style="padding-top:62px">
  5. <!-- 查询列表 有结果 -->
  6. <view class="tabTit box tc bg_f clearfix">
  7. <view class="flex1{{!tab[index]?' active':''}} fl" wx:for="{{tabTxt}}" wx:key="index" data-index="{{index}}" data-idss="{{item.idss}}" bindtap="filterTab">
  8. <text wx:if="{{index==0}}" class="{{index==idss?'active3':''}}">{{tabTxt[0].title}}</text>
  9. <text wx:if="{{index!=0}}" class="{{index==idss?'active3':''}}">{{item.title}}</text>
  10. <image src="../../static/images/arrow.png"></image>
  11. </view>
  12. </view>
  13. <!-- 日期 -->
  14. <view class="tabLayer tc" hidden="{{tab[1]}}">
  15. <view class="picker_group">
  16. <picker mode="date" value="{{date}}" end="{{date2}}" fields="day" bindchange="bindDateChange1">
  17. <view wx:if="{{!date}}" class="picker">开始日期</view>
  18. <view wx:if="{{date}}" class="picker">{{date}}</view>
  19. </picker>
  20. <picker mode="date" value="{{date2}}" start="{{date}}" fields="day" bindchange="bindDateChange2">
  21. <view wx:if="{{!date2}}" class="picker">结束日期</view>
  22. <view wx:if="{{date2}}" class="picker">{{date2}}</view>
  23. </picker>
  24. <button class='btns' data-ids="1" hover-class='active1' bindtap='search' data-index='dateindex1'>查询</button>
  25. </view>
  26. </view>
  27. <!-- 状态 -->
  28. <view class="tabLayer tc clearfix" hidden="{{tab[2]}}">
  29. <a class='{{status===item.id?"active2":""}}' data-ids="3" wx:for="{{statustypes}}" wx:key="index" wx:if="index" data-id="{{item.id}}" bindtap='search' data-status='{{item.status}}'>
  30. {{item.name}}
  31. </a>
  32. </view>
  33. <view class='subbtn'>
  34. <button class='btns' bindtap='submit' data-index='dateindex1'>提交订单</button>
  35. </view>
  36. <view class='info'>
  37. <view class='title'>已提交奖项:{{topData.sum_count}} 条</view>
  38. <view class=''>
  39. <view>审核通过:{{ topData.audi_success}}</view>
  40. <view>审核中:{{ topData.audting}}</view>
  41. <view>审核未通过:{{ topData.audt_fail}}</view>
  42. </view>
  43. </view>
  44. <view class='lists'>
  45. <view wx:for="{{allBillList}}" wx:key="index">
  46. <view class="{{item.auditStatus === 2 ? 'list noList' : item.auditStatus === 1 ? 'list list1' : 'list'}}">
  47. <view class='title'>{{item.statusStr}} </view>
  48. <view class='txt'>客户姓名:{{item.cusName}}</view>
  49. <view class='txt'>订单金额:{{item.orderMoney}}</view>
  50. <view class='txt'>提交时间:{{item.startDate}}</view>
  51. <view class="button" data-id="{{item.id}}" data-flag="{{item.auditStatus}}" bindtap="viewDetail">{{item.auditStatus === 2 ? '修改' : '查看详情' }}</view>
  52. </view>
  53. </view>
  54. </view>
  55. <!-- </scroll-view> -->
  56. <view wx:if="{{allBillList.length!==0}}" class="loading {{allBillList.length==0?'mr':''}}">{{content}}</view>
  57. <!-- 查询列表 无结果 -->
  58. <view class='recond' wx:if="{{allBillList.length==0}}">暂无数据!</view>
  59. </view>
  60. <!-- VIP绑卡 -->
  61. <view wx:if="{{active==='2'}}">
  62. <view class="orderBox">
  63. <view class="orderTitle">客户电话</view>
  64. <view class="courier">
  65. <input class="courierInput" placeholder="请填写客户电话" data-key="phone" disabled="{{disabledDetail}}" bindinput="inputChange" value="{{formData.phone}}"></input>
  66. </view>
  67. <view class="orderTitle">客户姓名</view>
  68. <view class="courier">
  69. <input class="courierInput" placeholder="请填写客户姓名" data-key="name" disabled="{{disabledDetail}}" bindinput="inputChange" value="{{formData.name}}"></input>
  70. </view>
  71. <view class="orderTitle">客户地址</view>
  72. <view class="courier">
  73. <input class="courierInput" placeholder="请填写客户地址" data-key="address" disabled="{{disabledDetail}}" bindinput="inputChange" value="{{formData.address}}"></input>
  74. </view>
  75. <view class="orderTitle">会员卡号</view>
  76. <view class="courier">
  77. <input class="courierInput" placeholder="请填写会员卡号" data-key="vipNum" disabled="{{disabledDetail}}" bindinput="inputChange" value="{{formData.vipNum}}"></input>
  78. </view>
  79. </view>
  80. <view class="submit" bindtap="submitForm">绑定客户</view>
  81. </view>
  82. <view wx:if="{{active==='3'}}" style="padding-top:250rpx">
  83. <view class="search-top">
  84. <view class="search-tab">
  85. <view data-index="1" bindtap="searchTabChange" class=" {{searchActive === '1'?'search-tab-item-active':''}} search-tab-item">按手机号搜索</view>
  86. <view data-index="2" bindtap="searchTabChange" class=" {{searchActive === '2'?'search-tab-item-active':''}} search-tab-item">按卡号搜索</view>
  87. </view>
  88. <view class="search-box">
  89. <input class="searchInput" placeholder="{{searchActive === '1'?'请输入手机号':'请输入VIP卡号'}}" data-key="phone" disabled="{{disabledDetail}}" bindinput="searchTnputChange" value="{{searchVal}}"></input>
  90. <button class='btns' data-ids="1" hover-class='active1' bindtap='searchVipData' data-index='dateindex1'>查询</button>
  91. </view>
  92. </view>
  93. <view class='lists'>
  94. <view wx:for="{{allCardList}}" wx:key="index">
  95. <view class="{{item.auditStatus === 2 ? 'list noList' : item.auditStatus === 1 ? 'list list1' : 'list'}}">
  96. <view style="text-align: left;padding-left: 30rpx;box-sizing: border-box;" class='title'>VIP 卡号:{{item.vipNum}} </view>
  97. <view class='txt'>客户姓名:{{item.name}}</view>
  98. <view class='txt'>客户电话:{{item.phone}}</view>
  99. <view class='txt'>客户地址:{{item.address}}</view>
  100. </view>
  101. </view>
  102. </view>
  103. <!-- </scroll-view> -->
  104. <view wx:if="{{allCardList.length!==0}}" class="loading {{allBillList.length==0?'mr':''}}">{{content}}</view>
  105. <!-- 查询列表 无结果 -->
  106. <view class='recond' wx:if="{{allCardList.length==0}}">暂无数据!</view>
  107. </view>