fix: แก้ไม่ส่ง zinCode
This commit is contained in:
parent
129ae52834
commit
753940eb6c
1 changed files with 6 additions and 3 deletions
|
|
@ -297,14 +297,15 @@ function triggerDelete(id: string) {
|
|||
dialog({
|
||||
color: 'negative',
|
||||
icon: 'mdi-alert',
|
||||
title: 'ยืนยังการลบข้อมูล',
|
||||
actionText: 'ตกลง',
|
||||
title: t('deleteConfirmTitle'),
|
||||
actionText: t('agree'),
|
||||
persistent: true,
|
||||
message: 'ท่านต้องการลบข้อมูลหรือมั้ย',
|
||||
message: t('deleteConfirmMessage'),
|
||||
action: async () => {
|
||||
await branchStore.deleteById(id);
|
||||
await branchStore.fetchList({ pageSize: 99999 });
|
||||
modalDrawer.value = false;
|
||||
stats.value[0].count = stats.value[0].count - 1;
|
||||
flowStore.rotate();
|
||||
},
|
||||
cancel: () => {},
|
||||
|
|
@ -863,6 +864,7 @@ watch(locale, () => {
|
|||
v-model:province-id="formData.provinceId"
|
||||
v-model:district-id="formData.districtId"
|
||||
v-model:sub-district-id="formData.subDistrictId"
|
||||
v-model:zip-code="formData.zipCode"
|
||||
:title="changeTitle(formType, formTypeBranch) + ' ' + currentEdit.code"
|
||||
:titleFormAddress="$t('formDialogTitleAddress')"
|
||||
:address-title="$t('formDialogAddress')"
|
||||
|
|
@ -965,6 +967,7 @@ watch(locale, () => {
|
|||
v-model:province-id="formData.provinceId"
|
||||
v-model:district-id="formData.districtId"
|
||||
v-model:sub-district-id="formData.subDistrictId"
|
||||
v-model:zip-code="formData.zipCode"
|
||||
:title-form-address="$t('formDialogTitleAddress')"
|
||||
:address-title="$t('formDialogAddress')"
|
||||
:address-title-e-n="$t('formDialogAddressEN')"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue