From e15601c13c820ada0dad730a00debef3c478cd86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E7=BA=A2=E5=85=B5?= <374362909@qq.com> Date: Wed, 4 Mar 2026 17:45:49 +0800 Subject: [PATCH] fix --- .../purchase/purchasingrequisition/add.vue | 4038 ++++++++++------- 1 file changed, 2293 insertions(+), 1745 deletions(-) diff --git a/src/views/purchase/purchasingrequisition/add.vue b/src/views/purchase/purchasingrequisition/add.vue index 3c8c936..84cc148 100644 --- a/src/views/purchase/purchasingrequisition/add.vue +++ b/src/views/purchase/purchasingrequisition/add.vue @@ -1,522 +1,968 @@ @@ -2084,89 +2627,95 @@ onMounted(async () => { @import '/@/assets/styles/modern-page.scss'; .mb20 { - margin-bottom: 20px; + margin-bottom: 20px; } + .mb16 { - margin-bottom: 16px; + margin-bottom: 16px; } + .mb8 { - margin-bottom: 8px; + margin-bottom: 8px; } + .mb10 { - margin-bottom: 10px; + margin-bottom: 10px; } + .mt5 { - margin-top: 5px; + margin-top: 5px; } + .step-title { - font-size: 16px; - font-weight: 600; - color: var(--el-text-color-primary); - padding-bottom: 10px; - border-bottom: 1px solid var(--el-border-color-light); - margin-bottom: 16px; + font-size: 16px; + font-weight: 600; + color: var(--el-text-color-primary); + padding-bottom: 10px; + border-bottom: 1px solid var(--el-border-color-light); + margin-bottom: 16px; } .implement-info-block { - .view-label { - font-size: 14px; - color: var(--el-text-color-secondary); - margin-bottom: 4px; - } - .view-value { - font-size: 14px; - color: var(--el-text-color-primary); - } + .view-label { + font-size: 14px; + color: var(--el-text-color-secondary); + margin-bottom: 4px; + } + + .view-value { + font-size: 14px; + color: var(--el-text-color-primary); + } } /* 紧凑表单样式 */ .compact-form { - :deep(.el-form-item) { - margin-bottom: 16px; - } - - :deep(.el-form-item__label) { - padding-right: 12px; - font-size: 14px; - } - - :deep(.el-input__inner), - :deep(.el-textarea__inner) { - font-size: 14px; - } + :deep(.el-form-item) { + margin-bottom: 16px; + } + + :deep(.el-form-item__label) { + padding-right: 12px; + font-size: 14px; + } + + :deep(.el-input__inner), + :deep(.el-textarea__inner) { + font-size: 14px; + } } .template-note { - margin-top: 5px; - color: var(--el-text-color-secondary); - font-size: 12px; + margin-top: 5px; + color: var(--el-text-color-secondary); + font-size: 12px; } /* 预算金额:输入框 + 单位元 */ .budget-yuan-wrap { - display: flex; - align-items: center; - width: 100%; - gap: 8px; - - :deep(.el-input-number) { - flex: 1; - } - - .budget-unit { - color: var(--el-text-color-regular); - font-size: 14px; - flex-shrink: 0; - } + display: flex; + align-items: center; + width: 100%; + gap: 8px; + + :deep(.el-input-number) { + flex: 1; + } + + .budget-unit { + color: var(--el-text-color-regular); + font-size: 14px; + flex-shrink: 0; + } } .form-footer { - display: flex; - justify-content: flex-end; - gap: 10px; - padding-top: 16px; - border-top: 1px solid var(--el-border-color-light); - margin-top: 16px; + display: flex; + justify-content: flex-end; + gap: 10px; + padding-top: 16px; + border-top: 1px solid var(--el-border-color-light); + margin-top: 16px; } @@ -2174,22 +2723,21 @@ onMounted(async () => { /* 当页面在 iframe 中时,允许滚动 */ html.iframe-mode, body.iframe-mode { - overflow: auto !important; - height: 100% !important; - min-height: 100% !important; + overflow: auto !important; + height: 100% !important; + min-height: 100% !important; } #app.iframe-mode { - overflow: auto !important; - height: auto !important; - min-height: 100% !important; + overflow: auto !important; + height: auto !important; + min-height: 100% !important; } /* 在 iframe 模式下,修改页面容器样式 */ .iframe-mode .modern-page-container { - min-height: auto !important; - height: auto !important; - overflow: visible !important; + min-height: auto !important; + height: auto !important; + overflow: visible !important; } -