ออกคำสั่ง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-10-10 15:03:24 +07:00
parent 45f77014da
commit 7aab234030
6 changed files with 15 additions and 11 deletions

View file

@ -296,7 +296,7 @@ function openModalOrder() {
modal.value = true;
}
function onSave(data: any) {
async function onSave(data: any) {
const dataAppoint = {
node: data.node,
nodeId: data.nodeId,
@ -314,7 +314,7 @@ function onSave(data: any) {
};
showLoader();
http
await http
.put(config.API.receivePosition(personalId.value), dataAppoint)
.then(async () => {
await fecthlistRecevice();