|
@@ -376,7 +376,11 @@
|
|
|
</span>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
- <vxe-column field="remainingUsefulLife" title="尚可使用年限" width="160" :edit-render="{ name: 'VxeNumberInput', props: { type: 'integer' } }"></vxe-column>
|
|
|
+ <vxe-column field="remainingUsefulLife" title="尚可使用年限" width="160" :edit-render="{}">
|
|
|
+ <template #edit="{ $rowIndex, row }">
|
|
|
+ <vxe-number-input v-model="row.remainingUsefulLife" @change="countDepreciationRate(row)" placeholder="整数类型" type="integer"></vxe-number-input>
|
|
|
+ </template>
|
|
|
+ </vxe-column>
|
|
|
<vxe-column title="年限成新率%" width="160">
|
|
|
<template #default="{ row }">
|
|
|
<span>
|
|
@@ -1613,7 +1617,8 @@ export default {
|
|
|
(this.eqptPageData[index].economicServiceLife &&
|
|
|
this.eqptPageData[index].economicServiceLife - this.eqptPageData[index].yearsInUse) /
|
|
|
this.eqptPageData[index].economicServiceLife <
|
|
|
- 0.15
|
|
|
+ 0.15 &&
|
|
|
+ this.eqptPageData[index].remainingUsefulLife === null
|
|
|
) {
|
|
|
sort.push(this.eqptPageData[index].sortId)
|
|
|
verify = false
|