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

fixedAssets.wxml 5.2 KiB

3 lat temu
3 lat temu
3 lat temu
3 lat temu
3 lat temu
3 lat temu
3 lat temu
3 lat temu
3 lat temu
3 lat temu
3 lat temu
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <!--pages/fixedAssets/fixedAssets.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" id="top_view" style="margin-top:{{isIPX?'100px':'75px'}};">
  7. <view style="width:61%;">
  8. <van-search
  9. value="{{ name }}"
  10. shape="round"
  11. background="transparent"
  12. placeholder="请输入搜索关键词"
  13. clearable
  14. bind:change="goSearch"
  15. />
  16. </view>
  17. <view style="border:1px solid #ddd;background: #fff;border-radius: 30px;padding: 0 25rpx;width:34%;margin-top: 9px;line-height: 38px;height: 38px;">
  18. <picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}" range-key="assetTableName">
  19. <view class="picker" style="text-align: center;">
  20. {{array[index].assetTableName}}
  21. <image src="../../image/icon/triangle.png" style="height:25rpx;width:25rpx;margin-right: 10rpx;"></image>
  22. </view>
  23. </picker>
  24. </view>
  25. </view>
  26. <scroll-view scroll-y refresher-threshold="0" wx:if="{{index == '0'}}" style="height:{{scrollHeight}}px" bindscrolltolower="paging" lower-threshold="100">
  27. <van-swipe-cell class="workflow" wx:for="{{list}}" wx:key="index" wx:for-item="item">
  28. <view class="li" bindtap="goUpdate" data-item="{{item}}">
  29. <view class="tit_box">
  30. <image src="/image/icon/fixedAssets_icon.png" style="width: 15px;height: 15px;margin-right: 10px;" referrer="no-referrer|origin|unsafe-url"></image>
  31. <text class="tit">{{item.name}}</text>
  32. <view style="flex:1;">
  33. <text wx:if="{{item.useType=='1'}}" style="text-align: center;float:right;font-size:12px;background:rgb(235, 154, 4,0.2);color:rgb(235, 154, 4);width:50px;line-height: 20px;">自用</text>
  34. <text wx:if="{{item.useType=='2'}}" style="text-align: center;float:right;font-size:12px;background:rgb(235, 154, 4,0.2);color:rgb(235, 154, 4);width:50px;line-height: 20px;">闲置</text>
  35. <text wx:if="{{item.useType=='3'}}" style="text-align: center;float:right;font-size:12px;background:rgb(235, 154, 4,0.2);color:rgb(235, 154, 4);width:70px;line-height: 20px;">出租或出借</text>
  36. <text wx:if="{{item.useType=='4'}}" style="text-align: center;float:right;font-size:12px;background:rgb(235, 4, 4,0.2);color:rgb(235, 4, 4);width:50px;line-height: 20px;">其他</text>
  37. </view>
  38. </view>
  39. <view class="detail_box">
  40. <view style="width: 55%;margin-left:5%;">{{item.code}}</view>
  41. <view style="width: 40%;">
  42. {{item.assetType}}
  43. </view>
  44. </view>
  45. <view class="detail_box">
  46. <view style="width: 60%;">
  47. <image src="/image/icon/clock_icon.png" style="width: 15px;height: 15px;border-radius:5px;margin-right: 5px;"></image>
  48. <text>{{item.buildTime}}</text>
  49. </view>
  50. <view style="width: 40%;text-align: right;">
  51. 原值:
  52. <text style="color:red">¥{{item.originalValue}}</text>
  53. </view>
  54. </view>
  55. </view>
  56. </van-swipe-cell>
  57. </scroll-view>
  58. <scroll-view scroll-y refresher-threshold="0" wx:if="{{index == '1'}}" style="height:{{scrollHeight}}px" bindscrolltolower="paging" lower-threshold="100">
  59. <van-swipe-cell class="workflow" wx:for="{{list1}}" wx:key="index" wx:for-item="item" >
  60. <view class="li" bindtap="goUpdate1" data-item="{{item}}">
  61. <view class="tit_box">
  62. <image src="/image/icon/fixedAssets_icon.png" style="width: 15px;height: 15px;margin-right: 10px;" referrer="no-referrer|origin|unsafe-url"></image>
  63. <text class="tit">{{item.name}}</text>
  64. <view style="flex:1;">
  65. <text wx:if="{{item.useType=='1'}}" style="text-align: center;float:right;font-size:12px;background:rgb(235, 154, 4,0.2);color:rgb(235, 154, 4);width:50px;line-height: 20px;">自用</text>
  66. <text wx:if="{{item.useType=='2'}}" style="text-align: center;float:right;font-size:12px;background:rgb(235, 154, 4,0.2);color:rgb(235, 154, 4);width:50px;line-height: 20px;">闲置</text>
  67. <text wx:if="{{item.useType=='3'}}" style="text-align: center;float:right;font-size:12px;background:rgb(235, 154, 4,0.2);color:rgb(235, 154, 4);width:70px;line-height: 20px;">出租或出借</text>
  68. <text wx:if="{{item.useType=='4'}}" style="text-align: center;float:right;font-size:12px;background:rgb(235, 4, 4,0.2);color:rgb(235, 4, 4);width:50px;line-height: 20px;">其他</text>
  69. </view>
  70. </view>
  71. <view class="detail_box">
  72. <view style="width: 55%;margin-left:5%;">{{item.code}}</view>
  73. <view style="width: 40%;">
  74. {{item.resourceType}}
  75. </view>
  76. </view>
  77. <view class="detail_box">
  78. <view style="width: 60%;">
  79. <image src="/image/icon/clock_icon.png" style="width: 15px;height: 15px;border-radius:5px;margin-right: 5px;"></image>
  80. <text>{{item.createTime}}</text>
  81. </view>
  82. <view style="width: 40%;text-align: right;">
  83. 数量/面积:
  84. <text style="color:red">{{item.totalArea}}</text>
  85. </view>
  86. </view>
  87. </view>
  88. </van-swipe-cell>
  89. </scroll-view>