fix:修复只读状态回滚的问题

wuyanfu
吴延福 2023-07-03 11:52:11 +08:00
parent 13add5a58d
commit 0bb62a94fd
1 changed files with 2 additions and 2 deletions

View File

@ -441,7 +441,6 @@ export default class WorkManagerComponent extends BaseRecordComponent<any> {
this.stepUpdateParams = JSON.parse(JSON.stringify(row)); this.stepUpdateParams = JSON.parse(JSON.stringify(row));
} }
this.buildUpdateForm()
this.showSubUpdate = true; this.showSubUpdate = true;
} }
@ -524,9 +523,10 @@ export default class WorkManagerComponent extends BaseRecordComponent<any> {
} else { } else {
this.updateParams.safetyFactor = this.updateParams.safetyFactor.split(",").map(item => +item); this.updateParams.safetyFactor = this.updateParams.safetyFactor.split(",").map(item => +item);
this.updateParams.safetyFactorName = this.updateParams.safetyFactor.map(item => this.$store.getters.prevention_safe_reason_map[item]).join(",") this.updateParams.safetyFactorName = this.updateParams.safetyFactor.map(item => this.$store.getters.prevention_safe_reason_map[item]).join(",")
}
}
this.buildUpdateForm() this.buildUpdateForm()
}
}
// //
this.selectData = []; this.selectData = [];
this.showUpdate = true this.showUpdate = true