问题修改

This commit is contained in:
cwchen 2025-09-25 16:10:19 +08:00
parent a4351e3754
commit f8bb8607c6
1 changed files with 3 additions and 1 deletions

View File

@ -103,9 +103,11 @@ export default {
async initFormData() {
const res = await getClassifyMarkSelApi();
this.classifyMarkList = res.data;
this.belongName = this.rowData.belongName;
this.detailStatus = this.rowData.detailStatus;
if ((this.isAdd === 'edit' || this.isAdd === 'detail') && this.rowData) {
console.log(this.rowData.classifyMarkId);
//
this.form = {
id: this.rowData.id,
@ -114,7 +116,7 @@ export default {
major: this.rowData.major || null,
unitName: this.rowData.unitName || null,
markCode: this.rowData.markCode || null,
classifyMark: this.rowData.classifyMark || null,
classifyMark: this.rowData.classifyMarkId || null,
parentId:this.rowData.parentId || null,
level:4
};