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
d4a3dec4
Commit
d4a3dec4
authored
Aug 05, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门票保存新增验证重复
parent
3e29453e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
admissionStatisticsDetails.vue
src/components/scenicSpot/admissionStatisticsDetails.vue
+8
-2
No files found.
src/components/scenicSpot/admissionStatisticsDetails.vue
View file @
d4a3dec4
...
...
@@ -4,8 +4,8 @@
<ul>
<li>
<template
v-if=
"IsOperation !=1"
>
<input
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存"
@
click=
"saveList(1)"
/>
<input
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存草稿"
@
click=
"saveList(0)"
/>
<input
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存"
@
click=
"saveList(1)"
:disabled=
"IsDisabled"
/>
<input
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存草稿"
@
click=
"saveList(0)"
:disabled=
"IsDisabled"
/>
</
template
>
<
template
v-else
>
<span
style=
"color:red;font-size:14px;"
>
已制单,不能在修改!
</span>
...
...
@@ -161,6 +161,8 @@
IsOperation
:
''
,
//当前登录人信息
CurrentUserInfo
:{},
//是否禁用按钮
IsDisabled
:
false
,
}
},
methods
:
{
...
...
@@ -213,6 +215,7 @@
},
err
=>
{})
},
saveList
(
type
)
{
this
.
IsDisabled
=
true
;
if
(
type
==
0
)
{
this
.
DataList
.
forEach
(
item
=>
{
item
.
ScenicStatisticsList
.
forEach
(
insideItem
=>
{
...
...
@@ -247,10 +250,13 @@
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
getList
();
this
.
IsDisabled
=
false
;
}
else
{
this
.
IsDisabled
=
false
;
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
},
mounted
()
{
...
...
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