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
416cf4cf
Commit
416cf4cf
authored
Apr 03, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改签证bug
parent
350d0ce0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
19 deletions
+18
-19
addVisa.vue
src/components/VisaCenter/addVisa.vue
+3
-3
addVisaNew.vue
src/components/VisaCenter/addVisaNew.vue
+15
-16
No files found.
src/components/VisaCenter/addVisa.vue
View file @
416cf4cf
...
...
@@ -680,9 +680,9 @@ export default {
}
};
result
.
forEach
(
x
=>
{
let
str
=
x
.
replace
(
/-/
,
this
.
$t
(
'pub.year'
))
let
strS
=
str
.
replace
(
/-/
,
this
.
$t
(
'pub.month'
))
let
strSi
=
strS
+
this
.
$t
(
'fnc.day'
)
let
str
=
x
.
replace
(
/-/
,
_
this
.
$t
(
'pub.year'
))
let
strS
=
str
.
replace
(
/-/
,
_
this
.
$t
(
'pub.month'
))
let
strSi
=
strS
+
_
this
.
$t
(
'fnc.day'
)
// console.log(strSi)
let
msg
=
{
VisaPlanId
:
_this
.
addMsg
.
Id
,
...
...
src/components/VisaCenter/addVisaNew.vue
View file @
416cf4cf
...
...
@@ -760,18 +760,6 @@ export default {
this
.
addMsg
.
LeaveCountryTime
=
this
.
addMsg
.
value6
[
1
]
let
sDate1
=
this
.
addMsg
.
EnterCountryTime
let
sDate2
=
this
.
addMsg
.
LeaveCountryTime
if
(
sDate1
==
sDate2
){
let
msg
=
{
VisaPlanId
:
_this
.
addMsg
.
Id
,
Date
:
1
,
City
:
''
,
TraveInfo
:
''
,
HotelInfo
:
''
}
_this
.
addMsg
.
TravelPlanList
.
push
(
msg
)
}
else
{
getBetweenDateStr
(
sDate1
,
sDate2
);
}
function
getBetweenDateStr
(
start
,
end
){
var
result
=
[];
var
beginDay
=
start
.
split
(
"-"
);
...
...
@@ -796,9 +784,9 @@ export default {
}
};
result
.
forEach
(
x
=>
{
let
str
=
x
.
replace
(
/-/
,
this
.
$t
(
'pub.year'
))
let
strS
=
str
.
replace
(
/-/
,
this
.
$t
(
'pub.month'
))
let
strSi
=
strS
+
this
.
$t
(
'fnc.day'
)
let
str
=
x
.
replace
(
/-/
,
_
this
.
$t
(
'pub.year'
))
let
strS
=
str
.
replace
(
/-/
,
_
this
.
$t
(
'pub.month'
))
let
strSi
=
strS
+
_
this
.
$t
(
'fnc.day'
)
let
msg
=
{
VisaPlanId
:
_this
.
addMsg
.
Id
,
Date
:
strSi
,
...
...
@@ -809,6 +797,18 @@ export default {
_this
.
addMsg
.
TravelPlanList
.
push
(
msg
)
})
};
if
(
sDate1
==
sDate2
){
let
msg
=
{
VisaPlanId
:
_this
.
addMsg
.
Id
,
Date
:
1
,
City
:
''
,
TraveInfo
:
''
,
HotelInfo
:
''
}
_this
.
addMsg
.
TravelPlanList
.
push
(
msg
)
}
else
{
getBetweenDateStr
(
sDate1
,
sDate2
);
}
this
.
dateTimeReg
();
},
goUrl
(
path
){
...
...
@@ -999,7 +999,6 @@ export default {
this
.
apipost
(
"dmc_get_visa_GetVisaDeparturesTypeEnum"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
VisaDeparturesType
=
res
.
data
.
data
;
console
.
log
(
res
.
data
.
data
,
'resss'
);
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
...
...
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