微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 line
2.9 KiB

  1. <!--pages/bank/bank.wxml-->
  2. <view class="ns" style="height:{{isIPX?'88px':'64px'}};">
  3. <image src="../../image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back"></image>
  4. <text style="top:{{isIPX?'54px':'30px'}};">银行汇票</text>
  5. </view>
  6. <view class="search_box" style="margin-top:{{isIPX?'100px':'75px'}};">
  7. <van-search
  8. value="{{ value }}"
  9. shape="round"
  10. background="transparent"
  11. placeholder="请输入搜索关键词"
  12. clearable
  13. bind:change="goSearch"
  14. />
  15. <view class="add_btn" bindtap="goAdd"><text>新增</text></view>
  16. </view>
  17. <van-dropdown-menu active-color="#5CAE77" bind:change="changeTab">
  18. <van-dropdown-item value="{{ value1 }}" options="{{ option1 }}" bind:change="changeTab" />
  19. <van-dropdown-item value="{{ value2 }}" options="{{ option2 }}" bind:change="changeTab2" />
  20. </van-dropdown-menu>
  21. <van-swipe-cell right-width="{{ 65 }}" class="workflow" wx:for="{{moneyorderList}}" wx:key="index">
  22. <view class="li" bindtap="goUpdate">
  23. <view class="tit_box">
  24. <view class="tit_box_left">
  25. <van-tag plain type="danger" color="#FC9A55" style="margin-right:10px;">汇票号</van-tag>
  26. <text class="tit">{{item.orderNum}}</text>
  27. </view>
  28. <view class="tit_type">
  29. <text>{{item.orderTypeText}}</text>
  30. </view>
  31. </view>
  32. <view class="detail_box">
  33. <view class="detail_box_left">
  34. <text class="fkmc">{{item.billPayUnit}}</text>
  35. <text class="fkdw">付票单位</text>
  36. </view>
  37. <view class="detail_box_center">
  38. <text class="detail_box_money">¥{{item.orderAmount}}</text>
  39. <image src="/image/icon/{{item.orderStatus == 1 ? 'zk' : item.orderStatus == 2 ? 'zfz' : item.orderStatus == 3 ? 'zf' : item.orderStatus == 4 ? 'cd' : ''}}.png" style="width:38px;" mode="widthFix"></image>
  40. <text style="color: {{item.orderStatus == 1 ? '#FC9A55' : item.orderStatus == 2 ? '#5CAE77' : item.orderStatus == 3 ? '#E90000' : item.orderStatus == 4 ? '#878787' : ''}};font-size: 12px;">{{item.orderStatus == 1 ? '在库' : item.orderStatus == 2 ? '转付中' : item.orderStatus == 3 ? '转付' : item.orderStatus == 4 ? '承兑' : ''}}</text>
  41. </view>
  42. <view class="detail_box_right">
  43. <text class="fkmc">{{item.billReceiveUnit}}</text>
  44. <text class="skdw">收票单位</text>
  45. </view>
  46. </view>
  47. <view class="detail_time">
  48. <image src="/image/icon/icon_date.png" style="width: 14px;height: 14px;"></image>
  49. <text>{{item.startTime}} - {{item.endTime}}</text>
  50. </view>
  51. </view>
  52. <view slot="right" class="deleteBox">
  53. <view style="flex: 1;height: 100%;display: flex;align-items: center;">
  54. <image src="../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;" data-id="{{item.id}}" data-index="{{index}}" bindtap="delete"></image>
  55. </view>
  56. </view>
  57. </van-swipe-cell>