refactor: edit currentEdit
This commit is contained in:
parent
9a0cff42dd
commit
cd59992044
1 changed files with 3 additions and 3 deletions
|
|
@ -913,8 +913,8 @@ watch(currentHq, () => {
|
||||||
"
|
"
|
||||||
@create="
|
@create="
|
||||||
(v) => {
|
(v) => {
|
||||||
currentHq.id = v.id;
|
currentEdit.id = v.id;
|
||||||
currentHq.code = v.code;
|
currentEdit.code = v.code;
|
||||||
|
|
||||||
modelCreateTypeBranch = true;
|
modelCreateTypeBranch = true;
|
||||||
}
|
}
|
||||||
|
|
@ -2072,7 +2072,7 @@ watch(currentHq, () => {
|
||||||
formData.virtual = false;
|
formData.virtual = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
triggerCreate('subBranch', currentHq.id, currentHq.code);
|
triggerCreate('subBranch', currentEdit.id, currentEdit.code);
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue