โครงสร้างอัตรากำลัง => fix bug
This commit is contained in:
parent
15d174a98c
commit
03dfcf6b9f
2 changed files with 6 additions and 3 deletions
|
|
@ -524,7 +524,6 @@ watch(
|
|||
() => {
|
||||
if (props.modal === true) {
|
||||
fetchType();
|
||||
// fetchLevel();
|
||||
fetchExecutive();
|
||||
|
||||
if (props.actionType === "ADD") {
|
||||
|
|
@ -535,6 +534,7 @@ watch(
|
|||
formData.prefixNo = "";
|
||||
formData.positionNo = "";
|
||||
formData.suffixNo = "";
|
||||
formData.reason = "";
|
||||
} else {
|
||||
props.rowId && fetchPosition(props.rowId);
|
||||
}
|
||||
|
|
@ -557,7 +557,6 @@ async function addPosition(data: RowDetailPositions) {
|
|||
|
||||
if (!isIdExist) {
|
||||
rows.value = [...rows.value, data];
|
||||
// rows.value.push(data);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -603,6 +602,7 @@ async function clearFormPositionSelect() {
|
|||
|
||||
function close() {
|
||||
props.close?.();
|
||||
clearFormPositionSelect();
|
||||
isPosition.value = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue