แก้ไข ออกคำสั่ง

This commit is contained in:
Thanit Konmek 2023-07-04 17:24:28 +07:00
parent 9919c8bc1e
commit 94c15dd016
3 changed files with 186 additions and 58 deletions

View file

@ -370,7 +370,7 @@
</div>
<q-separator />
<div class="flex justify-end q-pa-sm q-gutter-sm">
<q-btn unelevated label="บันทึก" color="public" @click="next"
<q-btn unelevated label="บันทึก" color="public" @click="submit"
><!-- icon="mdi-content-save-outline"
<q-tooltip>นท</q-tooltip> -->
</q-btn>
@ -497,10 +497,12 @@ const filterSelector = (val: any, update: Function, filtername: string) => {
};
const submit = async () => {
await myForm.value!.validate().then((result: boolean) => {
if (result == false) {
}
});
next();
// await myForm.value!.validate().then((result: boolean) => {
// if (result) {
// next();
// }
// });
};
/**