Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xgdlapp
Project
Project
Details
Activity
Releases
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
李苏
xgdlapp
Commits
35233337
Commit
35233337
authored
Apr 07, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
/* 移出入加库位码 */
parent
225d90a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
index.vue
pages/dl_outin/index.vue
+9
-5
No files found.
pages/dl_outin/index.vue
View file @
35233337
...
@@ -49,8 +49,10 @@
...
@@ -49,8 +49,10 @@
</view>
</view>
<!-- 移入库位 -->
<!-- 移入库位 -->
<!--
<view
class=
"padding-xs bg-white"
v-show=
"index!=null&&code!=''"
>
-->
<!--
<view
class=
"padding-xs bg-white"
v-show=
"index!=null&&code!=''"
>
-->
<view
v-show=
"index!=null&&apiCode!=''"
class=
"padding-xs bg-white"
style=
"display: flex;justify-content: center;align-items: center;"
>
<view
class=
"cu-form-group"
style=
"padding-left: 20px;padding-right: 20px;"
v-show=
"current==1"
>
<button
@
tap=
"apiYcjh()"
class=
"cu-btn bg-gradual-green xs "
style=
"width: 50%;margin-top:10px;"
>
移入库位
</button>
<view
class=
"title"
>
扫库位码
</view>
<input
v-model=
"ykcode"
:focus=
"stpmFocus"
@
confirm=
"apiYcjh"
placeholder=
"请扫描库位码"
></input>
<Scan
:app=
"app"
:params=
"'ykcode'"
:do=
"'apiYcjh'"
></Scan>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -70,6 +72,7 @@
...
@@ -70,6 +72,7 @@
tabs
:
[
'待移出'
,
'待移入'
],
tabs
:
[
'待移出'
,
'待移入'
],
jhList
:[],
jhList
:[],
code
:
''
,
code
:
''
,
ykcode
:
''
,
apiCode
:
''
,
apiCode
:
''
,
apiShow
:{
apiShow
:{
djid
:
''
,
djid
:
''
,
...
@@ -124,7 +127,7 @@
...
@@ -124,7 +127,7 @@
},
},
/* 移入计划 */
/* 移入计划 */
apiYcjh
(){
apiYcjh
(){
if
(
!
this
.
apiC
ode
){
if
(
!
this
.
ykc
ode
){
this
.
$tip
.
toast
(
"请先扫描库位码"
)
this
.
$tip
.
toast
(
"请先扫描库位码"
)
return
return
}
}
...
@@ -134,11 +137,12 @@
...
@@ -134,11 +137,12 @@
}
}
let
params
=
{
let
params
=
{
code
:
this
.
apiC
ode
,
code
:
this
.
ykc
ode
,
ykjhid
:
this
.
jhList
[
this
.
index
].
id
ykjhid
:
this
.
jhList
[
this
.
index
].
id
}
}
apiYrkw
(
params
).
then
(
res
=>
{
apiYrkw
(
params
).
then
(
res
=>
{
this
.
current
=
0
this
.
current
=
0
this
.
ykcode
=
''
this
.
code
=
''
this
.
code
=
''
this
.
apiCode
=
''
this
.
apiCode
=
''
this
.
$tip
.
toast
(
'操作成功'
)
this
.
$tip
.
toast
(
'操作成功'
)
...
...
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