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