feat(01): bank qr code

This commit is contained in:
puriphatt 2024-09-05 15:25:35 +07:00
parent 77ce547978
commit 6ea964852b
5 changed files with 273 additions and 151 deletions

View file

@ -345,12 +345,7 @@ async function fetchBranchById(id: string) {
qrCodeimageUrl.value = `${apiBaseUrl}/branch/${res.id}/line-image`;
imageUrl.value = `${apiBaseUrl}/branch/${res.id}/branch-image`;
prevImageUrl.value = res.imageUrl;
const updatedBank = res.bank.map((item) => {
const { id: _id, branchId: _branchId, ...rest } = item;
return rest;
});
formBankBook.value = updatedBank;
formBankBook.value = res.bank;
formData.value = {
code: res.code,