refactor: header Change status branch
This commit is contained in:
parent
4f754d3518
commit
a0c48c0e68
1 changed files with 3 additions and 2 deletions
|
|
@ -402,6 +402,9 @@ const prevFormBankBook = ref<BankBook[]>(defaultFormBankBook);
|
||||||
const modalDrawer = ref<boolean>(false);
|
const modalDrawer = ref<boolean>(false);
|
||||||
|
|
||||||
function openDrawer() {
|
function openDrawer() {
|
||||||
|
prevFormData.value = JSON.parse(JSON.stringify(formData.value));
|
||||||
|
prevFormBankBook.value = JSON.parse(JSON.stringify(formBankBook.value));
|
||||||
|
|
||||||
modalDrawer.value = true;
|
modalDrawer.value = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -577,8 +580,6 @@ function drawerEdit() {
|
||||||
isQrCodeEdit.value = true;
|
isQrCodeEdit.value = true;
|
||||||
isImageEdit.value = true;
|
isImageEdit.value = true;
|
||||||
formType.value = 'edit';
|
formType.value = 'edit';
|
||||||
prevFormData.value = JSON.parse(JSON.stringify(formData.value));
|
|
||||||
prevFormBankBook.value = JSON.parse(JSON.stringify(formBankBook.value));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const currentBranchAdmin = ref<User | null>(null);
|
const currentBranchAdmin = ref<User | null>(null);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue