<!--pages/contract/add/add.wxml--> <view class="ns" style="height:{{isIPX?'88px':'64px'}};"> <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> <text style="top:{{isIPX?'54px':'30px'}};">{{form.id?"":"新增"}}资产信息</text> </view> <view class="main-box table-box" style="margin-top:{{isIPX?'100px':'75px'}};"> <view style="margin-bottom:15px;"> <image src="../../../image/icon/fixed_contract_icon.png" referrer="no-referrer|origin|unsafe-url" style="width: 15px;height: 15px;margin-right: 10px;"></image> <text class="tit">基本信息</text> </view> <view class="table-boxs"> <view> <view> <text><text style="color:red;margin-right: 10rpx;">*</text>资产编码</text> </view> <view> <input type="text" value="{{form.code}}" bindinput="bindNewInput" disabled="true" data-name="form.code" placeholder="资产编码" style="text-align: right;margin-top: 20rpx;" /> </view> </view> <view> <view> <text><text style="color:red;margin-right: 10rpx;">*</text>资产名称</text> </view> <view> <input type="text" value="{{form.name}}" bindinput="bindNewInput" disabled="true" data-name="form.name" placeholder="资产名称" style="text-align: right;margin-top: 20rpx;" /> </view> </view> <view class="section"> <view class="section__title"><text style="color:red;margin-right: 10rpx;">*</text>资产类别</view> <picker bindchange="onConfirmAssetType" value="{{assetTypeindex}}" disabled="true" range="{{assetTypeOptions}}" range-key="{{'dictLabel'}}"> <view class="picker"> {{assetTypeOptions[assetTypeindex].dictLabel?assetTypeOptions[assetTypeindex].dictLabel:"选择资产类别"}} <van-icon name="arrow-down" /> </view> </picker> </view> <view class="section"> <view class="section__title"><text style="color:red;margin-right: 10rpx;">*</text>变更类型</view> <picker bindchange="onConfirmChangeType" value="{{changeTypeindex}}" range="{{changeTypeOptions}}" range-key="{{'dictLabel'}}"> <view class="picker"> {{changeTypeOptions[changeTypeindex].dictLabel?changeTypeOptions[changeTypeindex].dictLabel:"选择变更类型"}} <van-icon name="arrow-down" /> </view> </picker> </view> </view> </view> <view class="main-box table-box" style="margin-top:15px;" wx:if="{{changeTypeindex == 0}}"> <view style="margin-bottom:15px;"> <image src="../../../image/icon/target_icon.png" style="width: 15px;height: 15px;margin-right: 10px;" referrer="nor-referrer|origin|unsafe-url"></image> <text class="tit">变更信息</text> </view> <view class="table-boxs"> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>数量/面积</text> </view> <view> <input type="text" value="{{form.quantity}}" bindinput="bindNewInput" disabled="true" placeholder="" data-name="form.quantity" type="digit" style="text-align: right;margin-top: 20rpx;" /> </view> </view> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>变更后</text> </view> <view> <input type="text" value="{{form.changeValue}}" bindinput="bindNewInput" placeholder="变更后数据" data-name="form.changeValue" type="digit" style="text-align: right;margin-top: 20rpx;" /> </view> </view> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>备注</text> </view> <view> <input type="text" value="{{form.remark}}" bindinput="bindNewInput" data-name="form.remark" style="text-align: right;margin-top: 20rpx;" /> </view> </view> </view> </view> <view class="main-box table-box" style="margin-top:15px;" wx:if="{{changeTypeindex == 1}}"> <view style="margin-bottom:15px;"> <image src="../../../image/icon/target_icon.png" style="width: 15px;height: 15px;margin-right: 10px;" referrer="nor-referrer|origin|unsafe-url"></image> <text class="tit">变更信息</text> </view> <view class="table-boxs"> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>资产原值</text> </view> <view> <input type="text" value="{{form.originalValue}}" disabled="true" bindinput="bindNewInput" placeholder="" data-name="form.originalValue" type="digit" style="text-align: right;margin-top: 20rpx;" /> </view> </view> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>变更后</text> </view> <view> <input type="text" value="{{form.changeValue}}" bindinput="bindNewInput" placeholder="变更后数据" data-name="form.changeValue" type="digit" style="text-align: right;margin-top: 20rpx;" /> </view> </view> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>备注</text> </view> <view> <input type="text" value="{{form.remark}}" bindinput="bindNewInput" data-name="form.remark" style="text-align: right;margin-top: 20rpx;" /> </view> </view> </view> </view> <view class="main-box table-box" style="margin-top:15px;" wx:if="{{changeTypeindex == 2}}"> <view style="margin-bottom:15px;"> <image src="../../../image/icon/target_icon.png" style="width: 15px;height: 15px;margin-right: 10px;" referrer="nor-referrer|origin|unsafe-url"></image> <text class="tit">变更信息</text> </view> <view class="table-boxs"> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>预计使用年数</text> </view> <view> <input type="text" value="{{form.expectedYears}}" disabled="true" bindinput="bindNewInput" placeholder="" data-name="form.expectedYears" type="digit" style="text-align: right;margin-top: 20rpx;" /> </view> </view> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>变更后</text> </view> <view> <input type="text" value="{{form.changeValue}}" bindinput="bindNewInput" placeholder="变更后数据" data-name="form.changeValue" type="digit" style="text-align: right;margin-top: 20rpx;" /> </view> </view> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>备注</text> </view> <view> <input type="text" value="{{form.remark}}" bindinput="bindNewInput" data-name="form.remark" style="text-align: right;margin-top: 20rpx;" /> </view> </view> </view> </view> <view class="main-box table-box" style="margin-top:15px;" wx:if="{{changeTypeindex == 3}}"> <view style="margin-bottom:15px;"> <image src="../../../image/icon/target_icon.png" style="width: 15px;height: 15px;margin-right: 10px;" referrer="nor-referrer|origin|unsafe-url"></image> <text class="tit">变更信息</text> </view> <view class="table-boxs"> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>累计折旧</text> </view> <view> <input type="text" value="{{form.depreciationValue}}" disabled="true" bindinput="bindNewInput" placeholder="" data-name="form.depreciationValue" type="digit" style="text-align: right;margin-top: 20rpx;" /> </view> </view> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>变更后</text> </view> <view> <input type="text" value="{{form.changeValue}}" bindinput="bindNewInput" placeholder="变更后数据" data-name="form.changeValue" type="digit" style="text-align: right;margin-top: 20rpx;" /> </view> </view> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>备注</text> </view> <view> <input type="text" value="{{form.remark}}" bindinput="bindNewInput" data-name="form.remark" style="text-align: right;margin-top: 20rpx;" /> </view> </view> </view> </view> <view class="main-box table-box" style="margin-top:15px;" wx:if="{{changeTypeindex == 4}}"> <view style="margin-bottom:15px;"> <image src="../../../image/icon/target_icon.png" style="width: 15px;height: 15px;margin-right: 10px;" referrer="nor-referrer|origin|unsafe-url"></image> <text class="tit">变更信息</text> </view> <view class="table-boxs"> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>已折旧年数</text> </view> <view> <input type="text" value="{{form.depreciationYears}}" disabled="true" bindinput="bindNewInput" placeholder="" data-name="form.depreciationYears" type="digit" style="text-align: right;margin-top: 20rpx;" /> </view> </view> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>变更后</text> </view> <view> <input type="text" value="{{form.changeValue}}" bindinput="bindNewInput" placeholder="变更后数据" data-name="form.changeValue" type="digit" style="text-align: right;margin-top: 20rpx;" /> </view> </view> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>备注</text> </view> <view> <input type="text" value="{{form.remark}}" bindinput="bindNewInput" data-name="form.remark" style="text-align: right;margin-top: 20rpx;" /> </view> </view> </view> </view> <view class="main-box table-box" style="margin-top:15px;" wx:if="{{changeTypeindex == 5}}"> <view style="margin-bottom:15px;"> <image src="../../../image/icon/target_icon.png" style="width: 15px;height: 15px;margin-right: 10px;" referrer="nor-referrer|origin|unsafe-url"></image> <text class="tit">变更信息</text> </view> <view class="table-boxs"> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>残值率</text> </view> <view> <input type="text" value="{{form.residualsRate}}" disabled="true" bindinput="bindNewInput" placeholder="" data-name="form.residualsRate" type="digit" style="text-align: right;margin-top: 20rpx;" /> </view> </view> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>变更后</text> </view> <view> <input type="text" value="{{form.changeValue}}" bindinput="bindNewInput" placeholder="变更后数据" data-name="form.changeValue" type="digit" style="text-align: right;margin-top: 20rpx;" /> </view> </view> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>备注</text> </view> <view> <input type="text" value="{{form.remark}}" bindinput="bindNewInput" data-name="form.remark" style="text-align: right;margin-top: 20rpx;" /> </view> </view> </view> </view> <view class="main-box table-box" style="margin-top:15px;" wx:if="{{changeTypeindex == 6}}"> <view style="margin-bottom:15px;"> <image src="../../../image/icon/target_icon.png" style="width: 15px;height: 15px;margin-right: 10px;" referrer="nor-referrer|origin|unsafe-url"></image> <text class="tit">变更信息</text> </view> <view class="table-boxs"> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>折旧方式</text> </view> <picker bindchange="onConfirmDepreciationType" disabled="true" value="{{depreciationTypeindex}}" range="{{depreciationTypeOptions}}" range-key="{{'dictLabel'}}"> <view class="picker"> {{depreciationTypeOptions[depreciationTypeindex].dictLabel?depreciationTypeOptions[depreciationTypeindex].dictLabel:"选择折旧方式"}} <van-icon name="arrow-down" /> </view> </picker> </view> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>变更后</text> </view> <picker bindchange="onConfirmChangeValue" value="{{changeValueindex}}" range="{{depreciationTypeOptions}}" range-key="{{'dictLabel'}}"> <view class="picker"> {{depreciationTypeOptions[changeValueindex].dictLabel?depreciationTypeOptions[changeValueindex].dictLabel:"选择折旧方式"}} <van-icon name="arrow-down" /> </view> </picker> </view> <view> <view> <text><text style="color:red;margin-right: 22rpx;"></text>备注</text> </view> <view> <input type="text" value="{{form.remark}}" bindinput="bindNewInput" data-name="form.remark" style="text-align: right;margin-top: 20rpx;" /> </view> </view> </view> </view> <view class="bottom"> <view class="btn2" bindtap="goSubmit">保存</view> </view>