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

244 lines
10 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" id="top_view" 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" id="top_view1">
  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:{{scrollHeight}}px" bindscrolltolower="paging" lower-threshold="100" id="top_view2">
  28. <!-- wx:for="{{list}}" wx:key="index" wx:for-item="item" right-width="{{ 50 }}" -->
  29. <van-swipe-cell right-width="{{ 65 }}" class="workflow" wx:for="{{list}}" wx:key="index" >
  30. <view class="li" data-id="{{item.approvalItemTemplateId}}" data-id="{{item.id}}" bindtap="toPayDetail" >
  31. <view style="width:70%;flex:7;">
  32. <view class="tit_box">
  33. <view>
  34. <text class="tit">凭证编号{{item.vchnum}}</text>
  35. <text class="tit">{{item.payerAccount}}</text>
  36. </view>
  37. <text class="tit_tab2 tit_sb">{{item.vchnum}}</text>
  38. </view>
  39. <view class="tit_box">
  40. <view style="background-color: #5CAE77;color: #fff;line-height: 1;padding: 5px;font-size: 12px;border-radius: 50%;margin-right: 5px;">我</view>
  41. <view>
  42. <text class="tit">{{actacnName}}</text>
  43. </view>
  44. <text class="tit_tab">{{item.directionText}}</text>
  45. </view>
  46. <view class="tit_box">
  47. <view style="background-color: #E90000;color: #fff;line-height: 1;padding: 5px;font-size: 12px;border-radius: 50%;margin-right: 5px;">对</view>
  48. <text class="tit">{{item.payeeToname}}</text>
  49. <text class="tit_tab3 hui">{{item.payeeActacn}}</text>
  50. </view>
  51. <view style="display: flex;align-items: center;margin-top: 10px;">
  52. <image src="/image/icon/clock_icon.png" style="width: 15px;height: 15px;border-radius:5px;margin-right: 5px;"></image>
  53. <text style="color: #878787;line-height: 1;">{{item.txndate}}</text>
  54. <text class="tit_tab3 {{item.direction == '1' && item.furinfo!='冲正' ? 'green' : 'red'}}">¥<text style="font-size: 1.5rem;display: inline-block;">{{item.direction == '1' ? '+' : item.furinfo!='冲正' ? '-':''}}{{item.txnamt}}</text></text>
  55. </view>
  56. </view>
  57. </view>
  58. <view slot="right" class="cell_right">
  59. <!-- <view class="button_box"><view></view></view> -->
  60. <!-- <view class="button_box"
  61. data-url="{{item.alternateField2}}"
  62. data-field1="{{item.alternateField1}}"
  63. data-field4="{{item.alternateField4}}"
  64. data-field9="{{item.alternateField9}}"
  65. data-id="{{item.id}}"
  66. bindtap="goHD"
  67. >
  68. <view>
  69. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  70. <text>回单</text>
  71. </view>
  72. </view> -->
  73. <view class="button_box" data-row="{{item}}" bindtap="handleHuidan" wx:if="{{item.alternateField1=='2' && item.alternateField2 != null && item.alternateField2 != '' && item.alternateField2.indexOf('失败') == -1}}">
  74. <view>
  75. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  76. <text>重查回单列表</text>
  77. </view>
  78. </view>
  79. <view class="button_box" data-row="{{item}}" bindtap="handleView1" wx:if="{{item.alternateField1=='1' && item.alternateField2!='' && item.alternateField2!=null}}">
  80. <view>
  81. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  82. <text>电子回单</text>
  83. </view>
  84. </view>
  85. <view class="button_box" data-row="{{item}}" bindtap="handleView2" wx:if="{{item.alternateField1=='2' && item.alternateField9!='' && item.alternateField9!=null}}">
  86. <view>
  87. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  88. <text>电子回单</text>
  89. </view>
  90. </view>
  91. <view class="button_box" data-row="{{item}}" bindtap="handleView4" wx:if="{{item.alternateField1=='4' && item.alternateField5!='' && item.alternateField5!=null}}">
  92. <view>
  93. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  94. <text>电子回单</text>
  95. </view>
  96. </view>
  97. <view class="button_box" data-row="{{item}}" bindtap="handleView3" wx:if="{{item.alternateField1=='3'}}">
  98. <view>
  99. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  100. <text>电子回单</text>
  101. </view>
  102. </view>
  103. <view class="button_box" data-row="{{item}}" bindtap="handleView5" wx:if="{{item.alternateField1=='5' && item.alternateField4!='' && item.alternateField4!=null}}">
  104. <view>
  105. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  106. <text>电子回单</text>
  107. </view>
  108. </view>
  109. <view class="button_box" data-row="{{item}}" bindtap="handleView6" wx:if="{{item.alternateField1=='6'}}">
  110. <view>
  111. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  112. <text>电子回单</text>
  113. </view>
  114. </view>
  115. <view class="button_box" data-row="{{item}}" bindtap="handleView8" wx:if="{{item.alternateField1=='8'}}">
  116. <view>
  117. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  118. <text>电子回单</text>
  119. </view>
  120. </view>
  121. <view class="button_box" data-row="{{item}}" bindtap="handleView18" wx:if="{{item.alternateField1=='18'}}">
  122. <view>
  123. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  124. <text>电子回单</text>
  125. </view>
  126. </view>
  127. </view>
  128. </van-swipe-cell>
  129. </scroll-view>
  130. <van-popup
  131. show="{{ showPopup }}"
  132. round
  133. position="right"
  134. custom-style="height: 100%;width:90%;"
  135. bind:close="onClose"
  136. >
  137. <view class="sx_box" style="margin-top:{{isIPX?'88px':'64px'}};">
  138. <text class="sx_tit">我方账户</text>
  139. <van-radio-group value="{{ result1 }}" bind:change="onChangeZH">
  140. <van-radio use-icon-slot name="{{item.bankAccountNumber}}" wx:for="{{accountList}}" wx:key="index">
  141. <view slot="icon" class="{{result1 == item.bankAccountNumber ? 'ys_checkbox_icon':'checkbox_icon'}}">
  142. {{item.accountName}}
  143. </view>
  144. </van-radio>
  145. </van-radio-group>
  146. <text class="sx_tit">业务类型</text>
  147. <van-radio-group value="{{ result2 }}" bind:change="onChangeLX">
  148. <van-radio use-icon-slot name="{{item.value}}" wx:for="{{option2}}" wx:key="index" >
  149. <view slot="icon" class="{{result2 == item.value ? 'ys_checkbox_icon':'checkbox_icon'}}">
  150. {{item.text}}
  151. </view>
  152. </van-radio>
  153. </van-radio-group>
  154. <text class="sx_tit">来往帐标识</text>
  155. <van-radio-group value="{{ result3 }}" bind:change="onChangeBS">
  156. <van-radio use-icon-slot name="{{item.value}}" wx:for="{{option3}}" wx:key="index" >
  157. <view slot="icon" class="{{result3 == item.value ? 'ys_checkbox_icon':'checkbox_icon'}}">
  158. {{item.text}}
  159. </view>
  160. </van-radio>
  161. </van-radio-group>
  162. <text class="sx_tit">金额范围</text>
  163. <view class="sx_input_box">
  164. <input placeholder="最低价" value="{{txnamtMin}}" bindinput="minInput" /><text> - </text><input placeholder="最高价" value="{{xnamtMax}}" bindinput="maxInput" />
  165. </view>
  166. <text class="sx_tit">交易日期</text>
  167. <view class="sx_input_box">
  168. <picker mode="date" value="{{beginApplyDate}}" bindchange="bindDateBeginChange">
  169. <view class="picker">
  170. <input disabled placeholder="开始日期" value="{{beginApplyDate}}" />
  171. </view>
  172. </picker>
  173. <text> - </text>
  174. <picker mode="date" value="{{endApplyDate}}" bindchange="bindDateEndChange">
  175. <view class="picker">
  176. <input disabled placeholder="结束日期" value="{{endApplyDate}}" />
  177. </view>
  178. </picker>
  179. </view>
  180. <view class="bottom">
  181. <!-- <view class="btn1" data-type="3" bindtap="goSubmit">提交复核</view> -->
  182. <view class="btn1" bindtap="reset">重置</view>
  183. <view class="btn2" data-type="0" bindtap="goSubmit" hover-class="btnView">确定</view>
  184. </view>
  185. </view>
  186. </van-popup>
  187. <van-dialog
  188. use-slot
  189. title="人工对账备注"
  190. show="{{ showDialog }}"
  191. bind:close="onClose"
  192. theme='round-button'
  193. confirmButtonText="保存"
  194. bind:confirm="goDZ"
  195. before-close="{{beforeClose }}"
  196. closeOnClickOverlay="{{ true }}"
  197. >
  198. <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"/>
  199. </van-dialog>
  200. <van-dialog
  201. use-slot
  202. title="回单短信"
  203. show="{{ recordopen4 }}"
  204. bind:close="onClose"
  205. theme='round-button'
  206. confirmButtonText="确定"
  207. bind:confirm="smsSubmitForm"
  208. before-close="{{ beforeClose }}"
  209. closeOnClickOverlay="{{ true }}"
  210. >
  211. <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="{{formSms.alternateField2}}" bindinput="bindNameInput"/>
  212. </van-dialog>
  213. <wxs module="iOf">
  214. var indexOf = function(name,value){
  215. return name.indexOf(value);
  216. }
  217. module.exports.indexOf = indexOf;
  218. </wxs>