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

transaction.wxml 6.8 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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>
  16. <view class="top_view">
  17. <van-dropdown-menu active-color="#5CAE77" bind:change="changeTab" id="top_view1" style="width: 82%;">
  18. <van-dropdown-item value="{{ value1 }}" options="{{ option1 }}" bind:change="changeTab1" />
  19. <van-dropdown-item value="{{ value2 }}" options="{{ option2 }}" bind:change="changeTab2" />
  20. <van-dropdown-item value="{{ value3 }}" options="{{ option3 }}" bind:change="changeTab3" />
  21. </van-dropdown-menu>
  22. <view class="sx_view" bindtap="showPopup">
  23. <text style="flex-shrink: 0;">筛选</text>
  24. <image src="/image/icon/icon_sx.png" style="width: 15px;height: 15px;margin-left: 5px;"></image>
  25. </view>
  26. </view>
  27. <scroll-view scroll-y refresher-threshold="0" style="height:100%" bindscrolltolower="paging" lower-threshold="100">
  28. <!-- wx:for="{{list}}" wx:key="index" wx:for-item="item" right-width="{{ 50 }}" -->
  29. <van-swipe-cell right-width="{{ 65 }}" class="workflow" wx:for="{{list}}" wx:key="index" >
  30. <view class="li" data-id="{{item.approvalItemTemplateId}}" data-id="{{item.id}}" bindtap="toPayDetail" >
  31. <view style="width:70%;flex:7;">
  32. <view class="tit_box">
  33. <view>
  34. <text class="tit">凭证编号{{item.vchnum}}</text>
  35. <text class="tit">{{item.payerAccount}}</text>
  36. </view>
  37. <text class="tit_tab2 tit_sb">{{item.vchnum}}</text>
  38. </view>
  39. <view class="tit_box">
  40. <view style="background-color: #5CAE77;color: #fff;line-height: 1;padding: 5px;font-size: 12px;border-radius: 50%;margin-right: 5px;">我</view>
  41. <view>
  42. <text class="tit">{{actacnName}}</text>
  43. </view>
  44. <text class="tit_tab">{{item.directionText}}</text>
  45. </view>
  46. <view class="tit_box">
  47. <view style="background-color: #E90000;color: #fff;line-height: 1;padding: 5px;font-size: 12px;border-radius: 50%;margin-right: 5px;">对</view>
  48. <text class="tit">{{item.payeeToname}}</text>
  49. <text class="tit_tab3 hui">{{item.payeeActacn}}</text>
  50. </view>
  51. <view style="display: flex;align-items: center;margin-top: 10px;">
  52. <image src="/image/icon/clock_icon.png" style="width: 15px;height: 15px;border-radius:5px;margin-right: 5px;"></image>
  53. <text style="color: #878787;line-height: 1;">{{item.txndate}}</text>
  54. <text class="tit_tab3 {{item.direction == '1' && item.furinfo!='冲正' ? 'green' : 'red'}}">¥<text style="font-size: 1.5rem;display: inline-block;">{{item.direction == '1' ? '+' : item.furinfo!='冲正' ? '-':''}}{{item.txnamt}}</text></text>
  55. </view>
  56. </view>
  57. </view>
  58. <view slot="right" class="cell_right">
  59. <!-- <view class="button_box"><view></view></view> -->
  60. <view class="button_box"
  61. data-url="{{item.alternateField2}}"
  62. data-field1="{{item.alternateField1}}"
  63. data-field4="{{item.alternateField4}}"
  64. data-field9="{{item.alternateField9}}"
  65. data-id="{{item.id}}"
  66. bindtap="goHD"
  67. >
  68. <view>
  69. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  70. <text>回单</text>
  71. </view>
  72. </view>
  73. </view>
  74. </van-swipe-cell>
  75. </scroll-view>
  76. <van-popup
  77. show="{{ showPopup }}"
  78. round
  79. position="right"
  80. custom-style="height: 100%;width:90%;"
  81. bind:close="onClose"
  82. >
  83. <view class="sx_box" style="margin-top:{{isIPX?'88px':'64px'}};">
  84. <text class="sx_tit">我方账户</text>
  85. <van-radio-group value="{{ result1 }}" bind:change="onChangeZH">
  86. <van-radio use-icon-slot name="{{item.bankAccountNumber}}" wx:for="{{accountList}}" wx:key="index">
  87. <view slot="icon" class="{{result1 == item.bankAccountNumber ? 'ys_checkbox_icon':'checkbox_icon'}}">
  88. {{item.accountName}}
  89. </view>
  90. </van-radio>
  91. </van-radio-group>
  92. <text class="sx_tit">业务类型</text>
  93. <van-radio-group value="{{ result2 }}" bind:change="onChangeLX">
  94. <van-radio use-icon-slot name="{{item.value}}" wx:for="{{option2}}" wx:key="index" >
  95. <view slot="icon" class="{{result2 == item.value ? 'ys_checkbox_icon':'checkbox_icon'}}">
  96. {{item.text}}
  97. </view>
  98. </van-radio>
  99. </van-radio-group>
  100. <text class="sx_tit">来往帐标识</text>
  101. <van-radio-group value="{{ result3 }}" bind:change="onChangeBS">
  102. <van-radio use-icon-slot name="{{item.value}}" wx:for="{{option3}}" wx:key="index" >
  103. <view slot="icon" class="{{result3 == item.value ? 'ys_checkbox_icon':'checkbox_icon'}}">
  104. {{item.text}}
  105. </view>
  106. </van-radio>
  107. </van-radio-group>
  108. <text class="sx_tit">金额范围</text>
  109. <view class="sx_input_box">
  110. <input placeholder="最低价" value="{{txnamtMin}}" bindinput="minInput" /><text> - </text><input placeholder="最高价" value="{{xnamtMax}}" bindinput="maxInput" />
  111. </view>
  112. <text class="sx_tit">交易日期</text>
  113. <view class="sx_input_box">
  114. <picker mode="date" value="{{beginApplyDate}}" bindchange="bindDateBeginChange">
  115. <view class="picker">
  116. <input disabled placeholder="开始日期" value="{{beginApplyDate}}" />
  117. </view>
  118. </picker>
  119. <text> - </text>
  120. <picker mode="date" value="{{endApplyDate}}" bindchange="bindDateEndChange">
  121. <view class="picker">
  122. <input disabled placeholder="结束日期" value="{{endApplyDate}}" />
  123. </view>
  124. </picker>
  125. </view>
  126. <view class="bottom">
  127. <!-- <view class="btn1" data-type="3" bindtap="goSubmit">提交复核</view> -->
  128. <view class="btn1" bindtap="reset">重置</view>
  129. <view class="btn2" data-type="0" bindtap="goSubmit" hover-class="btnView">确定</view>
  130. </view>
  131. </view>
  132. </van-popup>
  133. <van-dialog
  134. use-slot
  135. title="人工对账备注"
  136. show="{{ showDialog }}"
  137. bind:close="onClose"
  138. theme='round-button'
  139. confirmButtonText="保存"
  140. bind:confirm="goDZ"
  141. before-close="{{beforeClose }}"
  142. closeOnClickOverlay="{{ true }}"
  143. >
  144. <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="{{manualRemark}}" bindinput="bindNameInput"/>
  145. </van-dialog>
  146. <wxs module="iOf">
  147. var indexOf = function(name,value){
  148. return name.indexOf(value);
  149. }
  150. module.exports.indexOf = indexOf;
  151. </wxs>