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
50fa9531
Commit
50fa9531
authored
Nov 24, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
9632e195
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
2 deletions
+31
-2
OrderList.vue
src/components/Hotel/reservation/OrderList.vue
+31
-2
No files found.
src/components/Hotel/reservation/OrderList.vue
View file @
50fa9531
...
...
@@ -329,7 +329,7 @@
<div
v-else
class=
"column-ac px15 bgE8F5E9 radius5 ml fz12 pa20 flex-s c20C997"
>
<div
class=
"mb5"
>
已支付
</div>
<div>
<span
class=
"fbold fz14"
>
0.00
</span>
<span
class=
"fbold fz14"
>
{{item.Income}}
</span>
<span>
元
</span>
</div>
<div
v-if=
"item.OrderStatus==2"
class=
"orderop"
>
...
...
@@ -402,6 +402,7 @@
Type
:
num
,
tradeObj
:
JSON
.
stringify
(
this
.
BillMakingMsg
)
}
this
.
$store
.
commit
(
"ChoiceAddFinancialDocuments"
);
this
.
$router
.
push
({
path
:
"/ChoiceAddFinancialDocuments"
,
query
...
...
@@ -432,13 +433,41 @@
clickRightButtom
(
item
,
type
){
// 0取消订单 1确认订单
if
(
type
==
0
){
this
.
cancelFun
(
item
)
}
else
if
(
type
==
1
){
if
(
!
this
.
loading1
){
this
.
confirmFun
(
item
)
}
}
},
cancelFun
(
item
){
this
.
$confirm
(
"是否确认取消订单?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
})
.
then
(()
=>
{
this
.
loading0
=
true
this
.
apipost
(
"dict_post_CancelCustomerOrder"
,
{
OrderId
:
item
.
OrderId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
$emit
(
'success'
)
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
this
.
loading0
=
false
},
err
=>
{
this
.
loading0
=
false
}
);
})
.
catch
(()
=>
{
this
.
$message
.
info
(
"已取消!"
);
});
},
confirmFun
(
item
){
this
.
$confirm
(
"是否确认订单?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
...
...
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