ปรับ ui โครงสร้างอัตรากำลัง
This commit is contained in:
parent
2a7051f5f6
commit
628a9aae9f
4 changed files with 10 additions and 9 deletions
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue