Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pda-scan
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
ximai
mes-pda-scan
Commits
1d8ae91e
Commit
1d8ae91e
authored
Jul 01, 2024
by
何远江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消库位扫描
parent
79e9b8fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
27 deletions
+1
-27
listItem.vue
pages/outsourcedReturn/listItem.vue
+0
-4
outsourcedReturn.vue
pages/outsourcedReturn/outsourcedReturn.vue
+1
-23
No files found.
pages/outsourcedReturn/listItem.vue
View file @
1d8ae91e
...
...
@@ -63,10 +63,6 @@ export default {
default
:
function
()
{
return
[];
}
},
nlpla
:
{
type
:
String
,
default
:
''
}
},
data
()
{
...
...
pages/outsourcedReturn/outsourcedReturn.vue
View file @
1d8ae91e
...
...
@@ -3,7 +3,6 @@
<StickyNavBar>
<NavBar
title=
"委外退料"
></NavBar>
<view
class=
"btn"
>
<uni-easyinput
prefixIcon=
"search"
class=
"topSearch"
v-model=
"nlpla"
focus
placeholder=
"请扫描库位"
@
change=
"handleInputNlpla"
></uni-easyinput>
<uni-easyinput
prefixIcon=
"search"
:disabled=
"isDisabled"
...
...
@@ -26,7 +25,7 @@
</StickyNavBar>
<ContentLoadingMore
class=
"cardbox"
:list=
'chargaArr'
>
<view
class=
"cardContent"
v-for=
"(item, index) in chargaArr"
>
<listItem
:item=
"item"
:goodsList=
"goodsList"
:nlpla=
"nlpla"
@
deleGonds=
"deleGonds"
/>
<listItem
:item=
"item"
:goodsList=
"goodsList"
@
deleGonds=
"deleGonds"
/>
</view>
</ContentLoadingMore>
<BottomBtn
:btnArr=
"btnArr"
@
getBtnHandle=
"getBtnHandle"
></BottomBtn>
...
...
@@ -51,7 +50,6 @@ export default {
number
:
0
,
totalNum
:
0
,
show
:
true
,
nlpla
:
''
,
wxparams
:
''
,
btnArr
:
[
{
...
...
@@ -124,7 +122,6 @@ export default {
this
.
goodsList
=
[];
this
.
chargaArr
=
[]
this
.
totalNum
=
0
;
this
.
nlpla
=
''
;
this
.
wxparams
=
''
;
this
.
$u
.
toast
(
'提交成功'
);
}
...
...
@@ -139,26 +136,8 @@ export default {
// e&& e.length > 79 && this.getPlnr(e);
e
&&
this
.
getPlnr
(
e
);
},
handleInputNlpla
(
e
)
{
if
(
e
)
{
// this.nlpla = e;
// this.goodsList.forEach((ele) => {
// this.totalNum += ele.TOMNG-0;
// ele.NLPLA = ele.NLPLA || this.nlpla;
// });
}
},
getPlnr
(
plnr
)
{
this
.
isDisabled
=
true
;
if
(
!
this
.
nlpla
){
this
.
$u
.
toast
(
'请先扫描仓位'
);
setTimeout
(()
=>
{
this
.
wxparams
=
''
;
this
.
isFocus
=
true
;
this
.
isDisabled
=
false
;
},
1000
);
return
}
this
.
$u
.
api
.
sapApi
.
sapPlnr
({
plnr
,
...
...
@@ -178,7 +157,6 @@ export default {
const
arr
=
[
{
...
res
.
DATA
[
0
],
NLPLA
:
this
.
nlpla
}
]
this
.
goodsList
=
this
.
goodsList
.
concat
(
arr
);
...
...
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