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
9e63fa7b
Commit
9e63fa7b
authored
Feb 28, 2025
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
21be3529
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
186 additions
and
139 deletions
+186
-139
CouponList.vue
src/components/activity/CouponList.vue
+20
-23
autorelease.vue
src/components/activity/autorelease.vue
+18
-2
addAutorelease.vue
src/components/activity/components/addAutorelease.vue
+148
-114
No files found.
src/components/activity/CouponList.vue
View file @
9e63fa7b
...
@@ -158,7 +158,7 @@
...
@@ -158,7 +158,7 @@
<th>
{{
$t
(
'active.cl_djshiyong'
)
}}
</th>
<th>
{{
$t
(
'active.cl_djshiyong'
)
}}
</th>
<th>
{{
$t
(
'active.cl_sxriqi'
)
}}
</th>
<th>
{{
$t
(
'active.cl_sxriqi'
)
}}
</th>
<th>
{{
$t
(
'active.cl_sxzhuangtai'
)
}}
</th>
<th>
{{
$t
(
'active.cl_sxzhuangtai'
)
}}
</th>
<
th>
{{
$t
(
'active.cl_gqriqi'
)
}}
</th
>
<
!--
<th>
{{
$t
(
'active.cl_gqriqi'
)
}}
</th>
--
>
<th>
{{
$t
(
'MarketingActi.usingRange'
)
}}
</th>
<th>
{{
$t
(
'MarketingActi.usingRange'
)
}}
</th>
<th>
{{
$t
(
'admin.admin_status'
)
}}
</th>
<th>
{{
$t
(
'admin.admin_status'
)
}}
</th>
<th>
{{
$t
(
'objFill.v101.activity.shifoujies'
)
}}
</th>
<th>
{{
$t
(
'objFill.v101.activity.shifoujies'
)
}}
</th>
...
@@ -169,7 +169,7 @@
...
@@ -169,7 +169,7 @@
</tr>
</tr>
<tbody
v-loading=
"loading"
>
<tbody
v-loading=
"loading"
>
<tr
v-for=
"(item,index) in DataList"
:key=
"index"
>
<tr
v-for=
"(item,index) in DataList"
:key=
"index"
>
<td>
{{
item
.
couponsName
}}
</td>
<td>
<span
style=
"color:red;"
>
(
{{
item
.
customerType
==
0
?
$t
(
'Operation.Op_fellow'
):
$t
(
'Operation.Op_direct'
)
}}
)
</span>
{{
item
.
couponsName
}}
</td>
<td>
{{
item
.
couponCount
}}
</td>
<td>
{{
item
.
couponCount
}}
</td>
<td>
<td>
<span
class=
"_couponReceiveCount"
<span
class=
"_couponReceiveCount"
...
@@ -184,21 +184,15 @@
...
@@ -184,21 +184,15 @@
<td>
{{
item
.
useCondition
}}
</td>
<td>
{{
item
.
useCondition
}}
</td>
<td>
{{
item
.
denomination
}}
</td>
<td>
{{
item
.
denomination
}}
</td>
<td>
{{
item
.
overlapUse
===
0
?
$t
(
'active.cl_byxu'
)
:
$t
(
'active.cl_yuncu'
)
}}
</td>
<td>
{{
item
.
overlapUse
===
0
?
$t
(
'active.cl_byxu'
)
:
$t
(
'active.cl_yuncu'
)
}}
</td>
<td>
{{
item
.
effectDate
}}
</td>
<td>
<p>
{{
item
.
effectDate
}}
</p><p>
{{
item
.
expirationDate
}}
</p>
</td>
<td>
<td>
<span
v-if=
"item.couponEffectStatus === 1"
style=
"color: green"
>
{{
$t
(
'active.cl_sxzhong'
)
}}
</span>
<span
v-if=
"item.couponEffectStatus === 1"
style=
"color: green"
>
{{
$t
(
'active.cl_sxzhong'
)
}}
</span>
<span
v-if=
"item.couponEffectStatus === 2"
style=
"color: gray"
>
{{
$t
(
'active.cl_wsxiao'
)
}}
</span>
<span
v-if=
"item.couponEffectStatus === 2"
style=
"color: gray"
>
{{
$t
(
'active.cl_wsxiao'
)
}}
</span>
<span
v-if=
"item.couponEffectStatus === 3"
style=
"color: red"
>
{{
$t
(
'active.cl_ygqi'
)
}}
</span>
<span
v-if=
"item.couponEffectStatus === 3"
style=
"color: red"
>
{{
$t
(
'active.cl_ygqi'
)
}}
</span>
</td>
</td>
<
td>
{{
item
.
expirationDate
}}
</td
>
<
!--
<td>
{{
item
.
expirationDate
}}
</td>
--
>
<td>
<td>
{{
item
.
couponsUseScope
.
couponsUseScope
}}
{{
item
.
couponsUseScopeStr
}}
<!--
<span
v-if=
"item.couponsUseScope == 1"
>
{{
$t
(
'MarketingActi.alltongyong'
)
}}
</span>
<span
v-if=
"item.couponsUseScope == 2"
>
{{
$t
(
'active.cl_team'
)
}}
</span>
<span
v-if=
"item.couponsUseScope == 3"
>
{{
$t
(
'active.cl_qianzheng'
)
}}
</span>
<span
v-if=
"item.couponsUseScope == 4"
>
{{
$t
(
'active.cl_jipiao'
)
}}
</span>
<span
v-if=
"item.couponsUseScope == 5"
>
{{
$t
(
'scen.sc_piao'
)
}}
</span>
<span
v-if=
"item.couponsUseScope == 6"
>
{{
$t
(
'MarketingActi.car'
)
}}
</span>
-->
</td>
</td>
<td>
<td>
<span
v-if=
"item.couponStatus == 1"
style=
"color: green"
>
{{
$t
(
'pub.normalSel'
)
}}
</span>
<span
v-if=
"item.couponStatus == 1"
style=
"color: green"
>
{{
$t
(
'pub.normalSel'
)
}}
</span>
...
@@ -388,16 +382,6 @@
...
@@ -388,16 +382,6 @@
<el-form-item
:label=
"$t('active.cl_syfanwei')"
>
<el-form-item
:label=
"$t('active.cl_syfanwei')"
>
<el-select
filterable
v-model=
"addMsg.couponsUseScope"
>
<el-select
filterable
v-model=
"addMsg.couponsUseScope"
>
<el-option
v-for=
"(item,index) in ScopeOfUseList"
:key=
"index"
:label=
"item.Name"
:value=
"item.Id"
></el-option>
<el-option
v-for=
"(item,index) in ScopeOfUseList"
:key=
"index"
:label=
"item.Name"
:value=
"item.Id"
></el-option>
<!--
<el-option
:label=
"$t('active.cl_tongyong')"
:value=
"1"
></el-option>
<el-option
:label=
"$t('active.cl_team')"
:value=
"2"
></el-option>
<el-option
:label=
"$t('active.cl_qianzheng')"
:value=
"3"
></el-option>
<el-option
:label=
"$t('active.cl_jipiao')"
:value=
"4"
></el-option>
<el-option
:label=
"$t('scen.sc_piao')"
:value=
"5"
></el-option>
<el-option
:label=
"$t('MarketingActi.car')"
:value=
"6"
></el-option>
<el-option
:label=
"$t('MarketingActi.free')"
:value=
"7"
></el-option>
<el-option
:label=
"$t('MarketingActi.local')"
:value=
"8"
></el-option>
<el-option
:label=
"$t('hotel.hotel')"
:value=
"9"
></el-option>
<el-option
:label=
"$t('op.smallteam')"
:value=
"10"
></el-option>
-->
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -407,10 +391,14 @@
...
@@ -407,10 +391,14 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('hotel.hotel_remark')"
>
<el-form-item
:label=
"$t('objFill.v102.fafangkeix')"
>
<el-input
v-model=
"addMsg.remark"
class=
"w217"
:placeholder=
"$t('pub.pleaseImport')"
/>
<el-radio-group
v-model=
"addMsg.customerType"
:disabled=
"addMsg.id>0"
>
<el-radio
:label=
"0"
>
{{
$t
(
'Operation.Op_fellow'
)
}}
</el-radio>
<el-radio
:label=
"1"
>
{{
$t
(
'Operation.Op_direct'
)
}}
</el-radio>
</el-radio-group>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('objFill.v101.activity.shiyongpint')"
prop=
"openPlatformList"
>
<el-form-item
:label=
"$t('objFill.v101.activity.shiyongpint')"
prop=
"openPlatformList"
>
<el-select
filterable
class=
"w217"
:multiple=
"true"
v-model=
"addMsg.openPlatformList"
<el-select
filterable
class=
"w217"
:multiple=
"true"
v-model=
"addMsg.openPlatformList"
...
@@ -458,6 +446,11 @@
...
@@ -458,6 +446,11 @@
<el-input
v-model=
"addMsg.expansionModel.orderGuestNum"
class=
"w217"
type=
"number"
/>
<el-input
v-model=
"addMsg.expansionModel.orderGuestNum"
class=
"w217"
type=
"number"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"22"
>
<el-form-item
:label=
"$t('hotel.hotel_remark')"
>
<el-input
v-model=
"addMsg.remark"
:placeholder=
"$t('pub.pleaseImport')"
/>
</el-form-item>
</el-col>
<!--
<el-col
:span=
"12"
>
<!--
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('active.cl_orderType')"
prop=
"lineId"
>
<el-form-item
:label=
"$t('active.cl_orderType')"
prop=
"lineId"
>
<el-select
filterable
v-model=
"addMsg.expansionModel.orderType"
>
<el-select
filterable
v-model=
"addMsg.expansionModel.orderType"
>
...
@@ -692,6 +685,7 @@
...
@@ -692,6 +685,7 @@
lineteamId
:
0
,
lineteamId
:
0
,
couponsUseScope
:
1
,
couponsUseScope
:
1
,
couponStatus
:
1
,
couponStatus
:
1
,
customerType
:
0
,
redemptionPrice
:
''
,
redemptionPrice
:
''
,
remark
:
""
,
remark
:
""
,
autoGrant
:
""
,
autoGrant
:
""
,
...
@@ -828,6 +822,7 @@
...
@@ -828,6 +822,7 @@
}
}
}
}
this
.
addMsg
=
Object
.
assign
({},
item
);
this
.
addMsg
=
Object
.
assign
({},
item
);
console
.
log
(
"item"
,
item
.
customerType
);
if
(
item
.
couponPriceLists
||
item
.
lineId
||
item
.
lineteamId
||
item
.
effectDate
||
item
.
expirationDate
)
{
if
(
item
.
couponPriceLists
||
item
.
lineId
||
item
.
lineteamId
||
item
.
effectDate
||
item
.
expirationDate
)
{
this
.
getTravelPrciePageList
()
this
.
getTravelPrciePageList
()
}
}
...
@@ -1056,6 +1051,7 @@
...
@@ -1056,6 +1051,7 @@
this
.
addMsg
.
checkInLineList
=
item
.
checkInLineList
this
.
addMsg
.
checkInLineList
=
item
.
checkInLineList
this
.
addMsg
.
lineIdList
=
item
.
lineIdList
this
.
addMsg
.
lineIdList
=
item
.
lineIdList
this
.
addMsg
.
lineteamIdList
=
item
.
lineteamIdList
this
.
addMsg
.
lineteamIdList
=
item
.
lineteamIdList
this
.
addMsg
.
customerType
=
item
.
customerType
if
(
item
.
expansionModel
===
null
)
{
if
(
item
.
expansionModel
===
null
)
{
this
.
addMsg
.
expansionModel
=
{
this
.
addMsg
.
expansionModel
=
{
orderType
:
""
,
orderType
:
""
,
...
@@ -1156,6 +1152,7 @@
...
@@ -1156,6 +1152,7 @@
activityEndDate
:
""
,
activityEndDate
:
""
,
overlapUse
:
0
,
overlapUse
:
0
,
useCondition
:
""
,
useCondition
:
""
,
customerType
:
0
,
id
:
0
,
id
:
0
,
couponCount
:
''
,
couponCount
:
''
,
lineteamId
:
0
,
lineteamId
:
0
,
...
...
src/components/activity/autorelease.vue
View file @
9e63fa7b
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"GrantNum"
prop=
"GrantNum"
label=
"发放次数限制
"
>
:label=
"$t('objFill.v102.fafangcishu')
"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.GrantNum==0"
>
<div
v-if=
"scope.row.GrantNum==0"
>
无限制
无限制
...
@@ -42,7 +42,23 @@
...
@@ -42,7 +42,23 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"GrantCouponNum"
:label=
"$t('objFill.v102.fafangzhangshu')"
>
</el-table-column>
<el-table-column
prop=
"GrantNum"
:label=
"$t('objFill.v102.fafangkeix')"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.SelfMotionType==0"
>
{{
$t
(
'Operation.Op_fellow'
)
}}
</div>
<div
v-else-if=
"scope.row.SelfMotionType==1"
>
{{
$t
(
'Operation.Op_direct'
)
}}
</div>
</
template
>
</el-table-column>
<el-table-column
<el-table-column
fixed=
"right"
fixed=
"right"
label=
"操作"
width=
"100"
label=
"操作"
width=
"100"
...
...
src/components/activity/components/addAutorelease.vue
View file @
9e63fa7b
This diff is collapsed.
Click to expand it.
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