Merge branch 'nice_dev' into develop

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-02-12 10:31:54 +07:00
commit 335d500e11
4 changed files with 10 additions and 9 deletions

View file

@ -377,10 +377,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;
@ -402,6 +402,9 @@ watch(
: "-",
positionArea: e.positionArea ? e.positionArea : "-",
}));
if (row.value.length === 1) {
selected.value.push(row.value[0]);
}
}
}
}