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
0b30b8ee
Commit
0b30b8ee
authored
Jul 09, 2024
by
何远江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
2583d394
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
211 additions
and
194 deletions
+211
-194
index.vue
pages/sendOutGoodsOff/index.vue
+10
-5
index.js
uview-ui/libs/request/index.js
+201
-189
No files found.
pages/sendOutGoodsOff/index.vue
View file @
0b30b8ee
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
<StickyNavBar>
<StickyNavBar>
<NavBar
title=
"发货下架"
></NavBar>
<NavBar
title=
"发货下架"
></NavBar>
<view
class=
"btn"
>
<view
class=
"btn"
>
<uni-easyinput
class=
"boxSelect"
prefixIcon=
"search"
v-model=
"lgort"
placeholder=
"请扫描目标仓位"
></uni-easyinput>
<uni-easyinput
prefixIcon=
"search"
:disabled=
"isDisabled"
v-model=
"wxparams"
:focus=
"isFocus"
<uni-easyinput
prefixIcon=
"search"
:disabled=
"isDisabled"
v-model=
"wxparams"
:focus=
"isFocus"
placeholder=
"请扫描产品包装条码/外箱码"
@
input=
"handleInputPlnr"
></uni-easyinput>
placeholder=
"请扫描产品包装条码/外箱码"
@
input=
"handleInputPlnr"
></uni-easyinput>
</view>
</view>
...
@@ -40,6 +41,7 @@
...
@@ -40,6 +41,7 @@
data
()
{
data
()
{
return
{
return
{
wxparams
:
""
,
wxparams
:
""
,
lgort
:
''
,
isDisabled
:
false
,
isDisabled
:
false
,
isFocus
:
false
,
isFocus
:
false
,
goodsList
:
[],
goodsList
:
[],
...
@@ -108,10 +110,13 @@
...
@@ -108,10 +110,13 @@
if
(
!
this
.
goodsList
.
length
)
{
if
(
!
this
.
goodsList
.
length
)
{
return
this
.
$u
.
toast
(
'请扫描需要下架的箱条码/外箱码'
)
return
this
.
$u
.
toast
(
'请扫描需要下架的箱条码/外箱码'
)
}
}
const
DATUM
=
parseTime
(
new
Date
(),
'{y}{m}{d}'
),
if
(
!
this
.
lgort
)
{
UNAME
=
this
.
vuex_user
.
nickName
,
return
this
.
$u
.
toast
(
'请选择目标仓位'
)
UZEIT
=
parseTime
(
new
Date
(),
'{h}{i}{s}'
);
}
const
arr
=
this
.
goodsList
const
arr
=
this
.
goodsList
.
map
((
item
)
=>
{
item
.
LGORT
=
this
.
lgort
return
item
})
this
.
$u
.
api
.
sapApi
this
.
$u
.
api
.
sapApi
.
sapCasePlnr2
(
arr
)
.
sapCasePlnr2
(
arr
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
...
@@ -184,4 +189,4 @@
...
@@ -184,4 +189,4 @@
font-weight
:
600
;
font-weight
:
600
;
}
}
}
}
</
style
>
</
style
>
uview-ui/libs/request/index.js
View file @
0b30b8ee
This diff is collapsed.
Click to expand it.
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