refactor: edit currentEdit

This commit is contained in:
Net 2024-09-04 10:23:07 +07:00
parent 9a0cff42dd
commit cd59992044

View file

@ -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);
} }
" "
/> />