Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
zhengke
jz_Travel
Commits
5772ac75
Commit
5772ac75
authored
Oct 21, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
6a3ad324
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
jz_Activity.vue
pages/jiuzhai/jz_Activity.vue
+13
-5
No files found.
pages/jiuzhai/jz_Activity.vue
View file @
5772ac75
...
...
@@ -316,7 +316,7 @@
<view
style=
"margin: 10rpx 0 15rpx 0;display: flex;justify-content: space-between;"
>
<view>
游客
{{
subIndex
+
1
}}
</view>
<view
v-if=
"subIndex!=0"
>
<u-icon
size=
"40"
name=
"delete"
color=
"red"
@
click=
"delGuest(
i
ndex)"
></u-icon>
<u-icon
size=
"40"
name=
"delete"
color=
"red"
@
click=
"delGuest(
subI
ndex)"
></u-icon>
</view>
</view>
<view
class=
"form-items"
>
...
...
@@ -511,6 +511,8 @@
<!-- #ifdef MP-ALIPAY -->
<subscribe-msg
/>
<!-- #endif -->
<!-- 删除的弹框 -->
<u-modal
v-model=
"showModal"
content=
"确实删除该游客"
:show-cancel-button=
"true"
:show-title=
"false"
@
confirm=
"confirm"
></u-modal>
</view>
</
template
>
...
...
@@ -544,7 +546,9 @@ export default {
orderData
:
""
,
Remarks
:
""
,
//备注
GuestList
:
[],
startCityName
:
''
startCityName
:
''
,
showModal
:
false
,
commonIndex
:
-
1
,
};
},
created
()
{
...
...
@@ -560,7 +564,11 @@ export default {
methods
:
{
//删除游客
delGuest
(
index
){
this
.
GuestList
.
splice
(
index
,
1
);
this
.
commonIndex
=
index
;
this
.
showModal
=
true
;
},
confirm
(){
this
.
GuestList
.
splice
(
this
.
commonIndex
,
1
);
this
.
orderMsg
.
ManNum
--
;
this
.
singleCalc
();
},
...
...
@@ -875,7 +883,7 @@ export default {
});
setTimeout
(()
=>
{
uni
.
redirectTo
({
url
:
"/pages/jiuzhai/jz_
SureOrder
?orderId="
+
OrderId
,
url
:
"/pages/jiuzhai/jz_
ActiveInfo
?orderId="
+
OrderId
,
});
},
100
);
},
...
...
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