1
This commit is contained in:
@@ -216,10 +216,10 @@ export default {
|
||||
getEnergyLimit(id).then((res) => {
|
||||
if (res.code === 0) {
|
||||
this.form = res.data;
|
||||
this.form.plcParamId = res.data.plcParamId || '';
|
||||
this.form.tableName = this.form.tableName
|
||||
? this.form.tableName + ''
|
||||
: '';
|
||||
this.form.plcParamId = res.data.plcParamId || '';
|
||||
this.form.method = this.form.method ? this.form.method + '' : '';
|
||||
this.form.limitType = this.form.limitType
|
||||
? this.form.limitType + ''
|
||||
@@ -231,6 +231,9 @@ export default {
|
||||
if (this.form.type === 2) {
|
||||
this.getDetailList();
|
||||
}
|
||||
if (this.form.energyTypeId) {
|
||||
this.getTableNameList(this.form.energyTypeId);
|
||||
}
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user