ปรับ layout และ validate เพิ่มหน่วยงาน
This commit is contained in:
parent
f28d50aa48
commit
c73e8d5d23
2 changed files with 17 additions and 2 deletions
|
|
@ -288,6 +288,9 @@ const tittleName = computed(() => {
|
|||
for="#ocNo"
|
||||
:label="level == 0 ? 'รหัสหน่วยงาน' : 'รหัสส่วนราชการ'"
|
||||
hide-bottom-space
|
||||
maxlength="2"
|
||||
type="number"
|
||||
class="inputNumber"
|
||||
:rules="[
|
||||
(val) =>
|
||||
!!val ||
|
||||
|
|
@ -372,3 +375,15 @@ const tittleName = computed(() => {
|
|||
</q-dialog>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.inputNumber >>> input[type="number"] {
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
.inputNumber >>> input::-webkit-outer-spin-button,
|
||||
.inputNumber >>> input::-webkit-inner-spin-button {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -292,8 +292,8 @@ onMounted(async () => {});
|
|||
<template>
|
||||
<div class="col-12 q-py-md q-px-sm">
|
||||
<div class="q-gutter-sm">
|
||||
<div class="row q-col-gutter-sm">
|
||||
<div class="q-pl-md col-2" v-if="store.typeOrganizational === 'draft'">
|
||||
<div class="row q-col-gutter-sm q-pl-sm">
|
||||
<div class="col-2" v-if="store.typeOrganizational === 'draft'">
|
||||
<q-btn
|
||||
dense
|
||||
flat
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue