修改 检测脚本参考值

This commit is contained in:
GGJ
2025-03-10 16:11:08 +08:00
parent 9c4e0094f9
commit c9857326c6

View File

@@ -33,7 +33,7 @@
<el-table-column prop="phase" label="相别" />
<el-table-column prop="value" label="参考设定值">
<template #default="{ row }">
<span v-if="row.show">{{ row.value }}</span>
<span v-if="row.show">{{ parseFloat((row.value - 0).toFixed(4)) || '' }}</span>
<el-input type="number" v-else v-model="row.value" placeholder="请输入值" />
</template>
</el-table-column>
@@ -132,7 +132,6 @@ const form = ref({
// 打开弹窗,可能是新增,也可能是编辑
const open = async (row: any, copyRowList: any) => {
let treeData: any = []
await getDictTreeByCode({
name: '',
@@ -233,6 +232,7 @@ defineExpose({ open, getTableData })
<style scoped>
.recalculation {
width: 100%;
display: flex;
justify-content: end;
margin-bottom: 10px;