Compare commits

..

No commits in common. "0303046e7ab6d67eccdcd757d3b0fc6ecca9580e" and "c00b6f89feee2bb8da2bd20dd643687fef43fede" have entirely different histories.

View file

@ -400,7 +400,7 @@ async function checkSave() {
// validation form
const isPositionFormValid = await myFormPosition.value?.validate();
if (!isPositionFormValid && announcementExam.value) return;
if (!isPositionFormValid) return;
//
if (announcementExam.value && rowsPosition.value.length === 0) {
@ -889,7 +889,7 @@ function fetchPosition(level: number) {
* @param val าประเภทตำแหน 0 = ประเภททวไป ,1 = ประเภทวชาการ
* @param index ตำแหนงของขอม
*/
function onUpdateHighDegree(val: string, index: number) {
function onUpdateHighDegree(val: string, index: string) {
rowsPosition.value[index].position = null;
rowsPosition.value[index].level =
val === "0" ? optionPosLevel1.value[0] : optionPosLevel2.value[0];