This commit is contained in:
Viet An
2026-05-20 15:48:05 +07:00
parent 087b05a0b8
commit a52c33706a
20 changed files with 86 additions and 106 deletions

View File

@@ -712,7 +712,7 @@ async function update() {
}
if (rs === "error") {
$snackbar("Có lỗi xảy ra khi lưu dữ liệu", "Lỗi", "Error");
$snackbar("Có lỗi xảy ra khi lưu dữ liệu", "Error");
return;
}
record.value.id = rs.id;
@@ -725,7 +725,6 @@ async function update() {
`${
isVietnamese.value ? "Khách hàng đã được khởi tạo với mã" : "Customer has been created with code"
} <b>${rs.code}</b>`,
"Thành công",
"Success",
);
} else {
@@ -733,7 +732,6 @@ async function update() {
`${
isVietnamese.value ? "Khách hàng đã được cập nhật với mã" : "Customer has been updated with code"
} <b>${rs.code}</b>`,
"Thành công",
"Success",
);
}