Merge branch 'oat_dev' into develop
This commit is contained in:
commit
de9ad67685
1 changed files with 7 additions and 2 deletions
|
|
@ -228,7 +228,12 @@ function validateForm() {
|
|||
}
|
||||
|
||||
async function onSubmit() {
|
||||
if (posLevelName.value.length > 0) {
|
||||
if (
|
||||
posLevelName.value.length > 0 &&
|
||||
posLevelAuthority.value.length > 0 &&
|
||||
posLevelRank.value !== undefined &&
|
||||
posLevelRank.value > 0
|
||||
) {
|
||||
dialogConfirm(
|
||||
$q,
|
||||
async () => {
|
||||
|
|
@ -405,7 +410,7 @@ onMounted(async () => {
|
|||
borderless
|
||||
min="1"
|
||||
bg-color="white"
|
||||
:rules="[(val) => val != null || 'กรุณากรอกระดับ']"
|
||||
:rules="[(val) => val > 0 || 'กรุณากรอกระดับ']"
|
||||
hide-bottom-space
|
||||
mask="############"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue