微信小程序
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

124 linhas
5.4 KiB

  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="top_view" style="margin-top:{{isIPX?'88px':'64px'}};">
  7. <van-dropdown-menu active-color="#5CAE77" bind:change="changeTab" id="top_view1" style="flex: 1;">
  8. <van-dropdown-item value="{{ value1 }}" options="{{ option1 }}" bind:change="changeTab1" />
  9. <van-dropdown-item value="{{ value3 }}" options="{{ option3 }}" bind:change="changeTab3" />
  10. </van-dropdown-menu>
  11. <!-- <view class="sx_view" bindtap="showPopup">
  12. <view class="add_btn" bindtap="goAdd"><text>新增</text></view>
  13. </view> -->
  14. </view>
  15. <scroll-view scroll-y refresher-threshold="0" style="height:100%" bindscrolltolower="paging" lower-threshold="100">
  16. <!-- wx:for="{{list}}" wx:key="index" wx:for-item="item" right-width="{{ 50 }}" -->
  17. <van-swipe-cell class="workflow" right-width="{{item.billType == '2'||item.billType == '3'?'65':''}}" wx:for="{{billList}}" wx:key="index" >
  18. <view class="li" >
  19. <view style="width:70%;flex:7;">
  20. <view class="tit_box">
  21. <text class="tit_tab4">批次编码</text>
  22. <text class="tit">{{item.batchNum}}</text>
  23. <text class="tit_tab">{{item.year}}</text>
  24. <text class="tit_tab5">{{item.billTypeText}}</text>
  25. </view>
  26. <view class="tit_box ju_c">
  27. <view>
  28. <image src="/image/icon/icon_ss.png" style="width: 14px;height: 14px;margin-right: 2px;"></image>
  29. <text class="tit">{{item.startNum}}</text>
  30. </view>
  31. <view>
  32. <image src="/image/icon/icon_xj.png" style="width: 14px;height: 14px;margin-right: 2px;"></image>
  33. <text class="tit">{{item.endNum}}</text>
  34. </view>
  35. </view>
  36. <view class="tit_box">
  37. <text class="tit">下发单位:{{item.deptName}}</text>
  38. </view>
  39. <view class="tit_box mr_10">
  40. <!-- <view>
  41. <image src="/image/icon/icon_js1.png" style="width: 14px;height: 14px;margin-right: 2px;"></image>
  42. <text class="tit">10</text>
  43. </view>
  44. <view>
  45. <image src="/image/icon/icon_js2.png" style="width: 14px;height: 14px;margin-right: 2px;"></image>
  46. <text class="tit">2</text>
  47. </view>
  48. <view>
  49. <image src="/image/icon/icon_js3.png" style="width: 14px;height: 14px;margin-right: 2px;"></image>
  50. <text class="tit">100</text>
  51. </view> -->
  52. <view>
  53. <image src="/image/icon/icon_js3.png" style="width: 14px;height: 14px;margin-right: 2px;"></image>
  54. <text class="tit">第{{item.per}}本</text>
  55. </view>
  56. </view>
  57. </view>
  58. <!-- <view class="list_btn" wx:if="{{item.billType != 5}}">
  59. <view>
  60. <view class="btn btn_qs" wx:if="{{item.billType == '2'}}" data-id="{{item.id}}" bindtap="goQS">签收</view>
  61. <view class="btn btn_zf" wx:if="{{item.billType == '3'}}" data-id="{{item.id}}" bindtap="goZF">作废</view>
  62. <view class="btn btn_xf" wx:if="{{item.billType == '2'}}" data-id="{{item.id}}" bindtap="showReceiptDialog">下发</view>
  63. </view>
  64. </view> -->
  65. </view>
  66. <view slot="right" class="cell_right">
  67. <view class="button_box qs" wx:if="{{item.billType == '2'}}" data-id="{{item.id}}" bindtap="goQS">
  68. <view>
  69. <image src="/image/icon/icon_xg2.png" style="width: 20.55px;height: 20.55px;"></image>
  70. <text>签收</text>
  71. </view>
  72. </view>
  73. <view class="button_box zf" wx:if="{{item.billType == '3'}}" data-id="{{item.id}}" bindtap="goZF">
  74. <view>
  75. <image src="/image/icon/icon_sc.png" style="width: 20.55px;height: 20.55px;"></image>
  76. <text>作废</text>
  77. </view>
  78. </view>
  79. </view>
  80. <!-- <view slot="right" class="deleteBox">
  81. <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">
  82. <view>
  83. <image src="../../image/icon/upload_icon.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image>
  84. </view>
  85. <view>
  86. <text style="color: #62AD66;">附件</text>
  87. </view>
  88. </view>
  89. </view> -->
  90. </van-swipe-cell>
  91. </scroll-view>
  92. <van-dialog
  93. use-slot
  94. show="{{ showReceiptDialog }}"
  95. bind:close="onClose"
  96. theme='round-button'
  97. confirmButtonText="票本下发"
  98. data-type="1"
  99. bind:confirm="goXF"
  100. before-close="{{beforeClose}}"
  101. closeOnClickOverlay="{{ true }}"
  102. >
  103. <!-- <image src="/image/icon/icon_delete.png" style="width: 20px; height: 20px;position: absolute;top: 0;"></image> -->
  104. <view style="text-align: center;padding: 20px;border-bottom: 1px dashed #e6e6e6;width: 92%;margin: 0 auto;color: #2C8E68;font-size: 18px;">票本下发</view>
  105. <van-cell title="下发单位" required is-link arrow-direction="down">
  106. <view>
  107. <picker bindchange="bindSelectTypePickerChange" range="{{deptOptions}}" data-name="selectType" range-key="deptName">
  108. <view class="picker">
  109. <text>{{deptName == '' ? '请选择下发单位':deptName}}</text>
  110. </view>
  111. </picker>
  112. </view>
  113. </van-cell>
  114. </van-dialog>
  115. <wxs module="iOf">
  116. var indexOf = function(name,value){
  117. return name.indexOf(value);
  118. }
  119. module.exports.indexOf = indexOf;
  120. </wxs>