This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-07-11 13:17:08 +07:00
parent ec04bc2e1e
commit 3ffe9b367e
5 changed files with 10 additions and 23 deletions

View file

@ -87,8 +87,6 @@ const onCancel = async () => {
`ข้อมูลมีการแก้ไข`,
`ยืนยันยกเลิกการแก้ไขใช่หรือไม่?`
);
} else {
edit.value = false;
}
@ -252,7 +250,6 @@ const getClass = (val: boolean) => {
};
};
function checkEdit() {
onEdit.value = true;
}
@ -470,7 +467,6 @@ function checkEdit() {
:class="getClass(edit)"
:readonly="!edit"
:borderless="!edit"
:rules="[(val:string) => !!val || `${'กรุณาเลือก หมู่เลือด'}`]"
:outlined="edit"
dense
lazy-rules
@ -556,10 +552,6 @@ function checkEdit() {
:readonly="!edit"
:borderless="!edit"
v-model="informaData.telephone"
:rules="[
(val:string) => !!val || `${'กรุณากรอก เบอร์โทร'}`,
(val:string) => val.length >= 10 || `${'กรุณากรอกข้อมูลเบอร์โทรให้ครบ'}`,
]"
:label="`${'เบอร์โทร'}`"
mask="##########"
/>