บรรจุ ทดลองงาน
This commit is contained in:
parent
a8fdca1138
commit
4cfcc2d018
21 changed files with 113 additions and 199 deletions
|
|
@ -39,6 +39,7 @@ const {
|
|||
dialogConfirm,
|
||||
date2Thai,
|
||||
onSearchDataTable,
|
||||
convertDateToAPI,
|
||||
} = mixin;
|
||||
|
||||
/** รับค่ามาจากหน้าหลัก */
|
||||
|
|
@ -732,7 +733,9 @@ function onSubmitDate() {
|
|||
dialogConfirm($q, () => {
|
||||
showLoader();
|
||||
http
|
||||
.put(config.API.clearDate(rowId.value), { date: reportingDate.value })
|
||||
.put(config.API.clearDate(rowId.value), {
|
||||
date: convertDateToAPI(reportingDate.value),
|
||||
})
|
||||
.then(async () => {
|
||||
await Promise.all([getTable(), props.statCard()]);
|
||||
await success($q, "บันทึกข้อมูลสำเร็จ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue