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
9939e2f2
Commit
9939e2f2
authored
Mar 08, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
‘抽奖活动’
parent
a5330127
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
CouponList.vue
src/components/activity/CouponList.vue
+19
-4
No files found.
src/components/activity/CouponList.vue
View file @
9939e2f2
...
...
@@ -101,12 +101,12 @@
<td>
{{
item
.
couponCount
}}
</td>
<td>
{{
item
.
couponReceiveCount
}}
</td>
<td>
{{
(
item
.
couponCount
-
item
.
couponReceiveCount
)
>
0
?
(
item
.
couponCount
-
item
.
couponReceiveCount
)
:
0
}}
</td>
<td>
{{
item
.
lineName
}}
</td>
<td>
{{
item
.
line
Id
<=
0
?
'不限'
:
item
.
line
Name
}}
</td>
<td>
{{
item
.
couponsType
===
1
?
"抵用券"
:
"折扣券"
}}
</td>
<td>
{{
item
.
useCondition
}}
</td>
<td>
{{
item
.
denomination
}}
</td>
<!--
<td>
{{
item
.
useState
}}
</td>
-->
<td>
{{
item
.
overlapUse
===
1
?
"不允许"
:
"允许"
}}
</td>
<td>
{{
item
.
overlapUse
===
0
?
"不允许"
:
"允许"
}}
</td>
<td>
{{
item
.
effectDate
}}
</td>
<td>
{{
item
.
expirationDate
}}
</td>
<td>
{{
item
.
createBy
}}
</td>
...
...
@@ -323,12 +323,13 @@ export default {
companyList
:
[],
layerDepartMentList
:
[],
departMentList
:
[],
PostList
:
[]
PostList
:
[],
groupId
:
''
,
};
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
this
.
msg
.
groupId
=
this
.
getCompanyMsg
.
RB_Group_Id
=
this
.
addMsg
.
groupId
=
userInfo
.
RB_Group_id
;
//集团
this
.
groupId
=
this
.
msg
.
groupId
=
this
.
getCompanyMsg
.
RB_Group_Id
=
this
.
addMsg
.
groupId
=
userInfo
.
RB_Group_id
;
//集团
this
.
msg
.
branchId
=
userInfo
.
RB_Branch_id
;
//公司
this
.
getList
();
this
.
getCompany
();
...
...
@@ -456,6 +457,20 @@ export default {
resetForm
(
formName
)
{
//弹出框取消 初始化谈框内表单
this
.
$refs
[
formName
].
resetFields
();
this
.
addMsg
=
{
couponsName
:
""
,
effectDate
:
""
,
expirationDate
:
""
,
couponsType
:
1
,
groupId
:
this
.
groupId
,
branchId
:
""
,
lineId
:
""
,
denomination
:
""
,
overlapUse
:
0
,
useCondition
:
""
,
id
:
0
,
couponCount
:
''
,
}
}
}
};
...
...
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