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
e93bd6a5
Commit
e93bd6a5
authored
Jan 21, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠券 团期 发放张数
parent
53679467
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
6 deletions
+41
-6
fill.js
src/assets/common/lang/zhCN/fill.js
+6
-0
CouponList.vue
src/components/activity/CouponList.vue
+24
-4
addAutorelease.vue
src/components/activity/components/addAutorelease.vue
+11
-2
No files found.
src/assets/common/lang/zhCN/fill.js
View file @
e93bd6a5
...
...
@@ -8111,6 +8111,12 @@ export const obj = {
baomi
:
'保密'
,
shifoujuecr
:
'是否决策人'
,
qingxuanzsfjcr
:
'请选择是否决策人'
,
tuanqikaishi
:
'团期开始'
,
tuanqijieshu
:
'团期结束'
,
lingquanzhongxin
:
'领券中心'
,
qingxuanzsypint
:
'请选择使用平台'
,
fafangzhangshu
:
'发放张数'
,
qingsrfafzshu
:
'请输入发放张数'
,
},
//#endregion
}
...
...
src/components/activity/CouponList.vue
View file @
e93bd6a5
...
...
@@ -345,6 +345,18 @@
type=
"datetime"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('objFill.v102.tuanqikaishi')"
>
<el-date-picker
format=
"yyyy-MM-dd HH:mm:ss"
class=
"w217"
v-model=
"addMsg.TeamStartDate"
type=
"datetime"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('objFill.v102.tuanqijieshu')"
>
<el-date-picker
value-format=
"yyyy-MM-dd HH:mm:ss"
class=
"w217"
v-model=
"addMsg.TeamEndDate"
type=
"datetime"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('objFill.v101.activity.xuanzhetuan')"
prop=
""
>
<el-select
filterable
multiple
v-model=
"addMsg.couponPriceLists"
:placeholder=
"$t('objFill.v101.activity.qingxuanzxlxlrq')"
class=
"w217"
...
...
@@ -399,7 +411,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('objFill.v101.activity.shiyongpint')"
prop=
"
O
penPlatformList"
>
<el-form-item
:label=
"$t('objFill.v101.activity.shiyongpint')"
prop=
"
o
penPlatformList"
>
<el-select
filterable
class=
"w217"
:multiple=
"true"
v-model=
"addMsg.openPlatformList"
:placeholder=
"$t('system.ph_choice')"
>
<el-option
:label=
"$t('system.ph_buxian')"
:value=
"0"
:key=
"0"
></el-option>
...
...
@@ -409,10 +421,11 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('objFill.v101.activity.shifouzdff')"
prop=
"
OpenPlatformLis
t"
>
<el-form-item
:label=
"$t('objFill.v101.activity.shifouzdff')"
prop=
"
autoGran
t"
>
<el-select
filterable
class=
"w217"
v-model=
"addMsg.autoGrant"
:placeholder=
"$t('system.ph_choice')"
>
<el-option
:label=
"$t('objFill.v101.activity.buzhidongfaf')"
:value=
"0"
:key=
"0"
></el-option>
<el-option
:label=
"$t('objFill.v101.activity.wankuanhzdfaf')"
:value=
"1"
:key=
"1"
></el-option>
<el-option
:label=
"$t('objFill.v102.lingquanzhongxin')"
:value=
"3"
:key=
"3"
></el-option>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -653,7 +666,12 @@
required
:
true
,
message
:
this
.
$t
(
'objFill.v101.activity.qinxuanzhetuan'
),
trigger
:
"change"
}]
}],
openPlatformList
:
[{
required
:
true
,
message
:
this
.
$t
(
'objFill.v102.qingxuanzsypint'
),
trigger
:
"change"
}],
},
addMsg
:
{
couponsName
:
""
,
...
...
@@ -687,7 +705,9 @@
orderType
:
""
,
denomination
:
""
,
orderGuestNum
:
""
}
},
TeamStartDate
:
""
,
TeamEndDate
:
""
,
},
pwdMsg
:
{
Id
:
""
,
...
...
src/components/activity/components/addAutorelease.vue
View file @
e93bd6a5
...
...
@@ -50,6 +50,11 @@
<el-checkbox
v-model=
"checked"
@
change=
"checked==true? msg.GrantNum=0:msg.GrantNum=1"
style=
"margin-left: 10px"
>
{{
$t
(
'objFill.v102.wuxinzhi'
)
}}
</el-checkbox>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('objFill.v102.fafangzhangshu')"
prop=
"GrantCouponNum"
class=
"is-required"
>
<el-input
v-model=
"msg.GrantCouponNum"
step=
"1"
min=
"0"
onkeyup=
"this.value= this.value.match(/\d+(\d
{0,2})?/) ? this.value.match(/\d+(\d{0,2})?/)[0] : ''" style="width: 100%;"/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('system.table_begTime')"
>
<el-date-picker
size=
"small"
v-model=
"msg.RegisterDate"
type=
"date"
style=
"width: 100%"
...
...
@@ -189,12 +194,16 @@
RegisterDate
:
''
,
KeyWord
:
''
,
BranchId
:
-
1
,
SelfMotionType
:
1
SelfMotionType
:
1
,
GrantCouponNum
:
1
,
},
rules
:{
GrantNum
:[
{
required
:
true
,
message
:
this
.
$t
(
'objFill.v102.zuiduoffcsbnwk'
),
trigger
:
"blur"
}
]
],
GrantCouponNum
:[
{
required
:
true
,
message
:
this
.
$t
(
'objFill.v102.qingsrfafzshu'
),
trigger
:
"blur"
}
],
},
checked
:
false
,
...
...
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