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

billUse.wxml 12 KiB

3 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  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="{{ 330 }}" 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/apply/icon_text.png" style="width: 16px;height: 19px;margin-right: 2px;"></image>
  35. <text class="tit">结算事项名称名称名称</text>
  36. <text class="tit_tab5">已开出</text>
  37. </view>
  38. <view class="money_box">
  39. <view style="width: 50%;">
  40. <text>支出(元)</text>
  41. <text style="color: #E90000;font-size: 22px;margin-top: 10px;">150.00</text>
  42. <view style="display: flex;align-items: center;margin-top: 10px;">
  43. <image src="/image/icon/clock_icon.png" style="width: 15px;height: 15px;border-radius:5px;margin-right: 5px;"></image>
  44. <text>2021.09.01</text>
  45. </view>
  46. </view>
  47. <view style="width: 50%;">
  48. <text>收入(元)</text>
  49. <text style="color: #5CAE77;font-size: 22px;margin-top: 10px;">150.00</text>
  50. <view style="display: flex;align-items: center;margin-top: 10px;justify-content: space-between;">
  51. <text style="border-bottom: 1px solid;">59</text>
  52. <text style="color: #B3DB62;">现金</text>
  53. </view>
  54. </view>
  55. </view>
  56. </view>
  57. <view class="list_btn">
  58. <view>
  59. <view class="btn btn_xf">核销</view>
  60. <view class="btn btn_qs">生成流水</view>
  61. <!-- <view class="btn btn_zf">作废</view> -->
  62. </view>
  63. </view>
  64. </view>
  65. <view slot="right" class="cell_right">
  66. <!-- <view class="button_box"><view></view></view> -->
  67. <view class="button_box" bindtap="showTransactionDialog">
  68. <view bindtap="showReceiptDialog">
  69. <image src="/image/icon/icon_ys.png" style="width: 20.55px;height: 20.55px;"></image>
  70. <text>遗失</text>
  71. </view>
  72. </view>
  73. <view class="button_box" bindtap="goRegular">
  74. <view>
  75. <image src="/image/icon/icon_glls.png" style="width: 20.55px;height: 20.55px;"></image>
  76. <text>关联\n流水</text>
  77. </view>
  78. </view>
  79. <view class="button_box" bindtap="goRegular">
  80. <view>
  81. <image src="/image/icon/icon_scfj.png" style="width: 20.55px;height: 20.55px;"></image>
  82. <text>附件</text>
  83. </view>
  84. </view>
  85. <view class="button_box" bindtap="goRegular">
  86. <view>
  87. <image src="/image/icon/icon_zf.png" style="width: 20.55px;height: 20.55px;"></image>
  88. <text>作废</text>
  89. </view>
  90. </view>
  91. <view class="button_box" bindtap="goRegular">
  92. <view>
  93. <image src="/image/icon/icon_xg2.png" style="width: 20.55px;height: 20.55px;"></image>
  94. <text>修改</text>
  95. </view>
  96. </view>
  97. <view class="button_box" bindtap="goRegular">
  98. <view>
  99. <image src="/image/icon/icon_sc.png" style="width: 20.55px;height: 20.55px;"></image>
  100. <text>删除</text>
  101. </view>
  102. </view>
  103. </view>
  104. <!-- <view slot="right" class="deleteBox">
  105. <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">
  106. <view>
  107. <image src="../../image/icon/upload_icon.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image>
  108. </view>
  109. <view>
  110. <text style="color: #62AD66;">附件</text>
  111. </view>
  112. </view>
  113. </view> -->
  114. </van-swipe-cell>
  115. </scroll-view>
  116. <!-- <van-action-sheet show="{{showUpload}}" title="附件" bind:close="closeBox">
  117. <scroll-view scroll-y="true" style="height: 600rpx;" scroll-top="0">
  118. <view class="fj-box">
  119. <view class="fj-li" wx:for="{{fileList}}" wx:key="index" wx:for-item="item" >
  120. <view>
  121. <text>{{item.dictLabel}}</text>
  122. </view>
  123. <view class="img_box">
  124. <view class="img_li">
  125. <van-upload file-list="{{ item.list }}" deletable="{{false}}" show-upload="{{false}}" bind:click-preview="lookDown">
  126. </van-upload>
  127. </view>
  128. </view>
  129. </view>
  130. </view>
  131. </scroll-view>
  132. </van-action-sheet>custom-style="height: 20%;" -->
  133. <van-popup
  134. show="{{ showPopup }}"
  135. round
  136. position="right"
  137. custom-style="height: 100%;width:90%;"
  138. bind:close="onClose"
  139. >
  140. <view class="sx_box" style="margin-top:{{isIPX?'88px':'64px'}};">
  141. <text class="sx_tit">我方账户</text>
  142. <van-checkbox-group value="{{ result }}" bind:change="onChange">
  143. <van-checkbox use-icon-slot name="a">
  144. <view slot="icon" class="{{iOf.indexOf(result,'a') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  145. 乳山市徐家镇农村财务
  146. </view>
  147. </van-checkbox>
  148. <van-checkbox use-icon-slot name="b">
  149. <view slot="icon" class="{{iOf.indexOf(result,'b') > -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 use-icon-slot name="c">
  159. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  160. 张村基本账户
  161. </view>
  162. </van-checkbox>
  163. <van-checkbox use-icon-slot name="c">
  164. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  165. 威海临港经济技术开发区草庙子镇毕家庄股份经济合作社
  166. </view>
  167. </van-checkbox>
  168. </van-checkbox-group>
  169. <text class="sx_tit">业务类型</text>
  170. <van-checkbox-group value="{{ result }}" bind:change="onChange">
  171. <van-checkbox use-icon-slot name="a">
  172. <view slot="icon" class="{{iOf.indexOf(result,'a') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  173. 国内汇票
  174. </view>
  175. </van-checkbox>
  176. <van-checkbox use-icon-slot name="b">
  177. <view slot="icon" class="{{iOf.indexOf(result,'b') > -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 use-icon-slot name="c">
  212. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  213. 支票
  214. </view>
  215. </van-checkbox>
  216. <van-checkbox use-icon-slot name="c">
  217. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  218. 冲账
  219. </view>
  220. </van-checkbox>
  221. </van-checkbox-group>
  222. <text class="sx_tit">来往帐标识</text>
  223. <van-checkbox-group value="{{ result }}" bind:change="onChange">
  224. <van-checkbox use-icon-slot name="a">
  225. <view slot="icon" class="{{iOf.indexOf(result,'a') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  226. 全部
  227. </view>
  228. </van-checkbox>
  229. <van-checkbox use-icon-slot name="b">
  230. <view slot="icon" class="{{iOf.indexOf(result,'b') > -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 use-icon-slot name="c">
  245. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  246. 内部往来
  247. </view>
  248. </van-checkbox>
  249. <van-checkbox use-icon-slot name="c">
  250. <view slot="icon" class="{{iOf.indexOf(result,'c') > -1 ? 'ys_checkbox_icon':'checkbox_icon'}}">
  251. 部分内部往来
  252. </view>
  253. </van-checkbox>
  254. </van-checkbox-group>
  255. <text class="sx_tit">金额范围</text>
  256. <view class="sx_input_box">
  257. <input placeholder="最低价" /><text> - </text><input placeholder="最高价" />
  258. </view>
  259. <text class="sx_tit">交易日期</text>
  260. <view class="sx_input_box">
  261. <input placeholder="开始日期" /><text> - </text><input placeholder="结束日期" />
  262. </view>
  263. <view class="bottom">
  264. <!-- <view class="btn1" data-type="3" bindtap="goSubmit">提交复核</view> -->
  265. <view class="btn1" bindtap="back">重置</view>
  266. <view class="btn2" data-type="0" bindtap="goSubmit" hover-class="btnView">确定</view>
  267. </view>
  268. </view>
  269. </van-popup>
  270. <van-dialog
  271. use-slot
  272. show="{{ showReceiptDialog }}"
  273. bind:close="onClose"
  274. theme='round-button'
  275. confirmButtonText="票本下发"
  276. data-type="1"
  277. bind:confirm="edit"
  278. before-close="{{beforeClose}}"
  279. closeOnClickOverlay="{{ true }}"
  280. >
  281. <!-- <image src="/image/icon/icon_delete.png" style="width: 20px; height: 20px;position: absolute;top: 0;"></image> -->
  282. <view style="text-align: center;padding: 20px;border-bottom: 1px dashed #e6e6e6;width: 92%;margin: 0 auto;color: #2C8E68;font-size: 18px;">查询回单明细参数</view>
  283. <van-field value="{{ value }}" required label="下发单位" placeholder="请选择下发单位" input-align="right" is-link arrow-direction="down" bind:change="onChange" />
  284. </van-dialog>
  285. <wxs module="iOf">
  286. var indexOf = function(name,value){
  287. return name.indexOf(value);
  288. }
  289. module.exports.indexOf = indexOf;
  290. </wxs>