Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2dbfa77b
authored
Oct 21, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code review:banner 逻辑
parent
4709c18a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
2 deletions
+6
-2
.env
+1
-1
src/views/mall/product/spu/form/CouponSelect.vue
+4
-1
src/views/mall/product/spu/form/OtherSettingsForm.vue
+1
-0
src/views/mall/promotion/banner/BannerForm.vue
+0
-0
src/views/mall/promotion/banner/index.vue
+0
-0
No files found.
.env
View file @
2dbfa77b
...
...
@@ -11,7 +11,7 @@ VITE_OPEN=true
VITE_APP_TENANT_ENABLE=true
# 验证码的开关
VITE_APP_CAPTCHA_ENABLE=
fals
e
VITE_APP_CAPTCHA_ENABLE=
tru
e
# 百度统计
VITE_APP_BAIDU_CODE = a1ff8825baa73c3a78eb96aa40325abc
src/views/mall/product/spu/form/CouponSelect.vue
View file @
2dbfa77b
...
...
@@ -201,20 +201,23 @@ const resetQuery = () => {
queryFormRef
?.
value
?.
resetFields
()
handleQuery
()
}
/** 打开弹窗 */
const
open
=
async
()
=>
{
dialogVisible
.
value
=
true
resetQuery
()
}
defineExpose
({
open
})
// 提供 open 方法,用于打开弹窗
const
handleSelectionChange
=
(
val
:
CouponTemplateApi
.
CouponTemplateVO
[])
=>
{
emit
(
'update:multipleSelection'
,
val
.
map
((
item
)
=>
({
id
:
item
.
id
,
name
:
item
.
name
}))
)
}
const
submitForm
=
()
=>
{
dialogVisible
.
value
=
false
}
// TODO @puhui999:提前 todo,先不用改;未来单独成组件,其它模块可以服用;例如说,满减送,可以选择优惠劵;
</
script
>
<
style
lang=
"scss"
scoped
></
style
>
src/views/mall/product/spu/form/OtherSettingsForm.vue
View file @
2dbfa77b
...
...
@@ -42,6 +42,7 @@
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"活动优先级"
>
<!-- TODO @puhui999:这个目前先写死;主要是,这个优惠类型不好用 promotion_type_enum;因为优惠劵、会员折扣都算。 -->
<ActivityOrdersSort
v-model:activity-orders=
"formData.activityOrders"
:promotion-types=
"promotionTypes"
...
...
src/views/mall/promotion/
market/
banner/BannerForm.vue
→
src/views/mall/promotion/banner/BannerForm.vue
View file @
2dbfa77b
File moved
src/views/mall/promotion/
market/
banner/index.vue
→
src/views/mall/promotion/banner/index.vue
View file @
2dbfa77b
File moved
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