no message
This commit is contained in:
parent
5a0bf37501
commit
7d4d3d470d
4 changed files with 128 additions and 28 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue