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>
|
<li>{{ rejectMessage }}</li>
|
||||||
</div>
|
</div>
|
||||||
</q-card-actions>
|
</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">
|
<q-img :src="img" fit="contain" style="max-height: 300px" class="col-12">
|
||||||
<div class="absolute-bottom text-center">หลักฐานชำระเงิน</div>
|
<div class="absolute-bottom text-center">หลักฐานชำระเงิน</div>
|
||||||
</q-img>
|
</q-img>
|
||||||
|
|
@ -98,8 +104,10 @@ const getClass = (val: string) => {
|
||||||
}
|
}
|
||||||
const message = (val: string) => {
|
const message = (val: string) => {
|
||||||
switch (val) {
|
switch (val) {
|
||||||
|
case 'checkRegister':
|
||||||
|
return 'รอการตรวจสอบข้อมูลสมัคร'
|
||||||
case 'checkPayment':
|
case 'checkPayment':
|
||||||
return 'รอการตรวจสอบ'
|
return 'รอการตรวจสอบหลักฐานการชำระเงิน'
|
||||||
case 'rejectPayment':
|
case 'rejectPayment':
|
||||||
return 'หลักฐานการชำระเงินผิดพลาด'
|
return 'หลักฐานการชำระเงินผิดพลาด'
|
||||||
case 'checkSeat':
|
case 'checkSeat':
|
||||||
|
|
@ -112,6 +120,8 @@ const message = (val: string) => {
|
||||||
}
|
}
|
||||||
const getFontColor = (val: string) => {
|
const getFontColor = (val: string) => {
|
||||||
switch (val) {
|
switch (val) {
|
||||||
|
case 'checkRegister':
|
||||||
|
return 'text-blue'
|
||||||
case 'checkPayment':
|
case 'checkPayment':
|
||||||
return 'text-orange'
|
return 'text-orange'
|
||||||
case 'rejectPayment':
|
case 'rejectPayment':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue