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
b496b755
Commit
b496b755
authored
Apr 02, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
10a6dfad
c08ef235
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
15 deletions
+32
-15
sale_pdf.css
src/assets/css/sale_pdf.css
+4
-3
SalesconfirmationOrder.vue
src/components/SalesconfirmationOrder.vue
+28
-12
No files found.
src/assets/css/sale_pdf.css
View file @
b496b755
...
...
@@ -505,9 +505,10 @@
/*font-family: 'pingfangR'*/
}
.detail-box
.timeline
.timeline-item
.left
{
width
:
40px
;
margin-right
:
20px
;
/*
width: 40px;
margin-right:20px;
*/
text-align
:
center
;
position
:
absolute
;
}
.detail-box
.timeline
.timeline-item
.left
i
{
font-size
:
20px
;
...
...
@@ -643,7 +644,7 @@
}
.detail-box
.timeline
.timeline-item
.new_right
{
width
:
89%
;
margin-left
:
40
px
;
margin-left
:
65
px
;
}
.detail-box
.timeline
.timeline-item
.new_right
.Newimg-list
.item
img
{
width
:
100%
;
...
...
src/components/SalesconfirmationOrder.vue
View file @
b496b755
...
...
@@ -17,17 +17,19 @@
font-size
:
12px
;
}
.timeline-item
.Arrayleft
{
width
:
5
1px
;
width
:
7
1px
;
height
:
25px
;
background-color
:
#fff
;
margin-right
:
20px
;
text-align
:
center
;
font-size
:
12px
;
padding
:
5px
0
;
position
:
absolute
;
left
:
-16px
;
}
.timeline-item
.Arrayleft
i
{
position
:
relative
;
left
:
-4
px
;
left
:
1
px
;
top
:
-4px
;
}
</
style
>
...
...
@@ -293,12 +295,14 @@
<!-- <traffice :tripItem='son' v-if="son.type==1"></traffice> -->
<
template
v-if=
"son.type==1"
>
<div
class=
"timeline-item"
>
<div
class=
"Arrayleft"
>
<!--
<i
class=
"iconfont icon-feiji"
></i>
-->
<span
v-if=
"son.type==1"
v-for=
"(dns,o) in son.childItem.subTraffic"
:key=
"o"
>
<span
v-if=
"dns.startTime!=''"
style=
"margin-right:20px;"
>
{{
dns
.
startTime
}}
</span><span
v-if=
"dns.endTime!=''"
>
-
{{
dns
.
endTime
}}
</span>
</span>
</div>
<template
v-for=
"(dd,Subindex) in son.childItem.subTraffic"
>
<div
class=
"Arrayleft"
v-if=
"dd.startTime!=''||dd.endTime!=''"
>
<!--
<i
class=
"iconfont icon-feiji"
></i>
-->
<span
v-if=
"son.type==1"
v-for=
"(dns,o) in son.childItem.subTraffic"
:key=
"o"
>
<span
v-if=
"dns.startTime!=''"
>
{{
getStartTime
(
dns
.
startTime
)
}}
</span><span
v-if=
"dns.endTime!=''"
>
-
{{
getStartTime
(
dns
.
endTime
)
}}
</span>
</span>
</div>
</
template
>
<div
class=
"new_right"
>
<span
class=
"time"
v-if=
"dataList.trafficList[0].airportPickUp==1"
>
接早
</span>
<span
class=
"time"
v-if=
"dataList.trafficList[0].airportPickUp==2"
>
送机
</span>
...
...
@@ -320,10 +324,10 @@
<
template
v-if=
"son.type==2"
>
<div
class=
"timeline-item"
>
<div
class=
"Arrayleft"
>
<div
class=
"Arrayleft"
v-if=
"son.childItem.timeStr!=''"
>
<!--
<i
class=
"iconfont icon-zuji"
></i>
-->
<template
v-if=
"son.childItem.timeStr!=''"
>
{{
son
.
childItem
.
timeStr
}}
{{
getStartTime
(
son
.
childItem
.
timeStr
)
}}
</
template
>
</div>
<div
class=
"new_right"
>
...
...
@@ -366,10 +370,10 @@
</
template
>
<
template
v-if=
"son.type==4"
>
<div
class=
"timeline-item"
>
<div
class=
"Arrayleft"
>
<div
class=
"Arrayleft"
v-if=
"son.childItem.timeStr!=''"
>
<!--
<i
class=
"iconfont icon-yongcan"
></i>
-->
<span
v-if=
"son.childItem.timeStr!=''"
>
{{
son
.
childItem
.
timeStr
}}
{{
getStartTime
(
son
.
childItem
.
timeStr
)
}}
</span>
</div>
<div
class=
"new_right"
>
...
...
@@ -1399,6 +1403,18 @@
}
}
},
getStartTime
(
startTime
){
var
n
=
Number
(
startTime
);
if
(
!
isNaN
(
n
)
&&
startTime
.
indexOf
(
':'
)
==-
1
)
{
var
strSep
=
":"
;
var
str1
=
startTime
.
substring
(
0
,
2
);
var
str0
=
startTime
.
substring
(
2
,
startTime
.
length
);
var
strNew
=
str1
+
strSep
+
str0
;
return
strNew
;
}
else
{
return
startTime
.
replace
(
':'
,
':'
)
}
}
},
components
:
{
oneday
,
...
...
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