fix: 同期往期取值错误
This commit is contained in:
parent
b56efce2c1
commit
798e4d966b
|
@ -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");
|
||||
},
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue