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

201 lines
8.2 KiB

  1. <!--pages/regular/index.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 class="add_btn" bindtap="goAdd"><text>新增</text></view>
  16. </view>
  17. <view class="top_view">
  18. <van-dropdown-menu active-color="#5CAE77" bind:change="changeTab" id="top_view1" style="width: 82%;">
  19. <van-dropdown-item value="{{ value1 }}" options="{{ option1 }}" bind:change="changeTab1" />
  20. <van-dropdown-item value="{{ value2 }}" options="{{ option2 }}" bind:change="changeTab2" />
  21. <van-dropdown-item value="{{ value3 }}" options="{{ option3 }}" bind:change="changeTab3" />
  22. </van-dropdown-menu>
  23. <view class="sx_view" bindtap="showPopup">
  24. <text style="flex-shrink: 0;">筛选</text>
  25. <image src="/image/icon/icon_sx.png" style="width: 15px;height: 15px;margin-left: 5px;"></image>
  26. </view>
  27. </view>
  28. <scroll-view scroll-y refresher-threshold="0" style="height:100%" bindscrolltolower="paging" lower-threshold="100">
  29. <!-- wx:for="{{list}}" wx:key="index" wx:for-item="item" right-width="{{ 50 }}" -->
  30. <van-swipe-cell right-width="{{ 195 }}" class="workflow" wx:for="{{list}}" wx:key="index" >
  31. <view class="li" >
  32. <view style="width:70%;flex:7;">
  33. <view class="tit_box">
  34. <image src="/image/icon/icon_fu16.png" style="width: 16px;height: 16px;margin-right: 10px;" referrer="no-referrer|origin|unsafe-url"></image>
  35. <view>
  36. <text class="tit">{{item.payer}}</text>
  37. <text class="tit">{{item.payerAccount}}</text>
  38. </view>
  39. <text class="tit_tab2">人工确认</text>
  40. </view>
  41. <view class="tit_box">
  42. <image src="/image/icon/icon_yn.png" style="width: 16px;height: 36px;margin-right: 10px;" referrer="no-referrer|origin|unsafe-url"></image>
  43. <view>
  44. <text class="tit">{{item.payee}}</text>
  45. <text class="tit">{{item.payeeAccount}}</text>
  46. </view>
  47. <text class="tit_tab3 red">¥{{item.incomeAmount}}</text>
  48. </view>
  49. <view class="tit_box">
  50. <image src="/image/icon/icon_yh.png" style="width: 16px;height: 36px;margin-right: 10px;" referrer="no-referrer|origin|unsafe-url"></image>
  51. <view>
  52. <text class="tit">{{item.payeeToname}}</text>
  53. <text class="tit">{{item.payeeActacn}}</text>
  54. </view>
  55. <text class="tit_tab3 green">¥{{item.txnamt}}</text>
  56. </view>
  57. <view style="display: flex;align-items: center;margin-top: 10px;">
  58. <image src="/image/icon/clock_icon.png" style="width: 15px;height: 15px;border-radius:5px;margin-right: 5px;"></image>
  59. <text style="color: #878787;line-height: 1;">{{item.applyTime}}</text>
  60. </view>
  61. </view>
  62. <!-- <view style="width:30%;flex:3;">
  63. <view style="text-align: right;">
  64. <view style="color:red;line-height: 50px;font-size: 18px;">
  65. <text style="font-size: 10px;display: inline;">¥</text>666
  66. </view>
  67. </view>
  68. <view style="text-align: right;" bindtap="toPay" data-id="{{item.approvalItemTemplateId}}" data-ids="{{item.id}}">
  69. <button type="primary" size="mini" style="border-radius: 15px;" >待支付</button>
  70. </view>
  71. </view> -->
  72. </view>
  73. <view slot="right" class="cell_right">
  74. <!-- <view class="button_box"><view></view></view> -->
  75. <view class="button_box" bindtap="showTransactionDialog">
  76. <view>
  77. <image src="/image/icon/icon_mx.png" style="width: 15px;height: 17px;"></image>
  78. <text>明细</text>
  79. </view>
  80. </view>
  81. <view class="button_box" bindtap="goRegular">
  82. <view>
  83. <image src="/image/icon/icon_dz.png" style="width: 15px;height: 17px;"></image>
  84. <text>对账</text>
  85. </view>
  86. </view>
  87. <view class="button_box" bindtap="showReceiptDialog">
  88. <view>
  89. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  90. <text>回单</text>
  91. </view>
  92. </view>
  93. </view>
  94. <!-- <view slot="right" class="deleteBox">
  95. <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">
  96. <view>
  97. <image src="../../image/icon/upload_icon.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image>
  98. </view>
  99. <view>
  100. <text style="color: #62AD66;">附件</text>
  101. </view>
  102. </view>
  103. </view> -->
  104. </van-swipe-cell>
  105. </scroll-view>
  106. <!-- <van-action-sheet show="{{showUpload}}" title="附件" bind:close="closeBox">
  107. <scroll-view scroll-y="true" style="height: 600rpx;" scroll-top="0">
  108. <view class="fj-box">
  109. <view class="fj-li" wx:for="{{fileList}}" wx:key="index" wx:for-item="item" >
  110. <view>
  111. <text>{{item.dictLabel}}</text>
  112. </view>
  113. <view class="img_box">
  114. <view class="img_li">
  115. <van-upload file-list="{{ item.list }}" deletable="{{false}}" show-upload="{{false}}" bind:click-preview="lookDown">
  116. </van-upload>
  117. </view>
  118. </view>
  119. </view>
  120. </view>
  121. </scroll-view>
  122. </van-action-sheet>custom-style="height: 20%;" -->
  123. <van-popup
  124. show="{{ showPopup }}"
  125. round
  126. position="right"
  127. custom-style="height: 100%;width:90%;"
  128. bind:close="onClose"
  129. >
  130. <view class="sx_box" style="margin-top:{{isIPX?'88px':'64px'}};">
  131. <text class="sx_tit">我方账户</text>
  132. <van-radio-group value="{{ result1 }}" bind:change="onChangeZH">
  133. <van-radio use-icon-slot name="{{item.bankAccountNumber}}" wx:for="{{accountList}}" wx:key="index">
  134. <view slot="icon" class="{{result1 == item.bankAccountNumber ? 'ys_checkbox_icon':'checkbox_icon'}}">
  135. {{item.accountName}}
  136. </view>
  137. </van-radio>
  138. </van-radio-group>
  139. <text class="sx_tit">业务类型</text>
  140. <van-radio-group value="{{ result2 }}" bind:change="onChangeLX">
  141. <van-radio use-icon-slot name="{{item.value}}" wx:for="{{option2}}" wx:key="index" >
  142. <view slot="icon" class="{{result2 == item.value ? 'ys_checkbox_icon':'checkbox_icon'}}">
  143. {{item.text}}
  144. </view>
  145. </van-radio>
  146. </van-radio-group>
  147. <text class="sx_tit">来往帐标识</text>
  148. <van-radio-group value="{{ result3 }}" bind:change="onChangeBS">
  149. <van-radio use-icon-slot name="{{item.value}}" wx:for="{{option3}}" wx:key="index" >
  150. <view slot="icon" class="{{result3 == item.value ? 'ys_checkbox_icon':'checkbox_icon'}}">
  151. {{item.text}}
  152. </view>
  153. </van-radio>
  154. </van-radio-group>
  155. <text class="sx_tit">金额范围</text>
  156. <view class="sx_input_box">
  157. <input placeholder="最低价" value="{{txnamtMin}}" bindinput="minInput" /><text> - </text><input placeholder="最高价" value="{{xnamtMax}}" bindinput="maxInput" />
  158. </view>
  159. <text class="sx_tit">交易日期</text>
  160. <view class="sx_input_box">
  161. <picker mode="date" value="{{beginApplyDate}}" bindchange="bindDateBeginChange">
  162. <view class="picker">
  163. <input disabled placeholder="开始日期" value="{{beginApplyDate}}" />
  164. </view>
  165. </picker>
  166. <text> - </text>
  167. <picker mode="date" value="{{endApplyDate}}" bindchange="bindDateEndChange">
  168. <view class="picker">
  169. <input disabled placeholder="结束日期" value="{{endApplyDate}}" />
  170. </view>
  171. </picker>
  172. </view>
  173. <view class="bottom">
  174. <!-- <view class="btn1" data-type="3" bindtap="goSubmit">提交复核</view> -->
  175. <view class="btn1" bindtap="back">重置</view>
  176. <view class="btn2" data-type="0" bindtap="goSubmit" hover-class="btnView">确定</view>
  177. </view>
  178. </view>
  179. </van-popup>
  180. <wxs module="iOf">
  181. var indexOf = function(name,value){
  182. return name.indexOf(value);
  183. }
  184. module.exports.indexOf = indexOf;
  185. </wxs>