Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7c692d87
authored
Jun 09, 2025
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复过滤器逻辑,确保正确获取选中项的 ID 和相关信息,并重置 swiper 当前页面索引
parent
ef9935cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
pages/arrivalRegister/index.vue
pages/arrivalRegister/index.vue
View file @
7c692d87
...
...
@@ -541,7 +541,7 @@
page
:
1
,
limit
:
30
,
index
:
0
,
array
:
[
'全量搜索'
,
'入仓号'
,
'FedE
x
'
],
array
:
[
'全量搜索'
,
'入仓号'
,
'FedE
X
'
],
list
:
[],
filter_list
:
[],
//筛选已选中的列表
filter_id
:
[],
//过滤处理的id
...
...
@@ -777,9 +777,9 @@
filterChange
(
index
)
{
this
.
$set
(
this
.
filter_list
,
index
,
(
this
.
filter_list
[
index
]
=
!
this
.
filter_list
[
index
]));
let
filter_arr
=
this
.
findIndex
(
this
.
filter_list
,
true
);
this
.
filter_id
=
filter_arr
.
map
(
item
=>
item
.
stock_in_id
);
this
.
filter_id_warehouse_id
=
filter_arr
.
map
(
item
=>
item
.
warehouse_id
);
this
.
filter_id_stock_in_sn
=
filter_arr
.
map
(
item
=>
item
.
stock_in_sn
);
this
.
filter_id
=
filter_arr
.
map
(
item
=>
this
.
list
[
item
]
.
stock_in_id
);
this
.
filter_id_warehouse_id
=
filter_arr
.
map
(
item
=>
this
.
list
[
item
]
.
warehouse_id
);
this
.
filter_id_stock_in_sn
=
filter_arr
.
map
(
item
=>
this
.
list
[
item
]
.
stock_in_sn
);
},
/**
* 全选
...
...
@@ -1294,6 +1294,7 @@
*/
showDrawer
(
stock_in_sn
,
type
)
{
this
.
curr
=
0
;
this
.
swiperCurr
=
0
;
// 重置 swiper 当前页面索引
if
(
type
)
{
//深圳自营和第一次入库
this
.
getZyGoodsData
(
stock_in_sn
);
...
...
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