disable อัพหลักฐานชำระถ้ายังไม่ถึงช่วงอัพ
This commit is contained in:
parent
3960b9d388
commit
85eede7a85
1 changed files with 12 additions and 2 deletions
|
|
@ -10,7 +10,13 @@
|
|||
<li>{{ rejectMessage }}</li>
|
||||
</div>
|
||||
</q-card-actions>
|
||||
<q-file borderless v-model="fileData" stack-label @update:model-value="uploadImg">
|
||||
<q-file
|
||||
borderless
|
||||
v-model="fileData"
|
||||
stack-label
|
||||
@update:model-value="uploadImg"
|
||||
:disable="status != 'payment' && status != 'rejectPayment'"
|
||||
>
|
||||
<q-img :src="img" fit="contain" style="max-height: 300px" class="col-12">
|
||||
<div class="absolute-bottom text-center">หลักฐานชำระเงิน</div>
|
||||
</q-img>
|
||||
|
|
@ -98,8 +104,10 @@ const getClass = (val: string) => {
|
|||
}
|
||||
const message = (val: string) => {
|
||||
switch (val) {
|
||||
case 'checkRegister':
|
||||
return 'รอการตรวจสอบข้อมูลสมัคร'
|
||||
case 'checkPayment':
|
||||
return 'รอการตรวจสอบ'
|
||||
return 'รอการตรวจสอบหลักฐานการชำระเงิน'
|
||||
case 'rejectPayment':
|
||||
return 'หลักฐานการชำระเงินผิดพลาด'
|
||||
case 'checkSeat':
|
||||
|
|
@ -112,6 +120,8 @@ const message = (val: string) => {
|
|||
}
|
||||
const getFontColor = (val: string) => {
|
||||
switch (val) {
|
||||
case 'checkRegister':
|
||||
return 'text-blue'
|
||||
case 'checkPayment':
|
||||
return 'text-orange'
|
||||
case 'rejectPayment':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue