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
88e22e27
Commit
88e22e27
authored
Mar 25, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加同上
parent
f721c102
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
7 deletions
+36
-7
App.vue
src/App.vue
+1
-1
BusInfo.vue
src/components/busManagement/BusInfo.vue
+35
-6
No files found.
src/App.vue
View file @
88e22e27
...
...
@@ -108,7 +108,7 @@ export default {
}
</
script
>
<
style
>
@import
"//at.alicdn.com/t/font_635492_
a59svrd6x1
.css"
;
@import
"//at.alicdn.com/t/font_635492_
uyefzcxpu3
.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/fileIcon.css"
;
...
...
src/components/busManagement/BusInfo.vue
View file @
88e22e27
...
...
@@ -82,7 +82,9 @@
text-decoration
:
underline
;
cursor
:
pointer
;
}
.BusTyleFirst
.w150
{
margin-right
:
22px
;
}
</
style
>
<
template
>
<div
class=
"flexOne busInfo"
>
...
...
@@ -192,11 +194,14 @@
</div>
</td>
<td>
<div
class=
"w180"
>
<el-select
clearable
class=
"w150"
filterable
placeholder=
"请选择"
v-model=
"item.BusType"
:disabled=
"forbidInput"
@
change=
'getBusPrice(item)'
>
<el-option
v-for=
"item in BusTypeList"
:key=
"item.Id"
:label=
"item.newName"
:value=
"item.Id"
>
</el-option>
</el-select>
<div
class=
"w180"
:class=
"
{'BusTyleFirst':index==0}">
<el-select
clearable
class=
"w150"
filterable
placeholder=
"请选择"
v-model=
"item.BusType"
:disabled=
"forbidInput"
@
change=
'getBusPrice(item)'
>
<el-option
v-for=
"item in BusTypeList"
:key=
"item.Id"
:label=
"item.newName"
:value=
"item.Id"
>
</el-option>
</el-select>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"同上"
placement=
"top"
>
<i
class=
"iconfont icon-tongshang"
style=
"cursor:pointer;"
v-if=
"index!=0"
@
click=
"getBeforeInfo(index)"
></i>
</el-tooltip>
</div>
</td>
<td>
...
...
@@ -515,6 +520,7 @@ export default {
x
.
BookGroup
=
this
.
$route
.
query
.
NewCombinationNum
;
}
})
console
.
log
(
this
.
PlanTableData
,
'plandata'
);
}
},
null
...
...
@@ -695,6 +701,29 @@ export default {
2
);
this
.
PostData
.
CostPrice
=
CoastPrice
;
},
//获取同上信息
getBeforeInfo
(
index
){
let
oldPlanData
=
this
.
PlanTableData
[
index
-
1
];
let
newPlanData
=
this
.
PlanTableData
[
index
];
newPlanData
.
PlanDateStr
=
oldPlanData
.
PlanDateStr
;
newPlanData
.
HotelName
=
oldPlanData
.
HotelName
;
newPlanData
.
IsHavearking
=
oldPlanData
.
IsHavearking
;
newPlanData
.
AirportPickUp
=
oldPlanData
.
AirportPickUp
;
newPlanData
.
UseType
=
oldPlanData
.
UseType
;
newPlanData
.
UseTime
=
oldPlanData
.
UseTime
;
newPlanData
.
BookGroup
=
oldPlanData
.
BookGroup
;
newPlanData
.
DriverName
=
oldPlanData
.
DriverName
;
newPlanData
.
DriverTel
=
oldPlanData
.
DriverTel
;
newPlanData
.
AccommodationType
=
oldPlanData
.
AccommodationType
;
newPlanData
.
AccommodationRemark
=
oldPlanData
.
AccommodationRemark
;
newPlanData
.
BusType
=
oldPlanData
.
BusType
;
// newPlanData.UseNum = oldPlanData.UseNum;
// newPlanData.BusNum = oldPlanData.BusNum;
// newPlanData.BusCompany = oldPlanData.BusCompany;
// newPlanData.ParkExplain = oldPlanData.ParkExplain;
// newPlanData.CostPrice = oldPlanData.CostPrice;
// newPlanData.TransferNum = oldPlanData.TransferNum;
}
},
mounted
()
{
...
...
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