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
2 years ago
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 @@
</el-form-item>
</el-col>
<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>
<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"
>
<el-input
v-model=
'addMsg.ChirdNum'
:disabled=
"addMsg.GroupType==='4'"
@
keyup
.
native=
"checkInteger(addMsg,'ChirdNoNeedBedNum')"
...
...
@@ -2311,7 +2311,11 @@
IsLookOrder
:
false
,
//出纳查看订单权限
//修改订单业务员权限
isEditOrderCreate
:
0
,
addObj
:
{},
addObj
:
{
OrderId
:
0
,
OpSetLossMoney
:
''
,
IsSupportChildren
:
0
},
// 修改应收总额
Ysze
:
false
,
addMsg_form
:
{},
...
...
@@ -3624,7 +3628,7 @@
if
(
num
>
0
)
{
this
.
apipost
(
"sellorder_get_GetOrderMinPrice"
,
{
ltID
:
this
.
addObj
&&
this
.
addObj
.
ltID
?
this
.
addObj
.
ltID
:
0
,
ltID
:
this
.
addObj
.
ltID
,
Num
:
num
},
res
=>
{
...
...
@@ -3701,7 +3705,7 @@
return
}
}
if
(
this
.
addMsg
.
GroupType
!=
5
&&
this
.
addObj
)
{
if
(
this
.
addMsg
.
GroupType
!=
5
)
{
if
(
this
.
addObj
&&
this
.
addObj
.
IsBirdDiscount
&&
this
.
addObj
.
IsBirdDiscount
==
1
)
{
//早鸟优惠
//this.addMsg.Unit_Price //成交单价
...
...
@@ -3718,9 +3722,12 @@
this
.
addObj
.
DiscountPrice
+
this
.
addObj
.
BabyChargePrice
);
let
yinger
=
Number
(
this
.
addMsg
.
BabyNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
);
let
laoren
=
0
if
(
this
.
addObj
&&
this
.
addObj
.
OtherPrice
){
zafeiqianzhen
=
let
laoren
=
Number
(
this
.
addMsg
.
OldPeopleNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
-
this
.
addObj
.
DiscountPrice
+
this
.
addObj
.
OldManChargePrice
);
let
zafeiqianzhen
=
this
.
addObj
.
OtherPrice
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
...
...
@@ -3737,26 +3744,19 @@
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
-
Number
(
this
.
addMsg
.
VisaNum
));
}
let
danfang
=
0
if
(
this
.
addObj
&&
this
.
addObj
.
SingleRoomNum
){
danfang
=
let
danfang
=
Number
(
this
.
addMsg
.
SingleRoomNum
)
*
this
.
addObj
.
SingleRoomPrice
;
}
let
ertongbed
=
0
if
(
this
.
addObj
&&
this
.
addObj
.
ChildNeedPrice
){
ertongbed
=
let
ertongbed
=
this
.
addObj
.
ChildNeedPrice
*
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
-
this
.
addObj
.
ChildNoNeedPrice
*
(
Number
(
this
.
addMsg
.
ChirdNum
)
-
Number
(
this
.
addMsg
.
ChirdNeedBedNum
));
}
let
lianyun
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
));
let
dandijie
=
0
let
dandijie
if
(
this
.
addMsg
.
GroupType
==
4
)
{
dandijie
=
this
.
addMsg
.
Unit_Price
*
Number
(
this
.
addMsg
.
AirticketNum
);
...
...
@@ -3779,30 +3779,18 @@
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
));
if
(
!
this
.
addMsg
.
PreferPrice
){
this
.
addMsg
.
PreferPrice
=
0
}
}
else
{
// 1111111111111111111
let
chengren
=
Number
(
this
.
addMsg
.
ManNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
);
let
ertong
=
0
if
(
this
.
addObj
){
ertong
=
Number
(
this
.
addMsg
.
ChirdNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
addObj
.
BabyChargePrice
);
}
let
ertong
=
Number
(
this
.
addMsg
.
ChirdNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
addObj
.
BabyChargePrice
);
let
yinger
=
Number
(
this
.
addMsg
.
BabyNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
);
let
laoren
=
0
if
(
this
.
addObj
&&
this
.
addObj
.
OldManChargePrice
){
laoren
=
let
laoren
=
Number
(
this
.
addMsg
.
OldPeopleNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
addObj
.
OldManChargePrice
);
}
let
zafeiqianzhen
=
0
if
(
this
.
addObj
&&
this
.
addObj
.
OtherPrice
){
zafeiqianzhen
=
let
zafeiqianzhen
=
this
.
addObj
.
OtherPrice
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
...
...
@@ -3819,17 +3807,10 @@
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
-
Number
(
this
.
addMsg
.
VisaNum
));
}
let
danfang
=
0
if
(
this
.
addObj
&&
this
.
addObj
.
SingleRoomPrice
){
danfang
=
let
danfang
=
Number
(
this
.
addMsg
.
SingleRoomNum
)
*
this
.
addObj
.
SingleRoomPrice
;
}
let
ertongbed
=
0
if
(
this
.
addObj
&&
this
.
addObj
.
ChildNeedPrice
){
ertongbed
=
this
.
addObj
.
ChildNeedPrice
*
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
-
this
.
addObj
let
ertongbed
=
this
.
addObj
.
ChildNeedPrice
*
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
-
this
.
addObj
.
ChildNoNeedPrice
*
(
Number
(
this
.
addMsg
.
ChirdNum
)
-
Number
(
this
.
addMsg
.
ChirdNeedBedNum
));
}
let
lianyun
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
...
...
@@ -3839,9 +3820,8 @@
if
(
this
.
addMsg
.
GroupType
==
4
)
{
dandijie
=
this
.
addMsg
.
Unit_Price
*
Number
(
this
.
addMsg
.
AirticketNum
);
}
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
=
...
...
@@ -3859,9 +3839,6 @@
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
));
if
(
!
this
.
addMsg
.
PreferPrice
){
this
.
addMsg
.
PreferPrice
=
0
}
}
}
else
{
this
.
addMsg
.
PreferPrice
=
Number
(
this
.
addMsg
.
YSeatNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
OpSetLossMoney
;
...
...
This diff is collapsed.
Click to expand it.
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