feat: เพิ่ม การซ่อม ปุ่ม

This commit is contained in:
Net 2024-06-17 17:58:32 +07:00
parent 9c266eee82
commit 28777069a1

View file

@ -2179,10 +2179,16 @@ watch(currentStatus, async () => {
<!-- DRAWER INFO ของ นายจาง -->
<DrawerInfo
:title="$t('formTitleCustomer', { msg: currentCustomer?.customerName })"
:title="
$t(
currentCustomer?.customerType === 'CORP'
? 'formTitleCustomer'
: 'formTitleCustomerNaturalPerson',
{ msg: currentCustomer?.customerName },
)
"
v-model:drawer-open="infoDrawer"
:badgeLabel="currentCustomer?.code"
badgeClass="app-bg-pers"
:undo="() => undo()"
:isEdit="infoDrawerEdit"
:close="() => onClose()"
@ -2200,6 +2206,7 @@ watch(currentStatus, async () => {
<div class="q-ma-md">
<AppBox class="surface-1" style="padding: 0">
<UsersDetailCardComponent
:hideButton="true"
v-if="!!currentCustomer"
no-bg
no-detail
@ -2215,7 +2222,6 @@ watch(currentStatus, async () => {
imageUrl: currentCustomer.imageUrl,
code: 'HQ006',
}"
@enter-card="openDialogInputForm"
/>
</AppBox>
</div>
@ -2391,6 +2397,7 @@ watch(currentStatus, async () => {
<div class="q-ma-md">
<AppBox class="surface-1" style="padding: 0">
<UsersDetailCardComponent
:hideButton="true"
v-if="!!currentCustomer"
no-bg
no-detail
@ -2406,7 +2413,6 @@ watch(currentStatus, async () => {
imageUrl: currentCustomer.imageUrl,
code: 'HQ006',
}"
@enter-card="openDialogInputForm"
/>
</AppBox>
</div>