Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
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
2c2d04aa
authored
Apr 27, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
8d4ea0ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
pages/arrivalRegister/registered.vue
pages/arrivalRegister/registered.vue
View file @
2c2d04aa
...
...
@@ -13,13 +13,13 @@
<view
class=
"row verCenter"
>
<text
class=
"iconfont icon-juxing1"
></text>
<template
v-if=
"index == 0"
>
<input
class=
"uni-input"
placeholder=
"请输入物流单号"
placeholder-style=
"color:#919399"
focus
v-model=
"searchParams.tracking_no"
@
input=
"handleInput"
/>
<input
class=
"uni-input"
placeholder=
"请输入物流单号"
placeholder-style=
"color:#919399"
focus
v-model=
"searchParams.tracking_no"
@
input=
"handleInput
(1, $event)
"
/>
</
template
>
<
template
v-else-if=
"index == 1"
>
<input
class=
"uni-input"
placeholder=
"请输入入库单号"
placeholder-style=
"color:#919399"
focus
v-model=
"searchParams.stock_in_sn"
@
input=
"handleInput"
/>
<input
class=
"uni-input"
placeholder=
"请输入入库单号"
placeholder-style=
"color:#919399"
focus
v-model=
"searchParams.stock_in_sn"
@
input=
"handleInput
(2, $event)
"
/>
</
template
>
<
template
v-else-if=
"index == 2"
>
<input
class=
"uni-input"
placeholder=
"请输入入仓号"
placeholder-style=
"color:#919399"
focus
v-model=
"searchParams.stock_in_with_stock_in_items_inhouse"
@
input=
"handleInput"
/>
<input
class=
"uni-input"
placeholder=
"请输入入仓号"
placeholder-style=
"color:#919399"
focus
v-model=
"searchParams.stock_in_with_stock_in_items_inhouse"
@
input=
"handleInput
(3, $event)
"
/>
</
template
>
</view>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput()"
v-if=
"input_flag"
></text>
...
...
@@ -227,9 +227,20 @@ export default {
* 单号搜索
* @param {Object} event
*/
handleInput
:
debounce
(
function
(
event
)
{
handleInput
:
debounce
(
function
(
type
,
event
)
{
var
val
=
event
.
target
.
value
;
this
.
searchParams
.
tracking_no
=
''
;
this
.
searchParams
.
stock_in_sn
=
''
;
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
=
''
;
if
(
val
)
{
if
(
type
==
1
)
{
this
.
searchParams
.
tracking_no
=
val
;
}
else
if
(
type
==
2
)
{
this
.
searchParams
.
stock_in_sn
=
val
;
}
else
if
(
type
==
3
)
{
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
=
val
;
}
this
.
input_flag
=
true
;
}
else
{
this
.
input_flag
=
false
;
...
...
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