mask รหัสหน่วยงาน
This commit is contained in:
parent
f755d6e12e
commit
6d34aa5db4
2 changed files with 16 additions and 4 deletions
|
|
@ -281,6 +281,7 @@ const tittleName = computed(() => {
|
||||||
</div>
|
</div>
|
||||||
<div class="col-2">
|
<div class="col-2">
|
||||||
<q-input
|
<q-input
|
||||||
|
mask="##"
|
||||||
v-model="formData.orgCode"
|
v-model="formData.orgCode"
|
||||||
ref="orgCodeRef"
|
ref="orgCodeRef"
|
||||||
dense
|
dense
|
||||||
|
|
@ -288,8 +289,6 @@ const tittleName = computed(() => {
|
||||||
for="#ocNo"
|
for="#ocNo"
|
||||||
:label="level == 0 ? 'รหัสหน่วยงาน' : 'รหัสส่วนราชการ'"
|
:label="level == 0 ? 'รหัสหน่วยงาน' : 'รหัสส่วนราชการ'"
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
maxlength="2"
|
|
||||||
type="number"
|
|
||||||
class="inputNumber"
|
class="inputNumber"
|
||||||
:rules="[
|
:rules="[
|
||||||
(val) =>
|
(val) =>
|
||||||
|
|
|
||||||
|
|
@ -311,12 +311,25 @@ onMounted(async () => {
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
<q-separator />
|
<q-separator />
|
||||||
<q-card-section style="padding: 0px">
|
<q-card-section style="padding: 0px">
|
||||||
<ListView
|
<!-- <ListView
|
||||||
v-if="store.statusView === 'list'"
|
v-if="store.statusView === 'list'"
|
||||||
v-model:historyId="historyId"
|
v-model:historyId="historyId"
|
||||||
v-model:count="count"
|
v-model:count="count"
|
||||||
/>
|
/>
|
||||||
<StructureView v-if="store.statusView === 'tree'" />
|
<StructureView v-if="store.statusView === 'tree'" /> -->
|
||||||
|
<q-tab-panels v-model="store.statusView" animated>
|
||||||
|
<q-tab-panel name="list" style="padding: 0px">
|
||||||
|
<ListView
|
||||||
|
v-if="store.statusView === 'list'"
|
||||||
|
v-model:historyId="historyId"
|
||||||
|
v-model:count="count"
|
||||||
|
/>
|
||||||
|
</q-tab-panel>
|
||||||
|
|
||||||
|
<q-tab-panel name="tree" style="padding: 0px">
|
||||||
|
<StructureView v-if="store.statusView === 'tree'" />
|
||||||
|
</q-tab-panel>
|
||||||
|
</q-tab-panels>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue