微信小程序
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

274 satır
14 KiB

  1. <!--pages/contract/add/add.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" referrer="no-referrer|origin|unsafe-url"></image>
  4. <text style="top:{{isIPX?'54px':'30px'}};">{{form.id?"":"新增"}}资产信息</text>
  5. </view>
  6. <view class="main-box table-box" style="margin-top:{{isIPX?'100px':'75px'}};">
  7. <view style="margin-bottom:15px;">
  8. <image src="../../../image/icon/fixed_contract_icon.png" referrer="no-referrer|origin|unsafe-url" style="width: 15px;height: 15px;margin-right: 10px;"></image>
  9. <text class="tit">基本信息</text>
  10. </view>
  11. <view class="table-boxs">
  12. <view>
  13. <view>
  14. <text><text style="color:red;margin-right: 10rpx;">*</text>资产编码</text>
  15. </view>
  16. <view>
  17. <input type="text" value="{{form.code}}" bindinput="bindNewInput" data-name="form.code" placeholder="资产编码" style="text-align: right;margin-top: 20rpx;" />
  18. </view>
  19. </view>
  20. <view>
  21. <view>
  22. <text><text style="color:red;margin-right: 10rpx;">*</text>资产名称</text>
  23. </view>
  24. <view>
  25. <input type="text" value="{{form.name}}" bindinput="bindNewInput" data-name="form.name" placeholder="资产名称" style="text-align: right;margin-top: 20rpx;" />
  26. </view>
  27. </view>
  28. <view class="section">
  29. <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>资产类别</view>
  30. <picker bindchange="onConfirmAssetType" value="{{assetTypeindex}}" range="{{assetTypeOptions}}" range-key="{{'dictLabel'}}">
  31. <view class="picker">
  32. {{assetTypeOptions[assetTypeindex].dictLabel?assetTypeOptions[assetTypeindex].dictLabel:"选择资产类别"}}
  33. <van-icon name="arrow-down" />
  34. </view>
  35. </picker>
  36. </view>
  37. <view class="section">
  38. <view class="section__title"><text style="color:red;margin-right: 10rpx;">*</text>经营属性</view>
  39. <picker bindchange="onConfirmOperationType" value="{{operationTypeindex}}" range="{{operationTypeOptions}}" range-key="{{'dictLabel'}}">
  40. <view class="picker">
  41. {{operationTypeOptions[operationTypeindex].dictLabel?operationTypeOptions[operationTypeindex].dictLabel:"选择经营属性"}}
  42. <van-icon name="arrow-down" />
  43. </view>
  44. </picker>
  45. </view>
  46. <view class="section">
  47. <view class="section__title"><text style="color:red;margin-right: 10rpx;">*</text>增加方式</view>
  48. <picker bindchange="onConfirmAddType" value="{{addTypeindex}}" range="{{addTypeOptions}}" range-key="{{'dictLabel'}}">
  49. <view class="picker">
  50. {{addTypeOptions[addTypeindex].dictLabel?addTypeOptions[addTypeindex].dictLabel:"选择增加方式"}}
  51. <van-icon name="arrow-down" />
  52. </view>
  53. </picker>
  54. </view>
  55. <view class="section">
  56. <view class="section__title"><text style="color:red;margin-right: 10rpx;">*</text>构建时间</view>
  57. <picker mode="date" value="{{form.buildTime}}" start="{{ minDate }}" end="{{ maxDate }}" bindchange="onConfirmBuildTime">
  58. <view class="picker">
  59. {{form.buildTime}}
  60. </view>
  61. </picker>
  62. </view>
  63. <view>
  64. <view>
  65. <text><text style="color:red;margin-right: 22rpx;"></text>坐落位置</text>
  66. </view>
  67. <view>
  68. <input type="text" value="{{form.location}}" bindinput="bindNewInput" data-name="form.location" placeholder="坐落位置" style="text-align: right;margin-top: 20rpx;" />
  69. </view>
  70. </view>
  71. <view>
  72. <view>
  73. <text><text style="color:red;margin-right: 22rpx;"></text>规格型号</text>
  74. </view>
  75. <view>
  76. <input type="text" value="{{form.specification}}" bindinput="bindNewInput" data-name="form.specification" placeholder="规格型号" style="text-align: right;margin-top: 20rpx;" />
  77. </view>
  78. </view>
  79. <view>
  80. <view>
  81. <text><text style="color:red;margin-right: 22rpx;"></text>供应商</text>
  82. </view>
  83. <view>
  84. <input type="text" value="{{form.supplier}}" bindinput="bindNewInput" data-name="form.supplier" placeholder="供应商" style="text-align: right;margin-top: 20rpx;" />
  85. </view>
  86. </view>
  87. <view class="section">
  88. <view class="section__title"><text style="color:red;margin-right: 10rpx;">*</text>使用情况</view>
  89. <picker bindchange="onConfirmUseType" value="{{useTypeindex}}" range="{{useTypeOptions}}" range-key="{{'dictLabel'}}">
  90. <view class="picker">
  91. {{useTypeOptions[useTypeindex].dictLabel?useTypeOptions[useTypeindex].dictLabel:"选择使用情况"}}
  92. <van-icon name="arrow-down" />
  93. </view>
  94. </picker>
  95. </view>
  96. <view class="section">
  97. <view class="section__title"><text style="color:red;margin-right: 10rpx;">*</text>资产状态</view>
  98. <picker bindchange="onConfirmAssetStatus" value="{{assetStatusindex}}" range="{{assetStatusOptions}}" range-key="{{'dictLabel'}}">
  99. <view class="picker">
  100. {{assetStatusOptions[assetStatusindex].dictLabel?assetStatusOptions[assetStatusindex].dictLabel:"选择资产状态"}}
  101. <van-icon name="arrow-down" />
  102. </view>
  103. </picker>
  104. </view>
  105. <view class="section">
  106. <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>单元资产</view>
  107. <picker bindchange="onConfirmIsMin" value="{{isMinindex}}" range="{{sysYesNoOptions}}" range-key="{{'dictLabel'}}">
  108. <view class="picker">
  109. {{sysYesNoOptions[isMinindex].dictLabel?sysYesNoOptions[isMinindex].dictLabel:"选择单元资产"}}
  110. <van-icon name="arrow-down" />
  111. </view>
  112. </picker>
  113. </view>
  114. <view class="section">
  115. <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>扶贫资产</view>
  116. <picker bindchange="onConfirmIsFormAsset" value="{{isFormAssetindex}}" range="{{sysYesNoOptions}}" range-key="{{'dictLabel'}}">
  117. <view class="picker">
  118. {{sysYesNoOptions[isFormAssetindex].dictLabel?sysYesNoOptions[isFormAssetindex].dictLabel:"选择扶贫资产"}}
  119. <van-icon name="arrow-down" />
  120. </view>
  121. </picker>
  122. </view>
  123. </view>
  124. </view>
  125. <view class="main-box table-box" style="margin-top:15px;">
  126. <view style="margin-bottom:15px;">
  127. <image src="../../../image/icon/target_icon.png" style="width: 15px;height: 15px;margin-right: 10px;" referrer="nor-referrer|origin|unsafe-url"></image>
  128. <text class="tit">资产数据</text>
  129. </view>
  130. <view class="table-boxs">
  131. <view>
  132. <view>
  133. <text><text style="color:red;margin-right: 22rpx;"></text>数量/面积</text>
  134. </view>
  135. <view>
  136. <input type="text" value="{{form.quantity}}" bindinput="bindNewInput" data-name="form.quantity" type="number" style="text-align: right;margin-top: 20rpx;" />
  137. </view>
  138. </view>
  139. <view class="section">
  140. <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>计量单位</view>
  141. <picker bindchange="onConfirmUnit" value="{{unitindex}}" range="{{unitOptions}}" range-key="{{'dictLabel'}}">
  142. <view class="picker">
  143. {{unitOptions[unitindex].dictLabel?unitOptions[unitindex].dictLabel:"选择计量单位"}}
  144. <van-icon name="arrow-down" />
  145. </view>
  146. </picker>
  147. </view>
  148. <view>
  149. <view>
  150. <text><text style="color:red;margin-right: 22rpx;"></text>原值(元)</text>
  151. </view>
  152. <view>
  153. <input type="text" value="{{form.originalValue}}" bindinput="bindNewInput" type="digit" data-name="form.originalValue" style="text-align: right;margin-top: 20rpx;" />
  154. </view>
  155. </view>
  156. <view>
  157. <view>
  158. <text><text style="color:red;margin-right: 22rpx;"></text>净值(元)</text>
  159. </view>
  160. <view>
  161. <input type="text" value="{{form.netValue}}" bindinput="bindNewInput" disabled="{{true}}" data-name="form.netValue" style="text-align: right;margin-top: 20rpx;" />
  162. </view>
  163. </view>
  164. <view>
  165. <view>
  166. <text><text style="color:red;margin-right: 22rpx;"></text>残值率 N%</text>
  167. </view>
  168. <view>
  169. <input type="text" value="{{form.residualsRate}}" bindinput="bindNewInput" type="digit" data-name="form.residualsRate" style="text-align: right;margin-top: 20rpx;" />
  170. </view>
  171. </view>
  172. <view>
  173. <view>
  174. <text><text style="color:red;margin-right: 22rpx;"></text>净残值(元)</text>
  175. </view>
  176. <view>
  177. <input type="text" value="{{form.netSalvage}}" bindinput="bindNewInput" type="digit" data-name="form.netSalvage" style="text-align: right;margin-top: 20rpx;" />
  178. </view>
  179. </view>
  180. <view>
  181. <view>
  182. <text><text style="color:red;margin-right: 22rpx;"></text>资产清理(元)</text>
  183. </view>
  184. <view>
  185. <input type="text" value="{{form.fixedValue}}" placeholder="无需输入" bindinput="bindNewInput" disabled="true" data-name="form.fixedValue" style="text-align: right;margin-top: 20rpx;" />
  186. </view>
  187. </view>
  188. <view>
  189. <view>
  190. <text><text style="color:red;margin-right: 22rpx;"></text>资产清理科目</text>
  191. </view>
  192. <view>
  193. <input type="text" value="{{form.fixedSubject}}" bindinput="bindNewInput" disabled="true" data-name="form.fixedSubject" style="text-align: right;margin-top: 20rpx;" />
  194. </view>
  195. </view>
  196. <view>
  197. <view>
  198. <text><text style="color:red;margin-right: 22rpx;"></text>折旧科目</text>
  199. </view>
  200. <view>
  201. <input type="text" value="{{form.depreciationSubject}}" bindinput="bindNewInput" data-name="form.depreciationSubject" disabled="true" style="text-align: right;margin-top: 20rpx;" />
  202. </view>
  203. </view>
  204. <view>
  205. <view>
  206. <text><text style="color:red;margin-right: 22rpx;"></text>折旧费用科目</text>
  207. </view>
  208. <view>
  209. <input type="text" value="{{form.depreciationFeeSubject}}" disabled="true" bindinput="bindNewInput" data-name="form.depreciationFeeSubject" style="text-align: right;margin-top: 20rpx;" />
  210. </view>
  211. </view>
  212. <view>
  213. <view>
  214. <text><text style="color:red;margin-right: 22rpx;"></text>备注</text>
  215. </view>
  216. <view>
  217. <input type="text" value="{{form.remark}}" bindinput="bindNewInput" data-name="form.remark" style="text-align: right;margin-top: 20rpx;" />
  218. </view>
  219. </view>
  220. </view>
  221. </view>
  222. <view class="main-box table-box" style="margin-top:15px;">
  223. <view style="margin-bottom:15px;">
  224. <image src="../../../image/icon/target_icon.png" style="width: 15px;height: 15px;margin-right: 10px;" referrer="nor-referrer|origin|unsafe-url"></image>
  225. <text class="tit">折旧方式</text>
  226. </view>
  227. <view class="table-boxs">
  228. <view class="section">
  229. <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>折旧方式</view>
  230. <picker bindchange="onConfirmDepreciationType" value="{{depreciationTypeindex}}" range="{{depreciationTypeOptions}}" range-key="{{'dictLabel'}}">
  231. <view class="picker">
  232. {{depreciationTypeOptions[depreciationTypeindex].dictLabel?depreciationTypeOptions[depreciationTypeindex].dictLabel:"选择折旧方式"}}
  233. <van-icon name="arrow-down" />
  234. </view>
  235. </picker>
  236. </view>
  237. <view>
  238. <view>
  239. <text><text style="color:red;margin-right: 22rpx;"></text>预计使用年数</text>
  240. </view>
  241. <view>
  242. <input type="text" value="{{form.expectedYears}}" bindinput="bindNewInput" type="number" data-name="form.expectedYears" type="digit" placeholder="(原值-净残值)/预计使用年数" style="text-align: right;margin-top: 20rpx;" />
  243. </view>
  244. </view>
  245. <view>
  246. <view>
  247. <text><text style="color:red;margin-right: 22rpx;"></text>每年折旧额:</text>
  248. </view>
  249. <view>
  250. <input type="text" value="{{form.perYearDepreciationValue}}" bindinput="bindNewInput" data-name="form.perYearDepreciationValue" type="digit" disabled="true" style="text-align: right;margin-top: 20rpx;" />
  251. </view>
  252. </view>
  253. <view>
  254. <view>
  255. <text><text style="color:red;margin-right: 22rpx;"></text>已折旧年数</text>
  256. </view>
  257. <view>
  258. <input type="text" value="{{form.depreciationYears}}" bindinput="bindNewInput" type="number" data-name="form.depreciationYears" type="digit" style="text-align: right;margin-top: 20rpx;" />
  259. </view>
  260. </view>
  261. <view>
  262. <view>
  263. <text><text style="color:red;margin-right: 22rpx;"></text>累计折旧(元)</text>
  264. </view>
  265. <view>
  266. <input type="text" value="{{form.depreciationValue}}" bindinput="bindNewInput" data-name="form.depreciationValue" disabled="true"
  267. type="digit" style="text-align: right;margin-top: 20rpx;" />
  268. </view>
  269. </view>
  270. </view>
  271. </view>
  272. <view class="bottom">
  273. <view class="btn2" bindtap="goSubmit">保存</view>
  274. </view>