修改 检测脚本参考值
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
<el-table-column prop="phase" label="相别" />
|
<el-table-column prop="phase" label="相别" />
|
||||||
<el-table-column prop="value" label="参考设定值">
|
<el-table-column prop="value" label="参考设定值">
|
||||||
<template #default="{ row }">
|
<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="请输入值" />
|
<el-input type="number" v-else v-model="row.value" placeholder="请输入值" />
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -132,7 +132,6 @@ const form = ref({
|
|||||||
// 打开弹窗,可能是新增,也可能是编辑
|
// 打开弹窗,可能是新增,也可能是编辑
|
||||||
|
|
||||||
const open = async (row: any, copyRowList: any) => {
|
const open = async (row: any, copyRowList: any) => {
|
||||||
|
|
||||||
let treeData: any = []
|
let treeData: any = []
|
||||||
await getDictTreeByCode({
|
await getDictTreeByCode({
|
||||||
name: '',
|
name: '',
|
||||||
@@ -233,6 +232,7 @@ defineExpose({ open, getTableData })
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.recalculation {
|
.recalculation {
|
||||||
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|||||||
Reference in New Issue
Block a user