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
23c0d0c7
Commit
23c0d0c7
authored
Jun 02, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
e921f7c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
52 deletions
+21
-52
order-form2.vue
src/components/orderCommon/order-form2.vue
+21
-52
No files found.
src/components/orderCommon/order-form2.vue
View file @
23c0d0c7
...
...
@@ -1012,12 +1012,8 @@
if
(
this
.
addMsg
.
GroupType
==
4
)
{
ChirdNum
=
0
;
}
let
count
=
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
ChirdNum
+
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
);
let
count
=
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
ChirdNum
+
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
);
if
(
count
<
this
.
addMsg
.
VisaNum
)
{
this
.
addMsg
.
VisaNum
=
count
;
this
.
Error
(
"签证人数不能大于总人数"
);
...
...
@@ -1677,58 +1673,37 @@
DiscountPrice
=
Number
(
this
.
priceObj
.
DiscountPrice
);
}
//成人价格=成人人数*(成交单价-早鸟优惠)
let
chengren
=
Number
(
this
.
addMsg
.
ManNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
-
DiscountPrice
);
let
chengren
=
Number
(
this
.
addMsg
.
ManNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
-
DiscountPrice
);
//儿童价格=儿童人数*(单价-早鸟优惠+儿童附加费)
let
ertong
=
Number
(
this
.
addMsg
.
ChirdNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
-
DiscountPrice
+
Number
(
this
.
priceObj
.
BabyChargePrice
));
let
ertong
=
Number
(
this
.
addMsg
.
ChirdNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
-
DiscountPrice
+
Number
(
this
.
priceObj
.
BabyChargePrice
));
//婴儿价格=婴儿人数*婴儿价格
let
yinger
=
Number
(
this
.
addMsg
.
BabyNum
)
*
Number
(
this
.
priceObj
.
BabyPrice
);
let
yinger
=
Number
(
this
.
addMsg
.
BabyNum
)
*
Number
(
this
.
priceObj
.
BabyPrice
);
//老人价格=老人人数*(单价-早鸟优惠+老人附加费)
let
laoren
=
Number
(
this
.
addMsg
.
OldPeopleNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
-
this
.
priceObj
.
DiscountPrice
+
this
.
priceObj
.
OldManChargePrice
);
let
laoren
=
Number
(
this
.
addMsg
.
OldPeopleNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
-
this
.
priceObj
.
DiscountPrice
+
this
.
priceObj
.
OldManChargePrice
);
//杂费签证费
let
zafeiqianzhen
=
this
.
priceObj
.
OtherPrice
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
+
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
+
this
.
priceObj
.
VisaPrice
*
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
this
.
priceObj
.
BackVisaPrice
*
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
-
Number
(
this
.
addMsg
.
VisaNum
));
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
-
Number
(
this
.
addMsg
.
VisaNum
));
//单房价格=单房人数*单房差价格
let
danfang
=
Number
(
this
.
addMsg
.
SingleRoomNum
)
*
this
.
priceObj
.
SingleRoomPrice
;
let
danfang
=
Number
(
this
.
addMsg
.
SingleRoomNum
)
*
this
.
priceObj
.
SingleRoomPrice
;
//儿童占床、不占床价格
let
ertongbed
=
this
.
priceObj
.
ChildNeedPrice
*
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
-
this
.
priceObj
.
ChildNoNeedPrice
*
(
Number
(
this
.
addMsg
.
ChirdNum
)
-
Number
(
this
.
addMsg
.
ChirdNeedBedNum
));
let
ertongbed
=
this
.
priceObj
.
ChildNeedPrice
*
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
-
this
.
priceObj
.
ChildNoNeedPrice
*
(
Number
(
this
.
addMsg
.
ChirdNum
)
-
Number
(
this
.
addMsg
.
ChirdNeedBedNum
));
console
.
log
(
"ertongbed"
,
ertongbed
);
//联运 (单价已包含联运价格了,所以不需要联运价格)
let
lianyun
=
0
;
// lianyun= (Number(this.addMsg.ManNum) +
...
...
@@ -1739,23 +1714,17 @@
//单地接
let
dandijie
=
0
;
if
(
this
.
addMsg
.
GroupType
==
4
)
{
dandijie
=
this
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
-
this
.
priceObj
.
ChildNoNeedPrice
*
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
);
dandijie
=
this
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
-
this
.
priceObj
.
ChildNoNeedPrice
*
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
);
ertong
=
0
;
ertongbed
=
0
;
zafeiqianzhen
=
0
;
}
else
{
dandijie
=
this
.
priceObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
);
dandijie
=
this
.
priceObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
);
}
//退景点费用
var
refundScenicPrice
=
this
.
ScenicRefundMoney
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
));
var
refundScenicPrice
=
this
.
ScenicRefundMoney
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
));
//总应收价格
this
.
addMsg
.
PreferPrice
=
dandijie
+
...
...
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