val:string
This commit is contained in:
parent
a147bd70ec
commit
4344ee4a44
42 changed files with 163 additions and 572 deletions
|
|
@ -140,7 +140,7 @@ watch(
|
|||
map-options
|
||||
option-label="name"
|
||||
option-value="id"
|
||||
:rules="[(val) => !!val || `${'กรุณาเลือกสถานะ'}`]"
|
||||
:rules="[(val:string) => !!val || `${'กรุณาเลือกสถานะ'}`]"
|
||||
hide-bottom-space
|
||||
use-input
|
||||
@filter="(inputValue: any,doneFn: Function) => filterFnOptions(inputValue, doneFn)"
|
||||
|
|
@ -175,7 +175,7 @@ watch(
|
|||
map-options
|
||||
option-label="name"
|
||||
option-value="id"
|
||||
:rules="[(val) => !!val || `${'กรุณาเลือกสถานะ'}`]"
|
||||
:rules="[(val:string) => !!val || `${'กรุณาเลือกสถานะ'}`]"
|
||||
hide-bottom-space
|
||||
use-input
|
||||
@filter="(inputValue: any,doneFn: Function) => filterFnOptions(inputValue, doneFn)"
|
||||
|
|
|
|||
|
|
@ -320,7 +320,7 @@ watch(
|
|||
label="เหตุผล"
|
||||
hide-bottom-space
|
||||
type="textarea"
|
||||
:rules="[(val) => !!val || `กรุณากรอกเหตุผล`]"
|
||||
:rules="[(val:string) => !!val || `กรุณากรอกเหตุผล`]"
|
||||
></q-input>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -257,7 +257,7 @@ watch(
|
|||
ref="checkInStatusRef"
|
||||
for="checkInStatus"
|
||||
emit-value
|
||||
:rules="[(val) => !!val || 'กรุณาเลือกสถานะช่วงเช้า']"
|
||||
:rules="[(val:string) => !!val || 'กรุณาเลือกสถานะช่วงเช้า']"
|
||||
hide-bottom-space
|
||||
map-options
|
||||
outlined
|
||||
|
|
@ -298,7 +298,7 @@ watch(
|
|||
map-options
|
||||
outlined
|
||||
dense
|
||||
:rules="[(val) => !!val || 'กรุณาเลือกสถานะช่วงบ่าย']"
|
||||
:rules="[(val:string) => !!val || 'กรุณาเลือกสถานะช่วงบ่าย']"
|
||||
hide-bottom-space
|
||||
full-width
|
||||
v-model="formData.checkOutStatus"
|
||||
|
|
@ -317,7 +317,7 @@ watch(
|
|||
class="col-12 bg-white q-ma-md"
|
||||
outlined
|
||||
stack-label
|
||||
:rules="[(val) => !!val || 'กรุณาเหตุผล']"
|
||||
:rules="[(val:string) => !!val || 'กรุณาเหตุผล']"
|
||||
v-model="formData.note"
|
||||
label="เหตุผล"
|
||||
hide-bottom-space
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue