Fix modal inner doc

This commit is contained in:
Vova 2026-06-15 08:16:53 +03:00
parent 1e27b6827d
commit 873e7a254f
2 changed files with 44 additions and 28 deletions

View File

@ -1086,6 +1086,14 @@ const openModalDealContract = async () => {
dialog.open(InnerDocAddModal, {
props: {
header: 'Составить договор',
pt: {
header: {
style: {
padding: '0.75rem 1rem',
borderBottom: 'none'
}
},
},
modal: true,
},
data: {
@ -1109,6 +1117,14 @@ const openModalDealContract = async () => {
dialog.open(InnerDocAddModal, {
props: {
header: 'Составить договор',
pt: {
header: {
style: {
padding: '0.75rem 1rem',
borderBottom: 'none'
}
},
},
modal: true,
},
data: {

View File

@ -206,31 +206,31 @@ const saveDealInnerDoc = async () => {
</script>
<!--<style>-->
<!--.modal {-->
<!-- display: flex;-->
<!-- justify-content: center;-->
<!-- align-items: center;-->
<!-- position: fixed;-->
<!-- z-index: 1;-->
<!-- left: 0;-->
<!-- top: 0;-->
<!-- width: 100%;-->
<!-- height: 100%;-->
<!-- background-color: rgba(0, 0, 0, 0.5);-->
<!--}-->
<!--.modal-content {-->
<!-- background-color: #fff;-->
<!-- padding: 20px;-->
<!-- border-radius: 10px;-->
<!-- width: 80%;-->
<!-- max-width: 500px;-->
<!--}-->
<!--.close {-->
<!-- position: absolute;-->
<!-- top: 10px;-->
<!-- right: 20px;-->
<!-- font-size: 24px;-->
<!-- cursor: pointer;-->
<!--}-->
<!--</style>-->
<style scoped>
.dealAddContract {
.modal-content {
padding: 0;
background: transparent;
border: none;
box-shadow: none;
}
.add-deal-contract-button {
background: linear-gradient(180deg, #429F46 0%, #388E3C 100%), #FFFFFF;
border-radius: 3px;
color: #FFFFFF;
padding: 12px 20px;
font-family: 'Lato', sans-serif;
font-style: normal;
font-weight: 500;
font-size: 16px;
border: none;
cursor: pointer;
transition: opacity 0.2s;
&:hover {
opacity: 0.9;
}
}
}
</style>