@@ -1226,6 +1226,12 @@ export default {
:deep(.el-input-number) {
width: 100%;
}
+
+ // label 固定宽度:可容纳 6 个汉字,超出自动换行
+ :deep(.el-form-item__label) {
+ white-space: normal;
+ line-height: 20px;
+ }
}
.date-range-inline {
@@ -1368,4 +1374,7 @@ export default {
color: #d40000;
font-weight: 600;
}
+.el-form-item {
+ margin-bottom: 14px !important;
+}
diff --git a/src/views/transportCapacity/vehicle.vue b/src/views/transportCapacity/vehicle.vue
index 8f5b810..934767d 100644
--- a/src/views/transportCapacity/vehicle.vue
+++ b/src/views/transportCapacity/vehicle.vue
@@ -1536,4 +1536,8 @@ export default {
color: #d40000;
font-weight: 600;
}
+
+.el-form-item {
+ margin-bottom: 14px !important;
+}
diff --git a/src/views/vehicle/credit-score-quantification.vue b/src/views/vehicle/credit-score-quantification.vue
index 14ed7ee..e335097 100644
--- a/src/views/vehicle/credit-score-quantification.vue
+++ b/src/views/vehicle/credit-score-quantification.vue
@@ -1102,7 +1102,7 @@ export default {
padding: 4px 0 6px;
:deep(.el-form-item) {
- margin-bottom: 18px;
+ margin-bottom: 14px;
}
:deep(.el-form-item__label) {
@@ -1141,7 +1141,7 @@ export default {
column-gap: 112px;
:deep(.el-form-item) {
- margin-bottom: 18px;
+ margin-bottom: 14px;
}
}
}
diff --git a/src/views/vehicle/customer-archive.vue b/src/views/vehicle/customer-archive.vue
index e744ecc..29e99bd 100644
--- a/src/views/vehicle/customer-archive.vue
+++ b/src/views/vehicle/customer-archive.vue
@@ -1079,7 +1079,7 @@
ref="scoreForm"
:model="currentScore"
label-position="right"
- label-width="auto"
+ label-width="150"
:disabled="readonly"
class="score-detail-form"
>
@@ -4416,8 +4416,8 @@ export default {
flex-wrap: nowrap;
:deep(.el-date-editor) {
- flex: 0 0 150px;
- width: 150px;
+ flex: 0 0 140px;
+ width: 140px;
min-width: 0;
}
@@ -4501,7 +4501,7 @@ export default {
padding: 8px 36px 0;
:deep(.el-form-item) {
- margin-bottom: 18px;
+ margin-bottom: 14px;
}
:deep(.el-form-item__label) {
@@ -4629,7 +4629,7 @@ export default {
max-width: 620px;
:deep(.el-form-item) {
- margin-bottom: 16px;
+ margin-bottom: 14px;
}
:deep(.el-input) {
@@ -4856,15 +4856,11 @@ export default {
.archive-page-form {
min-height: 100%;
- //padding: 20px 24px 92px;
- //background: #fff;
}
-
.archive-form__footer {
display: flex;
justify-content: flex-end;
gap: 12px;
-
.archive-page-form & {
position: fixed;
right: 0;
@@ -4901,4 +4897,10 @@ export default {
max-height: 72vh;
overflow: auto;
}
+.el-col{
+ margin-bottom: 0;
+}
+.el-form-item {
+ margin-bottom: 14px !important;
+}
diff --git a/vite.config.mjs b/vite.config.mjs
index 8c0a2a9..09134a0 100644
--- a/vite.config.mjs
+++ b/vite.config.mjs
@@ -50,26 +50,26 @@ export default ({
__VUE_I18N_LEGACY_API__: true,
__INTLIFY_PROD_DEVTOOLS__: false,
},
- server: {
- port: 2888,
- proxy: {
- '/api': {
- target: 'http://localhost',
- //target: 'https://saber3.bladex.cn/api',
- changeOrigin: true,
- rewrite: path => path.replace(/^\/api/, ''),
- },
- },
- },
// server: {
- // port: 2889,
+ // port: 2888,
// proxy: {
// '/api': {
- // target: 'http://172.16.203.228:8000',
+ // target: 'http://localhost',
+ // //target: 'https://saber3.bladex.cn/api',
// changeOrigin: true,
+ // rewrite: path => path.replace(/^\/api/, ''),
// },
// },
// },
+ server: {
+ port: 2889,
+ proxy: {
+ '/api': {
+ target: 'http://172.16.203.228:8000',
+ changeOrigin: true,
+ },
+ },
+ },
resolve: {
alias: {
'~': resolve(__dirname, './'),