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
94316e25
Commit
94316e25
authored
Dec 18, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改样式
parent
7d75128e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
BusInfo.vue
src/components/busManagement/BusInfo.vue
+20
-20
No files found.
src/components/busManagement/BusInfo.vue
View file @
94316e25
...
...
@@ -213,15 +213,15 @@
<div
style=
"width: 100%; overflow-x: auto;margin-top:20px;"
class=
"ownScrollbarStyle"
>
<el-form
:rules=
"rules"
>
<el-table
:data=
"PlanTableData"
style=
"width:100%"
border
v-loading=
'loading'
>
<el-table-column
fixed
:label=
"$t('pub.date')"
prop=
"UseTimeStr"
min-width=
"1
1
0"
></el-table-column>
<el-table-column
fixed
:label=
"$t('pub.date')"
prop=
"UseTimeStr"
min-width=
"1
0
0"
></el-table-column>
<el-table-column
fixed
:label=
"$t('hotel.hotel_name')"
prop=
"HotelName"
min-width=
"200"
></el-table-column>
<el-table-column
fixed
:label=
"$t('sm.yongchejihua')"
min-width=
"18
5
"
>
<el-table-column
fixed
:label=
"$t('sm.yongchejihua')"
min-width=
"18
0
"
>
<template
slot-scope=
"scope"
>
<!--
{{
scope
.
$index
+
1
}}
-->
<div
v-for=
"(subItem,subIndex) in scope.row.BusPlanOrderList"
class=
"comBTM"
:key=
"subIndex"
>
<em>
<!--接机送机-->
<el-select
class=
"w1
2
0"
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"subItem.AirportPickUp"
<el-select
class=
"w1
0
0"
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"subItem.AirportPickUp"
:disabled=
"forbidInput"
@
change=
"getBusPrice(subItem)"
>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.pleaseSel')"
></el-option>
<el-option
v-for=
"childitem in BusAirportPickUpList"
:key=
"childitem.Id"
:label=
"childitem.Name"
...
...
@@ -239,14 +239,14 @@
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"套团团号"
min-width=
"
15
0"
>
<el-table-column
label=
"套团团号"
min-width=
"
23
0"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"(subItem,subIndex) in scope.row.BusPlanOrderList"
class=
"comBTM"
:key=
"subIndex"
style=
"border:1px solid red"
>
<div
v-for=
"(subItem,subIndex) in scope.row.BusPlanOrderList"
class=
"comBTM"
:key=
"subIndex"
>
<template
v-if=
"subItem.AirportPickUp==15"
>
<div
v-for=
"(childItem,childIndex) in subItem.MergeList"
:key=
"childIndex"
>
<em>
<!--@change="GetTravelPrice(subItem)"-->
<el-select
class=
"w12
0"
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"childItem.MTCID"
<el-select
style=
"margin-bottom:5px;"
class=
"w17
0"
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"childItem.MTCID"
@
visible-change=
"GetPriceList(subItem)"
@
change=
"GetPriceChange(subItem,childItem)"
>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.pleaseSel')"
></el-option>
<el-option
v-for=
"pItem in subItem.PriceList"
:key=
"pItem.TCID"
:label=
"pItem.TCNUM"
...
...
@@ -258,7 +258,7 @@
style=
"color:blue;cursor:pointer"
>
{{
$t
(
'system.table_delete'
)
}}
</a>
</span>
</div>
<span
style=
"display:inline-block;margin-left:5px;"
v-if=
"subIndex==0"
>
<span
style=
"display:inline-block;margin-left:5px;"
>
<a
@
click=
"AddMergeSubItem(subItem.MergeList)"
style=
"color:blue;cursor:pointer"
>
{{
$t
(
'fnc.tianjia'
)
}}
</a>
</span>
...
...
@@ -310,7 +310,7 @@
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('fnc.fkfangshi')"
min-width=
"1
5
0"
>
<el-table-column
:label=
"$t('fnc.fkfangshi')"
min-width=
"1
3
0"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-select
class=
'sel'
v-model=
'subItem.PayType'
:disabled=
"isShowBtn==1||IsEditBus==0?true:false"
...
...
@@ -327,19 +327,19 @@
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('ground.dingtuanhao')"
min-width=
"
215
"
>
<el-table-column
:label=
"$t('ground.dingtuanhao')"
min-width=
"
180
"
>
<
template
slot-scope=
"scope"
>
<div
class=
"comBTM"
v-for=
"(subItem,subIndex) in scope.row.BusPlanOrderList"
>
<template
v-if=
"scope.$index==0&&subIndex==0"
>
<i
class=
"iconfont icon-tongshang"
style=
"opacity:0;filter:alpha(opacity=0); "
></i>
<el-input
class=
'w1
50
'
type=
"text"
v-model=
"subItem.BookGroup"
></el-input>
<el-input
class=
'w1
35
'
type=
"text"
v-model=
"subItem.BookGroup"
></el-input>
</
template
>
<
template
v-else
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('ground.tongshang')"
placement=
"top"
>
<i
class=
"iconfont icon-tongshang"
style=
"cursor:pointer;"
@
click=
"getBeforeInfo(scope.$index,subIndex),getBusPrice(subItem)"
></i>
</el-tooltip>
<el-input
class=
'w1
50
'
type=
"text"
v-model=
"subItem.BookGroup"
></el-input>
<el-input
class=
'w1
35
'
type=
"text"
v-model=
"subItem.BookGroup"
></el-input>
</
template
>
</div>
</template>
...
...
@@ -367,11 +367,11 @@
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('ground.gsfeiyong')"
min-width=
"1
4
0"
>
<el-table-column
:label=
"$t('ground.gsfeiyong')"
min-width=
"1
2
0"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-input
v-model=
"subItem.HighSpeedPrice"
@
keyup
.
native=
"checkPrice(subItem,'HighSpeedPrice')"
:placeholder=
"$t('ground.qsrfyong')"
:disabled=
"isShowBtn==1||IsEditBus==0?true:false"
class=
'w1
35
'
>
:placeholder=
"$t('ground.qsrfyong')"
:disabled=
"isShowBtn==1||IsEditBus==0?true:false"
class=
'w1
00
'
>
</el-input>
</div>
</
template
>
...
...
@@ -380,7 +380,7 @@
<
template
slot-scope=
"scope"
>
<div>
<div
v-for=
"(subItem,index) in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-select
class=
'sel w1
35
'
v-model=
'subItem.HighSpeedPayType'
:placeholder=
"$t('pub.pleaseSel')"
<el-select
class=
'sel w1
20
'
v-model=
'subItem.HighSpeedPayType'
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"PayTypeChange(subItem)"
:disabled=
"isShowBtn==1||IsEditBus==0?true:false"
>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
'0'
></el-option>
<el-option
:label=
"$t('ground.xianfu')"
:value=
'1'
></el-option>
...
...
@@ -394,7 +394,7 @@
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('ground.UsePCount')"
min-width=
"
10
0"
>
<el-table-column
:label=
"$t('ground.UsePCount')"
min-width=
"
8
0"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-input
v-model=
"subItem.UseNum"
@
keyup
.
native=
"checkPrice(subItem,'UseNum')"
...
...
@@ -402,11 +402,11 @@
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('ground.cbenjia')"
min-width=
"1
4
0"
>
<el-table-column
:label=
"$t('ground.cbenjia')"
min-width=
"1
2
0"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-input
v-model=
"subItem.CostPrice"
:disabled=
"isShowBtn==1||IsEditBus==0?true:false"
@
keyup
.
native=
"checkPrice(subItem,'CostPrice')"
:placeholder=
"$t('ground.qingshurcbj')"
class=
"w1
35
"
>
@
keyup
.
native=
"checkPrice(subItem,'CostPrice')"
:placeholder=
"$t('ground.qingshurcbj')"
class=
"w1
00
"
>
</el-input>
</div>
</
template
>
...
...
@@ -418,14 +418,14 @@
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('ground.park')"
min-width=
"
10
0"
>
<el-table-column
:label=
"$t('ground.park')"
min-width=
"
7
0"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"park_List comBTM"
>
{{
subItem
.
IsHavearking
==
'0'
?
'无'
:
'有'
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('ground.xiaoji')"
min-width=
"
10
0"
>
<el-table-column
:label=
"$t('ground.xiaoji')"
min-width=
"
8
0"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"park_List comBTM"
>
{{
subItem
.
CostPrice
*
(
Number
(
subItem
.
TransferNum
)
+
1
)
+
Number
(
subItem
.
HighSpeedPrice
)
}}
...
...
@@ -674,7 +674,7 @@
}
},
AddSubItem
(
item
)
{
let
msg
=
Object
.
assign
({},
item
.
BusPlanOrderList
[
0
]
);
let
msg
=
JSON
.
parse
(
JSON
.
stringify
(
item
.
BusPlanOrderList
[
0
])
);
msg
.
Id
=
0
;
item
.
BusPlanOrderList
.
push
(
msg
);
},
...
...
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