แก้ไข display 1.ตรวจสอบคุณสมบัติ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-01-16 10:33:44 +07:00
parent f33ec8fbc5
commit 0b2bb5f252
12 changed files with 277 additions and 289 deletions

View file

@ -101,7 +101,6 @@ async function validateForm() {
}
if (hasError.every((result) => result === true)) {
if (emptyValues.length > 0 && store.statusUpload === true) {
console.log("There are empty values in the array.");
} else if (store.step === 2) {
if (store.statusUpload === false) {
saveStep2();
@ -167,7 +166,7 @@ async function fetchCheckStep(id: string) {
store.step = step;
})
.catch((err) => {
messageError($q, err);
// messageError($q, err);
})
.finally(() => {
showLoadStatus.value = true;
@ -204,8 +203,8 @@ async function fetchDataStep1(id: string) {
messageError($q, err);
})
.finally(() => {
hideLoader();
showLoadStatus.value = true;
hideLoader();
});
}
@ -666,7 +665,7 @@ onMounted(async () => {
class="col-xs-12 col-sm-7 row"
v-if="store.step === 1 || store.step === 3 || store.step === 7"
>
<div class="col-12">
<div class="col-12 ">
<ViewStep1
v-if="store.step === 1"
@update:formDeital="updateFormDetail"