修复树模板父级编码变量错误(I7JZ0L)
This commit is contained in:
parent
45ef542687
commit
5b61aea064
|
@ -453,7 +453,7 @@ export default {
|
|||
this.reset();
|
||||
this.getTreeselect();
|
||||
if (row != null) {
|
||||
this.form.${treeParentCode} = row.${treeCode};
|
||||
this.form.${treeParentCode} = row.${treeParentCode};
|
||||
}
|
||||
get${BusinessName}(row.${pkColumn.javaField}).then(response => {
|
||||
this.form = response.data;
|
||||
|
|
|
@ -420,7 +420,7 @@ async function handleUpdate(row) {
|
|||
reset();
|
||||
await getTreeselect();
|
||||
if (row != null) {
|
||||
form.value.${treeParentCode} = row.${treeCode};
|
||||
form.value.${treeParentCode} = row.${treeParentCode};
|
||||
}
|
||||
get${BusinessName}(row.${pkColumn.javaField}).then(response => {
|
||||
form.value = response.data;
|
||||
|
|
Loading…
Reference in New Issue