refactor: header currentEdit is null
This commit is contained in:
parent
612ed25072
commit
466d50317e
1 changed files with 5 additions and 1 deletions
|
|
@ -2072,7 +2072,11 @@ watch(currentHq, () => {
|
|||
formData.virtual = false;
|
||||
}
|
||||
|
||||
triggerCreate('subBranch', currentEdit.id, currentEdit.code);
|
||||
triggerCreate(
|
||||
'subBranch',
|
||||
currentEdit.id || currentHq.id,
|
||||
currentEdit.code || currentHq.code,
|
||||
);
|
||||
}
|
||||
"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue