Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0049a6cb
authored
Jan 27, 2021
by
吴娟华
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
'修复'
1 parent
2867e5f7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
src/views/financeManage/financeDetail.vue
src/views/index/index.vue
src/views/financeManage/financeDetail.vue
View file @
0049a6c
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
<table
class=
"finnance_table"
>
<table
class=
"finnance_table"
>
<tr>
<tr>
<td
colspan=
"7"
class=
"finnance_table_title"
>
订单分账详情
<td
colspan=
"7"
class=
"finnance_table_title"
>
订单分账详情
<div
style=
"float:right; font-size:14px;"
>
分账规则:此笔订单按
<strong>
收入
</strong>
分成方法计算。
</div>
<div
style=
"float:right; font-size:14px;"
>
分账规则:此笔订单按
<strong>
{{
shopProfitTypeOpts
[
detail
.
shopProfitType
]
}}
</strong>
分成方法计算。
</div>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -184,7 +184,11 @@ export default {
...
@@ -184,7 +184,11 @@ export default {
},{
},{
name
:
'xx'
name
:
'xx'
}],
}],
detail
:
{}
detail
:
{},
shopProfitTypeOpts
:
{
'1'
:
'毛利'
,
'2'
:
'收入'
},
}
}
},
},
...
...
src/views/index/index.vue
View file @
0049a6c
...
@@ -493,7 +493,7 @@ export default {
...
@@ -493,7 +493,7 @@ export default {
let
idObj
=
{}
let
idObj
=
{}
for
(
let
key
in
data
)
{
for
(
let
key
in
data
)
{
let
index
=
moment
(
key
).
format
(
'E'
)
-
1
let
index
=
moment
(
key
).
format
(
'E'
)
-
1
if
(
index
==
5
)
continue
let
list
=
data
[
key
]
let
list
=
data
[
key
]
list
.
sort
((
a
,
b
)
=>
{
list
.
sort
((
a
,
b
)
=>
{
return
b
.
goodsTotal
-
a
.
goodsTotal
return
b
.
goodsTotal
-
a
.
goodsTotal
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment