WIP исправила inputDate

This commit is contained in:
Daria Golova
2022-12-27 12:09:36 +03:00
parent 93cea24131
commit 449cc6ebbe
5 changed files with 8 additions and 8 deletions

View File

@@ -40,7 +40,7 @@
.flex.gap-x-2
.flex.flex-col(class="gap-y-1.5")
span.text-xxs.opacity-40.font-bold.leading-3.font-bold Дата
base-input-date.select(v-model:value="eventDate")
base-input-date.h-10(v-model:value="eventDate")
.flex.gap-x-2.items-center
.flex.flex-col(class="gap-y-1.5")
span.text-xxs.opacity-40.font-bold.leading-3.font-bold Начало
@@ -557,7 +557,7 @@ export default {
immediate: true,
handler(newDate) {
if (newDate) {
this.eventDate = newDate.format("YYYY-MM-DD");
this.eventDate = newDate;
this.startTime = newDate.format("HH:mm");
}
},

View File

@@ -250,7 +250,7 @@ export default {
pdf: pdfIcon,
xls: exelIcon,
},
isOpenPackage: false,
isOpenPackage: true,
isOpenAddDoc: false,
showModal: false,
};

View File

@@ -10,9 +10,8 @@
)
.flex.flex-col(class="gap-y-1.5")
span.text-sm Дата рождения
base-input-date.input-date(
base-input-date.input-info(
v-model:value="basicInfo.birth_date",
:width-input="277"
)
.flex.flex-col(class="gap-y-1.5")
span.text-sm Номер телефона
@@ -101,6 +100,7 @@ export default {
background-color: var(--btn-blue-color)
.input-info
color: var(--font-dark-blue-color)
height: 40px
.obligatory
color: var(--font-obligatory-color)
.add-network
@@ -111,6 +111,4 @@ export default {
height: 100%
border: 2px solid var(--border-light-grey-color)
border-radius: 4px
.input-date
border: 1.5px solid var(--border-light-grey-color)
</style>

View File

@@ -28,7 +28,7 @@
)
.flex.flex-col(class="gap-y-1.5")
span.text-sm Дата выдачи
base-input-date.input-date(
base-input-date.input-info.h-10(
v-model:value="identityDocument.pass.issued_by_date",
placeholder="Дата",
:width-input="277"