Compare commits
No commits in common. "eeaa9bfff24624e1064c33fe4fcc0b9f00612d85" and "3856eb84899f28b8e27c31f91859ce34fcf2b9b4" have entirely different histories.
eeaa9bfff2
...
3856eb8489
1 changed files with 2 additions and 10 deletions
|
|
@ -406,12 +406,6 @@ function calculateMinDate() {
|
|||
return today;
|
||||
}
|
||||
|
||||
function prefixRankRule() {
|
||||
return [
|
||||
() => !!formData.rank || !!formData.prefix || "กรุณาเลือกคำนำหน้าชื่อ หรือยศ",
|
||||
];
|
||||
}
|
||||
|
||||
/** ดูการเปลี่ยนแปลงของวันเกิดเมื่อมีการเปลี่ยนแปลงจะคำนวนอายูใหม่*/
|
||||
watch(
|
||||
() => formData.birthDate,
|
||||
|
|
@ -605,8 +599,7 @@ onMounted(() => {
|
|||
class="inputgreen"
|
||||
:options="store.Ops.prefixOps"
|
||||
:label="dataLabel.prefix"
|
||||
:rules="prefixRankRule()"
|
||||
reactive-rules
|
||||
:rules="[(val: string) => !!formData.rank || !!formData.prefix || `${'กรุณาเลือกคำนำหน้าชื่อ หรือยศ'}`]"
|
||||
@filter="(inputValue: string,
|
||||
doneFn: Function) => filterSelector(inputValue, doneFn, 'prefixOps'
|
||||
)"
|
||||
|
|
@ -627,8 +620,7 @@ onMounted(() => {
|
|||
input-debounce="0"
|
||||
option-label="name"
|
||||
option-value="name"
|
||||
:rules="prefixRankRule()"
|
||||
reactive-rules
|
||||
:rules="[(val: string) => !!formData.rank || !!formData.prefix || `${'กรุณาเลือกคำนำหน้าชื่อ หรือยศ'}`]"
|
||||
v-model="formData.rank"
|
||||
class="inputgreen"
|
||||
:options="store.Ops.rankOps"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue