This commit is contained in:
ljx
2025-08-20 15:17:40 +08:00

View File

@ -38,6 +38,7 @@
border
lazy
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
default-expand-all
>
<el-table-column prop="num" label="编号" />
<el-table-column prop="name" label="工程或费用名称" />
@ -46,7 +47,8 @@
<el-table-column prop="remark" label="单价" align="center">
<template #default="scope">
<el-input-number
v-model="scope.row.unitPrice"
:model-value="scope.row.unitPrice"
@change="(val) => (scope.row.unitPrice = val)"
:precision="2"
:step="0.1"
:controls="false"