WIP исправила inputDate
This commit is contained in:
@@ -37,11 +37,13 @@ export default {
|
|||||||
|
|
||||||
<style lang="sass" scoped>
|
<style lang="sass" scoped>
|
||||||
.field
|
.field
|
||||||
|
display: flex
|
||||||
align-items: center
|
align-items: center
|
||||||
border: 1.5px solid var(--border-light-grey-color)
|
border: 1.5px solid var(--border-light-grey-color)
|
||||||
border-radius: 4px
|
border-radius: 4px
|
||||||
padding: 8px 16px
|
padding: 8px 16px
|
||||||
input
|
input
|
||||||
|
width: 100%
|
||||||
cursor: text
|
cursor: text
|
||||||
border: none
|
border: none
|
||||||
outline: none
|
outline: none
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
.flex.gap-x-2
|
.flex.gap-x-2
|
||||||
.flex.flex-col(class="gap-y-1.5")
|
.flex.flex-col(class="gap-y-1.5")
|
||||||
span.text-xxs.opacity-40.font-bold.leading-3.font-bold Дата
|
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.gap-x-2.items-center
|
||||||
.flex.flex-col(class="gap-y-1.5")
|
.flex.flex-col(class="gap-y-1.5")
|
||||||
span.text-xxs.opacity-40.font-bold.leading-3.font-bold Начало
|
span.text-xxs.opacity-40.font-bold.leading-3.font-bold Начало
|
||||||
@@ -557,7 +557,7 @@ export default {
|
|||||||
immediate: true,
|
immediate: true,
|
||||||
handler(newDate) {
|
handler(newDate) {
|
||||||
if (newDate) {
|
if (newDate) {
|
||||||
this.eventDate = newDate.format("YYYY-MM-DD");
|
this.eventDate = newDate;
|
||||||
this.startTime = newDate.format("HH:mm");
|
this.startTime = newDate.format("HH:mm");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -250,7 +250,7 @@ export default {
|
|||||||
pdf: pdfIcon,
|
pdf: pdfIcon,
|
||||||
xls: exelIcon,
|
xls: exelIcon,
|
||||||
},
|
},
|
||||||
isOpenPackage: false,
|
isOpenPackage: true,
|
||||||
isOpenAddDoc: false,
|
isOpenAddDoc: false,
|
||||||
showModal: false,
|
showModal: false,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,9 +10,8 @@
|
|||||||
)
|
)
|
||||||
.flex.flex-col(class="gap-y-1.5")
|
.flex.flex-col(class="gap-y-1.5")
|
||||||
span.text-sm Дата рождения
|
span.text-sm Дата рождения
|
||||||
base-input-date.input-date(
|
base-input-date.input-info(
|
||||||
v-model:value="basicInfo.birth_date",
|
v-model:value="basicInfo.birth_date",
|
||||||
:width-input="277"
|
|
||||||
)
|
)
|
||||||
.flex.flex-col(class="gap-y-1.5")
|
.flex.flex-col(class="gap-y-1.5")
|
||||||
span.text-sm Номер телефона
|
span.text-sm Номер телефона
|
||||||
@@ -101,6 +100,7 @@ export default {
|
|||||||
background-color: var(--btn-blue-color)
|
background-color: var(--btn-blue-color)
|
||||||
.input-info
|
.input-info
|
||||||
color: var(--font-dark-blue-color)
|
color: var(--font-dark-blue-color)
|
||||||
|
height: 40px
|
||||||
.obligatory
|
.obligatory
|
||||||
color: var(--font-obligatory-color)
|
color: var(--font-obligatory-color)
|
||||||
.add-network
|
.add-network
|
||||||
@@ -111,6 +111,4 @@ export default {
|
|||||||
height: 100%
|
height: 100%
|
||||||
border: 2px solid var(--border-light-grey-color)
|
border: 2px solid var(--border-light-grey-color)
|
||||||
border-radius: 4px
|
border-radius: 4px
|
||||||
.input-date
|
|
||||||
border: 1.5px solid var(--border-light-grey-color)
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
)
|
)
|
||||||
.flex.flex-col(class="gap-y-1.5")
|
.flex.flex-col(class="gap-y-1.5")
|
||||||
span.text-sm Дата выдачи
|
span.text-sm Дата выдачи
|
||||||
base-input-date.input-date(
|
base-input-date.input-info.h-10(
|
||||||
v-model:value="identityDocument.pass.issued_by_date",
|
v-model:value="identityDocument.pass.issued_by_date",
|
||||||
placeholder="Дата",
|
placeholder="Дата",
|
||||||
:width-input="277"
|
:width-input="277"
|
||||||
|
|||||||
Reference in New Issue
Block a user