微信小程序
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

185 wiersze
9.8 KiB

  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" 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" 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" 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="bank_box" wx:for="{{accountListXJ}}" wx:key="index">
  66. <view class="bank_content XJ">
  67. <view class="bankName">
  68. <image src="../../image/apply/XJ.png" style="width: 25px" mode="widthFix"></image>
  69. <text>{{item.accountName}}</text>
  70. </view>
  71. <view style="margin-top: 2vh;">{{item.bankAccountNumber}}<text>科目</text></view>
  72. <view>可用余额</view>
  73. <view style="font-weight: bold;font-size: 22px;margin-top: 2vh;">
  74. {{item.balance}}
  75. <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>
  76. </view>
  77. </view>
  78. </view>
  79. <!-- <view class="addBtn">
  80. <image src="/image/icon/icon_add.png"></image>
  81. <text>添加现金账户</text>
  82. </view> -->
  83. <van-empty wx:if="{{accountList.length == 0}}" description="暂无现金账户" />
  84. <!-- <van-empty wx:if="{{accountList.length == 0}}" description="暂无银行账户" /> -->
  85. </van-tab>
  86. <!-- <van-tab title="公务卡">
  87. <view class="bank_box">
  88. <view class="bank_content gwk">
  89. <view class="bankName">
  90. <image src="../../image/apply/icon_GWK.png" style="width: 25px" mode="widthFix"></image>
  91. <text>公务卡</text>
  92. </view>
  93. <view style="margin-bottom: 2vh;">6217 0021 9000 7972 186<text>卡号</text></view>
  94. <view>可用余额</view>
  95. <view style="font-weight: bold;font-size: 22px;margin-top: 2vh;">10,288.83</view>
  96. </view>
  97. <view class="holder">持有人:王强</view>
  98. </view>
  99. <!-- <van-empty wx:if="{{accountList.length == 0}}" description="暂无银行账户" /> -->
  100. <!--<view class="addBtn">
  101. <image src="/image/icon/icon_add.png"></image>
  102. <text>添加公务卡</text>
  103. </view>
  104. </van-tab> -->
  105. </van-tabs>
  106. </view>
  107. <van-dialog
  108. use-slot
  109. title="修改支付口令"
  110. show="{{ showDialog }}"
  111. bind:close="onClose"
  112. theme='round-button'
  113. confirmButtonText="保存"
  114. data-type="1"
  115. bind:confirm="edit"
  116. before-close="{{beforeClose }}"
  117. closeOnClickOverlay="{{ true }}"
  118. >
  119. <text style="display: block;text-align: center;color: #2C8E68;margin-top: 10px;">{{bankName}}</text>
  120. <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"/>
  121. <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>
  122. </van-dialog>
  123. <view class="ipXbtn"></view>
  124. <van-dialog
  125. use-slot
  126. show="{{ showTransactionDialog }}"
  127. bind:close="onClose"
  128. theme='round-button'
  129. confirmButtonText="查询"
  130. data-type="1"
  131. bind:confirm="edit"
  132. before-close="{{beforeClose }}"
  133. closeOnClickOverlay="{{ true }}"
  134. >
  135. <!-- <image src="/image/icon/icon_delete.png" style="width: 20px; height: 20px;position: absolute;top: 0;"></image> -->
  136. <view style="text-align: center;padding: 20px;border-bottom: 1px dashed #e6e6e6;width: 92%;margin: 0 auto;color: #2C8E68;font-size: 18px;">查询交易明细参数</view>
  137. <van-field value="{{ value }}" required label="查询类型" placeholder="请选择查询类型" input-align="right" is-link arrow-direction="down" bind:change="onChange" />
  138. <van-field value="{{ value }}" required label="来往账标识" placeholder="请选择来往账标识" input-align="right" is-link arrow-direction="down" bind:change="onChange" />
  139. <van-field value="{{ value }}" required label="开始日期" placeholder="请选择开始日期" input-align="right" is-link arrow-direction="down" bind:change="onChange" />
  140. <van-field value="{{ value }}" required label="截止日期" placeholder="请选择截止日期" input-align="right" is-link arrow-direction="down" bind:change="onChange" />
  141. <van-field value="{{ value }}" label="下限" placeholder="请输入下限" input-align="right" bind:change="onChange" />
  142. <van-field value="{{ value }}" label="上限" placeholder="请输入上限" input-align="right" bind:change="onChange" />
  143. </van-dialog>
  144. <van-dialog
  145. use-slot
  146. show="{{ showReceiptDialog }}"
  147. bind:close="onClose"
  148. theme='round-button'
  149. confirmButtonText="查询"
  150. data-type="1"
  151. bind:confirm="edit"
  152. before-close="{{beforeClose}}"
  153. closeOnClickOverlay="{{ true }}"
  154. >
  155. <!-- <image src="/image/icon/icon_delete.png" style="width: 20px; height: 20px;position: absolute;top: 0;"></image> -->
  156. <view style="text-align: center;padding: 20px;border-bottom: 1px dashed #e6e6e6;width: 92%;margin: 0 auto;color: #2C8E68;font-size: 18px;">查询回单明细参数</view>
  157. <van-field value="{{ value }}" required label="查询类型" placeholder="请选择查询类型" input-align="right" is-link arrow-direction="down" bind:change="onChange" />
  158. <van-field value="{{ value }}" required label="业务类型" placeholder="请选择业务类型" input-align="right" is-link arrow-direction="down" bind:change="onChange" />
  159. <van-field value="{{ value }}" required label="开始日期" placeholder="请选择开始日期" input-align="right" is-link arrow-direction="down" bind:change="onChange" />
  160. <van-field value="{{ value }}" required label="截止日期" placeholder="请选择截止日期" input-align="right" is-link arrow-direction="down" bind:change="onChange" />
  161. </van-dialog>
  162. <view class="ipXbtn"></view>
  163. <wxs module="iOf">
  164. var indexOf = function(name,value){
  165. return name.indexOf(value);
  166. }
  167. module.exports.indexOf = indexOf;
  168. </wxs>