Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
c8964e1a
提交
c8964e1a
authored
11月 26, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor(promotion): 调整:店内执行上报填充模式的常规陈列的样式
上级
29d1bf3a
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
37 行增加
和
9 行删除
+37
-9
index.vue
src/views/promotion/components/SearchList/index.vue
+2
-1
index.vue
src/views/promotion/components/Table/index.vue
+35
-8
display.vue
src/views/promotion/display_schedule/tabs/display.vue
+0
-0
没有找到文件。
src/views/promotion/components/SearchList/index.vue
浏览文件 @
c8964e1a
...
...
@@ -50,7 +50,8 @@ const props = defineProps({
}
})
const
queryParams
=
reactive
({
salesMonth
:
''
,
// 当月
salesMonth
:
new
Date
(),
deptName
:
''
,
dealerCN
:
''
,
lineNameLike
:
''
,
...
...
src/views/promotion/components/Table/index.vue
浏览文件 @
c8964e1a
...
...
@@ -40,7 +40,10 @@
<template
#
header=
"
{ column }">
<!-- 只为特定公式列添加问号图标 -->
<span
class=
"formula-column"
>
{{
column
.
label
}}
<div
class=
"column"
>
<p>
{{
column
.
label
}}
</p>
<p
v-if=
"col.subLabel"
>
{{
col
.
subLabel
}}
</p>
</div>
<el-tooltip
v-if=
"col.type === 'formula'"
:content=
"col.formulaStr"
placement=
"top"
>
...
...
@@ -128,6 +131,7 @@ const emit = defineEmits(['updateColumns', 'getTableList', 'updateShowSearch'])
/*************** 工具栏 ***************/
// 切换平铺/填报模式
const
operation
=
ref
(
'展示模式'
);
// const operation = ref('填报模式');
const
tableRef
=
ref
(
null
)
const
checkTableColumns
=
async
()
=>
{
// 通知外面传入 tableColumns / chooseColumns 数据源
...
...
@@ -184,6 +188,19 @@ const getTableList = () => {
justify-content
:
center
;
align-items
:
center
;
.column
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
flex-direction
:
column
;
p
{
margin
:
0
;
font-size
:
12px
;
color
:
#606266
;
}
}
.el-icon
{
margin-left
:
2px
;
}
...
...
@@ -197,7 +214,7 @@ const getTableList = () => {
white-space
:
nowrap
;
}
.cell-style
{
>
div
{
...
...
@@ -220,19 +237,27 @@ const getTableList = () => {
width
:
100%
!
important
;
padding
:
10px
;
/* 非 disabled 状态下的背景颜色 */
&
.no-disabled
{
background-color
:
var
(
--
el-background-editor-cell
);
::v-deep
(
.el-select__wrapper
)
{
border
:
4px
solid
var
(
--
el-background-editor-cell
)
!
important
;
}
/* 非 disabled 状态下的背景颜色 */
/* &.no-disabled {
background-color: ;
} */
}
.el-input
{
padding
:
10px
;
&
.no-disabled
{
b
ackground-color
:
var
(
--
el-background-editor-cell
)
;
::v-deep
(
.el-input__wrapper
)
{
b
order
:
4px
solid
var
(
--
el-background-editor-cell
)
!
important
;
}
/* &.no-disabled {
background-color: var(--el-background-editor-cell);
} */
}
.date-picker
{
...
...
@@ -253,11 +278,13 @@ const getTableList = () => {
/* 填报模式-单元格 */
&
.cell-no-padding
{
/* 无上下内边距 */
::v-deep
(
.el-table__row
)
{
.el-table__cell
{
padding
:
0
;
.cell
{
.cell
{
padding
:
0
!
important
;
}
}
...
...
src/views/promotion/display_schedule/tabs/display.vue
浏览文件 @
c8964e1a
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论