Merge pull request #1487 from Frappet/fix/disable_date
fix(placement): delete min-date
This commit is contained in:
commit
97aa731d2f
3 changed files with 7 additions and 5 deletions
|
|
@ -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 () => {
|
|||
>
|
||||
<div class="col-12">
|
||||
<q-toolbar style="padding: 0px">
|
||||
<!-- :min-date="datePos" -->
|
||||
<datepicker
|
||||
menu-class-name="modalfix"
|
||||
v-model="datePos"
|
||||
|
|
@ -795,7 +797,6 @@ onMounted(async () => {
|
|||
borderless
|
||||
:enableTimePicker="false"
|
||||
week-start="0"
|
||||
:min-date="datePos"
|
||||
>
|
||||
<template #year="{ year }">
|
||||
{{ year + 543 }}
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ const {
|
|||
date2Thai,
|
||||
dialogMessageNotify,
|
||||
onSearchDataTable,
|
||||
convertDateToAPI,
|
||||
} = mixin;
|
||||
|
||||
const route = useRoute();
|
||||
|
|
@ -480,7 +481,7 @@ function onSubmit() {
|
|||
posTypeName: selectedPos.value[0].posTypeName, //ชื่อตำแหน่ง
|
||||
posLevelId: selectedPos.value[0].posLevelId, //ชื่อตำแหน่ง
|
||||
posLevelName: selectedPos.value[0].posLevelName, //ชื่อตำแหน่ง
|
||||
reportingDate: datePos.value,
|
||||
reportingDate: convertDateToAPI(datePos.value),
|
||||
posmasterId: dataPosMaster.id,
|
||||
typeCommand: type.value,
|
||||
};
|
||||
|
|
@ -755,6 +756,7 @@ onMounted(() => {
|
|||
>
|
||||
<div class="col-12">
|
||||
<q-toolbar style="padding: 0px">
|
||||
<!-- :min-date="datePos" -->
|
||||
<datepicker
|
||||
menu-class-name="modalfix"
|
||||
v-model="datePos"
|
||||
|
|
@ -763,7 +765,6 @@ onMounted(() => {
|
|||
borderless
|
||||
:enableTimePicker="false"
|
||||
week-start="0"
|
||||
:min-date="datePos"
|
||||
>
|
||||
<template #year="{ year }">
|
||||
{{ year + 543 }}
|
||||
|
|
|
|||
|
|
@ -481,6 +481,7 @@ onMounted(async () => {
|
|||
>
|
||||
<div class="col-12">
|
||||
<q-toolbar style="padding: 0px">
|
||||
<!-- :min-date="date" -->
|
||||
<datepicker
|
||||
menu-class-name="modalfix"
|
||||
v-model="date"
|
||||
|
|
@ -489,7 +490,6 @@ onMounted(async () => {
|
|||
borderless
|
||||
:enableTimePicker="false"
|
||||
week-start="0"
|
||||
:min-date="date"
|
||||
>
|
||||
<template #year="{ year }">
|
||||
{{ year + 543 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue