ปรับ ui โครงสร้างอัตรากำลัง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-02-12 10:31:37 +07:00
parent 2a7051f5f6
commit 628a9aae9f
4 changed files with 10 additions and 9 deletions

View file

@ -372,10 +372,10 @@ function clearPosition() {
/** callback function ทำงานเมื่อเปิด popup*/
watch(
() => modal.value,
() => {
async () => {
if (modal.value == true) {
clearForm();
fetchType();
await clearForm();
await fetchType();
if (props.dataDetailPos) {
formData.positionNo = props.dataDetailPos.posMasterNo;
@ -397,6 +397,9 @@ watch(
: "-",
positionArea: e.positionArea ? e.positionArea : "-",
}));
if (row.value.length === 1) {
selected.value.push(row.value[0]);
}
}
}
}