GouGengquan 6 tháng trước cách đây
mục cha
commit
cce873233d
1 tập tin đã thay đổi với 1 bổ sung8 xóa
  1. 1 8
      src/views/assets/workbench/calculate/importInfo.vue

+ 1 - 8
src/views/assets/workbench/calculate/importInfo.vue

@@ -339,14 +339,7 @@
             </span>
           </template>
         </vxe-column>
-        <vxe-column field="remainingUsefulLife" title="尚可使用年限" width="160" :edit-render="{ name: 'VxeNumberInput', props: { type: 'integer' } }">
-          <template #default="{ row }">
-            <span>
-              {{ row.depreciationRateByAge =
-              ((row.economicServiceLife - row.yearsInUse) / row.economicServiceLife < 0.15) ? ((row.remainingUsefulLife * 1 / (row.yearsInUse * 1 + row.remainingUsefulLife * 1)).toFixed(2) * 100) : ((row.economicServiceLife - row.yearsInUse) / row.economicServiceLife).toFixed(2) * 100 }}
-            </span>
-          </template>
-        </vxe-column>
+        <vxe-column field="remainingUsefulLife" title="尚可使用年限" width="160" :edit-render="{ name: 'VxeNumberInput', props: { type: 'integer' } }"></vxe-column>
         <vxe-column title="年限成新率%" width="160">
           <template #default="{ row }">
             <span>