问题修改
This commit is contained in:
parent
a4351e3754
commit
f8bb8607c6
|
|
@ -103,9 +103,11 @@ export default {
|
||||||
async initFormData() {
|
async initFormData() {
|
||||||
const res = await getClassifyMarkSelApi();
|
const res = await getClassifyMarkSelApi();
|
||||||
this.classifyMarkList = res.data;
|
this.classifyMarkList = res.data;
|
||||||
|
|
||||||
this.belongName = this.rowData.belongName;
|
this.belongName = this.rowData.belongName;
|
||||||
this.detailStatus = this.rowData.detailStatus;
|
this.detailStatus = this.rowData.detailStatus;
|
||||||
if ((this.isAdd === 'edit' || this.isAdd === 'detail') && this.rowData) {
|
if ((this.isAdd === 'edit' || this.isAdd === 'detail') && this.rowData) {
|
||||||
|
console.log(this.rowData.classifyMarkId);
|
||||||
// 编辑模式:填充表单数据
|
// 编辑模式:填充表单数据
|
||||||
this.form = {
|
this.form = {
|
||||||
id: this.rowData.id,
|
id: this.rowData.id,
|
||||||
|
|
@ -114,7 +116,7 @@ export default {
|
||||||
major: this.rowData.major || null,
|
major: this.rowData.major || null,
|
||||||
unitName: this.rowData.unitName || null,
|
unitName: this.rowData.unitName || null,
|
||||||
markCode: this.rowData.markCode || null,
|
markCode: this.rowData.markCode || null,
|
||||||
classifyMark: this.rowData.classifyMark || null,
|
classifyMark: this.rowData.classifyMarkId || null,
|
||||||
parentId:this.rowData.parentId || null,
|
parentId:this.rowData.parentId || null,
|
||||||
level:4
|
level:4
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue