Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
55378c04
提交
55378c04
authored
12月 03, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor(promotion): 修复:店内执行上报已知问题
上级
73a98b11
全部展开
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
49 行增加
和
16 行删除
+49
-16
index.vue
src/views/promotion/components/Table/index.vue
+3
-2
data.jsx
src/views/promotion/display_schedule/tabs/data.jsx
+0
-0
display.vue
src/views/promotion/display_schedule/tabs/display.vue
+2
-3
schedule.vue
src/views/promotion/display_schedule/tabs/schedule.vue
+7
-2
schedule_dis.vue
src/views/promotion/display_schedule/tabs/schedule_dis.vue
+16
-2
six_little_diamonds.vue
...s/promotion/display_schedule/tabs/six_little_diamonds.vue
+7
-2
snack.vue
src/views/promotion/display_schedule/tabs/snack.vue
+7
-2
three_two_seconds.vue
...ews/promotion/display_schedule/tabs/three_two_seconds.vue
+7
-3
没有找到文件。
src/views/promotion/components/Table/index.vue
浏览文件 @
55378c04
...
...
@@ -146,8 +146,8 @@ const emit = defineEmits(['getTableList', 'updateShowSearch'])
/*************** 工具栏 ***************/
const
showFill
=
userStore
().
hasQcMarketEmpInfo
// 是否启用填报模式
//
const operation = ref('展示模式'); // 切换平铺/填报模式
const
operation
=
ref
(
'填报模式'
);
// 切换平铺/填报模式
const
operation
=
ref
(
'展示模式'
);
// 切换平铺/填报模式
//
const operation = ref('填报模式'); // 切换平铺/填报模式
const
tableRef
=
ref
(
null
)
const
chooseColumns
=
ref
([])
// 右上角工具显隐列选择
...
...
@@ -408,6 +408,7 @@ const handleDialogClose = () => {
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
padding
:
0
10px
;
}
}
...
...
src/views/promotion/display_schedule/tabs/data.jsx
浏览文件 @
55378c04
差异被折叠。
点击展开。
src/views/promotion/display_schedule/tabs/display.vue
浏览文件 @
55378c04
...
...
@@ -67,9 +67,8 @@
const
isLoading
=
ref
(
true
)
const
params
=
ref
({
pageNum
:
1
,
pageSize
:
20
,
// salesMonth: new Date(),
salesMonth
:
''
,
pageSize
:
50
,
salesMonth
:
new
Date
(),
deptName
:
''
,
dealerCN
:
''
,
lineNameLike
:
''
,
...
...
src/views/promotion/display_schedule/tabs/schedule.vue
浏览文件 @
55378c04
...
...
@@ -60,7 +60,12 @@
if
(
col
.
requestKey
)
{
// 关联的公式计算列,需要特殊处理
for
(
const
str
of
col
.
requestKey
)
{
const
obj
=
getSchedulePlanConfig
().
find
(
item
=>
item
.
prop
==
str
)
const
obj
=
getSchedulePlanConfig
().
flatMap
(
item
=>
{
if
(
item
.
children
)
{
return
item
.
children
.
filter
(
child
=>
!
child
.
onlyFill
);
}
return
[];
}).
find
(
item
=>
item
.
prop
==
str
)
if
(
obj
&&
obj
.
type
===
'formula'
)
{
obj
.
func
(
row
)
}
...
...
@@ -84,7 +89,7 @@
const
isLoading
=
ref
(
true
)
const
params
=
ref
({
pageNum
:
1
,
pageSize
:
2
0
,
pageSize
:
5
0
,
salesMonth
:
new
Date
(),
deptName
:
''
,
dealerCN
:
''
,
...
...
src/views/promotion/display_schedule/tabs/schedule_dis.vue
浏览文件 @
55378c04
...
...
@@ -31,7 +31,12 @@
// 关联的公式计算列,需要特殊处理
for
(
const
str
of
col
.
requestKey
)
{
const
obj
=
getScheduleDisConfig
().
find
(
item
=>
item
.
prop
===
str
)
const
obj
=
getScheduleDisConfig
().
flatMap
(
item
=>
{
if
(
item
.
children
)
{
return
item
.
children
.
filter
(
child
=>
!
child
.
onlyFill
);
}
return
[];
}).
find
(
item
=>
item
.
prop
===
str
)
if
(
obj
&&
obj
.
type
===
'formula'
)
{
obj
.
func
(
row
)
}
...
...
@@ -41,6 +46,11 @@
id
:
row
.
sapdId
,
[
col
.
prop
]:
row
[
col
.
prop
],
// 当前修改列的值
...
col
.
requestKey
.
reduce
((
acc
,
key
)
=>
({
...
acc
,
[
key
]:
row
[
key
]
}),
{}),
// 额外携带影响的列字段值
// 特殊类型字段处理
// 端架数量实际
actualEndCapQty
:
row
.
actualEndCapQty
||
0
,
// 地堆平米数实际
actualFloorStackArea
:
row
.
actualFloorStackArea
||
0
,
})
}
// 全部列
...
...
@@ -51,7 +61,7 @@
const
isLoading
=
ref
(
true
)
const
params
=
ref
({
pageNum
:
1
,
pageSize
:
2
0
,
pageSize
:
5
0
,
salesMonth
:
new
Date
(),
deptName
:
''
,
dealerCN
:
''
,
...
...
@@ -88,6 +98,10 @@
item
.
plannedPromotionDisplayEndDate
=
parseTime
(
item
.
plannedPromotionDisplayEndDate
,
'{y}-{m}-{d}'
)
// 修改时间
item
.
updateTime
=
parseTime
(
item
.
updateTime
,
'{y}-{m}-{d} {h}:{i}:{s}'
)
// 特殊类型处理
item
.
actualEndCapQty
=
item
.
actualEndCapQty
||
''
item
.
actualFloorStackArea
=
item
.
actualFloorStackArea
||
''
})
tableData
.
value
=
res
.
data
.
rows
total
.
value
=
res
.
data
.
total
...
...
src/views/promotion/display_schedule/tabs/six_little_diamonds.vue
浏览文件 @
55378c04
...
...
@@ -32,7 +32,12 @@
if
(
col
.
requestKey
)
{
// 关联的公式计算列,需要特殊处理
for
(
const
str
of
col
.
requestKey
)
{
const
obj
=
getSixLittleDiamondsConfig
().
find
(
item
=>
item
.
prop
===
str
)
const
obj
=
getSixLittleDiamondsConfig
().
flatMap
(
item
=>
{
if
(
item
.
children
)
{
return
item
.
children
.
filter
(
child
=>
!
child
.
onlyFill
);
}
return
[];
}).
find
(
item
=>
item
.
prop
===
str
)
if
(
obj
&&
obj
.
type
===
'formula'
)
{
obj
.
func
(
row
)
}
...
...
@@ -56,7 +61,7 @@
const
params
=
ref
({
pageNum
:
1
,
pageSize
:
2
0
,
pageSize
:
5
0
,
salesMonth
:
new
Date
(),
deptName
:
''
,
dealerCN
:
''
,
...
...
src/views/promotion/display_schedule/tabs/snack.vue
浏览文件 @
55378c04
...
...
@@ -31,7 +31,12 @@
// 关联的公式计算列,需要特殊处理
for
(
const
str
of
col
.
requestKey
)
{
const
obj
=
getSnackCofing
().
find
(
item
=>
item
.
prop
===
str
)
const
obj
=
getSnackCofing
().
flatMap
(
item
=>
{
if
(
item
.
children
)
{
return
item
.
children
.
filter
(
child
=>
!
child
.
onlyFill
);
}
return
[];
}).
find
(
item
=>
item
.
prop
===
str
)
if
(
obj
&&
obj
.
type
===
'formula'
)
{
obj
.
func
(
row
)
}
...
...
@@ -88,7 +93,7 @@
const
isLoading
=
ref
(
true
)
const
params
=
ref
({
pageNum
:
1
,
pageSize
:
2
0
,
pageSize
:
5
0
,
salesMonth
:
new
Date
(),
deptName
:
''
,
dealerCN
:
''
,
...
...
src/views/promotion/display_schedule/tabs/three_two_seconds.vue
浏览文件 @
55378c04
...
...
@@ -18,7 +18,6 @@
import
SearchList
from
'@/views/promotion/components/SearchList'
import
{
getThreeMetersTwoSecondsPlanList
,
submitThreeMetersTwoSecondsPlan
}
from
'@/api'
import
{
getThreeTwoSecondsConfig
}
from
'./data.jsx'
import
{
parseTime
}
from
'@/utils'
const
{
proxy
}
=
getCurrentInstance
()
...
...
@@ -34,7 +33,12 @@
if
(
col
.
requestKey
)
{
// 关联的公式计算列,需要特殊处理
for
(
const
str
of
col
.
requestKey
)
{
const
obj
=
getThreeTwoSecondsConfig
().
find
(
item
=>
item
.
prop
===
str
)
const
obj
=
getThreeTwoSecondsConfig
().
flatMap
(
item
=>
{
if
(
item
.
children
)
{
return
item
.
children
.
filter
(
child
=>
!
child
.
onlyFill
);
}
return
[];
}).
find
(
item
=>
item
.
prop
===
str
)
if
(
obj
&&
obj
.
type
===
'formula'
)
{
obj
.
func
(
row
)
}
...
...
@@ -58,7 +62,7 @@
const
params
=
ref
({
pageNum
:
1
,
pageSize
:
2
0
,
pageSize
:
5
0
,
salesMonth
:
new
Date
(),
deptName
:
''
,
dealerCN
:
''
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论