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
d498e454
Commit
d498e454
authored
Jul 22, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
护照时间判断,
parent
3612b3a6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
5 deletions
+26
-5
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+1
-1
addPassenger.vue
src/components/SalesModule/addPassenger.vue
+20
-2
passengerSaleList.vue
src/components/SalesModule/passengerSaleList.vue
+3
-0
CommissionManagement.vue
src/components/administrative/CommissionManagement.vue
+2
-2
No files found.
src/components/LeaderManagement/leaderReimbursement.vue
View file @
d498e454
...
...
@@ -19,7 +19,7 @@
<td>
<div
class=
"padding10"
>
{{
item
.
Titles
}}
</div>
</td>
<td>
{{
item
.
TCNUMS
}}
</td>
<td>
{{
item
.
TCNUMS
+
'('
+
item
.
TCIDS
}}
)
</td>
<td>
{{
NewCombinationNum
}}
</td>
<td>
{{
item
.
FlightDate
}}
</td>
<td>
{{
item
.
DayNum
}}
天
</td>
...
...
src/components/SalesModule/addPassenger.vue
View file @
d498e454
...
...
@@ -131,7 +131,9 @@
top
:
0
;
cursor
:
pointer
;
}
.colorRed
input
{
color
:
red
!important
;
}
</
style
>
<
template
>
<div
class=
"addPassenger"
>
...
...
@@ -219,7 +221,7 @@
</li>
<li>
<el-form-item
label=
"护照过期日"
prop=
"PassportExpiry"
>
<el-date-picker
v-model=
'addMsg.PassportExpiry'
class=
"w230"
value-format=
"yyyy-MM-dd"
type=
"date"
<el-date-picker
v-model=
'addMsg.PassportExpiry'
class=
"w230"
:class=
" guoqi ? 'colorRed' : ''"
@
change=
"timeOver"
value-format=
"yyyy-MM-dd"
type=
"date"
placeholder=
"选择日期"
></el-date-picker>
</el-form-item>
</li>
...
...
@@ -776,9 +778,23 @@
roomlist
:[],
isOneDay
:
0
,
LineId
:
0
,
EndDateStr
:
''
,
guoqi
:
false
,
};
},
methods
:
{
CompareDate
(
d1
,
d2
){
return
((
new
Date
(
d1
.
replace
(
/-/g
,
"
\
/"
)))
<
(
new
Date
(
d2
.
replace
(
/-/g
,
"
\
/"
))));
},
timeOver
:
function
(){
this
.
guoqi
=
this
.
CompareDate
(
this
.
addMsg
.
PassportExpiry
,
this
.
EndDateStr
)
// console.log(this.CompareDate(this.addMsg.PassportExpiry, this.EndDateStr))
// console.log(this.addMsg.PassportExpiry, this.EndDateStr)
if
(
this
.
guoqi
)
{
this
.
$message
.
error
(
"客人护照过期时间小于团队出发日期后六个月"
)
return
}
},
getAccessToken
()
{
let
url
=
this
.
BD_GET_ACCESS_TOKEN
+
...
...
@@ -1518,6 +1534,7 @@
}
},
savePassenger
(
type
)
{
this
.
timeOver
()
if
((
this
.
LineId
===
14
||
this
.
LineId
===
2
)
&&
this
.
addMsg
.
IdCard
===
''
)
{
return
this
.
$message
.
error
(
'请填写身份证号码!'
);
}
...
...
@@ -1996,6 +2013,7 @@
this
.
LineId
=
this
.
$route
.
query
.
LineId
;
this
.
addMsg
.
TCID
=
this
.
$route
.
query
.
TCID
;
this
.
addMsg
.
OrderId
=
this
.
$route
.
query
.
orderId
;
this
.
EndDateStr
=
this
.
$route
.
query
.
EndDateStr
;
let
userInfo
=
this
.
getLocalStorage
();
var
BranchName
=
userInfo
.
BranchName
;
if
(
BranchName
.
search
(
"武汉"
)
!=
-
1
)
{
...
...
src/components/SalesModule/passengerSaleList.vue
View file @
d498e454
...
...
@@ -90,6 +90,7 @@
tableList
:
[],
isOneDay
:
0
,
LineId
:
0
,
EndDateStr
:
""
};
},
methods
:
{
...
...
@@ -103,6 +104,7 @@
this
.
tableList
=
res
.
data
.
data
.
list
;
this
.
isOneDay
=
res
.
data
.
data
.
IsOneDay
;
this
.
LineId
=
res
.
data
.
data
.
LineId
;
this
.
EndDateStr
=
res
.
data
.
data
.
EndDateStr
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
...
...
@@ -136,6 +138,7 @@
'guestId'
:
guestId
,
'isOneDay'
:
this
.
isOneDay
,
'LineId'
:
this
.
LineId
,
"EndDateStr"
:
this
.
EndDateStr
}
});
},
...
...
src/components/administrative/CommissionManagement.vue
View file @
d498e454
...
...
@@ -7,13 +7,13 @@
</
style
>
<
template
>
<div
class=
"flexOne"
>
<div
class=
"query-box"
>
<
!--
<
div
class=
"query-box"
>
<ul>
<li>
<input
type=
"button"
class=
"normalBtn"
@
click=
"generateTable"
value=
"生成提成报表"
/>
</li>
</ul>
</div>
</div>
-->
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th>
期数
</th>
...
...
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