fix(01): enter hq after create br / 1 input location
This commit is contained in:
parent
19dd009f88
commit
73c7ba8327
4 changed files with 20 additions and 5 deletions
|
|
@ -602,6 +602,19 @@ async function onSubmit() {
|
|||
formData.value.code = formData.value.code?.slice(0, -5);
|
||||
delete formData.value['codeHeadOffice'];
|
||||
await createBranch();
|
||||
|
||||
fieldSelectedBranch.value.value = '';
|
||||
inputSearch.value = '';
|
||||
currentHq.value = {
|
||||
id: currentRecord.id,
|
||||
code: currentRecord.code,
|
||||
};
|
||||
beforeBranch.value = {
|
||||
id: '',
|
||||
code: '',
|
||||
};
|
||||
expandedTree.value = [];
|
||||
expandedTree.value.push(currentRecord.id);
|
||||
} else {
|
||||
dialog({
|
||||
color: 'info',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue