Merge branch 'develop' into ananda
This commit is contained in:
commit
dcad2fcb07
2 changed files with 11 additions and 5 deletions
|
|
@ -153,6 +153,7 @@
|
||||||
:class="getClass(status == 'register' || status == 'rejectRegister')"
|
:class="getClass(status == 'register' || status == 'rejectRegister')"
|
||||||
:outlined="status == 'register' || status == 'rejectRegister'"
|
:outlined="status == 'register' || status == 'rejectRegister'"
|
||||||
dense
|
dense
|
||||||
|
type="tel"
|
||||||
counter
|
counter
|
||||||
lazy-rules
|
lazy-rules
|
||||||
:readonly="!(status == 'register' || status == 'rejectRegister')"
|
:readonly="!(status == 'register' || status == 'rejectRegister')"
|
||||||
|
|
@ -161,7 +162,7 @@
|
||||||
maxlength="13"
|
maxlength="13"
|
||||||
:rules="[
|
:rules="[
|
||||||
(val) => !!val || `${'กรุณากรอก เลขบัตรประจำตัวประชาชน'}`,
|
(val) => !!val || `${'กรุณากรอก เลขบัตรประจำตัวประชาชน'}`,
|
||||||
(val) => val.length >= 13 || `${'กรุณากรอกเลขบัตรประจำตัวประชาชนให้ครบ'}`
|
(val) => /^[0-9]*$/.test(val) || `${'กรุณากรอกเลขบัตรประจำตัวประชาชนให้ถูกต้อง'}`
|
||||||
]"
|
]"
|
||||||
label="เลขบัตรประจำตัวประชาชน"
|
label="เลขบัตรประจำตัวประชาชน"
|
||||||
/>
|
/>
|
||||||
|
|
@ -276,7 +277,7 @@
|
||||||
v-model="informaData.tel"
|
v-model="informaData.tel"
|
||||||
:rules="[
|
:rules="[
|
||||||
(val) => !!val || `${'กรุณากรอก โทรศัพท์'}`,
|
(val) => !!val || `${'กรุณากรอก โทรศัพท์'}`,
|
||||||
(val) => val.length >= 9 || `${'กรุณากรอกข้อมูลโทรศัพท์ให้ครบ'}`
|
(val) => /^[0-9]*$/.test(val) || `${'กรุณากรอกข้อมูลโทรศัพท์ให้ถูกต้อง'}`
|
||||||
]"
|
]"
|
||||||
:label="`${'โทรศัพท์'}`"
|
:label="`${'โทรศัพท์'}`"
|
||||||
/>
|
/>
|
||||||
|
|
@ -295,7 +296,7 @@
|
||||||
v-model="informaData.phone"
|
v-model="informaData.phone"
|
||||||
:rules="[
|
:rules="[
|
||||||
(val) => !!val || `${'กรุณากรอก โทรศัพท์มือถือ'}`,
|
(val) => !!val || `${'กรุณากรอก โทรศัพท์มือถือ'}`,
|
||||||
(val) => val.length >= 10 || `${'กรุณากรอกข้อมูลโทรศัพท์มือถือให้ครบ'}`
|
(val) => /^[0-9]*$/.test(val) || `${'กรุณากรอกข้อมูลโทรศัพท์มือถือให้ถูกต้อง'}`
|
||||||
]"
|
]"
|
||||||
:label="`${'โทรศัพท์มือถือ'}`"
|
:label="`${'โทรศัพท์มือถือ'}`"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -232,13 +232,18 @@
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
:outlined="status == 'register' || status == 'rejectRegister'"
|
:outlined="status == 'register' || status == 'rejectRegister'"
|
||||||
dense
|
dense
|
||||||
|
counter
|
||||||
|
maxlength="10"
|
||||||
lazy-rules
|
lazy-rules
|
||||||
type="textarea"
|
type="tel"
|
||||||
autogrow
|
autogrow
|
||||||
:readonly="!(status == 'register' || status == 'rejectRegister')"
|
:readonly="!(status == 'register' || status == 'rejectRegister')"
|
||||||
:borderless="!(status == 'register' || status == 'rejectRegister')"
|
:borderless="!(status == 'register' || status == 'rejectRegister')"
|
||||||
v-model="occupationData.tel"
|
v-model="occupationData.tel"
|
||||||
:rules="[(val) => !!val || `${'กรุณากรอก โทรศัพท์'}`]"
|
:rules="[
|
||||||
|
(val) => !!val || `${'กรุณากรอก โทรศัพท์'}`,
|
||||||
|
(val) => /^[0-9]*$/.test(val) || 'กรุณากรอก โทรศัพท์ให้ถูกต้อง'
|
||||||
|
]"
|
||||||
:label="`${'โทรศัพท์'}`"
|
:label="`${'โทรศัพท์'}`"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue