This commit is contained in:
23357 2022-12-07 15:44:16 +08:00
commit 599d0a141e
3 changed files with 11 additions and 11 deletions

View File

@ -182,7 +182,7 @@
<el-form-item label="启用状态">
<el-radio-group v-model="form.status">
<el-radio :label="dict.dictValue" v-for="dict in statusOptions" :key="dict.dictValue">{{ dict.dictLabel }}</el-radio>
<el-radio :label="dict.dictValue" v-for="dict in statusOptions" :key="dict.dictValue" :disabled="form.recordId">{{ dict.dictLabel }}</el-radio>
</el-radio-group>
</el-form-item>
</el-form>
@ -288,7 +288,7 @@ export default {
appSecret: null,
tenantId: null,
remark: null,
status: '0',
status: '1',
};
this.resetForm("form");
},

View File

@ -18,7 +18,7 @@
align="center"
:index="
(val) => {
return val;
return val + 1;
}
"
width="80px"
@ -28,22 +28,22 @@
<el-table-column
:label="`本期用量 (${unit})`"
align="center"
prop="homochronousValue"
prop="currentPeriodValue"
>
<template slot-scope="scope">
<span class="lay-table-textarea">{{
Number(scope.row.homochronousValue).toFixed(2) || "--"
Number(scope.row.currentPeriodValue).toFixed(2) || "--"
}}</span>
</template>
</el-table-column>
<el-table-column
:label="`同期用量 (${unit})`"
align="center"
prop="currentPeriodValue"
prop="homochronousValue"
>
<template slot-scope="scope">
<span class="lay-table-textarea">{{
Number(scope.row.currentPeriodValue).toFixed(2) || "--"
Number(scope.row.homochronousValue).toFixed(2) || "--"
}}</span>
</template>
</el-table-column>

View File

@ -28,22 +28,22 @@
<el-table-column
:label="`本期用量 (${unit})`"
align="center"
prop="homochronousValue"
prop="currentPeriodValue"
>
<template slot-scope="scope">
<span class="lay-table-textarea">{{
Number(scope.row.homochronousValue).toFixed(2) || "--"
Number(scope.row.currentPeriodValue).toFixed(2) || "--"
}}</span>
</template>
</el-table-column>
<el-table-column
:label="`同期用量 (${unit})`"
align="center"
prop="currentPeriodValue"
prop="homochronousValue"
>
<template slot-scope="scope">
<span class="lay-table-textarea">{{
Number(scope.row.currentPeriodValue).toFixed(2) || "--"
Number(scope.row.homochronousValue).toFixed(2) || "--"
}}</span>
</template>
</el-table-column>