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
6014f250
authored
Jul 28, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
eac9675a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
26 deletions
pages/picking/sort.vue
pages/putaway/index.vue
pages/stockRecheck/sort.vue
pages/picking/sort.vue
View file @
6014f250
...
...
@@ -553,6 +553,15 @@ export default {
this
.
searchParams
.
stock_in_batch_sn
=
this
.
history_id
.
join
(
','
);
this
.
getData
((
data
,
msg
)
=>
{
//回调data里数据,加是否选中交互
if
(
data
.
length
>
0
)
{
this
.
is_batch_active
=
true
;
const
list
=
data
;
list
.
forEach
((
item
,
index
)
=>
{
this
.
filterChange
(
index
);
});
}
//如果后台有消息返回,就提示
if
(
msg
)
{
uni
.
showModal
({
...
...
@@ -578,14 +587,9 @@ export default {
}
});
return
false
;
}
//回调data里数据,加是否选中交互
if
(
data
.
length
>
0
)
{
this
.
is_batch_active
=
true
;
const
list
=
data
;
list
.
forEach
((
item
,
index
)
=>
{
this
.
filterChange
(
index
);
}
else
{
uni
.
showToast
({
icon
:
'success'
});
}
...
...
pages/putaway/index.vue
View file @
6014f250
...
...
@@ -336,6 +336,15 @@ export default {
this
.
searchParams
.
search_keyword
=
this
.
history_id
.
join
(
','
);
this
.
getData
((
data
,
msg
)
=>
{
//回调data里数据,加是否选中交互
if
(
data
.
length
>
0
)
{
this
.
is_batch_active
=
true
;
const
list
=
data
;
list
.
forEach
((
item
,
index
)
=>
{
this
.
filterChange
(
index
);
});
}
//如果后台有消息返回,就提示
if
(
msg
)
{
uni
.
showModal
({
...
...
@@ -346,7 +355,6 @@ export default {
success
:
res
=>
{
let
index_history_id
=
this
.
history_id
.
indexOf
(
val
);
this
.
history_id
.
splice
(
index_history_id
,
1
);
try
{
//再次获取焦点
this
.
isFocus
=
false
;
...
...
@@ -361,14 +369,9 @@ export default {
}
});
return
false
;
}
//回调data里数据,加是否选中交互
if
(
data
.
length
>
0
)
{
this
.
is_batch_active
=
true
;
const
list
=
data
;
list
.
forEach
((
item
,
index
)
=>
{
this
.
filterChange
(
index
);
}
else
{
uni
.
showToast
({
icon
:
'success'
});
}
...
...
@@ -388,10 +391,12 @@ export default {
this
.
searchParams
.
search_keyword
=
val
;
this
.
getData
();
setTimeout
(()
=>
{
if
(
this
.
list
.
length
==
1
)
{
uni
.
navigateTo
({
url
:
'/pages/putaway/single?stock_in_batch_sn='
+
this
.
list
[
0
].
stock_in_batch_sn
+
'&tally_id='
+
this
.
list
[
0
].
tally_id
});
},
1000
);
}
},
800
);
}
}
else
if
(
type
==
2
)
{
//全量搜索
...
...
pages/stockRecheck/sort.vue
View file @
6014f250
...
...
@@ -896,6 +896,15 @@ export default {
this
.
searchParams
.
stock_in_batch_sn
=
this
.
history_id
.
join
(
','
);
this
.
getData
((
data
,
msg
)
=>
{
//回调data里数据,加是否选中交互
if
(
data
.
length
>
0
)
{
this
.
is_batch_active
=
true
;
const
list
=
data
;
list
.
forEach
((
item
,
index
)
=>
{
this
.
filterChange
(
index
);
});
}
//如果后台有消息返回,就提示
if
(
msg
)
{
uni
.
showModal
({
...
...
@@ -921,14 +930,9 @@ export default {
}
});
return
false
;
}
//回调data里数据,加是否选中交互
if
(
data
.
length
>
0
)
{
this
.
is_batch_active
=
true
;
const
list
=
data
;
list
.
forEach
((
item
,
index
)
=>
{
this
.
filterChange
(
index
);
}
else
{
uni
.
showToast
({
icon
:
'success'
});
}
...
...
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