ค้นหา keyword

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-11-24 18:12:56 +07:00
parent e7b0bbc284
commit 4bcc414a4f
6 changed files with 81 additions and 33 deletions

View file

@ -59,6 +59,7 @@ const checkstatusBox = ref<boolean>(false)
/** function checkValidate*/
function onCkickSave() {
props.closePopup?.()
const hasError = []
for (const key in objectRef) {
if (Object.prototype.hasOwnProperty.call(objectRef, key)) {
@ -99,13 +100,12 @@ async function createListTime(data: FormTimeStemp) {
await http
.post(config.API.createTimeStamp(), data)
.then(() => {
success($q, 'บันทึกข้อมูลำเร็จ')
success($q, 'บันทึกข้อมูลำเร็จ')
})
.catch((err) => {
console.log(err)
})
.finally(() => {
props.fetcthDataTable?.()
props.closePopup?.()
})
}