Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
323d9575
Commit
323d9575
authored
Jan 15, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化商品选择组件
parent
e2f482c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
index.vue
src/components/ProductsSelector/index.vue
+6
-2
No files found.
src/components/ProductsSelector/index.vue
View file @
323d9575
...
...
@@ -13,7 +13,7 @@
<el-button
type=
"primary"
@
click=
"reLoad"
:loading=
"loading"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<div
style=
"height: 36px; display: flex; align-items: center"
>
<el-checkbox
:label=
"$t('全选') + `($
{$t('{total}个', {total})})`" @change="toggleAll" :disabled="isAllProduct || loading">
</el-checkbox>
<el-checkbox
:label=
"$t('全选') + `($
{$t('{total}个', {total})})`" @change="toggleAll"
v-model="isCheckedAll"
:disabled="isAllProduct || loading">
</el-checkbox>
</div>
</div>
<div
class=
"list"
>
...
...
@@ -102,7 +102,9 @@ export default {
// 右侧页码
rightPage
:
1
,
// 页大小
pageSize
:
100
pageSize
:
100
,
// 是否选中全选
isCheckedAll
:
false
}
}
,
computed
:
{
...
...
@@ -229,6 +231,8 @@ export default {
let
res
=
await
getSimpleProductList
(
this
.
queryParams
)
this
.
loading
=
false
this
.
list
=
res
.
data
this
.
choosedList
=
[]
this
.
isCheckedAll
=
false
}
,
// 获得指定条件的商品的全部ID
getFilteredIds
(){
...
...
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