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({
|
dialog({
|
||||||
color: 'negative',
|
color: 'negative',
|
||||||
icon: 'mdi-alert',
|
icon: 'mdi-alert',
|
||||||
title: 'ยืนยังการลบข้อมูล',
|
title: t('deleteConfirmTitle'),
|
||||||
actionText: 'ตกลง',
|
actionText: t('agree'),
|
||||||
persistent: true,
|
persistent: true,
|
||||||
message: 'ท่านต้องการลบข้อมูลหรือมั้ย',
|
message: t('deleteConfirmMessage'),
|
||||||
action: async () => {
|
action: async () => {
|
||||||
await branchStore.deleteById(id);
|
await branchStore.deleteById(id);
|
||||||
await branchStore.fetchList({ pageSize: 99999 });
|
await branchStore.fetchList({ pageSize: 99999 });
|
||||||
modalDrawer.value = false;
|
modalDrawer.value = false;
|
||||||
|
stats.value[0].count = stats.value[0].count - 1;
|
||||||
flowStore.rotate();
|
flowStore.rotate();
|
||||||
},
|
},
|
||||||
cancel: () => {},
|
cancel: () => {},
|
||||||
|
|
@ -863,6 +864,7 @@ watch(locale, () => {
|
||||||
v-model:province-id="formData.provinceId"
|
v-model:province-id="formData.provinceId"
|
||||||
v-model:district-id="formData.districtId"
|
v-model:district-id="formData.districtId"
|
||||||
v-model:sub-district-id="formData.subDistrictId"
|
v-model:sub-district-id="formData.subDistrictId"
|
||||||
|
v-model:zip-code="formData.zipCode"
|
||||||
:title="changeTitle(formType, formTypeBranch) + ' ' + currentEdit.code"
|
:title="changeTitle(formType, formTypeBranch) + ' ' + currentEdit.code"
|
||||||
:titleFormAddress="$t('formDialogTitleAddress')"
|
:titleFormAddress="$t('formDialogTitleAddress')"
|
||||||
:address-title="$t('formDialogAddress')"
|
:address-title="$t('formDialogAddress')"
|
||||||
|
|
@ -965,6 +967,7 @@ watch(locale, () => {
|
||||||
v-model:province-id="formData.provinceId"
|
v-model:province-id="formData.provinceId"
|
||||||
v-model:district-id="formData.districtId"
|
v-model:district-id="formData.districtId"
|
||||||
v-model:sub-district-id="formData.subDistrictId"
|
v-model:sub-district-id="formData.subDistrictId"
|
||||||
|
v-model:zip-code="formData.zipCode"
|
||||||
:title-form-address="$t('formDialogTitleAddress')"
|
:title-form-address="$t('formDialogTitleAddress')"
|
||||||
:address-title="$t('formDialogAddress')"
|
:address-title="$t('formDialogAddress')"
|
||||||
:address-title-e-n="$t('formDialogAddressEN')"
|
:address-title-e-n="$t('formDialogAddressEN')"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue