ค้นหา keyword
This commit is contained in:
parent
e7b0bbc284
commit
4bcc414a4f
6 changed files with 81 additions and 33 deletions
|
|
@ -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?.()
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue