เลขบัตร กับ เบอร์ limit type เป็น int อย่างเดียว
แก้ไขสามารถบันทึก แก้ไขข้อมูลได้ เลขบัตร กับ เบอร์ limit typt เป็น int อย่างเดียวแล้ว
This commit is contained in:
parent
b5c6c83d62
commit
db2ee3d01e
3 changed files with 12 additions and 6 deletions
|
|
@ -232,13 +232,18 @@
|
|||
hide-bottom-space
|
||||
:outlined="status == 'register' || status == 'rejectRegister'"
|
||||
dense
|
||||
counter
|
||||
maxlength="10"
|
||||
lazy-rules
|
||||
type="textarea"
|
||||
type="tel"
|
||||
autogrow
|
||||
:readonly="!(status == 'register' || status == 'rejectRegister')"
|
||||
:borderless="!(status == 'register' || status == 'rejectRegister')"
|
||||
v-model="occupationData.tel"
|
||||
:rules="[(val) => !!val || `${'กรุณากรอก โทรศัพท์'}`]"
|
||||
:rules="[
|
||||
(val) => !!val || `${'กรุณากรอก โทรศัพท์'}`,
|
||||
(val) => /^[0-9]*$/.test(val) || 'กรุณากรอก โทรศัพท์ให้ถูกต้อง'
|
||||
]"
|
||||
:label="`${'โทรศัพท์'}`"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue