Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
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
5580d035
authored
Apr 04, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
f0b8cebe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
pages/scanInventory/index.vue
pages/scanInventory/index.vue
View file @
5580d035
...
...
@@ -80,8 +80,8 @@ export default {
listPop
:
[],
selectedIndexs
:
[],
index
:
0
,
array
:
[
'扫描digikey'
,
'扫描
Mouser'
,
'扫描Arrow'
,
'扫描
Rochester'
,
'扫描TME'
,
'扫描Chip1stop'
],
arrar_val
:
[
'digikey'
,
'
Mouser'
,
'Arrow'
,
'
Rochester'
,
'TME'
,
'Chip1stop'
]
array
:
[
'扫描digikey'
,
'扫描Rochester'
,
'扫描TME'
,
'扫描Chip1stop'
],
arrar_val
:
[
'digikey'
,
'Rochester'
,
'TME'
,
'Chip1stop'
]
};
},
methods
:
{
...
...
@@ -121,7 +121,7 @@ export default {
});
},
getBoxSnAndNum
()
{
this
.
request
(
API
.
getBoxSnAndNum
,
'POST'
,
{
box_sn
:
this
.
box_sn
},
fals
e
).
then
(
res
=>
{
this
.
request
(
API
.
getBoxSnAndNum
,
'POST'
,
{
box_sn
:
this
.
box_sn
},
tru
e
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
this
.
list
=
res
.
data
;
}
else
{
...
...
@@ -161,6 +161,7 @@ export default {
},
selectionChange
(
e
)
{
this
.
selectedIndexs
=
e
.
detail
.
index
;
this
.
selectedIndexs
.
sort
();
},
scanChange
(
event
)
{
clearTimeout
(
this
.
timer
);
...
...
@@ -193,6 +194,7 @@ export default {
console
.
log
(
this
.
selectedIndexs
[
i
]);
this
.
list
.
splice
(
this
.
selectedIndexs
[
i
],
1
);
}
this
.
$forceUpdate
();
this
.
$refs
.
table
.
clearSelection
();
},
...
...
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