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
3f82e4ee
Commit
3f82e4ee
authored
Dec 28, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
69940f6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
50 deletions
+27
-50
groupTourOrderByTuanOne.vue
src/components/SalesModule/groupTourOrderByTuanOne.vue
+27
-50
No files found.
src/components/SalesModule/groupTourOrderByTuanOne.vue
View file @
3f82e4ee
...
@@ -1088,9 +1088,9 @@
...
@@ -1088,9 +1088,9 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<p
v-if=
'addObj
&&addObj
.IsSupportChildren==2'
<p
v-if=
'addObj.IsSupportChildren==2'
style=
"color: #E95252; font-size: 12px; line-height: 40px; text-align: center;"
>
本团不支持儿童出游!
</p>
style=
"color: #E95252; font-size: 12px; line-height: 40px; text-align: center;"
>
本团不支持儿童出游!
</p>
<el-form-item
v-if=
'addObj
&&addObj
.IsSupportChildren==1'
v-show=
"addMsg.GroupType !== '4'"
label=
"儿童人数"
<el-form-item
v-if=
'addObj.IsSupportChildren==1'
v-show=
"addMsg.GroupType !== '4'"
label=
"儿童人数"
prop=
"ChirdNoNeedBedNum"
>
prop=
"ChirdNoNeedBedNum"
>
<el-input
v-model=
'addMsg.ChirdNum'
:disabled=
"addMsg.GroupType==='4'"
<el-input
v-model=
'addMsg.ChirdNum'
:disabled=
"addMsg.GroupType==='4'"
@
keyup
.
native=
"checkInteger(addMsg,'ChirdNoNeedBedNum')"
@
keyup
.
native=
"checkInteger(addMsg,'ChirdNoNeedBedNum')"
...
@@ -2311,7 +2311,11 @@
...
@@ -2311,7 +2311,11 @@
IsLookOrder
:
false
,
//出纳查看订单权限
IsLookOrder
:
false
,
//出纳查看订单权限
//修改订单业务员权限
//修改订单业务员权限
isEditOrderCreate
:
0
,
isEditOrderCreate
:
0
,
addObj
:
{},
addObj
:
{
OrderId
:
0
,
OpSetLossMoney
:
''
,
IsSupportChildren
:
0
},
// 修改应收总额
// 修改应收总额
Ysze
:
false
,
Ysze
:
false
,
addMsg_form
:
{},
addMsg_form
:
{},
...
@@ -3624,7 +3628,7 @@
...
@@ -3624,7 +3628,7 @@
if
(
num
>
0
)
{
if
(
num
>
0
)
{
this
.
apipost
(
this
.
apipost
(
"sellorder_get_GetOrderMinPrice"
,
{
"sellorder_get_GetOrderMinPrice"
,
{
ltID
:
this
.
addObj
&&
this
.
addObj
.
ltID
?
this
.
addObj
.
ltID
:
0
,
ltID
:
this
.
addObj
.
ltID
,
Num
:
num
Num
:
num
},
},
res
=>
{
res
=>
{
...
@@ -3701,7 +3705,7 @@
...
@@ -3701,7 +3705,7 @@
return
return
}
}
}
}
if
(
this
.
addMsg
.
GroupType
!=
5
&&
this
.
addObj
)
{
if
(
this
.
addMsg
.
GroupType
!=
5
)
{
if
(
this
.
addObj
&&
this
.
addObj
.
IsBirdDiscount
&&
this
.
addObj
.
IsBirdDiscount
==
1
)
{
if
(
this
.
addObj
&&
this
.
addObj
.
IsBirdDiscount
&&
this
.
addObj
.
IsBirdDiscount
==
1
)
{
//早鸟优惠
//早鸟优惠
//this.addMsg.Unit_Price //成交单价
//this.addMsg.Unit_Price //成交单价
...
@@ -3718,9 +3722,12 @@
...
@@ -3718,9 +3722,12 @@
this
.
addObj
.
DiscountPrice
+
this
.
addObj
.
DiscountPrice
+
this
.
addObj
.
BabyChargePrice
);
this
.
addObj
.
BabyChargePrice
);
let
yinger
=
Number
(
this
.
addMsg
.
BabyNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
);
let
yinger
=
Number
(
this
.
addMsg
.
BabyNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
);
let
laoren
=
0
let
laoren
=
if
(
this
.
addObj
&&
this
.
addObj
.
OtherPrice
){
Number
(
this
.
addMsg
.
OldPeopleNum
)
*
zafeiqianzhen
=
(
Number
(
this
.
addMsg
.
Unit_Price
)
-
this
.
addObj
.
DiscountPrice
+
this
.
addObj
.
OldManChargePrice
);
let
zafeiqianzhen
=
this
.
addObj
.
OtherPrice
*
this
.
addObj
.
OtherPrice
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
...
@@ -3737,26 +3744,19 @@
...
@@ -3737,26 +3744,19 @@
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
-
Number
(
this
.
addMsg
.
OldPeopleNum
)
-
Number
(
this
.
addMsg
.
VisaNum
));
Number
(
this
.
addMsg
.
VisaNum
));
}
let
danfang
=
let
danfang
=
0
if
(
this
.
addObj
&&
this
.
addObj
.
SingleRoomNum
){
danfang
=
Number
(
this
.
addMsg
.
SingleRoomNum
)
*
this
.
addObj
.
SingleRoomPrice
;
Number
(
this
.
addMsg
.
SingleRoomNum
)
*
this
.
addObj
.
SingleRoomPrice
;
}
let
ertongbed
=
let
ertongbed
=
0
if
(
this
.
addObj
&&
this
.
addObj
.
ChildNeedPrice
){
ertongbed
=
this
.
addObj
.
ChildNeedPrice
*
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
-
this
.
addObj
.
ChildNeedPrice
*
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
-
this
.
addObj
.
ChildNoNeedPrice
*
this
.
addObj
.
ChildNoNeedPrice
*
(
Number
(
this
.
addMsg
.
ChirdNum
)
-
(
Number
(
this
.
addMsg
.
ChirdNum
)
-
Number
(
this
.
addMsg
.
ChirdNeedBedNum
));
Number
(
this
.
addMsg
.
ChirdNeedBedNum
));
}
let
lianyun
=
let
lianyun
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
));
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
));
let
dandijie
=
0
let
dandijie
if
(
this
.
addMsg
.
GroupType
==
4
)
{
if
(
this
.
addMsg
.
GroupType
==
4
)
{
dandijie
=
this
.
addMsg
.
Unit_Price
*
Number
(
this
.
addMsg
.
AirticketNum
);
dandijie
=
this
.
addMsg
.
Unit_Price
*
Number
(
this
.
addMsg
.
AirticketNum
);
...
@@ -3779,30 +3779,18 @@
...
@@ -3779,30 +3779,18 @@
(
Number
(
this
.
addMsg
.
ManNum
)
+
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
));
Number
(
this
.
addMsg
.
OldPeopleNum
));
if
(
!
this
.
addMsg
.
PreferPrice
){
this
.
addMsg
.
PreferPrice
=
0
}
}
else
{
}
else
{
// 1111111111111111111
// 1111111111111111111
let
chengren
=
let
chengren
=
Number
(
this
.
addMsg
.
ManNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
);
Number
(
this
.
addMsg
.
ManNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
);
let
ertong
=
0
let
ertong
=
if
(
this
.
addObj
){
Number
(
this
.
addMsg
.
ChirdNum
)
*
ertong
=
(
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
addObj
.
BabyChargePrice
);
Number
(
this
.
addMsg
.
ChirdNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
addObj
.
BabyChargePrice
);
}
let
yinger
=
Number
(
this
.
addMsg
.
BabyNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
);
let
yinger
=
Number
(
this
.
addMsg
.
BabyNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
);
let
laoren
=
0
let
laoren
=
if
(
this
.
addObj
&&
this
.
addObj
.
OldManChargePrice
){
laoren
=
Number
(
this
.
addMsg
.
OldPeopleNum
)
*
Number
(
this
.
addMsg
.
OldPeopleNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
addObj
.
OldManChargePrice
);
(
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
addObj
.
OldManChargePrice
);
}
let
zafeiqianzhen
=
let
zafeiqianzhen
=
0
if
(
this
.
addObj
&&
this
.
addObj
.
OtherPrice
){
zafeiqianzhen
=
this
.
addObj
.
OtherPrice
*
this
.
addObj
.
OtherPrice
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
...
@@ -3819,17 +3807,10 @@
...
@@ -3819,17 +3807,10 @@
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
-
Number
(
this
.
addMsg
.
OldPeopleNum
)
-
Number
(
this
.
addMsg
.
VisaNum
));
Number
(
this
.
addMsg
.
VisaNum
));
}
let
danfang
=
let
danfang
=
0
if
(
this
.
addObj
&&
this
.
addObj
.
SingleRoomPrice
){
danfang
=
Number
(
this
.
addMsg
.
SingleRoomNum
)
*
this
.
addObj
.
SingleRoomPrice
;
Number
(
this
.
addMsg
.
SingleRoomNum
)
*
this
.
addObj
.
SingleRoomPrice
;
}
let
ertongbed
=
this
.
addObj
.
ChildNeedPrice
*
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
-
this
.
addObj
let
ertongbed
=
0
if
(
this
.
addObj
&&
this
.
addObj
.
ChildNeedPrice
){
ertongbed
=
this
.
addObj
.
ChildNeedPrice
*
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
-
this
.
addObj
.
ChildNoNeedPrice
*
(
Number
(
this
.
addMsg
.
ChirdNum
)
-
Number
(
this
.
addMsg
.
ChirdNeedBedNum
));
.
ChildNoNeedPrice
*
(
Number
(
this
.
addMsg
.
ChirdNum
)
-
Number
(
this
.
addMsg
.
ChirdNeedBedNum
));
}
let
lianyun
=
let
lianyun
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
...
@@ -3839,9 +3820,8 @@
...
@@ -3839,9 +3820,8 @@
if
(
this
.
addMsg
.
GroupType
==
4
)
{
if
(
this
.
addMsg
.
GroupType
==
4
)
{
dandijie
=
this
.
addMsg
.
Unit_Price
*
Number
(
this
.
addMsg
.
AirticketNum
);
dandijie
=
this
.
addMsg
.
Unit_Price
*
Number
(
this
.
addMsg
.
AirticketNum
);
}
else
{
}
else
{
if
(
this
.
addObj
&&
this
.
addObj
.
SingleDMCPrice
){
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
);
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
);
}
}
}
this
.
addMsg
.
PreferPrice
=
this
.
addMsg
.
PreferPrice
=
...
@@ -3859,9 +3839,6 @@
...
@@ -3859,9 +3839,6 @@
(
Number
(
this
.
addMsg
.
ManNum
)
+
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
));
Number
(
this
.
addMsg
.
OldPeopleNum
));
if
(
!
this
.
addMsg
.
PreferPrice
){
this
.
addMsg
.
PreferPrice
=
0
}
}
}
}
else
{
}
else
{
this
.
addMsg
.
PreferPrice
=
Number
(
this
.
addMsg
.
YSeatNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
OpSetLossMoney
;
this
.
addMsg
.
PreferPrice
=
Number
(
this
.
addMsg
.
YSeatNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
OpSetLossMoney
;
...
...
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