Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
0ab6557b
Commit
0ab6557b
authored
May 04, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
57023109
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
OrderList.vue
src/components/myOrdersAllType/components/OrderList.vue
+2
-2
allList.vue
src/components/myOrdersAllType/components/allList.vue
+1
-1
No files found.
src/components/myOrdersAllType/components/OrderList.vue
View file @
0ab6557b
<
template
>
<
template
>
<el-table
border
ref=
"multipleTable"
:data=
"OrderList"
style=
"width: 100%"
<el-table
border
ref=
"multipleTable"
:data=
"OrderList"
style=
"width: 100%"
:default-sort=
"
{prop: 'null', order: 'null'}"
:default-sort=
"
{prop: 'null', order: 'null'}"
:sort-by="['Money','Income','PreferTipAmount','P
referTipAmount','P
latformTax','Refund','CostMoney','OrderProfit','DueInMoney']">
:sort-by="['Money','Income','PreferTipAmount','PlatformTax','Refund','CostMoney','OrderProfit','DueInMoney']">
<el-table-column
width=
"200"
prop=
"CreateTimeStr"
label=
"订单Id"
show-overflow-tooltip
>
<el-table-column
width=
"200"
prop=
"CreateTimeStr"
label=
"订单Id"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<div>
<div>
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
</el-table-column>
</el-table-column>
<el-table-column
sortable
prop=
"OrderProfit"
label=
"预期利润"
min-width=
"100"
>
<el-table-column
sortable
prop=
"OrderProfit"
label=
"预期利润"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
:class=
"
{'red':scope.row.OrderProfit
<
0
}"
>
{{
scope
.
row
.
OrderProfit
}}
</span>
<span
:class=
"
{'red':scope.row.OrderProfit
>
0}">
{{
scope
.
row
.
OrderProfit
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
sortable
prop=
"DiscountsMoney"
label=
"优惠"
>
<el-table-column
sortable
prop=
"DiscountsMoney"
label=
"优惠"
>
...
...
src/components/myOrdersAllType/components/allList.vue
View file @
0ab6557b
...
@@ -274,7 +274,7 @@
...
@@ -274,7 +274,7 @@
<span
:style=
"
{'color': item.DueInMoney>0?'red':''}">
{{
item
.
DueInMoney
.
toFixed
(
2
)
}}
</span>
<span
:style=
"
{'color': item.DueInMoney>0?'red':''}">
{{
item
.
DueInMoney
.
toFixed
(
2
)
}}
</span>
</span>
</span>
<span>
预期利润:
<span>
预期利润:
{{
item
.
OrderProfit
.
toFixed
(
2
)
}}
<span
:style=
"
{'color': item.OrderProfit>0?'red':''}">
{{
item
.
OrderProfit
.
toFixed
(
2
)
}}
</span>
</span>
</span>
<span>
预期销售额:
<span>
预期销售额:
{{
item
.
OrderSalesMoney
.
toFixed
(
2
)
}}
{{
item
.
OrderSalesMoney
.
toFixed
(
2
)
}}
...
...
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