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

281 line
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" 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="flex: 1;">
  19. <van-dropdown-item value="{{ value1 }}" options="{{ option1 }}" bind:change="changeTab" />
  20. <van-dropdown-item value="{{ value2 }}" options="{{ option2 }}" bind:change="changeTab2" />
  21. <van-dropdown-item value="{{ value3 }}" options="{{ option3 }}" bind:change="changeTab2" />
  22. </van-dropdown-menu>
  23. <view class="sx_view" bindtap="showPopup">
  24. <text>筛选</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="{{5}}" >
  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">龙华村联合社华</text>
  37. <text class="tit">5001010120010472253</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">龙华村联合社华</text>
  45. <text class="tit">5001010120010472253</text>
  46. </view>
  47. <text class="tit_tab3 red">¥150.00</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">龙华村联合社华</text>
  53. <text class="tit">5001010120010472253</text>
  54. </view>
  55. <text class="tit_tab3 green">¥150.00</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;">2021.09.01</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-checkbox-group value="{{ result }}" bind:change="onChange">
  133. <van-checkbox use-icon-slot name="a">
  134. <view slot="icon" class="{{iOf.indexOf(result,'a') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  135. 乳山市徐家镇农村财务
  136. </view>
  137. </van-checkbox>
  138. <van-checkbox use-icon-slot name="b">
  139. <view slot="icon" class="{{iOf.indexOf(result,'b') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  140. 重庆农商行
  141. </view>
  142. </van-checkbox>
  143. <van-checkbox use-icon-slot name="c">
  144. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  145. 村级虚拟账户
  146. </view>
  147. </van-checkbox>
  148. <van-checkbox use-icon-slot name="c">
  149. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  150. 张村基本账户
  151. </view>
  152. </van-checkbox>
  153. <van-checkbox use-icon-slot name="c">
  154. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  155. 威海临港经济技术开发区草庙子镇毕家庄股份经济合作社
  156. </view>
  157. </van-checkbox>
  158. </van-checkbox-group>
  159. <text class="sx_tit">业务类型</text>
  160. <van-checkbox-group value="{{ result }}" bind:change="onChange">
  161. <van-checkbox use-icon-slot name="a">
  162. <view slot="icon" class="{{iOf.indexOf(result,'a') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  163. 国内汇票
  164. </view>
  165. </van-checkbox>
  166. <van-checkbox use-icon-slot name="b">
  167. <view slot="icon" class="{{iOf.indexOf(result,'b') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  168. 国外汇票
  169. </view>
  170. </van-checkbox>
  171. <van-checkbox use-icon-slot name="c">
  172. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  173. 人行大额
  174. </view>
  175. </van-checkbox>
  176. <van-checkbox use-icon-slot name="c">
  177. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  178. 人行小额
  179. </view>
  180. </van-checkbox>
  181. <van-checkbox use-icon-slot name="c">
  182. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  183. 现金存款
  184. </view>
  185. </van-checkbox>
  186. <van-checkbox use-icon-slot name="c">
  187. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  188. 转账收入
  189. </view>
  190. </van-checkbox>
  191. <van-checkbox use-icon-slot name="c">
  192. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  193. 汇票
  194. </view>
  195. </van-checkbox>
  196. <van-checkbox use-icon-slot name="c">
  197. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  198. 本票
  199. </view>
  200. </van-checkbox>
  201. <van-checkbox use-icon-slot name="c">
  202. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  203. 支票
  204. </view>
  205. </van-checkbox>
  206. <van-checkbox use-icon-slot name="c">
  207. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  208. 冲账
  209. </view>
  210. </van-checkbox>
  211. </van-checkbox-group>
  212. <text class="sx_tit">来往帐标识</text>
  213. <van-checkbox-group value="{{ result }}" bind:change="onChange">
  214. <van-checkbox use-icon-slot name="a">
  215. <view slot="icon" class="{{iOf.indexOf(result,'a') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  216. 全部
  217. </view>
  218. </van-checkbox>
  219. <van-checkbox use-icon-slot name="b">
  220. <view slot="icon" class="{{iOf.indexOf(result,'b') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  221. 来账/汇入
  222. </view>
  223. </van-checkbox>
  224. <van-checkbox use-icon-slot name="c">
  225. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  226. 往账/汇出
  227. </view>
  228. </van-checkbox>
  229. <van-checkbox use-icon-slot name="c">
  230. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  231. 外部交易
  232. </view>
  233. </van-checkbox>
  234. <van-checkbox use-icon-slot name="c">
  235. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  236. 内部往来
  237. </view>
  238. </van-checkbox>
  239. <van-checkbox use-icon-slot name="c">
  240. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  241. 部分内部往来
  242. </view>
  243. </van-checkbox>
  244. </van-checkbox-group>
  245. <text class="sx_tit">金额范围</text>
  246. <view class="sx_input_box">
  247. <input placeholder="最低价" /><text> - </text><input placeholder="最高价" />
  248. </view>
  249. <text class="sx_tit">交易日期</text>
  250. <view class="sx_input_box">
  251. <input placeholder="开始日期" /><text> - </text><input placeholder="结束日期" />
  252. </view>
  253. <view class="bottom">
  254. <!-- <view class="btn1" data-type="3" bindtap="goSubmit">提交复核</view> -->
  255. <view class="btn1" bindtap="back">重置</view>
  256. <view class="btn2" data-type="0" bindtap="goSubmit" hover-class="btnView">确定</view>
  257. </view>
  258. </view>
  259. </van-popup>
  260. <wxs module="iOf">
  261. var indexOf = function(name,value){
  262. return name.indexOf(value);
  263. }
  264. module.exports.indexOf = indexOf;
  265. </wxs>