สลับคำ ตำบล/แขวง
This commit is contained in:
parent
fe672a5aff
commit
cfa526dda9
6 changed files with 28 additions and 28 deletions
|
|
@ -89,7 +89,7 @@
|
||||||
:class="getClass(edit)"
|
:class="getClass(edit)"
|
||||||
:readonly="!edit"
|
:readonly="!edit"
|
||||||
:borderless="!edit"
|
:borderless="!edit"
|
||||||
:rules="[(val:string) => !!val || `${'กรุณาเลือก ตำบล / แขวง'}`]"
|
:rules="[(val:string) => !!val || `${'กรุณาเลือก แขวง / ตำบล '}`]"
|
||||||
:outlined="edit"
|
:outlined="edit"
|
||||||
dense
|
dense
|
||||||
lazy-rules
|
lazy-rules
|
||||||
|
|
@ -99,7 +99,7 @@
|
||||||
option-label="name"
|
option-label="name"
|
||||||
:options="Ops.subdistrictOps"
|
:options="Ops.subdistrictOps"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
:label="`${'ตำบล / แขวง'}`"
|
:label="`${'แขวง / ตำบล '}`"
|
||||||
@update:model-value="(value:string) => selectSubDistrict(value, '1')"
|
@update:model-value="(value:string) => selectSubDistrict(value, '1')"
|
||||||
use-input
|
use-input
|
||||||
input-debounce="0"
|
input-debounce="0"
|
||||||
|
|
@ -221,7 +221,7 @@
|
||||||
:class="getClass(edit)"
|
:class="getClass(edit)"
|
||||||
:readonly="!edit"
|
:readonly="!edit"
|
||||||
:borderless="!edit"
|
:borderless="!edit"
|
||||||
:rules="[(val:string) => !!val || `${'กรุณาเลือก ตำบล / แขวง'}`]"
|
:rules="[(val:string) => !!val || `${'กรุณาเลือก แขวง / ตำบล '}`]"
|
||||||
:outlined="edit"
|
:outlined="edit"
|
||||||
dense
|
dense
|
||||||
lazy-rules
|
lazy-rules
|
||||||
|
|
@ -231,7 +231,7 @@
|
||||||
option-label="name"
|
option-label="name"
|
||||||
:options="Ops.subdistrictCOps"
|
:options="Ops.subdistrictCOps"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
:label="`${'ตำบล / แขวง'}`"
|
:label="`${'แขวง / ตำบล '}`"
|
||||||
@update:model-value="(value:string) => selectSubDistrict(value, '2')"
|
@update:model-value="(value:string) => selectSubDistrict(value, '2')"
|
||||||
use-input
|
use-input
|
||||||
input-debounce="0"
|
input-debounce="0"
|
||||||
|
|
@ -383,7 +383,7 @@ const columnsHistory = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
name: "registrationSubDistrict",
|
name: "registrationSubDistrict",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ตำบล/แขวงตามทะเบียนบ้าน",
|
label: "แขวง/ตำบลตามทะเบียนบ้าน",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "registrationSubDistrict",
|
field: "registrationSubDistrict",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
@ -449,7 +449,7 @@ const columnsHistory = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
name: "currentSubDistrict",
|
name: "currentSubDistrict",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ตำบล/แขวงปัจจุบัน",
|
label: "แขวง/ตำบลปัจจุบัน",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "currentSubDistrict",
|
field: "currentSubDistrict",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@
|
||||||
:class="getClass(status == 'checkRegister' || status == 'payment')"
|
:class="getClass(status == 'checkRegister' || status == 'payment')"
|
||||||
:readonly="!(status == 'checkRegister' || status == 'payment')"
|
:readonly="!(status == 'checkRegister' || status == 'payment')"
|
||||||
:borderless="!(status == 'checkRegister' || status == 'payment')"
|
:borderless="!(status == 'checkRegister' || status == 'payment')"
|
||||||
:rules="[(val) => !!val || `${'กรุณาเลือก ตำบล / แขวง'}`]"
|
:rules="[(val) => !!val || `${'กรุณาเลือก แขวง / ตำบล '}`]"
|
||||||
:outlined="status == 'checkRegister' || status == 'payment'"
|
:outlined="status == 'checkRegister' || status == 'payment'"
|
||||||
dense
|
dense
|
||||||
lazy-rules
|
lazy-rules
|
||||||
|
|
@ -78,7 +78,7 @@
|
||||||
option-label="name"
|
option-label="name"
|
||||||
:options="subdistrictOptions"
|
:options="subdistrictOptions"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
:label="`${'ตำบล / แขวง'}`"
|
:label="`${'แขวง / ตำบล '}`"
|
||||||
@update:model-value="(value) => selectSubDistrict(value, '1')"
|
@update:model-value="(value) => selectSubDistrict(value, '1')"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -192,7 +192,7 @@
|
||||||
:class="getClass(status == 'checkRegister' || status == 'payment')"
|
:class="getClass(status == 'checkRegister' || status == 'payment')"
|
||||||
:readonly="!(status == 'checkRegister' || status == 'payment')"
|
:readonly="!(status == 'checkRegister' || status == 'payment')"
|
||||||
:borderless="!(status == 'checkRegister' || status == 'payment')"
|
:borderless="!(status == 'checkRegister' || status == 'payment')"
|
||||||
:rules="[(val) => !!val || `${'กรุณาเลือก ตำบล / แขวง'}`]"
|
:rules="[(val) => !!val || `${'กรุณาเลือก แขวง / ตำบล '}`]"
|
||||||
:outlined="status == 'checkRegister' || status == 'payment'"
|
:outlined="status == 'checkRegister' || status == 'payment'"
|
||||||
dense
|
dense
|
||||||
lazy-rules
|
lazy-rules
|
||||||
|
|
@ -202,7 +202,7 @@
|
||||||
option-label="name"
|
option-label="name"
|
||||||
:options="subdistrictCOptions"
|
:options="subdistrictCOptions"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
:label="`${'ตำบล / แขวง'}`"
|
:label="`${'แขวง / ตำบล '}`"
|
||||||
@update:model-value="(value) => selectSubDistrict(value, '2')"
|
@update:model-value="(value) => selectSubDistrict(value, '2')"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -298,7 +298,7 @@
|
||||||
:class="getClass(enable.about)"
|
:class="getClass(enable.about)"
|
||||||
:readonly="!enable.about"
|
:readonly="!enable.about"
|
||||||
:borderless="!enable.about"
|
:borderless="!enable.about"
|
||||||
:rules="[(val) => !!val || `${'กรุณาเลือก ตำบล / แขวง'}`]"
|
:rules="[(val) => !!val || `${'กรุณาเลือก แขวง / ตำบล '}`]"
|
||||||
:outlined="enable.about"
|
:outlined="enable.about"
|
||||||
dense
|
dense
|
||||||
lazy-rules
|
lazy-rules
|
||||||
|
|
@ -308,7 +308,7 @@
|
||||||
option-label="name"
|
option-label="name"
|
||||||
:options="subdistrictOptions"
|
:options="subdistrictOptions"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
:label="`${'ตำบล / แขวง'}`"
|
:label="`${'แขวง / ตำบล '}`"
|
||||||
@update:model-value="(value) => selectSubDistrict(value)"
|
@update:model-value="(value) => selectSubDistrict(value)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@
|
||||||
:class="getClass(edit)"
|
:class="getClass(edit)"
|
||||||
:readonly="!edit"
|
:readonly="!edit"
|
||||||
:borderless="!edit"
|
:borderless="!edit"
|
||||||
:rules="[(val:string) => !!val || `${'กรุณาเลือก ตำบล / แขวง'}`]"
|
:rules="[(val:string) => !!val || `${'กรุณาเลือก แขวง / ตำบล '}`]"
|
||||||
:outlined="edit"
|
:outlined="edit"
|
||||||
dense
|
dense
|
||||||
lazy-rules
|
lazy-rules
|
||||||
|
|
@ -99,7 +99,7 @@
|
||||||
option-label="name"
|
option-label="name"
|
||||||
:options="Ops.subdistrictOps"
|
:options="Ops.subdistrictOps"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
:label="`${'ตำบล / แขวง'}`"
|
:label="`${'แขวง / ตำบล '}`"
|
||||||
@update:model-value="(value:string) => selectSubDistrict(value, '1')"
|
@update:model-value="(value:string) => selectSubDistrict(value, '1')"
|
||||||
use-input
|
use-input
|
||||||
input-debounce="0"
|
input-debounce="0"
|
||||||
|
|
@ -221,7 +221,7 @@
|
||||||
:class="getClass(edit)"
|
:class="getClass(edit)"
|
||||||
:readonly="!edit"
|
:readonly="!edit"
|
||||||
:borderless="!edit"
|
:borderless="!edit"
|
||||||
:rules="[(val:string) => !!val || `${'กรุณาเลือก ตำบล / แขวง'}`]"
|
:rules="[(val:string) => !!val || `${'กรุณาเลือก แขวง / ตำบล '}`]"
|
||||||
:outlined="edit"
|
:outlined="edit"
|
||||||
dense
|
dense
|
||||||
lazy-rules
|
lazy-rules
|
||||||
|
|
@ -231,7 +231,7 @@
|
||||||
option-label="name"
|
option-label="name"
|
||||||
:options="Ops.subdistrictCOps"
|
:options="Ops.subdistrictCOps"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
:label="`${'ตำบล / แขวง'}`"
|
:label="`${'แขวง / ตำบล '}`"
|
||||||
@update:model-value="(value:string) => selectSubDistrict(value, '2')"
|
@update:model-value="(value:string) => selectSubDistrict(value, '2')"
|
||||||
use-input
|
use-input
|
||||||
input-debounce="0"
|
input-debounce="0"
|
||||||
|
|
@ -384,7 +384,7 @@ const columnsHistory = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
name: "registrationSubDistrict",
|
name: "registrationSubDistrict",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ตำบล/แขวงตามทะเบียนบ้าน",
|
label: "แขวง/ตำบลตามทะเบียนบ้าน",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "registrationSubDistrict",
|
field: "registrationSubDistrict",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
@ -450,7 +450,7 @@ const columnsHistory = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
name: "currentSubDistrict",
|
name: "currentSubDistrict",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ตำบล/แขวงปัจจุบัน",
|
label: "แขวง/ตำบลปัจจุบัน",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "currentSubDistrict",
|
field: "currentSubDistrict",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
|
||||||
|
|
@ -413,7 +413,7 @@ const getClass = (val: boolean) => {
|
||||||
:class="getClass(edit)"
|
:class="getClass(edit)"
|
||||||
:readonly="!edit"
|
:readonly="!edit"
|
||||||
:borderless="!edit"
|
:borderless="!edit"
|
||||||
:rules="[(val:string) => !!val || `${'กรุณาเลือก ตำบล / แขวง'}`]"
|
:rules="[(val:string) => !!val || `${'กรุณาเลือก แขวง / ตำบล '}`]"
|
||||||
:outlined="edit"
|
:outlined="edit"
|
||||||
dense
|
dense
|
||||||
lazy-rules
|
lazy-rules
|
||||||
|
|
@ -423,7 +423,7 @@ const getClass = (val: boolean) => {
|
||||||
option-label="name"
|
option-label="name"
|
||||||
:options="Ops.subdistrictOps"
|
:options="Ops.subdistrictOps"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
:label="`${'ตำบล / แขวง'}`"
|
:label="`${'แขวง / ตำบล '}`"
|
||||||
@update:model-value="(value:string) => selectSubDistrict(value, '1')"
|
@update:model-value="(value:string) => selectSubDistrict(value, '1')"
|
||||||
use-input
|
use-input
|
||||||
input-debounce="0"
|
input-debounce="0"
|
||||||
|
|
@ -554,7 +554,7 @@ const getClass = (val: boolean) => {
|
||||||
:class="getClass(edit)"
|
:class="getClass(edit)"
|
||||||
:readonly="!edit"
|
:readonly="!edit"
|
||||||
:borderless="!edit"
|
:borderless="!edit"
|
||||||
:rules="[(val:string) => !!val || `${'กรุณาเลือก ตำบล / แขวง'}`]"
|
:rules="[(val:string) => !!val || `${'กรุณาเลือก แขวง / ตำบล '}`]"
|
||||||
:outlined="edit"
|
:outlined="edit"
|
||||||
dense
|
dense
|
||||||
lazy-rules
|
lazy-rules
|
||||||
|
|
@ -564,7 +564,7 @@ const getClass = (val: boolean) => {
|
||||||
option-label="name"
|
option-label="name"
|
||||||
:options="Ops.subdistrictCOps"
|
:options="Ops.subdistrictCOps"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
:label="`${'ตำบล / แขวง'}`"
|
:label="`${'แขวง / ตำบล '}`"
|
||||||
@update:model-value="(value:string) => selectSubDistrict(value, '2')"
|
@update:model-value="(value:string) => selectSubDistrict(value, '2')"
|
||||||
use-input
|
use-input
|
||||||
input-debounce="0"
|
input-debounce="0"
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,7 @@ const columnsHistory = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
name: "registrationSubDistrict",
|
name: "registrationSubDistrict",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ตำบล/แขวงตามทะเบียนบ้าน",
|
label: "แขวง/ตำบลตามทะเบียนบ้าน",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "registrationSubDistrict",
|
field: "registrationSubDistrict",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
@ -169,7 +169,7 @@ const columnsHistory = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
name: "currentSubDistrict",
|
name: "currentSubDistrict",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ตำบล/แขวงปัจจุบัน",
|
label: "แขวง/ตำบลปัจจุบัน",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "currentSubDistrict",
|
field: "currentSubDistrict",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
@ -710,7 +710,7 @@ const getClass = (val: boolean) => {
|
||||||
:class="getClass(edit)"
|
:class="getClass(edit)"
|
||||||
:readonly="!edit"
|
:readonly="!edit"
|
||||||
:borderless="!edit"
|
:borderless="!edit"
|
||||||
:rules="[(val:string) => !!val || `${'กรุณาเลือก ตำบล / แขวง'}`]"
|
:rules="[(val:string) => !!val || `${'กรุณาเลือก แขวง / ตำบล '}`]"
|
||||||
:outlined="edit"
|
:outlined="edit"
|
||||||
dense
|
dense
|
||||||
lazy-rules
|
lazy-rules
|
||||||
|
|
@ -720,7 +720,7 @@ const getClass = (val: boolean) => {
|
||||||
option-label="name"
|
option-label="name"
|
||||||
:options="Ops.subdistrictOps"
|
:options="Ops.subdistrictOps"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
:label="`${'ตำบล / แขวง'}`"
|
:label="`${'แขวง / ตำบล '}`"
|
||||||
@update:model-value="(value:string) => selectSubDistrict(value, '1')"
|
@update:model-value="(value:string) => selectSubDistrict(value, '1')"
|
||||||
use-input
|
use-input
|
||||||
input-debounce="0"
|
input-debounce="0"
|
||||||
|
|
@ -842,7 +842,7 @@ const getClass = (val: boolean) => {
|
||||||
:class="getClass(edit)"
|
:class="getClass(edit)"
|
||||||
:readonly="!edit"
|
:readonly="!edit"
|
||||||
:borderless="!edit"
|
:borderless="!edit"
|
||||||
:rules="[(val:string) => !!val || `${'กรุณาเลือก ตำบล / แขวง'}`]"
|
:rules="[(val:string) => !!val || `${'กรุณาเลือก แขวง / ตำบล '}`]"
|
||||||
:outlined="edit"
|
:outlined="edit"
|
||||||
dense
|
dense
|
||||||
lazy-rules
|
lazy-rules
|
||||||
|
|
@ -852,7 +852,7 @@ const getClass = (val: boolean) => {
|
||||||
option-label="name"
|
option-label="name"
|
||||||
:options="Ops.subdistrictCOps"
|
:options="Ops.subdistrictCOps"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
:label="`${'ตำบล / แขวง'}`"
|
:label="`${'แขวง / ตำบล '}`"
|
||||||
@update:model-value="(value:string) => selectSubDistrict(value, '2')"
|
@update:model-value="(value:string) => selectSubDistrict(value, '2')"
|
||||||
use-input
|
use-input
|
||||||
input-debounce="0"
|
input-debounce="0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue