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
84b560f9
authored
May 11, 2026
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix(sort): 移除输入框禁用状态,优化批量扫描输入体验
修复了批量扫描输入框的禁用状态逻辑,确保用户在输入时不会受到限制。
parent
374a98e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
pages/picking/sort.vue
pages/picking/sort.vue
View file @
84b560f9
...
...
@@ -31,15 +31,15 @@
<text
style=
"font-size: 18rpx;white-space: nowrap;"
>
批量扫描
</text>
</view>
</view>
<view
class=
"search-bar row bothSide verCenter"
:class=
"{ 'disabled-color': searchParams.position_name == '' ? true : false }"
>
<view
class=
"search-bar row bothSide verCenter"
>
<view
class=
"row verCenter"
>
<text
class=
"iconfont icon-juxing1"
></text>
<!-- 批量扫描 -->
<
template
v-if=
"is_batch"
>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
:disabled=
"searchParams.position_name == '' ? true : false"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"search_keyword"
@
input=
"handleInput(2, search_keyword)"
maxlength=
"16"
ref=
"myInput"
/>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"search_keyword"
@
input=
"handleInput(2, search_keyword)"
maxlength=
"16"
ref=
"myInput"
/>
</
template
>
<
template
v-else
>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
:disabled=
"searchParams.position_name == '' ? true : false"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.stock_in_batch_sn"
@
input=
"handleInput(2, searchParams.stock_in_batch_sn)"
maxlength=
"16"
ref=
"myInput"
/>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.stock_in_batch_sn"
@
input=
"handleInput(2, searchParams.stock_in_batch_sn)"
maxlength=
"16"
ref=
"myInput"
/>
</
template
>
</view>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput(2)"
v-if=
"input_flag_stock_in_batch_sn"
></text>
...
...
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