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
02e1cff9
Commit
02e1cff9
authored
Jan 12, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
265c8602
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
OrderList.vue
src/components/scenicSpot/reservation/OrderList.vue
+13
-8
No files found.
src/components/scenicSpot/reservation/OrderList.vue
View file @
02e1cff9
...
@@ -459,7 +459,8 @@
...
@@ -459,7 +459,8 @@
>
>
<
template
slot-scope=
"scope"
v-if=
"scope.$index==0"
:row=
"item.DetailList.length"
>
<
template
slot-scope=
"scope"
v-if=
"scope.$index==0"
:row=
"item.DetailList.length"
>
<template>
<template>
<div>
{{
item
.
CouponsName
}}
<span
style=
"color: gray;"
>
{{
item
.
UseDate
}}
</span></div>
<div>
{{
item
.
CouponsName
}}
</div>
<span
style=
"color: #999999;"
>
{{
item
.
UseDate
}}
</span>
</
template
>
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
...
@@ -716,7 +717,7 @@
...
@@ -716,7 +717,7 @@
</el-col> -->
</el-col> -->
<el-col
:span=
"20"
v-if=
"typeState==3"
>
<el-col
:span=
"20"
v-if=
"typeState==3"
>
<el-form-item
label=
"自提地址"
prop=
"SelffetchAddress"
>
<el-form-item
label=
"自提地址"
prop=
"SelffetchAddress"
>
<el-input
class=
"w200
"
v-model=
"msg.SelffetchAddress"
></el-input>
<el-input
type=
"textarea"
:autosize=
"{ minRows: 2, maxRows: 4}
"
v-model=
"msg.SelffetchAddress"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"20"
v-if=
"typeState==4"
>
<el-col
:span=
"20"
v-if=
"typeState==4"
>
...
@@ -742,7 +743,7 @@
...
@@ -742,7 +743,7 @@
type=
"button"
type=
"button"
class=
"hollowFixedBtn"
class=
"hollowFixedBtn"
value=
"取消"
value=
"取消"
@
click=
"(outerVisible = false), $refs[
msg
].resetFields()"
@
click=
"(outerVisible = false), $refs[
'msg'
].resetFields()"
/>
/>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -1154,13 +1155,19 @@
...
@@ -1154,13 +1155,19 @@
clickRightButtom
(
item
,
type
)
{
clickRightButtom
(
item
,
type
)
{
// 0取消订单 1确认订单 2已邮寄 3设置自提地址 4收损
// 0取消订单 1确认订单 2已邮寄 3设置自提地址 4收损
this
.
msg
.
OrderId
=
item
.
OrderId
;
this
.
msg
.
OrderId
=
item
.
OrderId
;
this
.
msg
.
SelffetchAddress
=
item
.
SelffetchAddress
this
.
items
=
item
this
.
items
=
item
this
.
typeState
=
type
this
.
typeState
=
type
if
(
type
==
0
)
{
if
(
type
==
0
)
{
if
(
!
this
.
loading0
)
{
if
(
!
this
.
loading0
)
{
this
.
cancelOrderId
=
item
.
OrderId
this
.
cancelOrderId
=
item
.
OrderId
// 销售 OP
// 销售 OP
this
.
cancelOrderDialog
=
true
;
if
(
this
.
pagesTitle
!=
'销售'
){
this
.
cancelOrderDialog
=
true
;
}
else
{
this
.
cancelOrderHandler
()
}
}
}
}
else
if
(
type
==
1
)
{
}
else
if
(
type
==
1
)
{
if
(
!
this
.
loading1
)
{
if
(
!
this
.
loading1
)
{
...
@@ -1173,12 +1180,10 @@
...
@@ -1173,12 +1180,10 @@
}
else
if
(
type
==
3
)
{
}
else
if
(
type
==
3
)
{
if
(
!
this
.
loading1
)
{
if
(
!
this
.
loading1
)
{
this
.
outerVisible
=
true
;
this
.
outerVisible
=
true
;
// this.confirmFun(item, type);
}
}
}
else
if
(
type
==
4
)
{
}
else
if
(
type
==
4
)
{
if
(
!
this
.
loading2
)
{
if
(
!
this
.
loading2
)
{
this
.
outerVisible
=
true
;
this
.
outerVisible
=
true
;
// this.msg.OrderId = item.OrderId;
this
.
msg
.
LossMoney
=
item
.
LossMoney
?
item
.
LossMoney
:
0
;
this
.
msg
.
LossMoney
=
item
.
LossMoney
?
item
.
LossMoney
:
0
;
}
}
}
}
...
@@ -1229,7 +1234,7 @@
...
@@ -1229,7 +1234,7 @@
});
});
},
},
cancelOrderHandler
()
{
cancelOrderHandler
()
{
if
(
this
.
cancelRemark
==
""
)
{
if
(
this
.
cancelRemark
==
""
&&
this
.
pagesTitle
!=
'销售'
)
{
this
.
Error
(
"请填写取消订单的缘由"
);
this
.
Error
(
"请填写取消订单的缘由"
);
return
;
return
;
}
}
...
@@ -1240,7 +1245,7 @@
...
@@ -1240,7 +1245,7 @@
{
{
OrderId
:
this
.
cancelOrderId
,
OrderId
:
this
.
cancelOrderId
,
IsOPCancel
:
this
.
pagesTitle
!=
'销售'
?
1
:
0
,
IsOPCancel
:
this
.
pagesTitle
!=
'销售'
?
1
:
0
,
Remark
:
this
.
cancelRemark
Remark
:
this
.
pagesTitle
!=
'销售'
?
this
.
cancelRemark
:
''
},
},
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
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