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
c399ddd6
Commit
c399ddd6
authored
Feb 05, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
adbaceaf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
PriceDetail.vue
src/components/orderCommon/PriceDetail.vue
+9
-8
No files found.
src/components/orderCommon/PriceDetail.vue
View file @
c399ddd6
...
@@ -45,6 +45,7 @@
...
@@ -45,6 +45,7 @@
>
>
<div>
<div>
总金额:
{{
Getdetail
().
datas
}}
=
{{
Getdetail
().
Total
}}
总金额:
{{
Getdetail
().
datas
}}
=
{{
Getdetail
().
Total
}}
<span
style=
"color: red;margin-left: 10px; font-size: 11px;"
>
注:如计算应收与订单应收不一致,请看订单日志可能存在其他修改。
</span>
</div>
</div>
<!--
<!--
decimal PreferPrice = ((dmodel.Unit_Price ?? 0) - (model.DiscountPrice ?? 0)) * (dmodel.ManNum ?? 0);
decimal PreferPrice = ((dmodel.Unit_Price ?? 0) - (model.DiscountPrice ?? 0)) * (dmodel.ManNum ?? 0);
...
@@ -293,7 +294,7 @@
...
@@ -293,7 +294,7 @@
else
{
else
{
String2
=
`+(
${
childItem
.
Unit_Price
}
+
${
OrderPrice
.
BabyChargePrice
}
) *
${
childItem
.
ChirdNum
}
`
String2
=
`+(
${
childItem
.
Unit_Price
}
+
${
OrderPrice
.
BabyChargePrice
}
) *
${
childItem
.
ChirdNum
}
`
}
}
Price2
=
(
childItem
.
Unit_Price
+
OrderPrice
.
BabyChargePrice
-
(
childItem
.
DiscountPrice
>
0
?
childItem
.
DiscountPrice
:
0
))
*
childItem
.
ChirdNum
Price2
=
(
childItem
.
Unit_Price
+
OrderPrice
.
BabyChargePrice
-
(
childItem
.
DiscountPrice
>
0
?
childItem
.
DiscountPrice
:
0
))
*
childItem
.
ChirdNum
console
.
log
(
String1
,
Price2
,
'------String2'
)
console
.
log
(
String1
,
Price2
,
'------String2'
)
}
}
...
@@ -309,7 +310,7 @@
...
@@ -309,7 +310,7 @@
else
{
else
{
String4
=
`+(
${
OrderPrice
.
Unit_Price
}
+
${
OrderPrice
.
OldManChargePrice
}
) *
${
childItem
.
OldPeopleNum
}
`
String4
=
`+(
${
OrderPrice
.
Unit_Price
}
+
${
OrderPrice
.
OldManChargePrice
}
) *
${
childItem
.
OldPeopleNum
}
`
}
}
Price4
=
(
OrderPrice
.
Unit_Price
+
OrderPrice
.
OldManChargePrice
-
childItem
.
DiscountPrice
)
*
childItem
.
OldPeopleNum
Price4
=
(
OrderPrice
.
Unit_Price
+
OrderPrice
.
OldManChargePrice
-
childItem
.
DiscountPrice
)
*
childItem
.
OldPeopleNum
console
.
log
(
String1
,
Price4
,
'------String4'
)
console
.
log
(
String1
,
Price4
,
'------String4'
)
}
}
...
@@ -328,20 +329,20 @@
...
@@ -328,20 +329,20 @@
Price7
=
OrderPrice
.
BackVisaPrice
*
(
TotalPNum
+
childItem
.
BabyNum
-
childItem
.
VisaNum
)
Price7
=
OrderPrice
.
BackVisaPrice
*
(
TotalPNum
+
childItem
.
BabyNum
-
childItem
.
VisaNum
)
console
.
log
(
String7
,
Price7
,
'------String7'
)
console
.
log
(
String7
,
Price7
,
'------String7'
)
}
}
if
(
childItem
.
SingleRoomNum
>
0
){
if
(
childItem
.
SingleRoomNum
>
0
){
String8
=
`+(
${
childItem
.
SingleRoomNum
}
*
${
OrderPrice
.
SingleRoomPrice
}
)`
String8
=
`+(
${
childItem
.
SingleRoomNum
}
*
${
OrderPrice
.
SingleRoomPrice
}
)`
Price8
=
childItem
.
SingleRoomNum
*
OrderPrice
.
SingleRoomPrice
Price8
=
childItem
.
SingleRoomNum
*
OrderPrice
.
SingleRoomPrice
console
.
log
(
String8
,
Price8
,
'------String8'
)
console
.
log
(
String8
,
Price8
,
'------String8'
)
}
}
if
(
childItem
.
ChirdNeedBedNum
>
0
){
if
(
childItem
.
ChirdNeedBedNum
>
0
){
String9
=
`+(
${
childItem
.
ChirdNeedBedNum
}
*
${
OrderPrice
.
ChildNeedPrice
}
)`
String9
=
`+(
${
childItem
.
ChirdNeedBedNum
}
*
${
OrderPrice
.
ChildNeedPrice
}
)`
Price9
=
childItem
.
ChirdNeedBedNum
*
OrderPrice
.
ChildNeedPrice
Price9
=
childItem
.
ChirdNeedBedNum
*
OrderPrice
.
ChildNeedPrice
console
.
log
(
String9
,
Price9
,
'------String9'
)
console
.
log
(
String9
,
Price9
,
'------String9'
)
}
}
if
(
childItem
.
ChirdNum
){
if
(
childItem
.
ChirdNum
){
if
(
childItem
.
ChirdNeedBedNum
>
0
){
if
(
childItem
.
ChirdNeedBedNum
>
0
){
String10
=
`+((
${
childItem
.
ChirdNum
}
-
${
childItem
.
ChirdNeedBedNum
}
) *
${
OrderPrice
.
ChildNoNeedPrice
}
)`
String10
=
`+((
${
childItem
.
ChirdNum
}
-
${
childItem
.
ChirdNeedBedNum
}
) *
${
OrderPrice
.
ChildNoNeedPrice
}
)`
...
@@ -360,14 +361,14 @@ if(childItem.ChirdNum){
...
@@ -360,14 +361,14 @@ if(childItem.ChirdNum){
String11
+=
`+
${
OrderPrice
.
BackAddPrice
}
`
String11
+=
`+
${
OrderPrice
.
BackAddPrice
}
`
Price11
+=
OrderPrice
.
BackAddPrice
Price11
+=
OrderPrice
.
BackAddPrice
}
}
console
.
log
(
String11
,
Price11
,
'------String11'
)
console
.
log
(
String11
,
Price11
,
'------String11'
)
if
(
childItem
.
AirticketNum
>
0
){
if
(
childItem
.
AirticketNum
>
0
){
String12
=
`+(
${
OrderPrice
.
SingleDMCPrice
}
*
${
childItem
.
AirticketNum
}
)`
String12
=
`+(
${
OrderPrice
.
SingleDMCPrice
}
*
${
childItem
.
AirticketNum
}
)`
Price12
=
OrderPrice
.
SingleDMCPrice
*
childItem
.
AirticketNum
Price12
=
OrderPrice
.
SingleDMCPrice
*
childItem
.
AirticketNum
console
.
log
(
String12
,
Price12
,
'------String10'
)
console
.
log
(
String12
,
Price12
,
'------String10'
)
}
}
datas
=
`
${
String1
}${
String2
}${
String3
}${
String4
}${
String5
}${
String6
}${
String7
}${
String8
}${
String9
}${
String10
}${
String11
}${
String12
}
`
datas
=
`
${
String1
}${
String2
}${
String3
}${
String4
}${
String5
}${
String6
}${
String7
}${
String8
}${
String9
}${
String10
}${
String11
}${
String12
}
`
Total
=
Price1
+
Price2
+
Price3
+
Price4
+
Price5
+
Price6
+
Price7
+
Price8
+
Price9
+
Price10
+
Price11
+
Price12
Total
=
Price1
+
Price2
+
Price3
+
Price4
+
Price5
+
Price6
+
Price7
+
Price8
+
Price9
+
Price10
+
Price11
+
Price12
...
...
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