问题修改
This commit is contained in:
parent
a4351e3754
commit
f8bb8607c6
|
|
@ -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
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue