Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
e8ca781b
提交
e8ca781b
authored
12月 04, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor(promotion): 修复:店内执行上报_已知问题并在看板部分加深头部颜色
上级
95fffa10
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
33 行增加
和
63 行删除
+33
-63
data.jsx
src/views/promotion/display_schedule/tabs/data.jsx
+5
-6
index.vue
...ion/display_schedule_dashboard/components/Table/index.vue
+8
-57
index.vue
src/views/promotion/display_schedule_dashboard/index.vue
+20
-0
没有找到文件。
src/views/promotion/display_schedule/tabs/data.jsx
浏览文件 @
e8ca781b
...
...
@@ -3791,7 +3791,8 @@ export const getSixLittleDiamondsConfig = (submitChange) => {
)
},
fill
:
true
,
width
:
210
width
:
210
,
requestKey
:
[
'gwExecuted6'
]
},
{
label
:
'六小金刚批发挂网陈列费'
,
...
...
@@ -3803,15 +3804,13 @@ export const getSixLittleDiamondsConfig = (submitChange) => {
},
{
label
:
'六小金刚批发挂网是否'
,
subLabel
:
'按
实际
执行'
,
subLabel
:
'按
计划
执行'
,
prop
:
'gwExecuted6'
,
visible
:
true
,
type
:
'formula'
,
func
:
(
row
)
=>
{
// 判断区间,未执行,部分执行,执行
if
(
!
row
.
actualGw6
||
row
.
actualGw6
==
0
)
{
row
.
gwExecuted6
=
'未执行'
}
else
if
(
row
.
actualGw6
!==
row
.
plannedGw6
)
{
// 实际不等于计划的都是未执行
if
(
row
.
actualGw6
!==
row
.
plannedGw6
)
{
row
.
gwExecuted6
=
'未执行'
}
else
{
row
.
gwExecuted6
=
'执行'
...
...
src/views/promotion/display_schedule_dashboard/components/Table/index.vue
浏览文件 @
e8ca781b
...
...
@@ -101,9 +101,7 @@ const getTableList = () => {
display
:
flex
;
flex-direction
:
column
;
overflow
:
hidden
;
}
/* 因为表格会被挪走,所以必须独立样式无法嵌套在别人内 */
/* 表格样式 */
.table-container
{
flex
:
1
;
...
...
@@ -242,65 +240,18 @@ const getTableList = () => {
margin
:
10px
;
}
}
}
</
style
>
<
style
lang=
"scss"
>
/* 表格弹窗 */
.table-dialog-modal
{
padding
:
0
;
/* 关键:覆盖Element Plus对话框的默认最大宽度 */
.el-dialog
{
width
:
100%
!
important
;
max-width
:
none
!
important
;
margin
:
0
!
important
;
height
:
100vh
;
display
:
flex
;
flex-direction
:
column
;
.el-dialog__body
{
flex
:
1
;
display
:
flex
;
flex-direction
:
column
;
overflow
:
hidden
!
important
;
padding-bottom
:
5px
;
.dialog-table-container
{
flex
:
1
;
height
:
100%
;
.table-container
{
flex
:
1
;
display
:
flex
;
flex-direction
:
column
;
height
:
100%
;
.pagination-container
{
margin-left
:
auto
;
}
}
/* 加深表头背景颜色 */
::v-deep
(
.el-table__header-wrapper
)
{
.el-table__header
{
th
{
background-color
:
#dcdfe6
!
important
;
color
:
#303133
!
important
;
font-weight
:
bold
;
}
}
}
}
// 不显示数字输入框的 spinner
.
no-spinner
input
:
:-
webkit-inner-spin-button
,
.
no-spinner
input
::-
webkit-outer-spin-button
{
-webkit-appearance
:
none
;
margin
:
0
;
}
.no-spinner
{
-moz-appearance
:
textfield
;
}
// 填入数字超过计划值时,红色文字提示
.red-text
{
input
{
color
:
red
!
important
;
}
}
</
style
>
src/views/promotion/display_schedule_dashboard/index.vue
浏览文件 @
e8ca781b
...
...
@@ -46,6 +46,7 @@ const handleClickTabs = (tab) => {
}
</
script
>
<
style
scoped
lang=
"scss"
>
.app-container
{
...
...
@@ -53,6 +54,24 @@ const handleClickTabs = (tab) => {
.container
{
padding
:
10px
;
.el-tabs
{
height
:
100%
;
display
:
flex
;
flex-direction
:
column-reverse
;
.el-tabs__content
{
display
:
flex
;
flex-direction
:
column
;
height
:
100%
;
.el-tab-pane
{
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
}
}
}
}
}
</
style
>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论