Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
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
office
haoban-3
Commits
5aa8613d
Commit
5aa8613d
authored
Jul 29, 2022
by
huaying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 多人活码作废条件去除
parent
c4187648
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
actCodeDetail.vue
...s/salesleads/actCodeManage/staffActCode/actCodeDetail.vue
+1
-1
act-code-table.vue
...leads/actCodeManage/staffActCode/views/act-code-table.vue
+4
-1
No files found.
src/views/salesleads/actCodeManage/staffActCode/actCodeDetail.vue
View file @
5aa8613d
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<div
v-if=
"codeInfo.statusFlag != 2 && codeInfo.statusFlag"
class=
"flex"
style=
"padding-top:20px;"
>
<div
v-if=
"codeInfo.statusFlag != 2 && codeInfo.statusFlag"
class=
"flex"
style=
"padding-top:20px;"
>
<el-button
v-if=
"codeInfo.hmType == 2 && codeInfo.statusFlag == 1"
icon=
"el-icon-download"
type=
"primary"
style=
"width:120px;margin-right: 12px;"
@
click=
"downloadQR"
>
下载二维码
</el-button>
<el-button
v-if=
"codeInfo.hmType == 2 && codeInfo.statusFlag == 1"
icon=
"el-icon-download"
type=
"primary"
style=
"width:120px;margin-right: 12px;"
@
click=
"downloadQR"
>
下载二维码
</el-button>
<el-button
type=
"primary"
plain
style=
"width:98px;"
@
click=
"modifyCode"
>
编辑
</el-button>
<el-button
type=
"primary"
plain
style=
"width:98px;"
@
click=
"modifyCode"
>
编辑
</el-button>
<el-button
class=
"button-discard specter"
type=
"danger"
plain
:style=
"codeInfo.hmType == 2 && useMemberList.length > 0 ? '' : 'border-color: #F5222D;'"
@
click=
"discardCode"
:disabled=
"codeInfo.hmType == 2 && useMemberList.length > 0"
>
作废
</el-button>
<el-button
class=
"button-discard specter"
type=
"danger"
plain
:style=
"codeInfo.hmType == 2 && useMemberList.length > 0 ? '' : 'border-color: #F5222D;'"
@
click=
"discardCode"
>
作废
</el-button>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/views/salesleads/actCodeManage/staffActCode/views/act-code-table.vue
View file @
5aa8613d
...
@@ -296,7 +296,10 @@ export default {
...
@@ -296,7 +296,10 @@ export default {
{
{
text
:
'作废'
,
text
:
'作废'
,
visible
:
row
=>
{
visible
:
row
=>
{
if
(
this
.
$getButtonLimit
(
this
.
$buttonCode
.
delActCode
)
&&
row
.
statusFlag
!=
2
&&
row
.
hmType
==
2
&&
row
.
clerkCode
==
''
)
{
// if (this.$getButtonLimit(this.$buttonCode.delActCode) && row.statusFlag != 2 && row.hmType == 2 && row.clerkCode == '')
{
// return true;
//
}
if
(
this
.
$getButtonLimit
(
this
.
$buttonCode
.
delActCode
)
&&
row
.
statusFlag
!=
2
)
{
return
true
;
return
true
;
}
}
}
,
}
,
...
...
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