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

3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <!--pages/apply/index.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="bank_box" wx:for="{{accountList}}" wx:key="index">
  16. <text class="zt">{{item.bankUseType == 1 ?'基本户':'一般户'}}</text>
  17. <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>
  18. <image src="../../image/apply/bgy.png" wx:else style="width: 100%;position: absolute;top:0;right:0;z-index: 9;height: 100%;"></image>
  19. <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':''}}">
  20. <view class="bankName">
  21. <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>
  22. <text>{{item.accountName}}</text>
  23. </view>
  24. <view style="margin-top: 2vh;">{{item.bankAccountNumber}}<text>卡号</text></view>
  25. <view>可用余额</view>
  26. <view style="font-weight: bold;font-size: 22px;margin-top: 2vh;">
  27. {{item.balance}}
  28. <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>
  29. </view>
  30. </view>
  31. </view>
  32. <van-empty wx:if="{{accountList.length == 0}}" description="暂无银行账户" />
  33. </van-tab>
  34. <van-tab title="现金账户">
  35. <view class="bank_box" wx:for="{{accountListXJ}}" wx:key="index">
  36. <view class="bank_content XJ">
  37. <view class="bankName">
  38. <image src="../../image/apply/XJ.png" style="width: 25px" mode="widthFix"></image>
  39. <text>{{item.accountName}}</text>
  40. </view>
  41. <view style="margin-top: 2vh;">{{item.subjectId}}<text>科目</text></view>
  42. <view>可用余额</view>
  43. <view style="font-weight: bold;font-size: 22px;margin-top: 2vh;">
  44. {{item.balance}}
  45. <!-- <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> -->
  46. </view>
  47. </view>
  48. </view>
  49. <!-- <view class="addBtn">
  50. <image src="/image/icon/icon_add.png"></image>
  51. <text>添加现金账户</text>
  52. </view> -->
  53. <van-empty wx:if="{{accountList.length == 0}}" description="暂无现金账户" />
  54. <!-- <van-empty wx:if="{{accountList.length == 0}}" description="暂无银行账户" /> -->
  55. </van-tab>
  56. <van-tab title="公务卡">
  57. <view class="bank_box">
  58. <view class="bank_content gwk">
  59. <view class="bankName">
  60. <image src="../../image/apply/icon_GWK.png" style="width: 25px" mode="widthFix"></image>
  61. <text>公务卡</text>
  62. </view>
  63. <view style="margin-top: 2vh;">6217 0021 9000 7972 186<text>卡号</text></view>
  64. <view>可用余额</view>
  65. <view style="font-weight: bold;font-size: 22px;margin-top: 2vh;">10,288.83</view>
  66. </view>
  67. <view class="holder">持有人:王强</view>
  68. </view>
  69. <!-- <van-empty wx:if="{{accountList.length == 0}}" description="暂无银行账户" /> -->
  70. </van-tab>
  71. </van-tabs>
  72. </view>
  73. <view class="bottom">
  74. <view class="btn1" bindtap="openBox">支付模板</view>
  75. <view class="btn2" bindtap="swichPaymentApply">下一步</view>
  76. </view>
  77. <view class="ipXbtn"></view>
  78. <van-action-sheet show="{{show}}" title="支付模板" bind:close="closeBox">
  79. <scroll-view scroll-y="true" style="height: 400rpx;" bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll" scroll-top="0">
  80. <van-swipe-cell right-width="{{ 130 }}" wx:for="{{approvalItemsOptions}}" wx:key="index">
  81. <van-cell-group>
  82. <van-cell label="{{item.approvalItems}}" bindtap="goTemplate" data-options="{{item.templateContent}}" data-id="{{item.id}}" >
  83. <view slot="title">
  84. <view class="van-cell-text">{{item.templateName}}<van-tag plain type="danger" color="#FC9A55" style="margin-left:10px;" wx:if="{{index == 0&&item.defaultValue == 1}}"><image src="/image/apply/icon_mr.png" style="width: 12px;height: 12px;margin-right: 2px;"></image>默认</van-tag></view>
  85. </view>
  86. <van-icon wx:if="{{index == 0&&item.defaultValue == 1}}" slot="icon" name="https://636c-cloud1-8gya17a31667774d-1310628902.tcb.qcloud.la/icon_mrmb.png?sign=5e5df640777f6a7993c45e1a559dd998&t=1648619865" class="custom-icon" size="40" style="margin-right: 10px;" />
  87. <van-icon wx:else slot="icon" name="https://636c-cloud1-8gya17a31667774d-1310628902.tcb.qcloud.la/icon_mb.png?sign=2a8bbe2cb4d4e0f28a99fddbe042d26c&t=1648620032" class="custom-icon" size="40" style="margin-right: 10px;" />
  88. </van-cell>
  89. </van-cell-group>
  90. <view slot="right" class="deleteBox">
  91. <view style="flex: 1;height: 100%;display: flex;align-items: center;border-right: 1px solid #eee;">
  92. <image src="../../image/apply/button_mr.png" style="width: 25px;height: 25px;margin: 0 auto;" data-id="{{item.id}}" data-index="{{index}}" bindtap="getMr"></image>
  93. </view>
  94. <view style="flex: 1;height: 100%;display: flex;align-items: center;">
  95. <image src="../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;" data-id="{{item.id}}" data-index="{{index}}" bindtap="delete"></image>
  96. </view>
  97. </view>
  98. </van-swipe-cell>
  99. <van-empty wx:if="{{approvalItemsOptions.length == 0}}" description="暂无支付模板" />
  100. </scroll-view>
  101. </van-action-sheet>
  102. <wxs module="iOf">
  103. var indexOf = function(name,value){
  104. return name.indexOf(value);
  105. }
  106. module.exports.indexOf = indexOf;
  107. </wxs>