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

294 lines
12 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="{{ 130 }}" class="workflow" wx:for="{{5}}" >
  31. <view class="li" >
  32. <view style="width:70%;flex:7;">
  33. <view class="tit_box">
  34. <text class="tit_tab4">批次编码</text>
  35. <text class="tit">202200001</text>
  36. <text class="tit_tab">2021</text>
  37. <text class="tit_tab5">已入库</text>
  38. </view>
  39. <view class="tit_box ju_c">
  40. <view>
  41. <image src="/image/icon/icon_ss.png" style="width: 14px;height: 14px;margin-right: 2px;"></image>
  42. <text class="tit">000000001</text>
  43. </view>
  44. <view>
  45. <image src="/image/icon/icon_xj.png" style="width: 14px;height: 14px;margin-right: 2px;"></image>
  46. <text class="tit">000000001</text>
  47. </view>
  48. </view>
  49. <view class="tit_box">
  50. <text class="tit">下发单位 张村镇华景社区</text>
  51. </view>
  52. <view class="tit_box mr_10">
  53. <view>
  54. <image src="/image/icon/icon_js1.png" style="width: 14px;height: 14px;margin-right: 2px;"></image>
  55. <text class="tit">10</text>
  56. </view>
  57. <view>
  58. <image src="/image/icon/icon_js2.png" style="width: 14px;height: 14px;margin-right: 2px;"></image>
  59. <text class="tit">2</text>
  60. </view>
  61. <view>
  62. <image src="/image/icon/icon_js3.png" style="width: 14px;height: 14px;margin-right: 2px;"></image>
  63. <text class="tit">100</text>
  64. </view>
  65. <view>
  66. <text class="tit">第10本</text>
  67. </view>
  68. </view>
  69. </view>
  70. <view class="list_btn">
  71. <view>
  72. <view class="btn btn_qs">签收</view>
  73. <view class="btn btn_zf">作废</view>
  74. <!-- <view class="btn btn_xf">下发</view> -->
  75. </view>
  76. </view>
  77. </view>
  78. <view slot="right" class="cell_right">
  79. <!-- <view class="button_box"><view></view></view> -->
  80. <view class="button_box" bindtap="showTransactionDialog">
  81. <view bindtap="showReceiptDialog">
  82. <image src="/image/icon/icon_xg2.png" style="width: 20.55px;height: 20.55px;"></image>
  83. <text>修改</text>
  84. </view>
  85. </view>
  86. <view class="button_box" bindtap="goRegular">
  87. <view>
  88. <image src="/image/icon/icon_sc.png" style="width: 20.55px;height: 20.55px;"></image>
  89. <text>删除</text>
  90. </view>
  91. </view>
  92. </view>
  93. <!-- <view slot="right" class="deleteBox">
  94. <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">
  95. <view>
  96. <image src="../../image/icon/upload_icon.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image>
  97. </view>
  98. <view>
  99. <text style="color: #62AD66;">附件</text>
  100. </view>
  101. </view>
  102. </view> -->
  103. </van-swipe-cell>
  104. </scroll-view>
  105. <!-- <van-action-sheet show="{{showUpload}}" title="附件" bind:close="closeBox">
  106. <scroll-view scroll-y="true" style="height: 600rpx;" scroll-top="0">
  107. <view class="fj-box">
  108. <view class="fj-li" wx:for="{{fileList}}" wx:key="index" wx:for-item="item" >
  109. <view>
  110. <text>{{item.dictLabel}}</text>
  111. </view>
  112. <view class="img_box">
  113. <view class="img_li">
  114. <van-upload file-list="{{ item.list }}" deletable="{{false}}" show-upload="{{false}}" bind:click-preview="lookDown">
  115. </van-upload>
  116. </view>
  117. </view>
  118. </view>
  119. </view>
  120. </scroll-view>
  121. </van-action-sheet>custom-style="height: 20%;" -->
  122. <van-popup
  123. show="{{ showPopup }}"
  124. round
  125. position="right"
  126. custom-style="height: 100%;width:90%;"
  127. bind:close="onClose"
  128. >
  129. <view class="sx_box" style="margin-top:{{isIPX?'88px':'64px'}};">
  130. <text class="sx_tit">我方账户</text>
  131. <van-checkbox-group value="{{ result }}" bind:change="onChange">
  132. <van-checkbox use-icon-slot name="a">
  133. <view slot="icon" class="{{iOf.indexOf(result,'a') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  134. 乳山市徐家镇农村财务
  135. </view>
  136. </van-checkbox>
  137. <van-checkbox use-icon-slot name="b">
  138. <view slot="icon" class="{{iOf.indexOf(result,'b') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  139. 重庆农商行
  140. </view>
  141. </van-checkbox>
  142. <van-checkbox use-icon-slot name="c">
  143. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  144. 村级虚拟账户
  145. </view>
  146. </van-checkbox>
  147. <van-checkbox use-icon-slot name="c">
  148. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  149. 张村基本账户
  150. </view>
  151. </van-checkbox>
  152. <van-checkbox use-icon-slot name="c">
  153. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  154. 威海临港经济技术开发区草庙子镇毕家庄股份经济合作社
  155. </view>
  156. </van-checkbox>
  157. </van-checkbox-group>
  158. <text class="sx_tit">业务类型</text>
  159. <van-checkbox-group value="{{ result }}" bind:change="onChange">
  160. <van-checkbox use-icon-slot name="a">
  161. <view slot="icon" class="{{iOf.indexOf(result,'a') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  162. 国内汇票
  163. </view>
  164. </van-checkbox>
  165. <van-checkbox use-icon-slot name="b">
  166. <view slot="icon" class="{{iOf.indexOf(result,'b') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  167. 国外汇票
  168. </view>
  169. </van-checkbox>
  170. <van-checkbox use-icon-slot name="c">
  171. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  172. 人行大额
  173. </view>
  174. </van-checkbox>
  175. <van-checkbox use-icon-slot name="c">
  176. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  177. 人行小额
  178. </view>
  179. </van-checkbox>
  180. <van-checkbox use-icon-slot name="c">
  181. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  182. 现金存款
  183. </view>
  184. </van-checkbox>
  185. <van-checkbox use-icon-slot name="c">
  186. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  187. 转账收入
  188. </view>
  189. </van-checkbox>
  190. <van-checkbox use-icon-slot name="c">
  191. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  192. 汇票
  193. </view>
  194. </van-checkbox>
  195. <van-checkbox use-icon-slot name="c">
  196. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  197. 本票
  198. </view>
  199. </van-checkbox>
  200. <van-checkbox use-icon-slot name="c">
  201. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  202. 支票
  203. </view>
  204. </van-checkbox>
  205. <van-checkbox use-icon-slot name="c">
  206. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  207. 冲账
  208. </view>
  209. </van-checkbox>
  210. </van-checkbox-group>
  211. <text class="sx_tit">来往帐标识</text>
  212. <van-checkbox-group value="{{ result }}" bind:change="onChange">
  213. <van-checkbox use-icon-slot name="a">
  214. <view slot="icon" class="{{iOf.indexOf(result,'a') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  215. 全部
  216. </view>
  217. </van-checkbox>
  218. <van-checkbox use-icon-slot name="b">
  219. <view slot="icon" class="{{iOf.indexOf(result,'b') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  220. 来账/汇入
  221. </view>
  222. </van-checkbox>
  223. <van-checkbox use-icon-slot name="c">
  224. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  225. 往账/汇出
  226. </view>
  227. </van-checkbox>
  228. <van-checkbox use-icon-slot name="c">
  229. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  230. 外部交易
  231. </view>
  232. </van-checkbox>
  233. <van-checkbox use-icon-slot name="c">
  234. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  235. 内部往来
  236. </view>
  237. </van-checkbox>
  238. <van-checkbox use-icon-slot name="c">
  239. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  240. 部分内部往来
  241. </view>
  242. </van-checkbox>
  243. </van-checkbox-group>
  244. <text class="sx_tit">金额范围</text>
  245. <view class="sx_input_box">
  246. <input placeholder="最低价" /><text> - </text><input placeholder="最高价" />
  247. </view>
  248. <text class="sx_tit">交易日期</text>
  249. <view class="sx_input_box">
  250. <input placeholder="开始日期" /><text> - </text><input placeholder="结束日期" />
  251. </view>
  252. <view class="bottom">
  253. <!-- <view class="btn1" data-type="3" bindtap="goSubmit">提交复核</view> -->
  254. <view class="btn1" bindtap="back">重置</view>
  255. <view class="btn2" data-type="0" bindtap="goSubmit" hover-class="btnView">确定</view>
  256. </view>
  257. </view>
  258. </van-popup>
  259. <van-dialog
  260. use-slot
  261. show="{{ showReceiptDialog }}"
  262. bind:close="onClose"
  263. theme='round-button'
  264. confirmButtonText="票本下发"
  265. data-type="1"
  266. bind:confirm="edit"
  267. before-close="{{beforeClose}}"
  268. closeOnClickOverlay="{{ true }}"
  269. >
  270. <!-- <image src="/image/icon/icon_delete.png" style="width: 20px; height: 20px;position: absolute;top: 0;"></image> -->
  271. <view style="text-align: center;padding: 20px;border-bottom: 1px dashed #e6e6e6;width: 92%;margin: 0 auto;color: #2C8E68;font-size: 18px;">查询回单明细参数</view>
  272. <van-field value="{{ value }}" required label="下发单位" placeholder="请选择下发单位" input-align="right" is-link arrow-direction="down" bind:change="onChange" />
  273. </van-dialog>
  274. <wxs module="iOf">
  275. var indexOf = function(name,value){
  276. return name.indexOf(value);
  277. }
  278. module.exports.indexOf = indexOf;
  279. </wxs>