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
911204e1
Commit
911204e1
authored
Mar 14, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:修改采购入库扫描按钮改成输入框
parent
3fa49ee5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
purchaseStorage.vue
pages/purchaseStorage/purchaseStorage.vue
+11
-5
No files found.
pages/purchaseStorage/purchaseStorage.vue
View file @
911204e1
...
...
@@ -2,8 +2,8 @@
<view>
<NavBar
title=
"采购入库扫描"
></NavBar>
<view
class=
"btn"
>
<u
-button
@
tap=
"handleScanCode"
type=
"primary"
>
扫描库位
</u-button
>
<u
-button
@
tap=
"handleScanCode"
type=
"primary"
>
扫描产品包装条码/外箱码
</u-button
>
<u
ni-easyinput
prefixIcon=
"search"
class=
"topSearch"
v-model=
"value"
focus
placeholder=
"请扫描库位"
@
input=
"handleInput"
></uni-easyinput
>
<u
ni-easyinput
prefixIcon=
"search"
v-model=
"wxparams"
focus
placeholder=
"请扫描产品包装条码/外箱码"
@
input=
"handleInput"
></uni-easyinput
>
</view>
<view
class=
"total"
>
<view
class=
"left"
>
入库明细
</view>
...
...
@@ -106,13 +106,18 @@ export default {
return
{
number
:
2
,
total
:
200
,
show
:
true
show
:
true
,
value
:
''
,
wxparams
:
''
};
},
methods
:
{
handleBack
()
{
uni
.
navigateBack
();
},
handleInput
(
e
)
{
console
.
log
(
e
,
'eee'
)
},
handleScanCode
()
{
uni
.
scanCode
({
success
:
function
(
res
)
{
...
...
@@ -131,9 +136,10 @@ page {
}
.btn
{
padding
:
20rpx
;
display
:
flex
;
justify-content
:
space-between
;
background
:
#fff
;
.topSearch
{
margin-bottom
:
20rpx
;
}
}
.bottomBtn
{
position
:
sticky
;
...
...
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