refactor: add function qr at create

This commit is contained in:
Net 2024-09-11 13:56:58 +07:00
parent 0e76287b35
commit fbe00192c4

View file

@ -1697,12 +1697,29 @@ watch(currentHq, () => {
:separator="true"
:qr="qrCodeimageUrl"
:readonly="formType === 'view'"
@view-qr="
() => {
triggerEditQrCodeLine();
}
"
@edit-qr="() => refQrCodeUpload && refQrCodeUpload.browse()"
/>
<FormBank
id="form-bank"
title="branch.form.group.bankAccount"
dense
v-model:bank-book-list="formBankBook"
@view-qr="
(i) => {
currentIndexQrCodeBank = i;
triggerEditQrCodeBank();
}
"
@edit-qr="
(i) => {
currentIndexQrCodeBank = i;
}
"
/>
<FormBranchAdmin
id="form-branch-admin-view"