커밋중

This commit is contained in:
주수현
2025-07-28 11:44:07 +09:00
parent 8914cc5f70
commit 50276b0611
13 changed files with 122 additions and 3 deletions

View File

@@ -415,6 +415,8 @@
}
}
if (form.count.value && form.count.value <= 0) errors.push({field: 'count', message: '입력값은 0보다 커야 합니다. '});
if(form.count.value){
if(!form.unitCode.value){
errors.push({
@@ -430,6 +432,8 @@
}
}
if (!form.price.value) errors.push({field: 'price', message: '금액을 입력해주세요.'});
else if (form.price.value && form.price.value <= 0) errors.push({field: 'price', message: '입력값은 0보다 커야 합니다. '});
console.log(errors) //////////////////////////
kri.form.error(errors);
if (errors.length > 0) {