Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-4
Commits
0c6e26ab
Commit
0c6e26ab
authored
Nov 20, 2020
by
Kyle_Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: update
parent
d27bd78a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
9 deletions
+13
-9
perfect-day-target.vue
src/views/apps/target-manage/perfect-day-target.vue
+2
-2
quota-set.vue
src/views/apps/target-manage/quota-set.vue
+4
-2
target-store.vue
src/views/apps/target-manage/target-store.vue
+7
-5
No files found.
src/views/apps/target-manage/perfect-day-target.vue
View file @
0c6e26ab
...
...
@@ -11,14 +11,14 @@
<el-form
:model=
"form"
label-width=
"110px"
>
<el-form-item
label=
"门店名称"
>
{{
form
.
storeName
||
'--'
}}
</el-form-item>
<el-form-item
label=
"指标额"
>
¥
{{
form
.
perfromanceValue
}}
¥
{{
parseFloat
(
form
.
performanceValue
).
toFixed
(
2
)
}}
<el-button
type=
"text"
@
click=
"dialogVisible=true"
>
修改
</el-button>
</el-form-item>
<el-form-item
label=
"指标类型"
>
业绩指标日权重
</el-form-item>
<el-form-item
label=
""
>
<div
class=
"content-data"
>
<span
class=
"color2"
>
月指标:¥
</span>
<span
class=
"color1"
>
100,000
</span>
<span
class=
"color1"
>
{{
parseFloat
(
form
.
performanceValue
).
toFixed
(
2
)
}}
</span>
<span
class=
"color2"
>
日指标总和:¥
</span>
<span
class=
"color1"
:style=
"
{ color: totalDayTarget > monthTarget ? '#F5222D' : '#606266' }">
{{
parseFloat
(
totalDayTarget
).
toFixed
(
2
)
}}
</span>
</div>
...
...
src/views/apps/target-manage/quota-set.vue
View file @
0c6e26ab
...
...
@@ -8,7 +8,7 @@
-->
<!-- -->
<
template
>
<div
class=
"common-app-right"
style=
"padding: 0"
v-loading=
"loading"
>
<div
class=
"common-app-right"
style=
"padding: 0"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"getData"
>
<el-tab-pane
label=
"已设置指标门店"
name=
"0"
></el-tab-pane>
<el-tab-pane
label=
"未设置指标门店"
name=
"1"
></el-tab-pane>
...
...
@@ -89,6 +89,7 @@
<el-table
:data=
"tableData"
:loading=
"loading"
style=
"width: 100%"
ref=
"multipleTable"
@
selection-change=
"handleSelectionChange"
>
...
...
@@ -304,7 +305,8 @@ export default {
// 门店分组change
checkGroupIds
(
nodes
)
{
console
.
log
(
nodes
);
this
.
search
.
storeParam
=
nodes
.
map
(
item
=>
item
[
this
.
form
.
storeType
===
'1'
?
'storeGroupId'
:
'tagId'
]).
join
(
','
);
this
.
search
.
storeParam
=
nodes
.
map
(
item
=>
item
[
this
.
search
.
storeType
===
'1'
?
'storeGroupId'
:
'storeTagId'
]).
join
(
','
);
this
.
searchChange
();
}
,
storeChange
()
{
this
.
search
.
storeParam
=
''
;
...
...
src/views/apps/target-manage/target-store.vue
View file @
0c6e26ab
...
...
@@ -7,7 +7,7 @@
* @LastEditTime: 2020-11-09 10:40:34
-->
<
template
>
<div
class=
"common-app-right"
v-loading=
"loading"
>
<div
class=
"common-app-right"
>
<div
class=
"list-content"
>
<div
class=
"content-search"
>
...
...
@@ -73,6 +73,7 @@
<el-table
:data=
"tableData"
:loading=
"loading"
style=
"width: 100%"
ref=
"multipleTable"
@
selection-change=
"handleSelectionChange"
>
...
...
@@ -94,7 +95,7 @@
{{
[
'业绩'
,
'新增会员'
][
tab
-
1
]
}}
指标
</
template
>
<
template
slot-scope=
"{row}"
>
{{
row
.
perf
romanceValue
?
`¥${row.perfro
manceValue
}
`
:
'--'
}}
{{
row
.
perf
ormanceValue
?
`¥${row.perfor
manceValue
}
`
:
'--'
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"日指标"
show
-
overflow
-
tooltip
>
...
...
@@ -147,7 +148,7 @@
performanceType: row.performanceType,
storeInfoId: row.storeInfoId,
storeName: row.storeName,
perf
romanceValue: row.perfro
manceValue,
perf
ormanceValue: row.perfor
manceValue,
flag: row.clerkFlag == 1
}
}
)"
>
...
...
@@ -165,7 +166,7 @@
performanceType: row.performanceType,
storeInfoId: row.storeInfoId,
storeName: row.storeName,
perf
romanceValue: row.perfro
manceValue,
perf
ormanceValue: row.perfor
manceValue,
flag: row.dayFlag == 1
}
}
)"
>
...
...
@@ -321,7 +322,8 @@ export default {
// 门店分组change
checkGroupIds
(
nodes
)
{
console
.
log
(
nodes
);
this
.
search
.
storeParam
=
nodes
.
map
(
item
=>
item
[
this
.
form
.
storeType
===
'1'
?
'storeGroupId'
:
'tagId'
]).
join
(
','
);
this
.
search
.
storeParam
=
nodes
.
map
(
item
=>
item
[
this
.
search
.
storeType
===
'1'
?
'storeGroupId'
:
'storeTagId'
]).
join
(
','
);
this
.
searchChange
();
}
,
storeChange
()
{
this
.
search
.
storeParam
=
''
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment