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

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
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. <van-search
  8. value="{{ name }}"
  9. shape="round"
  10. background="transparent"
  11. placeholder="请输入固定资产名称"
  12. clearable
  13. bind:change="goSearch"
  14. />
  15. <view class="add_btn" bindtap="goAdd"><text>填报</text></view>
  16. </view>
  17. <scroll-view scroll-y refresher-threshold="0" style="height:{{scrollHeight}}px" bindscrolltolower="paging" lower-threshold="100">
  18. <van-swipe-cell right-width="{{ 100 }}" class="workflow" wx:for="{{list}}" wx:key="index" wx:for-item="item" >
  19. <view class="li" bindtap="goUpdate" data-id="{{item.id}}">
  20. <view class="tit_box">
  21. <image src="/image/icon/fixedAssets_icon.png" style="width: 15px;height: 15px;margin-right: 10px;" referrer="no-referrer|origin|unsafe-url"></image>
  22. <text class="tit">{{item.name}}</text>
  23. <view style="flex:1;">
  24. <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>
  25. <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>
  26. <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>
  27. <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>
  28. </view>
  29. </view>
  30. <view class="detail_box">
  31. <view>{{item.code}}</view>
  32. <view>
  33. {{item.assetType}}
  34. </view>
  35. </view>
  36. <view class="detail_box">
  37. <view>
  38. <image src="/image/icon/clock_icon.png" style="width: 15px;height: 15px;border-radius:5px;margin-right: 5px;"></image>
  39. <text>{{item.buildTime}}</text>
  40. </view>
  41. <view>{{item.assetStatusText}}</view>
  42. <view>
  43. 原值:
  44. <text style="color:red">¥{{item.originalValue}}</text>
  45. </view>
  46. </view>
  47. </view>
  48. <view slot="right" class="deleteBox">
  49. <!-- <view style="flex: 1;height: 100%;display: flex;align-items: center;flex-direction: column;justify-content: center;background-color: rgb(165,165,165,0.2);" data-data="{{item}}" data-index="{{index}}" bindtap="scrap" wx:if="{{item.assetStatus != 3}}">
  50. <view>
  51. <image src="../../image/icon/scrap_icon.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image>
  52. </view>
  53. <view>
  54. <text style="color:#A5A5A5">报废</text>
  55. </view>
  56. </view> -->
  57. <!-- <view style="flex: 1;height: 100%;display: flex;align-items: center;flex-direction: column;justify-content: center;background-color: rgb(238,95,0,0.2);" data-data="{{item}}" data-index="{{index}}" bindtap="sell" wx:if="{{item.assetStatus != 3}}">
  58. <view>
  59. <image src="../../image/icon/sell_icon.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image>
  60. </view>
  61. <view>
  62. <text style="color: rgb(238,95,0);">出售</text>
  63. </view>
  64. </view>
  65. <view style="flex: 1;height: 100%;display: flex;align-items: center;flex-direction: column;justify-content: center;background-color: rgb(255,0,0,0.2);" data-id="{{item.id}}" data-index="{{index}}" bindtap="delete" wx:if="{{item.assetStatus != 3}}">
  66. <view>
  67. <image src="../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image>
  68. </view>
  69. <view>
  70. <text style="color:red">删除</text>
  71. </view>
  72. </view> -->
  73. <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}}" data-status="{{item.assetStatus}}" bindtap="upload">
  74. <view>
  75. <image src="../../image/icon/upload_icon.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image>
  76. </view>
  77. <view>
  78. <text style="color: #62AD66;">附件</text>
  79. </view>
  80. </view>
  81. <!-- <view style="flex: 1;height: 100%;display: flex;align-items: center;flex-direction: column;justify-content: center;background-color: rgb(239,135,7,0.2);" data-id="{{item.id}}" data-index="{{index}}" bindtap="change" wx:if="{{item.assetStatus != 3}}">
  82. <view>
  83. <image src="../../image/icon/relevance_icon.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image>
  84. </view>
  85. <view>
  86. <text style="color: rgb(239,135,7);">变更</text>
  87. </view>
  88. </view> -->
  89. </view>
  90. </van-swipe-cell>
  91. </scroll-view>
  92. <van-action-sheet show="{{showUpload}}" title="附件" bind:close="closeBox">
  93. <scroll-view scroll-y="true" style="height: 600rpx;" bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll" scroll-top="0">
  94. <view class="fj-box">
  95. <view class="fj-li" wx:for="{{fileList}}" wx:key="index" wx:for-item="item" >
  96. <view>
  97. <text>{{item.dictLabel}}</text>
  98. </view>
  99. <view class="img_box">
  100. <view class="img_li">
  101. <van-upload file-list="{{ item.list }}"
  102. show-upload="{{status != 3}}"
  103. deletable="{{status != 3}}"
  104. bind:after-read="afterRead"
  105. bind:delete="deleteImg"
  106. bind:click-preview="lookDown"
  107. data-idx="{{index}}"
  108. >
  109. </van-upload>
  110. </view>
  111. </view>
  112. </view>
  113. </view>
  114. </scroll-view>
  115. </van-action-sheet>
  116. <modal hidden="{{!showPopup}}" title="是否删除?" confirm-text="是" cancel-text="否" bindcancel="cancelTem" bindconfirm="confirmTem">
  117. </modal>
  118. <modal hidden="{{!showPopupDel}}" title="是否删除?" confirm-text="是" cancel-text="否" bindcancel="cancelTemDel" bindconfirm="confirmTemDel">
  119. </modal>