feat(01): bank qr code
This commit is contained in:
parent
77ce547978
commit
6ea964852b
5 changed files with 273 additions and 151 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue