|
|
@@ -62,15 +62,17 @@
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
<div class="divider"></div>
|
|
|
- <PublicRange
|
|
|
- v-model="queryParams"
|
|
|
- :region-tree="regionTree"
|
|
|
- :yamada-fc-brand="yamadaFcBrand"
|
|
|
- :yamada-business-type="yamadaBusinessType"
|
|
|
- @check-change="handleCheckChange"
|
|
|
- :show-fc="true"
|
|
|
- :show-business-type="true"
|
|
|
- />
|
|
|
+ <div class="section-fc-area">
|
|
|
+ <PublicRange
|
|
|
+ v-model="queryParams"
|
|
|
+ :region-tree="regionTree"
|
|
|
+ :yamada-fc-brand="yamadaFcBrand"
|
|
|
+ :yamada-business-type="yamadaBusinessType"
|
|
|
+ @check-change="handleCheckChange"
|
|
|
+ :show-fc="true"
|
|
|
+ :show-business-type="true"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
<div class="btn-section">
|
|
|
<el-button class="btn-aggregation" @click="handleAggregate" v-hasPermi="['fcbi:sales:sum']">集計</el-button>
|
|
|
<el-button class="btn-reset" @click="resetForm" icon="Refresh">リセット</el-button>
|
|
|
@@ -357,6 +359,10 @@ const resetRegionTreeCheck = (nodes) => {
|
|
|
gap: 10px; /* 标题与内容的固定间距 */
|
|
|
}
|
|
|
|
|
|
+.section-fc-area {
|
|
|
+ margin-left: 20px; /* 顶部对齐,确保基准一致 */
|
|
|
+}
|
|
|
+
|
|
|
/* 2. 统一标题样式(确保“対”和“集”字对齐) */
|
|
|
/* 统一标题文字的垂直对齐基准(核心修正) */
|
|
|
.form-section {
|
|
|
@@ -372,7 +378,7 @@ const resetRegionTreeCheck = (nodes) => {
|
|
|
display: inline-block !important; /* 确保宽度和高度计算准确 */
|
|
|
|
|
|
/* 修正对齐的核心属性 - 与分割线严格一致 */
|
|
|
- margin-left: 27px !important; /* 精确匹配分割线左侧偏移 */
|
|
|
+
|
|
|
box-sizing: border-box !important; /* 确保宽度计算不包含padding */
|
|
|
position: relative !important; /* 建立稳定的定位基准 */
|
|
|
left: 0 !important; /* 清除可能的定位偏移 */
|
|
|
@@ -380,7 +386,11 @@ const resetRegionTreeCheck = (nodes) => {
|
|
|
color: #606266;
|
|
|
font-weight: 700;
|
|
|
}
|
|
|
-
|
|
|
+.form-section {
|
|
|
+ margin-left: 15px !important; /* 左对齐标题,节省空间 */
|
|
|
+ width: 100px !important; /* 缩短标题宽度,为内容区让空间 */
|
|
|
+ font-size: 14px !important; /* 标题文字微调 */
|
|
|
+}
|
|
|
|
|
|
/* 确保标题文字的左侧起点完全一致 */
|
|
|
.form-section::first-letter {
|
|
|
@@ -610,6 +620,7 @@ const resetRegionTreeCheck = (nodes) => {
|
|
|
padding: 2px 0; /* 减少内边距,节省空间 */
|
|
|
}
|
|
|
|
|
|
+
|
|
|
/* 媒体查询 - 适配大屏幕 */
|
|
|
@media (min-width: 1024px) {
|
|
|
.section-container {
|
|
|
@@ -647,6 +658,10 @@ const resetRegionTreeCheck = (nodes) => {
|
|
|
.date-group .date-label {
|
|
|
margin-left: 4px !important; /* 统一标签与下拉框的间距,不干扰其他样式 */
|
|
|
}
|
|
|
+
|
|
|
+ .annual-group .date-group .date-label {
|
|
|
+ margin-left: -5px !important;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/* 响应式样式 - 平板端 (768px-1023px) */
|
|
|
@@ -666,7 +681,7 @@ const resetRegionTreeCheck = (nodes) => {
|
|
|
|
|
|
.form-section {
|
|
|
margin-left: 15px !important; /* 左对齐标题,节省空间 */
|
|
|
- width: 70px !important; /* 缩短标题宽度,为内容区让空间 */
|
|
|
+ width: 100px !important; /* 缩短标题宽度,为内容区让空间 */
|
|
|
font-size: 14px !important; /* 标题文字微调 */
|
|
|
}
|
|
|
|
|
|
@@ -734,7 +749,7 @@ const resetRegionTreeCheck = (nodes) => {
|
|
|
.date-group > .date-label:nth-child(2) {
|
|
|
margin-right: 8px;
|
|
|
flex-shrink: 0;
|
|
|
- font-size: 13px; /* 日期标签字体微调 */
|
|
|
+ font-size: 14px; /* 日期标签字体微调 */
|
|
|
}
|
|
|
|
|
|
.radio-group-horizontal {
|
|
|
@@ -808,6 +823,8 @@ const resetRegionTreeCheck = (nodes) => {
|
|
|
margin-left: 80px !important; /* 匹配"月指定"单选框的宽度(80px),使月下拉列表左对齐基准与年下拉列表一致 */
|
|
|
margin-top: 8px; /* 可选:添加微小间距,避免与年下拉列表过于拥挤 */
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
</style>
|