feat: add cancellation reason input component to request list
This commit is contained in:
parent
644c2a0008
commit
e1d1ee7d8b
1 changed files with 21 additions and 0 deletions
21
src/pages/08_request-list/FormCancel.vue
Normal file
21
src/pages/08_request-list/FormCancel.vue
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
<script lang="ts" setup>
|
||||||
|
const reason = defineModel<string>('reason');
|
||||||
|
</script>
|
||||||
|
<template>
|
||||||
|
<article>
|
||||||
|
<q-input
|
||||||
|
dense
|
||||||
|
outlined
|
||||||
|
type="textarea"
|
||||||
|
v-model="reason"
|
||||||
|
hide-bottom-space
|
||||||
|
class="full-height"
|
||||||
|
:label="
|
||||||
|
$t('general.remark', { msg: $t('requestList.status.RejectCancel') })
|
||||||
|
"
|
||||||
|
:rules="[(val) => !!val || $t('form.error.required')]"
|
||||||
|
/>
|
||||||
|
</article>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped></style>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue