Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
33ae6b08
Commit
33ae6b08
authored
Oct 22, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 调整连带率时间限制
parent
fa4bc837
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
validateNum.js
src/mixins/validateNum.js
+2
-1
touch-clue.vue
src/views/ecm/touch-clue.vue
+2
-2
No files found.
src/mixins/validateNum.js
View file @
33ae6b08
...
...
@@ -13,7 +13,8 @@ export default {
return
val
=>
parseFloat
(
val
||
0
).
toLocaleString
(
'zh'
,
{
minimumFractionDigits
:
2
});
},
timeLimit
()
{
return
this
.
$route
.
query
.
createTime
>
1635350400000
;
// return this.$route.query.createTime > 1635350400000;
return
this
.
$route
.
query
.
createTime
>
1635091200000
;
}
}
};
src/views/ecm/touch-clue.vue
View file @
33ae6b08
...
...
@@ -167,7 +167,7 @@ export default {
meth
(
params
).
then
(
res
=>
{
const
data
=
res
.
result
||
{};
if
(
this
.
type
==
'计划整体'
)
{
data
.
customrPrice
=
data
.
convSalesAmt
*
1
&&
data
.
convMbrNum
*
1
?
(
data
.
convSalesAmt
/
data
.
convMbrNum
).
toFixed
(
2
)
:
'--'
;
data
.
customrPrice
=
data
.
convSalesAmt
*
1
&&
data
.
convMbrNum
*
1
?
(
data
.
convSalesAmt
/
data
.
convMbrNum
).
toFixed
(
2
)
:
0
;
data
.
relatedRate
=
data
.
convGoodsCnt
*
1
&&
data
.
convOrderCnt
*
1
?
(
data
.
convGoodsCnt
/
data
.
convOrderCnt
).
toFixed
(
2
)
:
'--'
;
data
.
taskRate
=
(
data
.
cplTaskTotalCnt
/
data
.
taskCnt
)
*
100
;
...
...
@@ -327,7 +327,7 @@ export default {
return
;
}
this
.
tableList
=
res
.
result
.
result
.
map
((
el
,
index
)
=>
{
el
.
customrPrice
=
el
.
convSalesAmt
*
1
&&
el
.
convMbrNum
*
1
?
(
el
.
convSalesAmt
/
el
.
convMbrNum
).
toFixed
(
2
)
:
'--'
;
el
.
customrPrice
=
el
.
convSalesAmt
*
1
&&
el
.
convMbrNum
*
1
?
(
el
.
convSalesAmt
/
el
.
convMbrNum
).
toFixed
(
2
)
:
0
;
el
.
relatedRate
=
el
.
convGoodsCnt
*
1
&&
el
.
convOrderCnt
*
1
?
(
el
.
convGoodsCnt
/
el
.
convOrderCnt
).
toFixed
(
2
)
:
'--'
;
if
(
el
.
groupName
==
'区域合计'
)
{
el
.
index
=
''
;
...
...
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