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
51a4b95f
Commit
51a4b95f
authored
Feb 22, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
199ae380
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
109 additions
and
68 deletions
+109
-68
BookAcarOrder.vue
...nents/busManagement/BookAcar/components/BookAcarOrder.vue
+8
-8
tripBusOrderList.vue
...ts/busManagement/BookAcar/components/tripBusOrderList.vue
+3
-3
order.vue
src/components/busManagement/BookAcar/order.vue
+26
-6
orderOP.vue
src/components/busManagement/BookAcar/orderOP.vue
+71
-51
tripBusOrder.vue
src/components/busManagement/tripBusOrder.vue
+1
-0
No files found.
src/components/busManagement/BookAcar/components/BookAcarOrder.vue
View file @
51a4b95f
...
...
@@ -141,7 +141,7 @@
<
script
>
import
OrderList
from
'./OrderList.vue'
;
export
default
{
props
:[
'pagesTitle'
,
'
type'
,
'OrderId
'
],
props
:[
'pagesTitle'
,
'
dataObj
'
],
components
:
{
OrderList
},
data
()
{
return
{
...
...
@@ -206,14 +206,14 @@
pagesTitle
(
val
,
oldval
){
this
.
Title
=
val
},
type
(
val
,
oldval
){
this
.
msg
.
OrderType
=
val
dataObj
:{
handler
(
val
,
oldVal
)
{
this
.
msg
.
OrderType
=
val
.
tab
this
.
msg
.
OrderId
=
val
.
OrderId
this
.
GetList
()
},
OrderId
(
val
,
oldval
){
this
.
msg
.
OrderId
=
val
this
.
GetList
()
},
},
deep
:
true
,
}
},
methods
:
{
getEmployee
()
{
//员工
...
...
src/components/busManagement/BookAcar/components/tripBusOrderList.vue
View file @
51a4b95f
...
...
@@ -342,7 +342,7 @@
<div
class=
"row-c"
>
<div>
<div
class=
"orderType cf fz12 active"
class=
"orderType cf fz12 active
B
"
>
行程用车
</div>
...
...
@@ -919,8 +919,8 @@
</el-row>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"
isShowPric
e = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"
submitTripBusOffer('drivermsg')
"
>
确 定
</el-button>
<el-button
@
click=
"
dialogVisibl
e = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"
driverdetermine
"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
...
...
src/components/busManagement/BookAcar/order.vue
View file @
51a4b95f
...
...
@@ -5,16 +5,16 @@
<div>
<el-tabs
v-model=
"tab"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"团队订单"
name=
"0"
>
<TeamOrder
:pagesTitle=
"pagesTitle"
></TeamOrder>
<TeamOrder
:pagesTitle=
"pagesTitle"
:OrderId=
"OrderId"
></TeamOrder>
</el-tab-pane>
<el-tab-pane
label=
"接机订单"
name=
"1"
>
<BookAcarOrder
:pagesTitle=
"pagesTitle"
:
type=
"tab
"
></BookAcarOrder>
<BookAcarOrder
:pagesTitle=
"pagesTitle"
:
dataObj=
"dataObj
"
></BookAcarOrder>
</el-tab-pane>
<el-tab-pane
label=
"送机订单"
name=
"2"
>
<BookAcarOrder
:pagesTitle=
"pagesTitle"
:
type=
"tab
"
></BookAcarOrder>
<BookAcarOrder
:pagesTitle=
"pagesTitle"
:
dataObj=
"dataObj
"
></BookAcarOrder>
</el-tab-pane>
<el-tab-pane
label=
"包车订单"
name=
"3"
>
<BookAcarOrder
:pagesTitle=
"pagesTitle"
:
type=
"tab
"
></BookAcarOrder>
<BookAcarOrder
:pagesTitle=
"pagesTitle"
:
dataObj=
"dataObj
"
></BookAcarOrder>
</el-tab-pane>
</el-tabs>
</div>
...
...
@@ -27,17 +27,31 @@
data
()
{
return
{
pagesTitle
:
'销售'
,
tab
:
'1'
tab
:
'1'
,
OrderId
:
''
,
dataObj
:{
tab
:
'1'
,
OrderId
:
0
,
}
};
},
watch
:
{
pagesTitle
(
val
,
oldval
){
}
},
// dataObj:{
// handler(val, oldVal) {
// this.dataObj.OrderType = val.tab
// this.dataObj.OrderId = val.OrderId
// },
// deep: true,
// immediate: true,
// }
},
methods
:
{
handleClick
(
tab
,
event
){
this
.
tab
=
tab
.
name
this
.
dataObj
.
tab
=
tab
.
name
}
},
created
()
{
...
...
@@ -45,9 +59,15 @@
},
mounted
()
{
if
(
this
.
$route
.
query
.
OrderType
){
this
.
OrderId
=
this
.
$route
.
query
.
OrderId
this
.
tab
=
this
.
$route
.
query
.
OrderType
this
.
dataObj
.
OrderId
=
this
.
$route
.
query
.
OrderId
this
.
dataObj
.
tab
=
this
.
$route
.
query
.
OrderType
}
else
{
this
.
tab
=
'0'
this
.
OrderId
=
0
this
.
dataObj
.
OrderId
=
0
this
.
dataObj
.
tab
=
'1'
}
},
};
...
...
src/components/busManagement/BookAcar/orderOP.vue
View file @
51a4b95f
<
style
>
</
style
>
</
style
>
<
template
>
<div>
<el-tabs
v-model=
"tab"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"团队订单"
name=
"0"
>
<TeamOrder></TeamOrder>
</el-tab-pane>
<el-tab-pane
label=
"接机订单"
name=
"1"
>
<BookAcarOrder
:pagesTitle=
"pagesTitle"
:type=
"tab"
></BookAcarOrder>
</el-tab-pane>
<el-tab-pane
label=
"送机订单"
name=
"2"
>
<BookAcarOrder
:pagesTitle=
"pagesTitle"
:type=
"tab"
></BookAcarOrder>
</el-tab-pane>
<el-tab-pane
label=
"包车订单"
name=
"3"
>
<BookAcarOrder
:pagesTitle=
"pagesTitle"
:type=
"tab"
></BookAcarOrder>
</el-tab-pane>
</el-tabs>
</div>
</
template
>
<
script
>
import
BookAcarOrder
from
'./components/BookAcarOrder.vue'
;
import
TeamOrder
from
'../../busManagement/tripBusOrder.vue'
;
export
default
{
components
:
{
TeamOrder
,
BookAcarOrder
},
data
()
{
return
{
pagesTitle
:
'OP'
,
tab
:
'1'
};
},
watch
:
{
pagesTitle
(
val
,
oldval
){
}
},
methods
:
{
handleClick
(
tab
,
event
){
this
.
tab
=
tab
.
name
<
template
>
<div>
<el-tabs
v-model=
"tab"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"团队订单"
name=
"0"
>
<TeamOrder
:pagesTitle=
"pagesTitle"
:OrderId=
"OrderId"
></TeamOrder>
</el-tab-pane>
<el-tab-pane
label=
"接机订单"
name=
"1"
>
<BookAcarOrder
:pagesTitle=
"pagesTitle"
:dataObj=
"dataObj"
></BookAcarOrder>
</el-tab-pane>
<el-tab-pane
label=
"送机订单"
name=
"2"
>
<BookAcarOrder
:pagesTitle=
"pagesTitle"
:dataObj=
"dataObj"
></BookAcarOrder>
</el-tab-pane>
<el-tab-pane
label=
"包车订单"
name=
"3"
>
<BookAcarOrder
:pagesTitle=
"pagesTitle"
:dataObj=
"dataObj"
></BookAcarOrder>
</el-tab-pane>
</el-tabs>
</div>
</
template
>
<
script
>
import
BookAcarOrder
from
'./components/BookAcarOrder.vue'
;
import
TeamOrder
from
'../../busManagement/tripBusOrder.vue'
;
export
default
{
components
:
{
TeamOrder
,
BookAcarOrder
},
data
()
{
return
{
pagesTitle
:
'OP'
,
tab
:
'1'
,
OrderId
:
''
,
dataObj
:{
tab
:
'1'
,
OrderId
:
0
,
}
},
created
()
{
};
},
watch
:
{
pagesTitle
(
val
,
oldval
){
},
mounted
()
{
if
(
this
.
$route
.
query
.
OrderType
){
this
.
tab
=
this
.
$route
.
query
.
OrderType
}
else
{
this
.
tab
=
'0'
}
},
};
// dataObj:{
// handler(val, oldVal) {
// this.dataObj.OrderType = val.tab
// this.dataObj.OrderId = val.OrderId
// },
// deep: true,
// immediate: true,
// }
},
methods
:
{
handleClick
(
tab
,
event
){
this
.
tab
=
tab
.
name
this
.
dataObj
.
tab
=
tab
.
name
}
},
created
()
{
},
mounted
()
{
if
(
this
.
$route
.
query
.
OrderType
){
this
.
OrderId
=
this
.
$route
.
query
.
OrderId
this
.
tab
=
this
.
$route
.
query
.
OrderType
this
.
dataObj
.
OrderId
=
this
.
$route
.
query
.
OrderId
this
.
dataObj
.
tab
=
this
.
$route
.
query
.
OrderType
}
else
{
this
.
tab
=
'0'
this
.
OrderId
=
0
this
.
dataObj
.
OrderId
=
0
this
.
dataObj
.
tab
=
'1'
}
},
};
</
script
>
</
script
>
<
style
>
<
style
>
</
style
>
</
style
>
src/components/busManagement/tripBusOrder.vue
View file @
51a4b95f
...
...
@@ -398,6 +398,7 @@
},
OrderId
(
val
,
oldval
){
this
.
msg
.
OrderId
=
val
this
.
getList
()
},
},
methods
:
{
...
...
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