|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- <!--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" 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" 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: 22rpx;"></text>资产类别</view>
- <picker bindchange="onConfirmAssetType" value="{{assetTypeindex}}" 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="onConfirmOperationType" value="{{operationTypeindex}}" range="{{operationTypeOptions}}" range-key="{{'dictLabel'}}">
- <view class="picker">
- {{operationTypeOptions[operationTypeindex].dictLabel?operationTypeOptions[operationTypeindex].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="onConfirmAddType" value="{{addTypeindex}}" range="{{addTypeOptions}}" range-key="{{'dictLabel'}}">
- <view class="picker">
- {{addTypeOptions[addTypeindex].dictLabel?addTypeOptions[addTypeindex].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 mode="date" value="{{form.buildTime}}" start="{{ minDate }}" end="{{ maxDate }}" bindchange="onConfirmBuildTime">
- <view class="picker">
- {{form.buildTime}}
- </view>
- </picker>
- </view>
- <view>
- <view>
- <text><text style="color:red;margin-right: 22rpx;"></text>坐落位置</text>
- </view>
- <view>
- <input type="text" value="{{form.location}}" bindinput="bindNewInput" data-name="form.location" placeholder="坐落位置" 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.specification}}" bindinput="bindNewInput" data-name="form.specification" placeholder="规格型号" 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.supplier}}" bindinput="bindNewInput" data-name="form.supplier" 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="onConfirmUseType" value="{{useTypeindex}}" range="{{useTypeOptions}}" range-key="{{'dictLabel'}}">
- <view class="picker">
- {{useTypeOptions[useTypeindex].dictLabel?useTypeOptions[useTypeindex].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="onConfirmAssetStatus" value="{{assetStatusindex}}" range="{{assetStatusOptions}}" range-key="{{'dictLabel'}}">
- <view class="picker">
- {{assetStatusOptions[assetStatusindex].dictLabel?assetStatusOptions[assetStatusindex].dictLabel:"选择资产状态"}}
- <van-icon name="arrow-down" />
- </view>
- </picker>
- </view>
- <view class="section">
- <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>单元资产</view>
- <picker bindchange="onConfirmIsMin" value="{{isMinindex}}" range="{{sysYesNoOptions}}" range-key="{{'dictLabel'}}">
- <view class="picker">
- {{sysYesNoOptions[isMinindex].dictLabel?sysYesNoOptions[isMinindex].dictLabel:"选择单元资产"}}
- <van-icon name="arrow-down" />
- </view>
- </picker>
- </view>
- <view class="section">
- <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>扶贫资产</view>
- <picker bindchange="onConfirmIsFormAsset" value="{{isFormAssetindex}}" range="{{sysYesNoOptions}}" range-key="{{'dictLabel'}}">
- <view class="picker">
- {{sysYesNoOptions[isFormAssetindex].dictLabel?sysYesNoOptions[isFormAssetindex].dictLabel:"选择扶贫资产"}}
- <van-icon name="arrow-down" />
- </view>
- </picker>
- </view>
- </view>
- </view>
- <view class="main-box table-box" style="margin-top:15px;">
- <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" data-name="form.quantity" type="digit" style="text-align: right;margin-top: 20rpx;" />
- </view>
- </view>
- <view class="section">
- <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>计量单位</view>
- <picker bindchange="onConfirmUnit" value="{{unitindex}}" range="{{unitOptions}}" range-key="{{'dictLabel'}}">
- <view class="picker">
- {{unitOptions[unitindex].dictLabel?unitOptions[unitindex].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.originalValue}}" bindinput="bindNewInput" type="digit" data-name="form.originalValue" 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.netValue}}" bindinput="bindNewInput" disabled="{{true}}" data-name="form.netValue" style="text-align: right;margin-top: 20rpx;" />
- </view>
- </view>
- <view>
- <view>
- <text><text style="color:red;margin-right: 22rpx;"></text>残值率 N%</text>
- </view>
- <view>
- <input type="text" value="{{form.residualsRate}}" bindinput="bindNewInput" type="digit" data-name="form.residualsRate" 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.netSalvage}}" bindinput="bindNewInput" type="digit" data-name="form.netSalvage" 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.fixedValue}}" placeholder="无需输入" bindinput="bindNewInput" disabled="true" data-name="form.fixedValue" 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.fixedSubject}}" bindinput="bindNewInput" readonly data-name="form.fixedSubject" 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.depreciationSubject}}" bindinput="bindNewInput" data-name="form.depreciationSubject" disabled="true" 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.depreciationFeeSubject}}" disabled="true" bindinput="bindNewInput" data-name="form.depreciationFeeSubject" style="text-align: right;margin-top: 20rpx;margin-left: -30%;" />
- </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;">
- <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 class="section">
- <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>折旧方式</view>
- <picker bindchange="onConfirmDepreciationType" 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>
- <view>
- <input type="text" value="{{form.expectedYears}}" bindinput="bindNewInput" type="number" data-name="form.expectedYears" type="digit" placeholder="(原值-净残值)/预计使用年数" 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.perYearDepreciationValue}}" bindinput="bindNewInput" data-name="form.perYearDepreciationValue" type="digit" disabled="true" 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.depreciationYears}}" bindinput="bindNewInput" type="number" 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.depreciationValue}}" bindinput="bindNewInput" data-name="form.depreciationValue" disabled="true"
- type="digit" style="text-align: right;margin-top: 20rpx;" />
- </view>
- </view>
- </view>
- </view>
- <view class="bottom">
- <view class="btn2" bindtap="goSubmit">保存</view>
- </view>
|