fix: 同期往期取值错误
This commit is contained in:
parent
b56efce2c1
commit
798e4d966b
|
@ -182,7 +182,7 @@
|
||||||
|
|
||||||
<el-form-item label="启用状态">
|
<el-form-item label="启用状态">
|
||||||
<el-radio-group v-model="form.status">
|
<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-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
@ -288,7 +288,7 @@ export default {
|
||||||
appSecret: null,
|
appSecret: null,
|
||||||
tenantId: null,
|
tenantId: null,
|
||||||
remark: null,
|
remark: null,
|
||||||
status: '0',
|
status: '1',
|
||||||
};
|
};
|
||||||
this.resetForm("form");
|
this.resetForm("form");
|
||||||
},
|
},
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
align="center"
|
align="center"
|
||||||
:index="
|
:index="
|
||||||
(val) => {
|
(val) => {
|
||||||
return val;
|
return val + 1;
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
width="80px"
|
width="80px"
|
||||||
|
@ -28,22 +28,22 @@
|
||||||
<el-table-column
|
<el-table-column
|
||||||
:label="`本期用量 (${unit})`"
|
:label="`本期用量 (${unit})`"
|
||||||
align="center"
|
align="center"
|
||||||
prop="homochronousValue"
|
prop="currentPeriodValue"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span class="lay-table-textarea">{{
|
<span class="lay-table-textarea">{{
|
||||||
Number(scope.row.homochronousValue).toFixed(2) || "--"
|
Number(scope.row.currentPeriodValue).toFixed(2) || "--"
|
||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
:label="`同期用量 (${unit})`"
|
:label="`同期用量 (${unit})`"
|
||||||
align="center"
|
align="center"
|
||||||
prop="currentPeriodValue"
|
prop="homochronousValue"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span class="lay-table-textarea">{{
|
<span class="lay-table-textarea">{{
|
||||||
Number(scope.row.currentPeriodValue).toFixed(2) || "--"
|
Number(scope.row.homochronousValue).toFixed(2) || "--"
|
||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
|
@ -28,22 +28,22 @@
|
||||||
<el-table-column
|
<el-table-column
|
||||||
:label="`本期用量 (${unit})`"
|
:label="`本期用量 (${unit})`"
|
||||||
align="center"
|
align="center"
|
||||||
prop="homochronousValue"
|
prop="currentPeriodValue"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span class="lay-table-textarea">{{
|
<span class="lay-table-textarea">{{
|
||||||
Number(scope.row.homochronousValue).toFixed(2) || "--"
|
Number(scope.row.currentPeriodValue).toFixed(2) || "--"
|
||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
:label="`同期用量 (${unit})`"
|
:label="`同期用量 (${unit})`"
|
||||||
align="center"
|
align="center"
|
||||||
prop="currentPeriodValue"
|
prop="homochronousValue"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span class="lay-table-textarea">{{
|
<span class="lay-table-textarea">{{
|
||||||
Number(scope.row.currentPeriodValue).toFixed(2) || "--"
|
Number(scope.row.homochronousValue).toFixed(2) || "--"
|
||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
Loading…
Reference in New Issue