diff --git a/src/components/Dialogs/DialogOrgSelect.vue b/src/components/Dialogs/DialogOrgSelect.vue index 56ac10518..5f81fb073 100644 --- a/src/components/Dialogs/DialogOrgSelect.vue +++ b/src/components/Dialogs/DialogOrgSelect.vue @@ -41,6 +41,7 @@ const { date2Thai, dialogMessageNotify, onSearchDataTable, + convertDateToAPI, } = mixin; /** props*/ @@ -508,7 +509,7 @@ function onSubmit() { posLevelId: selectedPos.value[0].posLevelId, //ชื่อตำแหน่ง posLevelName: selectedPos.value[0].posLevelName, //ชื่อตำแหน่ง posExecutiveName: selectedPos.value[0].posExecutiveName, //ชื่อตำแหน่ง - reportingDate: datePos.value, + reportingDate: convertDateToAPI(datePos.value), posmasterId: dataPosMaster.id, typeCommand: type.value, positionExecutiveField: selectedPos.value[0].positionExecutiveField, //ด้านทางการบริหาร @@ -787,6 +788,7 @@ onMounted(async () => { >
+ { borderless :enableTimePicker="false" week-start="0" - :min-date="datePos" >