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
e2bab6fb
Commit
e2bab6fb
authored
May 06, 2023
by
沈良进
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save
parent
6c5b0778
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1584 additions
and
1361 deletions
+1584
-1361
OrderList.vue
src/components/Hotel/reservation/OrderList.vue
+20
-5
correlationOP.vue
src/components/Hotel/reservation/correlationOP.vue
+16
-8
orderList.vue
...omponents/busManagement/BookAcar/components/orderList.vue
+1548
-1348
No files found.
src/components/Hotel/reservation/OrderList.vue
View file @
e2bab6fb
...
...
@@ -784,10 +784,18 @@
v-if=
"item.OrderStatus >1 && item.OrderStatus != 3
&&pagesTitle=='OP'&&is_correlationOP"
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"clickCorrelation(item)"
@
click=
"clickCorrelation(item
, 1
)"
>
<span
class=
"c059FF6"
>
编辑关联OP
</span>
</div>
<div
v-if=
"item.OrderStatus != 3
&&pagesTitle=='OP'"
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"clickCorrelation(item,2)"
>
<span
class=
"c059FF6"
>
编辑总金额
</span>
</div>
</div>
<!-- <div v-if="item.OrderStatus==2" class="column-jac px15 bgE8F5E9 radius5 ml fz12 pa20 flex-s c20C997">
<div class="mb5">已支付</div>
...
...
@@ -980,10 +988,17 @@ export default {
this
.
close
()
this
.
$emit
(
'success'
)
},
clickCorrelation
(
item
){
this
.
CorrelationObj
=
item
this
.
CorrelationObj
.
TypeNum
=
1
this
.
isShowCorrelation
=
true
clickCorrelation
(
item
,
type
){
// this.CorrelationObj = item
// this.CorrelationObj.TypeNum = 1
// this.isShowCorrelation = true
this
.
CorrelationObj
=
JSON
.
parse
(
JSON
.
stringify
(
item
));
if
(
type
==
2
)
{
this
.
CorrelationObj
.
TypeNum
=
5
;
//编辑总价
}
else
{
this
.
CorrelationObj
.
TypeNum
=
1
;
}
this
.
isShowCorrelation
=
true
;
},
isOffset
(
row
,
index
,
num
,
name
){
this
.
makeAdocument
(
row
,
index
,
num
,
name
,
'Offset'
)
...
...
src/components/Hotel/reservation/correlationOP.vue
View file @
e2bab6fb
<
template
>
<el-dialog
:title=
"Title"
width=
"400px"
:visible
.
sync=
"isShow"
center
@
close=
"close"
>
<el-form
class=
"cdForm"
label-width=
"90px"
:model=
"msg"
:rules=
"rules"
ref=
"msg"
>
<template
v-if=
"CorrelationObj.TypeNum!=4"
>
<template
v-if=
"CorrelationObj.TypeNum!=4
&& CorrelationObj.TypeNum!=5 && CorrelationObj.TypeNum!=6
"
>
<el-form-item
label=
"OP"
prop=
"OpEmpId"
>
<el-select
filterable
v-model=
'msg.OpEmpId'
placeholder=
"请选择OP"
>
<el-option
v-for=
'item in EmployeeList'
...
...
@@ -69,7 +69,7 @@
this
.
CorrelationObj
=
newValue
this
.
msg
.
OrderId
=
newValue
.
OrderId
this
.
msg
.
OpEmpId
=
newValue
.
OpEmpId
?
newValue
.
OpEmpId
:
null
if
(
newValue
.
TypeNum
==
4
){
if
(
newValue
.
TypeNum
==
4
||
newValue
.
TypeNum
==
5
||
newValue
.
TypeNum
==
6
){
this
.
msg
.
Money
=
newValue
.
Money
this
.
Title
=
'编辑总金额'
}
else
{
...
...
@@ -87,7 +87,7 @@
mounted
()
{
this
.
msg
.
OrderId
=
this
.
CorrelationObj
.
OrderId
this
.
msg
.
OpEmpId
=
this
.
CorrelationObj
.
OpEmpId
?
this
.
CorrelationObj
.
OpEmpId
:
null
if
(
this
.
CorrelationObj
.
TypeNum
==
4
){
if
(
this
.
CorrelationObj
.
TypeNum
==
4
||
this
.
CorrelationObj
.
TypeNum
==
5
||
this
.
CorrelationObj
.
TypeNum
==
6
){
this
.
msg
.
Money
=
this
.
CorrelationObj
.
Money
this
.
Title
=
'修改总价'
}
else
{
...
...
@@ -98,7 +98,10 @@
methods
:
{
sureBtn
(){
let
url
let
msg
let
msg
=
{
OrderId
:
this
.
msg
.
OrderId
,
OpEmpId
:
this
.
msg
.
OpEmpId
}
if
(
this
.
CorrelationObj
.
TypeNum
==
1
){
url
=
'dict_post_SetCustomerOrderOP'
}
...
...
@@ -114,14 +117,19 @@
Money
:
this
.
msg
.
Money
}
url
=
'ticket_post_SetTicketOrderMoney'
}
else
{
}
else
if
(
this
.
CorrelationObj
.
TypeNum
===
5
){
// 酒店修改总价
msg
=
{
OrderId
:
this
.
msg
.
OrderId
,
OpEmpId
:
this
.
msg
.
OpEmpId
Money
:
this
.
msg
.
Money
}
url
=
'dict_post_SetHotelOrderMoney'
}
else
if
(
this
.
CorrelationObj
.
TypeNum
===
6
){
// 车修改总价
msg
=
{
OrderId
:
this
.
msg
.
OrderId
,
Money
:
this
.
msg
.
Money
}
url
=
'CarSingle_post_SetCarOrderMoney'
}
this
.
$refs
[
'msg'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
apipost
(
url
,
msg
,
res
=>
{
...
...
src/components/busManagement/BookAcar/components/orderList.vue
View file @
e2bab6fb
This diff is collapsed.
Click to expand it.
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