微信小程序
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

drawee.wxml 12 KiB

3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
2年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
3年前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. <!--pages/drawee/drawee.wxml-->
  2. <view class="ns" style="height:{{isIPX?'88px':'64px'}};">
  3. <image src="../../image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back"></image>
  4. <text style="top:{{isIPX?'54px':'30px'}};">村账户</text>
  5. </view>
  6. <!-- 付款单位开始 -->
  7. <view class="top" style="margin-top:{{isIPX?'100px':'75px'}};">
  8. <image src="../../image/apply/dress_icon.png" mode="widthFix"></image>
  9. <view class="top-tit">付款单位</view>
  10. <view class="top-title">{{bookName}}</view>
  11. </view>
  12. <view class="main">
  13. <van-tabs sticky color="#000" animated>
  14. <van-tab title="银行账户">
  15. <view class="list_box" style="padding: 0 3%;">
  16. <van-swipe-cell right-width="{{ 195 }}" wx:for="{{accountList}}" wx:key="index">
  17. <view class="bank_box">
  18. <text class="zt">{{item.bankUseType == 1 ?'基本户':'一般户'}}</text>
  19. <image src="../../image/apply/bgt.png" wx:if="{{item.bankUseType == 1}}" style="width: 100%;position: absolute;top:0;right:0;z-index: 9;height: 100%;"></image>
  20. <image src="../../image/apply/bgy.png" wx:else style="width: 100%;position: absolute;top:0;right:0;z-index: 9;height: 100%;"></image>
  21. <view class="bank_content {{iOf.indexOf(item.bankTypeText,'中国银行') > -1 ? 'ICBC':iOf.indexOf(item.bankTypeText,'农商行') > -1 ? 'RCB':iOf.indexOf(item.bankTypeText,'农业银行') > -1 ? 'ABC':iOf.indexOf(item.bankTypeText,'建设银行') > -1 ? 'CCB':''}}">
  22. <view class="bankName">
  23. <image src="../../image/apply/{{iOf.indexOf(item.bankTypeText,'中国银行') > -1 ? 'ICBC':iOf.indexOf(item.bankTypeText,'农商行') > -1 ? 'RCB':iOf.indexOf(item.bankTypeText,'农业银行') > -1 ? 'ABC':iOf.indexOf(item.bankTypeText,'建设银行') > -1 ? 'CCB':''}}.png" style="width: 25px" mode="widthFix"></image>
  24. <text>{{item.accountName}}</text>
  25. </view>
  26. <view style="margin-top: 2vh;">{{item.bankAccountNumber}}<text>卡号</text></view>
  27. <view>可用余额</view>
  28. <view style="font-weight: bold;font-size: 22px;margin-top: 2vh;">
  29. {{item.balance}}
  30. <image src="/image/icon/icon_zfkl.png" data-id="{{item.id}}" data-index="{{index}}" data-name="{{item.accountName}}" bindtap="showDialog" style="width: 20px;height: 20px;vertical-align: middle;position: absolute;right: calc(2vh + 30px);z-index: 10;"></image>
  31. <image src="/image/apply/update.png" data-id="{{item.id}}" data-index="{{index}}" bindtap="updateMoney" style="width: 20px;height: 20px;vertical-align: middle;position: absolute;right: 2vh;z-index: 10;"></image>
  32. </view>
  33. </view>
  34. </view>
  35. <view slot="right" class="cell_right">
  36. <view class="button_box"><view></view></view>
  37. <view class="button_box" data-id="{{item.id}}" bindtap="showTransactionDialog">
  38. <view>
  39. <image src="/image/icon/icon_mx.png" style="width: 15px;height: 17px;"></image>
  40. <text>明细</text>
  41. </view>
  42. </view>
  43. <view class="button_box" data-id="{{item.id}}" bindtap="goRegular">
  44. <view>
  45. <image src="/image/icon/icon_dq.png" style="width: 15px;height: 17px;"></image>
  46. <text>定期</text>
  47. </view>
  48. </view>
  49. <view class="button_box" data-id="{{item.id}}" bindtap="showReceiptDialog">
  50. <view>
  51. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  52. <text>回单</text>
  53. </view>
  54. </view>
  55. </view>
  56. </van-swipe-cell>
  57. </view>
  58. <van-empty wx:if="{{accountList.length == 0}}" description="暂无银行账户" />
  59. <!-- <view class="addBtn" data-url="/pages/drawee/add/add" bindtap="navigate">
  60. <image src="/image/icon/icon_add.png"></image>
  61. <text>添加银行账户</text>
  62. </view> -->
  63. </van-tab>
  64. <van-tab title="现金账户">
  65. <view class="list_box" style="padding: 0 3%;">
  66. <view class="bank_box" wx:for="{{accountListXJ}}" wx:key="index" style="margin-top: 20px;">
  67. <view class="bank_content XJ">
  68. <view class="bankName">
  69. <image src="../../image/apply/XJ.png" style="width: 25px" mode="widthFix"></image>
  70. <text>{{item.accountName}}</text>
  71. </view>
  72. <view style="margin-top: 2vh;">{{item.subjectId}}<text>{{item.subjectNameAll}}</text></view>
  73. <view>可用余额</view>
  74. <view style="font-weight: bold;font-size: 22px;margin-top: 2vh;">
  75. {{item.balance}}
  76. <image src="/image/apply/update.png" data-id="{{item.id}}" data-index="{{index}}" bindtap="updateMoney" style="width: 20px;height: 20px;vertical-align: middle;position: absolute;right: 2vh;z-index: 10;"></image>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. <!-- <view class="addBtn">
  82. <image src="/image/icon/icon_add.png"></image>
  83. <text>添加现金账户</text>
  84. </view> -->
  85. <van-empty wx:if="{{accountList.length == 0}}" description="暂无现金账户" />
  86. <!-- <van-empty wx:if="{{accountList.length == 0}}" description="暂无银行账户" /> -->
  87. </van-tab>
  88. <van-tab title="公务卡">
  89. <view class="list_box" style="padding: 0 3%;">
  90. <view class="bank_box" wx:for="{{accountListGWK}}" wx:key="index" style="margin-top: 20px;">
  91. <view class="bank_content gwk">
  92. <view class="bankName">
  93. <image src="../../image/apply/icon_GWK.png" style="width: 25px" mode="widthFix"></image>
  94. <text>公务卡</text>
  95. </view>
  96. <view style="margin-top: 2vh;">{{item.payeeAccount}}<text>卡号</text></view>
  97. <view>{{item.bankDeposit}}</view>
  98. <!-- <view>可用余额</view>
  99. <view style="font-weight: bold;font-size: 22px;margin-top: 2vh;">10,288.83</view> -->
  100. </view>
  101. <view class="holder">持有人:{{item.payee}}</view>
  102. </view>
  103. </view>
  104. <!-- <van-empty wx:if="{{accountList.length == 0}}" description="暂无银行账户" />
  105. <view class="addBtn">
  106. <image src="/image/icon/icon_add.png"></image>
  107. <text>添加公务卡</text>
  108. </view> -->
  109. </van-tab>
  110. </van-tabs>
  111. </view>
  112. <van-dialog
  113. use-slot
  114. title="修改支付口令"
  115. show="{{ showDialog }}"
  116. bind:close="onClose"
  117. theme='round-button'
  118. confirmButtonText="保存"
  119. data-type="1"
  120. bind:confirm="edit"
  121. before-close="{{beforeClose }}"
  122. closeOnClickOverlay="{{ true }}"
  123. >
  124. <text style="display: block;text-align: center;color: #2C8E68;margin-top: 10px;">{{bankName}}</text>
  125. <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="{{password}}" bindinput="bindNameInput"/>
  126. <text style="width: 90%;margin: 0 auto;margin-top: 15px;margin-bottom: 10px;font-size: 12px;display: block;color: red;text-align: center;">提示:\n此口令为银农直联平台支付人员权限的验证!\n至少6个字符,必须包括字母、数字和符号</text>
  127. </van-dialog>
  128. <view class="ipXbtn"></view>
  129. <van-dialog
  130. use-slot
  131. show="{{ showTransactionDialog }}"
  132. bind:close="onClose"
  133. theme='round-button'
  134. confirmButtonText="查询"
  135. data-type="1"
  136. bind:confirm="selectAccount"
  137. before-close="{{beforeClose }}"
  138. closeOnClickOverlay="{{ true }}"
  139. >
  140. <!-- <image src="/image/icon/icon_delete.png" style="width: 20px; height: 20px;position: absolute;top: 0;"></image> -->
  141. <view style="text-align: center;padding: 20px;border-bottom: 1px dashed #e6e6e6;width: 92%;margin: 0 auto;color: #2C8E68;font-size: 18px;">查询交易明细参数</view>
  142. <image src="/image/icon/icon_deleteNew.png" style="width: 22px ;height:22px;position: absolute;top: 18px;right: 16px;" data-name="showTransactionDialog" bindtap="onClose"></image>
  143. <van-cell title="查询类型" required is-link arrow-direction="down">
  144. <view>
  145. <picker bindchange="bindSelectTypePickerChange" range="{{selectTypeOptions}}" data-name="selectType" range-key="dictLabel">
  146. <view class="picker">
  147. <text>{{form.selectTypeText == '' ? '请选择查询类型':form.selectTypeText}}</text>
  148. </view>
  149. </picker>
  150. </view>
  151. </van-cell>
  152. <van-cell title="来往账标识" required is-link arrow-direction="down">
  153. <view>
  154. <picker bindchange="bindDirectionPickerChange" range="{{directionOptions}}" data-name="direction" range-key="dictLabel">
  155. <view class="picker">
  156. <text>{{form.directionText == '' ? '请选择来往账标识':form.directionText}}</text>
  157. </view>
  158. </picker>
  159. </view>
  160. </van-cell>
  161. <van-cell title="开始日期" required is-link arrow-direction="down">
  162. <view>
  163. <picker mode="date" bindchange="bindDatescopeFromPickerChange">
  164. <view class="picker">
  165. <text>{{form.datescopeFrom == '' ? '请选择开始日期':form.datescopeFrom}}</text>
  166. </view>
  167. </picker>
  168. </view>
  169. </van-cell>
  170. <van-cell title="截止日期" required is-link arrow-direction="down">
  171. <view>
  172. <picker mode="date" bindchange="bindDatescopeToPickerChange">
  173. <view class="picker">
  174. <text>{{form.datescopeTo == '' ? '请选择截止日期':form.datescopeTo}}</text>
  175. </view>
  176. </picker>
  177. </view>
  178. </van-cell>
  179. <van-field value="{{ form.amountscopeFrom }}" label="下限" placeholder="请输入下限" input-align="right" data-name="form.amountscopeFrom" bind:change="onChange" />
  180. <van-field value="{{ form.amountscopeTo }}" label="上限" placeholder="请输入上限" input-align="right" data-name="form.amountscopeTo" bind:change="onChange" />
  181. </van-dialog>
  182. <van-dialog
  183. use-slot
  184. show="{{ showReceiptDialog }}"
  185. bind:close="onClose"
  186. theme='round-button'
  187. confirmButtonText="查询"
  188. data-type="1"
  189. bind:confirm="bankReceipt"
  190. before-close="{{beforeClose}}"
  191. closeOnClickOverlay="{{ true }}"
  192. >
  193. <!-- <image src="/image/icon/icon_delete.png" style="width: 20px; height: 20px;position: absolute;top: 0;"></image> -->
  194. <view style="text-align: center;padding: 20px;border-bottom: 1px dashed #e6e6e6;width: 92%;margin: 0 auto;color: #2C8E68;font-size: 18px;">查询回单明细参数</view>
  195. <image src="/image/icon/icon_deleteNew.png" style="width: 22px ;height:22px;position: absolute;top: 18px;right: 16px;" data-name="showReceiptDialog" bindtap="onClose"></image>
  196. <van-cell title="查询类型" required is-link arrow-direction="down">
  197. <view>
  198. <picker bindchange="bindSelectTypePickerChange" range="{{selectTypeOptions}}" data-name="selectType" range-key="dictLabel">
  199. <view class="picker">
  200. <text>{{form.selectTypeText == '' ? '请选择查询类型':form.selectTypeText}}</text>
  201. </view>
  202. </picker>
  203. </view>
  204. </van-cell>
  205. <van-cell title="业务类型" required is-link arrow-direction="down">
  206. <view>
  207. <picker bindchange="bindReceiptPickerChange" range="{{receiptOptions}}" data-name="direction" range-key="dictLabel">
  208. <view class="picker">
  209. <text>{{form.directionText == '' ? '请选择业务类型':form.directionText}}</text>
  210. </view>
  211. </picker>
  212. </view>
  213. </van-cell>
  214. <van-cell title="开始日期" required is-link arrow-direction="down">
  215. <view>
  216. <picker mode="date" bindchange="bindDatescopeFromPickerChange">
  217. <view class="picker">
  218. <text>{{form.datescopeFrom == '' ? '请选择开始日期':form.datescopeFrom}}</text>
  219. </view>
  220. </picker>
  221. </view>
  222. </van-cell>
  223. <van-cell title="截止日期" required is-link arrow-direction="down">
  224. <view>
  225. <picker mode="date" bindchange="bindDatescopeToPickerChange">
  226. <view class="picker">
  227. <text>{{form.datescopeTo == '' ? '请选择截止日期':form.datescopeTo}}</text>
  228. </view>
  229. </picker>
  230. </view>
  231. </van-cell>
  232. </van-dialog>
  233. <view class="ipXbtn"></view>
  234. <wxs module="iOf">
  235. var indexOf = function(name,value){
  236. return name.indexOf(value);
  237. }
  238. module.exports.indexOf = indexOf;
  239. </wxs>