Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
9a8a94f1
提交
9a8a94f1
authored
10月 10, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor(promotion): 修改:AP_执行上报_某些列可能很宽,增加显示 tooltip 的字段
上级
18a31b0f
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
64 行增加
和
4 行删除
+64
-4
index.vue
src/views/promotion/components/CommonPlan/index.vue
+1
-0
display.vue
src/views/promotion/display_schedule/tabs/display.vue
+10
-2
schedule.vue
src/views/promotion/display_schedule/tabs/schedule.vue
+7
-2
schedule_dis.vue
src/views/promotion/display_schedule/tabs/schedule_dis.vue
+24
-0
snack.vue
src/views/promotion/display_schedule/tabs/snack.vue
+22
-0
没有找到文件。
src/views/promotion/components/CommonPlan/index.vue
浏览文件 @
9a8a94f1
...
...
@@ -27,6 +27,7 @@
:label=
"col.label"
:key=
"col.prop"
align=
"center"
:show-overflow-tooltip=
"col.showOverflowTooltip"
class-name=
"column-style"
:width=
"col.width"
:fixed=
"operation === '填报模式' && col.fixed"
>
...
...
src/views/promotion/display_schedule/tabs/display.vue
浏览文件 @
9a8a94f1
...
...
@@ -94,6 +94,7 @@
},
{
label
:
"经销商-类型"
,
showOverflowTooltip
:
true
,
prop
:
"dealerType"
,
visible
:
true
,
type
:
'string'
,
...
...
@@ -142,10 +143,11 @@
},
{
label
:
"门店名称"
,
prop
:
"storeNameCodeDealerName"
,
// 新增动态列(只在填报列显示)
prop
:
"storeNameCodeDealerName"
,
//
d
新增动态列(只在填报列显示)
visible
:
true
,
type
:
'string'
,
fill
:
true
,
showOverflowTooltip
:
true
,
onlyFill
:
true
,
// 仅仅在填报模式下生效
fixed
:
'left'
,
width
:
215
,
...
...
@@ -173,6 +175,7 @@
{
label
:
"门店名称"
,
prop
:
"storeName"
,
showOverflowTooltip
:
true
,
visible
:
true
,
type
:
'string'
,
fill
:
false
,
...
...
@@ -274,6 +277,7 @@
label
:
"门店分级(销量坎级)"
,
prop
:
"storeLevel"
,
visible
:
true
,
showOverflowTooltip
:
true
,
type
:
'string'
,
fill
:
false
,
width
:
165
...
...
@@ -281,6 +285,7 @@
{
label
:
"门店地址"
,
prop
:
"storeAddress"
,
showOverflowTooltip
:
true
,
visible
:
true
,
type
:
'string'
,
fill
:
false
,
...
...
@@ -850,7 +855,7 @@
visible
:
true
,
type
:
'string'
,
fill
:
false
,
width
:
1
4
0
width
:
1
8
0
}
],
visible
:
true
...
...
@@ -985,6 +990,9 @@
item
.
openingDate
=
parseTime
(
item
.
openingDate
,
'{y}-{m}-{d}'
)
// 闭户日期
item
.
closingDate
=
parseTime
(
item
.
closingDate
,
'{y}-{m}-{d}'
)
// 修改时间
item
.
updateTime
=
parseTime
(
item
.
updateTime
,
'{y}-{m}-{d} {h}:{i}:{s}'
)
// 动态新增列:门店名称+门店编码+经销山名称(填报模式下,合并到一起)
item
.
storeNameCodeDealerName
=
item
.
storeName
+
'
\
n('
+
item
.
storeCode
+
')'
+
'
\
n('
+
item
.
dealerName
+
')'
})
...
...
src/views/promotion/display_schedule/tabs/schedule.vue
浏览文件 @
9a8a94f1
...
...
@@ -99,6 +99,7 @@
label
:
"经销商名称"
,
prop
:
"dealerName"
,
visible
:
true
,
showOverflowTooltip
:
true
,
type
:
"string"
,
fill
:
true
,
fixed
:
'left'
,
...
...
@@ -108,6 +109,7 @@
label
:
"经销商类型"
,
prop
:
"dealerType"
,
visible
:
true
,
showOverflowTooltip
:
true
,
type
:
"string"
,
fill
:
false
,
width
:
115
...
...
@@ -227,6 +229,7 @@
{
label
:
"档期计划-促销口味"
,
prop
:
"plannedPromotionFlavor"
,
showOverflowTooltip
:
true
,
visible
:
true
,
type
:
"string"
,
fill
:
false
,
...
...
@@ -987,7 +990,7 @@
visible
:
true
,
type
:
'string'
,
fill
:
false
,
width
:
1
4
0
width
:
1
8
0
}
],
visible
:
true
...
...
@@ -1006,7 +1009,7 @@
chooseColumns
.
value
=
baseColumns
.
value
tableColumns
.
value
=
baseColumns
.
value
.
flatMap
(
item
=>
{
if
(
item
.
children
)
{
return
item
.
children
.
filter
(
child
=>
child
);
return
item
.
children
.
filter
(
child
=>
!
child
.
onlyFill
);
}
return
[];
});
...
...
@@ -1087,6 +1090,8 @@
item
.
actualPromotionEndDate
=
parseTime
(
item
.
actualPromotionEndDate
,
'{y}-{m}-{d}'
)
item
.
totalCostRate
=
item
.
totalCostRate
?
`
${(
item
.
totalCostRate
).
toFixed
(
2
)}
%`
:
'-'
item
.
adjustmentCostRatio
=
item
.
adjustmentCostRatio
?
`
${(
item
.
adjustmentCostRatio
).
toFixed
(
2
)}
%`
:
'-'
// 修改时间
item
.
updateTime
=
parseTime
(
item
.
updateTime
,
'{y}-{m}-{d} {h}:{i}:{s}'
)
})
tableData
.
value
=
res
.
data
.
rows
total
.
value
=
res
.
data
.
total
...
...
src/views/promotion/display_schedule/tabs/schedule_dis.vue
浏览文件 @
9a8a94f1
...
...
@@ -90,11 +90,13 @@
"type"
:
"string"
,
"fill"
:
true
,
"width"
:
200
,
showOverflowTooltip
:
true
,
fixed
:
'left'
},
{
"label"
:
"经销商类型"
,
"prop"
:
"dealerType"
,
showOverflowTooltip
:
true
,
"visible"
:
true
,
"type"
:
"string"
,
"fill"
:
false
,
...
...
@@ -215,6 +217,7 @@
{
"label"
:
"档期计划 - 促销口味"
,
"prop"
:
"plannedPromotionFlavor"
,
showOverflowTooltip
:
true
,
"visible"
:
true
,
"type"
:
"string"
,
"fill"
:
false
,
...
...
@@ -312,6 +315,7 @@
"prop"
:
"storeCode"
,
"visible"
:
true
,
"type"
:
"string"
,
showOverflowTooltip
:
true
,
"fill"
:
false
,
"width"
:
120
},
...
...
@@ -320,6 +324,7 @@
"prop"
:
"storeName"
,
"visible"
:
true
,
"type"
:
"string"
,
showOverflowTooltip
:
true
,
"fill"
:
false
,
"width"
:
170
},
...
...
@@ -342,6 +347,7 @@
{
"label"
:
"门店地址"
,
"prop"
:
"storeAddress"
,
showOverflowTooltip
:
true
,
"visible"
:
true
,
"type"
:
"string"
,
"fill"
:
false
,
...
...
@@ -647,6 +653,22 @@
"type"
:
"string"
,
"fill"
:
false
,
"width"
:
160
},
{
label
:
'修改人'
,
prop
:
'updateBy'
,
visible
:
true
,
type
:
'string'
,
fill
:
false
,
width
:
120
},
{
label
:
'修改时间'
,
prop
:
'updateTime'
,
visible
:
true
,
type
:
'string'
,
fill
:
false
,
width
:
180
}
],
visible
:
true
...
...
@@ -753,6 +775,8 @@
item
.
plannedPromotionDisplayStartDate
=
parseTime
(
item
.
plannedPromotionDisplayStartDate
,
'{y}-{m}-{d}'
)
// 计划 - 档期陈列结束时间
item
.
plannedPromotionDisplayEndDate
=
parseTime
(
item
.
plannedPromotionDisplayEndDate
,
'{y}-{m}-{d}'
)
// 修改时间
item
.
updateTime
=
parseTime
(
item
.
updateTime
,
'{y}-{m}-{d} {h}:{i}:{s}'
)
})
tableData
.
value
=
res
.
data
.
rows
total
.
value
=
res
.
data
.
total
...
...
src/views/promotion/display_schedule/tabs/snack.vue
浏览文件 @
9a8a94f1
...
...
@@ -86,6 +86,7 @@
"label"
:
"经销商名称"
,
"prop"
:
"dealerName"
,
"visible"
:
true
,
showOverflowTooltip
:
true
,
"type"
:
"string"
,
"fill"
:
true
,
"width"
:
200
,
...
...
@@ -95,6 +96,7 @@
"label"
:
"经销商类型"
,
"prop"
:
"dealerType"
,
"visible"
:
true
,
showOverflowTooltip
:
true
,
"type"
:
"string"
,
"fill"
:
false
,
"width"
:
150
...
...
@@ -208,6 +210,7 @@
"prop"
:
"storeName"
,
"visible"
:
true
,
"type"
:
"string"
,
showOverflowTooltip
:
true
,
"fill"
:
false
,
"width"
:
180
},
...
...
@@ -223,6 +226,7 @@
"label"
:
"门店地址"
,
"prop"
:
"storeAddress"
,
"visible"
:
true
,
showOverflowTooltip
:
true
,
"type"
:
"string"
,
"fill"
:
false
,
"width"
:
280
...
...
@@ -401,6 +405,22 @@
"type"
:
"string"
,
"fill"
:
false
,
"width"
:
150
},
{
label
:
'修改人'
,
prop
:
'updateBy'
,
visible
:
true
,
type
:
'string'
,
fill
:
false
,
width
:
120
},
{
label
:
'修改时间'
,
prop
:
'updateTime'
,
visible
:
true
,
type
:
'string'
,
fill
:
false
,
width
:
180
}
],
prop
:
'snackColumns'
,
...
...
@@ -533,6 +553,8 @@
item
.
openingDate
=
parseTime
(
item
.
openingDate
,
'{y}-{m}-{d}'
)
// 闭户日期
item
.
closingDate
=
parseTime
(
item
.
closingDate
,
'{y}-{m}-{d}'
)
// 修改时间
item
.
updateTime
=
parseTime
(
item
.
updateTime
,
'{y}-{m}-{d} {h}:{i}:{s}'
)
})
tableData
.
value
=
res
.
data
.
rows
total
.
value
=
res
.
data
.
total
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论