微信小程序
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.

paymentManager.wxml 5.1 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <!--pages/paymentManager/paymentManager.wxml-->
  2. <view class="ns" id="top_ban" style="height:{{isIPX?'88px':'64px'}};">
  3. <image src="../../image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};height: 19.0909px;" mode="widthFix" bindtap="back" referrer="no-referrer|origin|unsafe-url"></image>
  4. <text style="top:{{isIPX?'54px':'30px'}};">支付管理</text>
  5. </view>
  6. <view class="search_box" style="margin-top:{{isIPX?'88px':'64px'}};">
  7. <van-search
  8. value="{{ value }}"
  9. shape="round"
  10. background="transparent"
  11. placeholder="请输入名称搜索"
  12. clearable
  13. bind:change="goSearch"
  14. />
  15. </view>
  16. <van-dropdown-menu active-color="#5CAE77" bind:change="changeTab" id="top_view1" class="search_box">
  17. <van-dropdown-item value="{{ value1 }}" options="{{ option1 }}" bind:change="changeTab" />
  18. <van-dropdown-item value="{{ value2 }}" options="{{ option2 }}" bind:change="changeTab2" />
  19. <van-dropdown-item value="{{ value3 }}" options="{{ option3 }}" bind:change="changeTab3" />
  20. </van-dropdown-menu>
  21. <scroll-view scroll-y refresher-threshold="0" style="height:{{scrollHeight}}px" bindscrolltolower="paging" lower-threshold="100">
  22. <van-swipe-cell right-width="{{ 50 }}" class="workflow" wx:for="{{list}}" wx:key="index" wx:for-item="item">
  23. <view class="li">
  24. <view style="width:70%;flex:7;" data-id="{{item.approvalItemTemplateId}}" data-ids="{{item.id}}" bindtap="toPayDetail" >
  25. <view class="tit_box">
  26. <image src="/image/icon/paymentManager_icon.png" style="width: 15px;height: 15px;margin-right: 10px;vertical-align: middle;" referrer="no-referrer|origin|unsafe-url"></image>
  27. <text class="tit">{{item.remark}}</text>
  28. </view>
  29. <view class="detail_box">
  30. <view style="margin-left:5%;color:grey;font-size: 12px;justify-content: space-between;display: contents;">
  31. <text>{{item.payerAccount}}</text>
  32. <text style="color:#62AD66;background-color: rgb(98,173,102,0.2);padding:2px 4px;text-align: right;">{{item.transferType==1?"银行还款":"信用卡还款"}}</text>
  33. </view>
  34. </view>
  35. <view class="detail_box">
  36. <view style="width: 50%;">
  37. <image src="/image/icon/clock_icon.png" style="width: 15px;height: 15px;border-radius:5px;margin-right: 5px;"></image>
  38. <text>{{item.applyDate}}</text>
  39. </view>
  40. <view style="width: 50%;">
  41. <image src="/image/icon/clock_red_icon.png" style="width: 15px;height: 15px;border-radius:5px;margin-right: 5px;"></image>
  42. <text>{{item.applyDate}}</text>
  43. </view>
  44. </view>
  45. </view>
  46. <view style="width:30%;flex:3;display: flex;flex-direction: column;justify-content: space-between;">
  47. <view style="text-align: right;">
  48. <view style="color:red;font-size: 18px;">
  49. <text style="font-size: 10px;display: inline;">¥</text>{{item.expenditureAmount}}
  50. </view>
  51. </view>
  52. <view style="text-align: right;">
  53. <button wx-if="{{item.paymentState==1}}" type="primary" size="mini" style="border-radius: 15px;" bindtap="toPay" data-id="{{item.approvalItemTemplateId}}" data-ids="{{item.id}}">待支付</button>
  54. <button wx-if="{{item.paymentState==3}}" type="primary" size="mini" style="border-radius: 15px;background-color: #B3DB62;" data-id="{{item.approvalItemTemplateId}}" data-ids="{{item.id}}" bindtap="toPayDetail">银行受理</button>
  55. <button wx-if="{{item.paymentState==4}}" type="warn" size="mini" style="border-radius: 15px;" data-id="{{item.approvalItemTemplateId}}" data-ids="{{item.id}}" bindtap="toPayDetail">支付失败</button>
  56. <button wx-if="{{item.paymentState==5}}" type="primary" size="mini" style="border-radius: 15px;background-color: #FC9A55;" data-id="{{item.approvalItemTemplateId}}" data-ids="{{item.id}}" bindtap="toPayDetail">部分失败</button>
  57. </view>
  58. </view>
  59. </view>
  60. <view slot="right" class="deleteBox">
  61. <view style="flex: 1;height: 100%;display: flex;align-items: center;flex-direction: column;justify-content: center;background-color: rgb(98,173,102,0.2);" data-id="{{item.id}}" data-index="{{index}}" bindtap="upload">
  62. <view>
  63. <image src="../../image/icon/upload_icon.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image>
  64. </view>
  65. <view>
  66. <text style="color: #62AD66;">附件</text>
  67. </view>
  68. </view>
  69. </view>
  70. </van-swipe-cell>
  71. </scroll-view>
  72. <van-action-sheet show="{{showUpload}}" title="附件" bind:close="closeBox">
  73. <scroll-view scroll-y="true" style="height: 600rpx;" scroll-top="0">
  74. <view class="fj-box">
  75. <view class="fj-li" wx:for="{{fileList}}" wx:key="index" wx:for-item="item" >
  76. <view>
  77. <text>{{item.dictLabel}}</text>
  78. </view>
  79. <view class="img_box">
  80. <view class="img_li">
  81. <van-upload file-list="{{ item.list }}" deletable="{{false}}" show-upload="{{false}}" bind:click-preview="lookDown">
  82. </van-upload>
  83. </view>
  84. </view>
  85. </view>
  86. </view>
  87. </scroll-view>
  88. </van-action-sheet>