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
d2c74558
Commit
d2c74558
authored
May 06, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
6c5b0778
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
VisaProductOrder.vue
src/components/SalesVisa/VisaProductOrder.vue
+5
-4
OrderList.vue
src/components/scenicSpot/reservation/OrderList.vue
+5
-2
ReservationOrder.vue
src/components/scenicSpot/reservation/ReservationOrder.vue
+5
-0
No files found.
src/components/SalesVisa/VisaProductOrder.vue
View file @
d2c74558
...
@@ -877,10 +877,11 @@
...
@@ -877,10 +877,11 @@
<th
width=
"7%"
>
出发日期
</th>
<th
width=
"7%"
>
出发日期
</th>
<th
width=
"7%"
>
报名日期
</th>
<th
width=
"7%"
>
报名日期
</th>
<th
width=
"7%"
>
应收总额
</th>
<th
width=
"7%"
>
应收总额
</th>
<th
width=
"7%"
>
成本
</th>
<th
width=
"7%"
>
实收
</th>
<th
width=
"7%"
>
实收
</th>
<th
width=
"5%"
>
退款
</th>
<th
width=
"5%"
>
退款
</th>
<th
width=
"5%"
>
平台税金
</th>
<th
width=
"5%"
>
平台税金
</th>
<th
width=
"7%"
>
成本
</th>
<th
width=
"5%"
>
优惠
</th>
<th
width=
"5%"
>
优惠
</th>
<th
width=
"5%"
>
待收
</th>
<th
width=
"5%"
>
待收
</th>
<th
width=
"5%"
>
在途
</th>
<th
width=
"5%"
>
在途
</th>
...
@@ -909,9 +910,6 @@
...
@@ -909,9 +910,6 @@
<td>
<td>
<span
class=
"totalPrice"
>
¥
{{
moneyFormat
(
item
.
TotalPrice
)
}}
</span>
<span
class=
"totalPrice"
>
¥
{{
moneyFormat
(
item
.
TotalPrice
)
}}
</span>
</td>
</td>
<td>
<span
class=
"income"
>
¥
{{
moneyFormat
(
item
.
CostMoney
)
}}
</span>
</td>
<td>
<td>
<span
class=
"income"
>
¥
{{
moneyFormat
(
item
.
Income
)
}}
</span>
<span
class=
"income"
>
¥
{{
moneyFormat
(
item
.
Income
)
}}
</span>
</td>
</td>
...
@@ -921,6 +919,9 @@
...
@@ -921,6 +919,9 @@
<td>
<td>
<span>
¥
{{
moneyFormat
(
item
.
PlatformTax
)
}}
</span>
<span>
¥
{{
moneyFormat
(
item
.
PlatformTax
)
}}
</span>
</td>
</td>
<td>
<span>
¥
{{
moneyFormat
(
item
.
CostMoney
)
}}
</span>
</td>
<td>
<td>
<span>
¥
{{
moneyFormat
(
item
.
DiscountMoney
)
}}
</span>
<span>
¥
{{
moneyFormat
(
item
.
DiscountMoney
)
}}
</span>
</td>
</td>
...
...
src/components/scenicSpot/reservation/OrderList.vue
View file @
d2c74558
...
@@ -614,7 +614,10 @@
...
@@ -614,7 +614,10 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"待收"
min-width=
"100"
>
<el-table-column
label=
"待收"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
:class=
"
{'cF1416C':(item.Money-scope.row.Income-scope.row.PlatformTax+scope.row.Refund).toFixed(2)!=0}">
{{
(
item
.
Money
-
scope
.
row
.
Income
-
scope
.
row
.
PlatformTax
+
scope
.
row
.
Refund
).
toFixed
(
2
)
}}
</span>
<span
class=
"fz15 fbold"
:class=
"
{'cF1416C':item.DaiShou>0}">
{{
item
.
DaiShou
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"利润"
min-width=
"100"
>
<el-table-column
label=
"利润"
min-width=
"100"
>
...
@@ -755,7 +758,7 @@
...
@@ -755,7 +758,7 @@
<div
class=
"row-c justify-sb pb5"
:class=
"{'borderD':item.MailingMoney>0||item.DiscountsMoney>0}"
>
<div
class=
"row-c justify-sb pb5"
:class=
"{'borderD':item.MailingMoney>0||item.DiscountsMoney>0}"
>
<span
class=
"fz12 c9e"
>
订单总金额
</span>
<span
class=
"fz12 c9e"
>
订单总金额
</span>
<div
class=
"ml"
>
<div
class=
"ml"
>
<span
class=
"fz15 fbold"
>
{{
item.Money
.toFixed(2) }}
</span>
<span
class=
"fz15 fbold"
>
{{
(item.Money+item.MailingMoney)
.toFixed(2) }}
</span>
<span
class=
"fz12"
>
{{ item.CurrencyName }}
</span>
<span
class=
"fz12"
>
{{ item.CurrencyName }}
</span>
</div>
</div>
</div>
</div>
...
...
src/components/scenicSpot/reservation/ReservationOrder.vue
View file @
d2c74558
...
@@ -420,11 +420,13 @@ export default {
...
@@ -420,11 +420,13 @@ export default {
let
addList
=
function
(
arr
){
let
addList
=
function
(
arr
){
arr
.
forEach
(
x
=>
{
arr
.
forEach
(
x
=>
{
x
.
list
=
[]
x
.
list
=
[]
x
.
DaiShou
=
0
})
})
}
}
addList
(
data
)
addList
(
data
)
data
.
forEach
((
x
)
=>
{
data
.
forEach
((
x
)
=>
{
// x.Money = 0
// x.Money = 0
let
Money
=
0
let
Money
=
0
x
.
DetailList
.
forEach
((
y
)
=>
{
x
.
DetailList
.
forEach
((
y
)
=>
{
Money
+=
y
.
Money
Money
+=
y
.
Money
...
@@ -440,6 +442,9 @@ export default {
...
@@ -440,6 +442,9 @@ export default {
PlatformTax
:
item
.
PlatformTax
,
PlatformTax
:
item
.
PlatformTax
,
Refund
:
item
.
Refund
Refund
:
item
.
Refund
}
}
let
DaiShou
DaiShou
=
Number
(
item
.
Money
+
item
.
MailingMoney
-
item
.
Income
-
item
.
PlatformTax
+
item
.
Refund
)
item
.
DaiShou
=
DaiShou
.
toFixed
(
2
)
===
'-0.00'
?
'0.00'
:
DaiShou
.
toFixed
(
2
)
item
.
list
.
push
(
datas
)
item
.
list
.
push
(
datas
)
})
})
this
.
total
=
res
.
data
.
data
.
count
;
this
.
total
=
res
.
data
.
data
.
count
;
...
...
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