no message

This commit is contained in:
setthawutttty 2023-09-27 15:39:39 +07:00
parent 5a0bf37501
commit 7d4d3d470d
4 changed files with 128 additions and 28 deletions

View file

@ -37,6 +37,8 @@ const fileinvoice = ref<any>(null);
const loadView = ref<boolean>(false);
const insigniaTypeOption = ref<any>([]);
const ModalDialog = ref<boolean>(false);
const dateReceiveInsignia = ref<Date>()
const fileCheck = ref<any>()
onMounted(async () => {
await fecthRound();
});
@ -426,8 +428,10 @@ const paginationLabel = (start: number, end: number, total: number) => {
if (paging.value == true) return " " + start + "-" + end + " ใน " + total;
else return start + "-" + end + " ใน " + total;
};
const OpenModal = () => {
const OpenModal = (data:any) => {
ModalDialog.value = true;
fileCheck.value = data.docReceiveInsignia
personId.value = data.id
};
</script>
@ -721,7 +725,9 @@ const OpenModal = () => {
</q-item-section>
<q-item-section>เเกไขขอม</q-item-section>
</q-item>
<q-item clickable v-close-popup @click="OpenModal()">
<q-item
:disable="props.row.docReceiveInsignia !== null && props.row.docReturnInsignia !== null"
clickable v-close-popup @click="OpenModal(props.row)">
<q-item-section
style="min-width: 0px"
avatar
@ -754,7 +760,13 @@ const OpenModal = () => {
</q-tab-panel>
</q-tab-panels>
<Dialogbody :modal="ModalDialog" :close="close" />
<Dialogbody
:modal="ModalDialog"
:close="close"
:fileCheck="fileCheck"
:personId="personId"
:fecthlistInsignia="fecthlistInsignia"/>
<DialogForm
:modal="modal"
:save="save"