fix bug
This commit is contained in:
parent
68a9efee60
commit
ef064f4a18
4 changed files with 68 additions and 294 deletions
|
|
@ -167,7 +167,7 @@ async function fetchCheckStep(id: string) {
|
|||
store.step = step;
|
||||
})
|
||||
.catch((err) => {
|
||||
// messageError($q, err);
|
||||
messageError($q, err);
|
||||
})
|
||||
.finally(() => {
|
||||
showLoadStatus.value = true;
|
||||
|
|
@ -232,6 +232,7 @@ function updateFormDetail(data: any) {
|
|||
formDetail.value = data;
|
||||
console.log("🚀 ~ updateFormDetail ~ data:", data);
|
||||
}
|
||||
|
||||
/** function เช็คการการคุณสมบัติ*/
|
||||
function checkSelectForm() {
|
||||
const isTrue = Object.keys(formSpec).find((key) => formSpec[key] === true);
|
||||
|
|
@ -247,6 +248,7 @@ function checkSelectForm() {
|
|||
)
|
||||
: dialogMessageNotify($q, "กรุณาเลือกคุณสมบัติ");
|
||||
}
|
||||
|
||||
/** function บันทักตรวจสอบคุณสมบัติ*/
|
||||
async function saveStep1() {
|
||||
const salaries = formDetail.value.salaries.map((e: any) => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue