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
0a6005d5
Commit
0a6005d5
authored
Jun 19, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
604ab07d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
31 deletions
+31
-31
addPassenger.vue
src/components/SalesModule/addPassenger.vue
+1
-1
groupTourOrderOne.vue
src/components/SalesModule/groupTourOrderOne.vue
+30
-30
No files found.
src/components/SalesModule/addPassenger.vue
View file @
0a6005d5
...
@@ -1523,7 +1523,7 @@
...
@@ -1523,7 +1523,7 @@
},
},
savePassenger
(
type
)
{
savePassenger
(
type
)
{
if
((
this
.
LineId
===
14
||
LineId
===
2
)
&&
(
this
.
addMsg
.
IdCard
===
''
||
this
.
addMsg
.
IdCard
.
length
<
18
))
{
if
((
this
.
LineId
===
14
||
LineId
===
2
)
&&
(
this
.
addMsg
.
IdCard
===
''
||
this
.
addMsg
.
IdCard
.
length
<
18
))
{
this
.
$message
.
error
(
'请填写身份证号码!'
);
return
this
.
$message
.
error
(
'请填写身份证号码!'
);
}
}
this
.
addMsg
.
EconomicCapabilityList
=
[];
this
.
addMsg
.
EconomicCapabilityList
=
[];
this
.
EconomicCapabilityS
.
forEach
(
x
=>
{
this
.
EconomicCapabilityS
.
forEach
(
x
=>
{
...
...
src/components/SalesModule/groupTourOrderOne.vue
View file @
0a6005d5
...
@@ -3362,21 +3362,21 @@
...
@@ -3362,21 +3362,21 @@
},
},
saveOrder
()
{
saveOrder
()
{
//验证人数和机位数
//验证人数和机位数
if
(
//
if (
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
.
addMsg
.
YSeatNum
)
+
//
Number(this.addMsg.YSeatNum) +
Number
(
this
.
addMsg
.
ESeatNum
)
+
//
Number(this.addMsg.ESeatNum) +
Number
(
this
.
addMsg
.
FSeatNum
)
//
Number(this.addMsg.FSeatNum)
)
{
//
) {
if
(
this
.
IsChargeLossOrders
==
1
)
{
//
if (this.IsChargeLossOrders == 1) {
}
else
{
//
} else {
this
.
$message
.
warning
(
'人数和机位数不相等!'
)
//
this.$message.warning('人数和机位数不相等!')
return
//
return
}
//
}
}
//
}
if
(
if
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
...
@@ -3401,22 +3401,22 @@
...
@@ -3401,22 +3401,22 @@
return
return
}
}
if
(
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
>
Number
(
this
.
addMsg
.
ChirdNum
))
{
//
if (Number(this.addMsg.ChirdNeedBedNum) > Number(this.addMsg.ChirdNum)) {
this
.
$message
.
warning
(
'儿童占床不能大于儿童数!'
)
//
this.$message.warning('儿童占床不能大于儿童数!')
return
//
return
}
//
}
if
(
//
if (
Number
(
this
.
addMsg
.
ChirdNum
)
-
//
Number(this.addMsg.ChirdNum) -
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
//
Number(this.addMsg.ChirdNeedBedNum) +
Number
(
this
.
addMsg
.
BabyNum
)
>
//
Number(this.addMsg.BabyNum) >
Number
(
this
.
addMsg
.
ManNum
)
+
//
Number(this.addMsg.ManNum) +
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
//
Number(this.addMsg.OldPeopleNum) +
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
//
Number(this.addMsg.ChirdNeedBedNum)
)
{
//
) {
this
.
$message
.
warning
(
'儿童占床数量不足!'
)
//
this.$message.warning('儿童占床数量不足!')
return
//
return
}
//
}
if
(
this
.
userId
==
this
.
createByInfo
)
{
if
(
this
.
userId
==
this
.
createByInfo
)
{
if
(
this
.
addMsg
.
CommissionSharePeople
==
'-1'
)
{
if
(
this
.
addMsg
.
CommissionSharePeople
==
'-1'
)
{
...
...
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