Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
2d71eb3c
提交
2d71eb3c
authored
7月 24, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(promotion): 新增:促销计划把促销员薪资和杂费改为是否有促销台和活动品项,新增促销员午休开始和结束时间
上级
6dd85bc3
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
56 行增加
和
14 行删除
+56
-14
effectivePlan.vue
src/views/promotion/plan/effectivePlan.vue
+56
-14
没有找到文件。
src/views/promotion/plan/effectivePlan.vue
浏览文件 @
2d71eb3c
...
@@ -751,19 +751,39 @@ const columns = ref([
...
@@ -751,19 +751,39 @@ const columns = ref([
prop
:
'clockInTime'
,
prop
:
'clockInTime'
,
width
:
180
width
:
180
},
},
{
label
:
'午休开始时间'
,
prop
:
'noonClockOutTime'
,
width
:
180
},
{
label
:
'午休结束时间'
,
prop
:
'noonClockInTime'
,
width
:
180
},
{
{
label
:
'下班时间'
,
label
:
'下班时间'
,
prop
:
'clockOutTime'
,
prop
:
'clockOutTime'
,
width
:
180
width
:
180
},
},
// {
// label: '促销员薪资',
// prop: 'salary',
// width: 100
// },
// {
// label: '杂费',
// prop: 'incidentals',
// width: 100
// },
{
{
label
:
'促销员薪资'
,
label
:
"是否有促销台"
,
prop
:
'salary'
,
prop
:
"temWlSct"
,
width
:
1
0
0
width
:
1
2
0
},
},
{
{
label
:
'杂费'
,
label
:
"活动品项"
,
prop
:
'incidentals'
,
prop
:
"prdClass"
,
width
:
100
width
:
100
},
},
{
{
...
@@ -797,7 +817,7 @@ const formatter = (row, col, value) => {
...
@@ -797,7 +817,7 @@ const formatter = (row, col, value) => {
return
parseTime
(
row
[
'date'
],
'周{a}'
)
return
parseTime
(
row
[
'date'
],
'周{a}'
)
}
else
if
(
col
.
property
===
'modifyTime'
)
{
}
else
if
(
col
.
property
===
'modifyTime'
)
{
return
parseTime
(
value
,
'{y}-{m}-{d} {h}:{i}:{s}'
)
return
parseTime
(
value
,
'{y}-{m}-{d} {h}:{i}:{s}'
)
}
else
if
(
col
.
property
===
'clockInTime'
||
col
.
property
===
'clockOutTime'
)
{
}
else
if
(
col
.
property
===
'clockInTime'
||
col
.
property
===
'clockOutTime'
||
col
.
property
===
'noonClockOutTime'
||
col
.
property
===
'noonClockInTime'
)
{
return
parseTime
(
value
)
return
parseTime
(
value
)
}
else
if
(
col
.
property
===
'employeeName'
)
{
}
else
if
(
col
.
property
===
'employeeName'
)
{
// 判断归属人名字小于 4 个字,少于几个就加几个空格
// 判断归属人名字小于 4 个字,少于几个就加几个空格
...
@@ -808,9 +828,11 @@ const formatter = (row, col, value) => {
...
@@ -808,9 +828,11 @@ const formatter = (row, col, value) => {
}
else
{
}
else
{
return
value
+
'('
+
row
.
employeeNo
+
')'
return
value
+
'('
+
row
.
employeeNo
+
')'
}
}
}
else
if
(
col
.
property
===
'salary'
||
col
.
property
===
'incidentals'
)
{
}
return
'¥ '
+
value
+
' 元'
// else if (col.property === 'salary' || col.property === 'incidentals') {
}
else
{
// return '¥ ' + value + ' 元'
// }
else
{
return
value
return
value
}
}
}
}
...
@@ -920,19 +942,39 @@ const confirmTableColumns = ref([
...
@@ -920,19 +942,39 @@ const confirmTableColumns = ref([
prop
:
'clockInTime'
,
prop
:
'clockInTime'
,
width
:
180
width
:
180
},
},
{
label
:
'午休开始时间'
,
prop
:
'noonClockOutTime'
,
width
:
180
},
{
label
:
'午休结束时间'
,
prop
:
'noonClockInTime'
,
width
:
180
},
{
{
label
:
'下班时间'
,
label
:
'下班时间'
,
prop
:
'clockOutTime'
,
prop
:
'clockOutTime'
,
width
:
180
width
:
180
},
},
// {
// label: '促销员薪资',
// prop: 'salary',
// width: 100
// },
// {
// label: '杂费',
// prop: 'incidentals',
// width: 100
// },
{
{
label
:
'促销员薪资'
,
label
:
"是否有促销台"
,
prop
:
'salary'
,
prop
:
"temWlSct"
,
width
:
1
0
0
width
:
1
2
0
},
},
{
{
label
:
'杂费'
,
label
:
"活动品项"
,
prop
:
'incidentals'
,
prop
:
"prdClass"
,
width
:
100
width
:
100
},
},
// {
// {
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论