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

180 lines
7.5 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>
  16. <view class="top_view">
  17. <van-dropdown-menu active-color="#5CAE77" bind:change="changeTab" id="top_view1" style="width: 82%;">
  18. <van-dropdown-item value="{{ value1 }}" options="{{ option1 }}" bind:change="changeTab1" />
  19. <!-- <van-dropdown-item value="{{ value2 }}" options="{{ option2 }}" bind:change="changeTab2" /> -->
  20. <van-dropdown-item value="{{ value3 }}" options="{{ option3 }}" bind:change="changeTab3" />
  21. </van-dropdown-menu>
  22. <view class="sx_view" bindtap="showPopup">
  23. <text style="flex-shrink: 0;">筛选</text>
  24. <image src="/image/icon/icon_sx.png" style="width: 15px;height: 15px;margin-left: 5px;"></image>
  25. </view>
  26. </view>
  27. <scroll-view scroll-y refresher-threshold="0" style="height:100%" bindscrolltolower="paging" lower-threshold="100">
  28. <!-- wx:for="{{list}}" wx:key="index" wx:for-item="item" right-width="{{ 50 }}" -->
  29. <van-swipe-cell right-width="{{ item.checkStatus != 1 ? 195 : 130 }}" class="workflow" wx:for="{{list}}" wx:key="index" >
  30. <view class="li" data-id="{{item.approvalItemTemplateId}}" data-ids="{{item.transferId}}" bindtap="toPayDetail" >
  31. <view style="width:70%;flex:7;">
  32. <view class="tit_box">
  33. <image src="/image/icon/icon_fu16.png" style="width: 16px;height: 16px;margin-right: 10px;" referrer="no-referrer|origin|unsafe-url"></image>
  34. <view>
  35. <text class="tit">{{item.payer}}</text>
  36. <text class="tit">{{item.payerAccount}}</text>
  37. </view>
  38. <text class="tit_tab2 {{item.checkStatus == 0 ? 'tit_dhd':item.checkStatus == 1 ? 'tit_cg':item.checkStatus == 2 ? 'tit_sb':item.checkStatus == 3 ? 'tit_rgqr':''}}">{{item.checkStatusText}}</text>
  39. </view>
  40. <view class="tit_box" wx:if="{{item.payee!=null}}">
  41. <image src="/image/icon/icon_yn.png" style="width: 16px;height: 36px;margin-right: 10px;flex-shrink: 0;"></image>
  42. <view>
  43. <text class="tit">{{item.payee}}</text>
  44. <text class="tit">{{item.payeeAccount}}</text>
  45. </view>
  46. <text class="tit_tab3 red">¥{{item.incomeAmount}}</text>
  47. </view>
  48. <view class="tit_box" wx:if="{{item.payeeToname!=null}}">
  49. <image src="/image/icon/icon_yh.png" style="width: 16px;height: 36px;margin-right: 10px;flex-shrink: 0;"></image>
  50. <view>
  51. <text class="tit">{{item.payeeToname}}</text>
  52. <text class="tit">{{item.payeeActacn}}</text>
  53. </view>
  54. <text class="tit_tab3 green">¥{{item.txnamt}}</text>
  55. </view>
  56. <view style="display: flex;align-items: center;margin-top: 10px;">
  57. <image src="/image/icon/clock_icon.png" style="width: 15px;height: 15px;border-radius:5px;margin-right: 5px;"></image>
  58. <text style="color: #878787;line-height: 1;">{{item.applyTime}}</text>
  59. </view>
  60. </view>
  61. </view>
  62. <view slot="right" class="cell_right">
  63. <!-- <view class="button_box"><view></view></view> -->
  64. <view class="button_box" data-id="{{item.recordId}}" bindtap="goMX">
  65. <view>
  66. <image src="/image/icon/icon_mx.png" style="width: 15px;height: 17px;"></image>
  67. <text>明细</text>
  68. </view>
  69. </view>
  70. <view class="button_box" bindtap="goRegular" wx:if="{{item.checkStatus != 1}}">
  71. <view data-id="{{item.id}}" bindtap="openDZ">
  72. <image src="/image/icon/icon_dz.png" style="width: 15px;height: 17px;"></image>
  73. <text>对账</text>
  74. </view>
  75. </view>
  76. <view class="button_box"
  77. data-url="{{item.alternateField2}}"
  78. data-field1="{{item.alternateField1}}"
  79. data-field4="{{item.alternateField4}}"
  80. data-field9="{{item.alternateField9}}"
  81. data-id="{{item.id}}"
  82. bindtap="goHD">
  83. <view>
  84. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  85. <text>回单</text>
  86. </view>
  87. </view>
  88. </view>
  89. </van-swipe-cell>
  90. </scroll-view>
  91. <van-popup
  92. show="{{ showPopup }}"
  93. round
  94. position="right"
  95. custom-style="height: 100%;width:90%;"
  96. bind:close="onClose"
  97. >
  98. <view class="sx_box" style="margin-top:{{isIPX?'88px':'64px'}};">
  99. <text class="sx_tit">我方账户</text>
  100. <van-radio-group value="{{ result1 }}" bind:change="onChangeZH">
  101. <van-radio use-icon-slot name="{{item.bankAccountNumber}}" wx:for="{{accountList}}" wx:key="index">
  102. <view slot="icon" class="{{result1 == item.bankAccountNumber ? 'ys_checkbox_icon':'checkbox_icon'}}">
  103. {{item.accountName}}
  104. </view>
  105. </van-radio>
  106. </van-radio-group>
  107. <!--
  108. <text class="sx_tit">业务类型</text>
  109. <van-radio-group value="{{ result2 }}" bind:change="onChangeLX">
  110. <van-radio use-icon-slot name="{{item.value}}" wx:for="{{option2}}" wx:key="index" >
  111. <view slot="icon" class="{{result2 == item.value ? 'ys_checkbox_icon':'checkbox_icon'}}">
  112. {{item.text}}
  113. </view>
  114. </van-radio>
  115. </van-radio-group> -->
  116. <text class="sx_tit">来往帐标识</text>
  117. <van-radio-group value="{{ result3 }}" bind:change="onChangeBS">
  118. <van-radio use-icon-slot name="{{item.value}}" wx:for="{{option3}}" wx:key="index" >
  119. <view slot="icon" class="{{result3 == item.value ? 'ys_checkbox_icon':'checkbox_icon'}}">
  120. {{item.text}}
  121. </view>
  122. </van-radio>
  123. </van-radio-group>
  124. <text class="sx_tit">金额范围</text>
  125. <view class="sx_input_box">
  126. <input placeholder="最低价" value="{{txnamtMin}}" bindinput="minInput" /><text> - </text><input placeholder="最高价" value="{{xnamtMax}}" bindinput="maxInput" />
  127. </view>
  128. <text class="sx_tit">交易日期</text>
  129. <view class="sx_input_box">
  130. <picker mode="date" value="{{beginApplyDate}}" bindchange="bindDateBeginChange">
  131. <view class="picker">
  132. <input disabled placeholder="开始日期" value="{{beginApplyDate}}" />
  133. </view>
  134. </picker>
  135. <text> - </text>
  136. <picker mode="date" value="{{endApplyDate}}" bindchange="bindDateEndChange">
  137. <view class="picker">
  138. <input disabled placeholder="结束日期" value="{{endApplyDate}}" />
  139. </view>
  140. </picker>
  141. </view>
  142. <view class="bottom">
  143. <!-- <view class="btn1" data-type="3" bindtap="goSubmit">提交复核</view> -->
  144. <view class="btn1" bindtap="reset">重置</view>
  145. <view class="btn2" data-type="0" bindtap="goSubmit" hover-class="btnView">确定</view>
  146. </view>
  147. </view>
  148. </van-popup>
  149. <van-dialog
  150. use-slot
  151. title="人工对账备注"
  152. show="{{ showDialog }}"
  153. bind:close="onClose"
  154. theme='round-button'
  155. confirmButtonText="保存"
  156. bind:confirm="goDZ"
  157. before-close="{{beforeClose }}"
  158. closeOnClickOverlay="{{ true }}"
  159. >
  160. <input class="input_tit" placeholder="请输入人工对账备注" style="width: 90%;margin: 0 auto;margin-top: 25px;margin-bottom: 10px;text-align: center;border: 1px solid #ddd;height: 35px;line-height: 35px;" value="{{manualRemark}}" bindinput="bindNameInput"/>
  161. </van-dialog>
  162. <wxs module="iOf">
  163. var indexOf = function(name,value){
  164. return name.indexOf(value);
  165. }
  166. module.exports.indexOf = indexOf;
  167. </wxs>