Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-activity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d2ab2d4b
authored
Jul 23, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
领取过不能修改
1 parent
e09d7f64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
src/views/gift/create.vue
src/views/gift/detail.vue
src/views/gift/create.vue
View file @
d2ab2d4
...
@@ -202,7 +202,7 @@ export default {
...
@@ -202,7 +202,7 @@ export default {
}
}
API
(
pramas
).
then
(
res
=>
{
API
(
pramas
).
then
(
res
=>
{
this
.
hideLoading
()
this
.
hideLoading
()
if
(
perfectFlag
==
2
||
res
?.
receivedStock
){
if
(
perfectFlag
==
2
||
res
.
receiveRule
==
2
){
this
.
disabledList
=
[
'name'
,
'remark'
,
'add'
]
this
.
disabledList
=
[
'name'
,
'remark'
,
'add'
]
}
}
res
=
this
.
setCouponData
(
res
)
res
=
this
.
setCouponData
(
res
)
...
...
src/views/gift/detail.vue
View file @
d2ab2d4
...
@@ -138,11 +138,17 @@
...
@@ -138,11 +138,17 @@
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/template
>
<
/template
>
<
div
v
-
if
=
"flag && (!(approveStatus == 1 || pageIdx==1 ||
pageIdx==2 ||
(pageIdx!=3 && receiveDetailList.length>1)))"
class
=
"submit-btn"
>
<
div
v
-
if
=
"flag && (!(approveStatus == 1 || pageIdx==1 || (pageIdx!=3 && receiveDetailList.length>1)))"
class
=
"submit-btn"
>
<
div
<
div
class
=
"text-center sub-btn"
class
=
"text-center sub-btn"
@
click
=
"changeGift"
@
click
=
"changeGift"
>
{{
perfectFlag
==
0
?
'修改'
:
perfectFlag
==
1
?
'提交申请'
:
'去指定领取条件'
}}
<
/div
>
v
-
if
=
"perfectFlag==0 && !obj.receivedStock"
>
修改
<
/div
>
<
div
class
=
"text-center sub-btn"
@
click
=
"changeGift"
v
-
if
=
"perfectFlag!=0"
>
{{
perfectFlag
==
1
?
'提交申请'
:
'去指定领取条件'
}}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/template
>
<
/template
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment