แก้บัค บันทึกข้อมูลประวัติ

This commit is contained in:
Kittapath 2023-04-07 17:59:48 +07:00
parent 9691b52a62
commit fd1b08461a
3 changed files with 10 additions and 9 deletions

View file

@ -65,7 +65,7 @@
</div> -->
<div>
<span class="text-weight-medium">ยอดสทธ (บาท) :</span>
<span class="text-blue q-pl-sm text-bold">200.00</span>
<span class="text-blue q-pl-sm text-bold">{{ fee }}</span>
</div>
</div>
<div class="col-12 text-grey-6 q-mt-xl">
@ -154,7 +154,7 @@
</div>
<div>
<span class="text-weight-medium">ยอดสทธ (บาท) :</span>
<span class="text-blue q-pl-sm text-bold">200.00</span>
<span class="text-blue q-pl-sm text-bold">{{ fee }}</span>
</div>
<q-btn
color="blue"
@ -266,16 +266,16 @@ const props = defineProps({
const $q = useQuasar()
const mixin = useCounterMixin() //
const { success } = mixin
const { success, modalError } = mixin
const rejectMessage = ref<string>('กรุณาจ่ายเงินให้ครบตามจำนวน')
const img = ref<string>('@/assets/krungthai.png')
const fileData = ref<any>()
const loader = ref<boolean>(false)
const pay = ref(null)
const route = useRoute()
const examId = ref<string>(route.params.id.toString())
const positionId = ref<string>(route.params.positionId.toString())
const bank = ref<any>([])
const fee = ref<number>()
const filePayment = ref<File[]>([])
const fileDataUpload = ref<File>()
@ -297,7 +297,8 @@ const fetchPaymentExam = async () => {
.get(config.API.periodExamPayment(examId.value))
.then((res) => {
const data = res.data.result
bank.value = data
bank.value = data.bankExam
fee.value = data.fee
})
.catch(() => {})
.finally(async () => {