微信小程序
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

251 Zeilen
11 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 class="button_box" data-row="{{item}}" bindtap="handleView10" wx:if="{{item.alternateField1=='10'}}">
  128. <view>
  129. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  130. <text>电子回单</text>
  131. </view>
  132. </view>
  133. </view>
  134. </van-swipe-cell>
  135. </scroll-view>
  136. <van-popup
  137. show="{{ showPopup }}"
  138. round
  139. position="right"
  140. custom-style="height: 100%;width:90%;"
  141. bind:close="onClose"
  142. >
  143. <view class="sx_box" style="margin-top:{{isIPX?'88px':'64px'}};">
  144. <text class="sx_tit">我方账户</text>
  145. <van-radio-group value="{{ result1 }}" bind:change="onChangeZH">
  146. <van-radio use-icon-slot name="{{item.bankAccountNumber}}" wx:for="{{accountList}}" wx:key="index">
  147. <view slot="icon" class="{{result1 == item.bankAccountNumber ? 'ys_checkbox_icon':'checkbox_icon'}}">
  148. {{item.accountName}}
  149. </view>
  150. </van-radio>
  151. </van-radio-group>
  152. <text class="sx_tit">业务类型</text>
  153. <van-radio-group value="{{ result2 }}" bind:change="onChangeLX">
  154. <van-radio use-icon-slot name="{{item.value}}" wx:for="{{option2}}" wx:key="index" >
  155. <view slot="icon" class="{{result2 == item.value ? 'ys_checkbox_icon':'checkbox_icon'}}">
  156. {{item.text}}
  157. </view>
  158. </van-radio>
  159. </van-radio-group>
  160. <text class="sx_tit">来往帐标识</text>
  161. <van-radio-group value="{{ result3 }}" bind:change="onChangeBS">
  162. <van-radio use-icon-slot name="{{item.value}}" wx:for="{{option3}}" wx:key="index" >
  163. <view slot="icon" class="{{result3 == item.value ? 'ys_checkbox_icon':'checkbox_icon'}}">
  164. {{item.text}}
  165. </view>
  166. </van-radio>
  167. </van-radio-group>
  168. <text class="sx_tit">金额范围</text>
  169. <view class="sx_input_box">
  170. <input placeholder="最低价" value="{{txnamtMin}}" bindinput="minInput" /><text> - </text><input placeholder="最高价" value="{{xnamtMax}}" bindinput="maxInput" />
  171. </view>
  172. <text class="sx_tit">交易日期</text>
  173. <view class="sx_input_box">
  174. <picker mode="date" value="{{beginApplyDate}}" bindchange="bindDateBeginChange">
  175. <view class="picker">
  176. <input disabled placeholder="开始日期" value="{{beginApplyDate}}" />
  177. </view>
  178. </picker>
  179. <text> - </text>
  180. <picker mode="date" value="{{endApplyDate}}" bindchange="bindDateEndChange">
  181. <view class="picker">
  182. <input disabled placeholder="结束日期" value="{{endApplyDate}}" />
  183. </view>
  184. </picker>
  185. </view>
  186. <view class="bottom">
  187. <!-- <view class="btn1" data-type="3" bindtap="goSubmit">提交复核</view> -->
  188. <view class="btn1" bindtap="reset">重置</view>
  189. <view class="btn2" data-type="0" bindtap="goSubmit" hover-class="btnView">确定</view>
  190. </view>
  191. </view>
  192. </van-popup>
  193. <van-dialog
  194. use-slot
  195. title="人工对账备注"
  196. show="{{ showDialog }}"
  197. bind:close="onClose"
  198. theme='round-button'
  199. confirmButtonText="保存"
  200. bind:confirm="goDZ"
  201. before-close="{{beforeClose }}"
  202. closeOnClickOverlay="{{ true }}"
  203. >
  204. <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"/>
  205. </van-dialog>
  206. <van-dialog
  207. use-slot
  208. title="回单短信"
  209. show="{{ recordopen4 }}"
  210. bind:close="onClose"
  211. theme='round-button'
  212. confirmButtonText="确定"
  213. bind:confirm="smsSubmitForm"
  214. before-close="{{ beforeClose }}"
  215. closeOnClickOverlay="{{ true }}"
  216. >
  217. <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"/>
  218. </van-dialog>
  219. <wxs module="iOf">
  220. var indexOf = function(name,value){
  221. return name.indexOf(value);
  222. }
  223. module.exports.indexOf = indexOf;
  224. </wxs>