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
Unverified
Commit
823530bb
authored
Sep 10, 2024
by
芋道源码
Committed by
Gitee
Sep 10, 2024
Browse files
Options
Browse Files
Download
Plain Diff
!547 【代码优化】商城: 满减活动范围支持分类多选
Merge pull request !547 from puhui999/dev-crm
parents
cb6e716c
1a0ff021
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/views/mall/promotion/rewardActivity/RewardForm.vue
+2
-2
No files found.
src/views/mall/promotion/rewardActivity/RewardForm.vue
View file @
823530bb
...
...
@@ -56,7 +56,7 @@
label=
"分类"
prop=
"productCategoryIds"
>
<ProductCategorySelect
v-model=
"formData.productCategoryIds"
/>
<ProductCategorySelect
v-model=
"formData.productCategoryIds"
:multiple=
"true"
/>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"remark"
>
<el-input
v-model=
"formData.remark"
placeholder=
"请输入备注"
/>
...
...
@@ -188,7 +188,7 @@ const getProductScope = async () => {
case
PromotionProductScopeEnum
.
CATEGORY
.
scope
:
await
nextTick
()
let
productCategoryIds
=
formData
.
value
.
productScopeValues
as
any
if
(
Array
.
isArray
(
productCategoryIds
)
&&
productCategoryIds
.
length
>
0
)
{
if
(
Array
.
isArray
(
productCategoryIds
)
&&
productCategoryIds
.
length
===
1
)
{
// 单选时使用数组不能反显
productCategoryIds
=
productCategoryIds
[
0
]
}
...
...
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