|
@@ -248,7 +248,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
-
|
|
|
|
|
|
+
|
|
if (this.relationList && this.relationList.length) {
|
|
if (this.relationList && this.relationList.length) {
|
|
this.relationData = deepClone(this.relationList)
|
|
this.relationData = deepClone(this.relationList)
|
|
}
|
|
}
|
|
@@ -613,11 +613,11 @@ export default {
|
|
if (config.layout === 'colFormItem') {
|
|
if (config.layout === 'colFormItem') {
|
|
if (!this.$store.getters.hasTable) {
|
|
if (!this.$store.getters.hasTable) {
|
|
// 分割线和按钮不加vModel
|
|
// 分割线和按钮不加vModel
|
|
- if (noVModelList.indexOf(config.jnpfKey) > -1) return
|
|
|
|
|
|
+ if (noVModelList.indexOf(config.jnpfKey) > -1) return item;
|
|
item.__vModel__ = ''
|
|
item.__vModel__ = ''
|
|
item.__vModelName__ = `COL_${this.idGlobal}`
|
|
item.__vModelName__ = `COL_${this.idGlobal}`
|
|
} else {
|
|
} else {
|
|
- if (noVModelList.indexOf(config.jnpfKey) > -1) return
|
|
|
|
|
|
+ if (noVModelList.indexOf(config.jnpfKey) > -1) return item;
|
|
item.__vModel__ = ''
|
|
item.__vModel__ = ''
|
|
item.__vModelName__ = ''
|
|
item.__vModelName__ = ''
|
|
}
|
|
}
|
|
@@ -634,6 +634,7 @@ export default {
|
|
if (Array.isArray(config.children)) {
|
|
if (Array.isArray(config.children)) {
|
|
config.children = config.children.map((childItem) => this.createIdAndKey(childItem))
|
|
config.children = config.children.map((childItem) => this.createIdAndKey(childItem))
|
|
}
|
|
}
|
|
|
|
+ console.log(item)
|
|
return item
|
|
return item
|
|
},
|
|
},
|
|
AssembleFormData() {
|
|
AssembleFormData() {
|