Compare commits

...

2 Commits

Author SHA1 Message Date
gxwebsoft 495e6a073c style(business): 优化货物导入区域样式
- 为货物导入部分添加卡片式容器div
- 新增cargo-import-card样式,包含白色背景和圆角
- 添加内边距和阴影效果,提升视觉层次感
- 调整cargo-import区域的padding为0,确保样式一致性
2026-08-25 15:31:23 +08:00
gxwebsoft 1ebd4d0fa3 fix(settlement): 调整操作列宽度以优化显示
- 将操作列宽度从320调整为120
- 优化表格布局,避免操作列占用过多空间
- 保持操作区域内容的可见性和对齐方式不变
2026-08-25 15:23:24 +08:00
2 changed files with 15 additions and 1 deletions
@@ -4998,6 +4998,7 @@
@closed="cargoImportRows = []" @closed="cargoImportRows = []"
> >
<div class="business-crud-page__cargo-import"> <div class="business-crud-page__cargo-import">
<div class="business-crud-page__cargo-import-card">
<el-upload <el-upload
action="#" action="#"
accept=".xls,.xlsx" accept=".xls,.xlsx"
@@ -5012,6 +5013,7 @@
</template> </template>
</el-upload> </el-upload>
<el-button type="primary" @click="handleCargoImportTemplate">点击下载模板</el-button> <el-button type="primary" @click="handleCargoImportTemplate">点击下载模板</el-button>
</div>
</div> </div>
<template #footer> <template #footer>
<el-button :disabled="cargoImportLoading" @click="closeCargoImportDialog">关闭</el-button> <el-button :disabled="cargoImportLoading" @click="closeCargoImportDialog">关闭</el-button>
@@ -13249,6 +13251,18 @@ export default {
} }
} }
&__cargo-import {
padding: 0 !important;
}
&__cargo-import-card {
background: #fff;
border-radius: 6px;
padding: 24px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
width: 90%;
}
&__cargo-table { &__cargo-table {
width: 100%; width: 100%;
min-width: 0; min-width: 0;
@@ -77,7 +77,7 @@
<span v-else>{{ displayValue(row[column.prop]) }}</span> <span v-else>{{ displayValue(row[column.prop]) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="320" fixed="right" align="center"> <el-table-column label="操作" width="120" fixed="right" align="center">
<template #default="{ row }" <template #default="{ row }"
><div class="fs-table-panel__links"> ><div class="fs-table-panel__links">
<el-link <el-link