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="
|
||||
(v) => {
|
||||
currentHq.id = v.id;
|
||||
currentHq.code = v.code;
|
||||
currentEdit.id = v.id;
|
||||
currentEdit.code = v.code;
|
||||
|
||||
modelCreateTypeBranch = true;
|
||||
}
|
||||
|
|
@ -2072,7 +2072,7 @@ watch(currentHq, () => {
|
|||
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