fixing เมนูรับโอน

This commit is contained in:
Warunee Tamkoo 2024-05-15 14:30:41 +07:00
parent bc7fa07f1f
commit e8a7e17d50
8 changed files with 13 additions and 34 deletions

View file

@ -1,10 +1,9 @@
divdivdiv<script setup lang="ts">
<script setup lang="ts">
import { onMounted, ref } from "vue";
import { useQuasar } from "quasar";
import { useRoute, useRouter } from "vue-router";
import { useCounterMixin } from "@/stores/mixin";
import { useProfileDataStore } from "@/modules/08_registryEmployee/store";
import CurrencyInput from "@/components/CurruncyInput.vue";
import type { QTableProps, QForm } from "quasar";
import type {
ResponseTitle,
@ -407,21 +406,6 @@ const calRetire = async (birth: Date) => {
// }
};
const conditionSave = async () => {
if (myForm.value !== null) {
myForm.value.validate().then((success) => {
if (success) {
dialogConfirm(
$q,
async () => await saveData(),
"ต้องการแก้ไขข้อมูลหรือไม่?",
"แก้ไขข้อมูลเพื่อลงบัญชีแนบท้าย"
);
}
});
}
};
function saveData() {
dialogConfirm(
$q,