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
04113bc9
authored
Jul 31, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
备注突出显示以及箱号扫描操作后自动清空
parent
c44d5747
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
4 deletions
assets/css/arrivalRegister/splitGoods.scss
pages/arrivalRegister/index.vue
pages/arrivalRegister/splitGoods.vue
pages/tallyReceive/index.vue
assets/css/arrivalRegister/splitGoods.scss
View file @
04113bc9
...
...
@@ -313,6 +313,7 @@
margin-bottom
:
10rpx
;
}
.input-box
{
position
:
relative
;
.uni-arrow
{
width
:
14rpx
;
height
:
9rpx
;
...
...
@@ -339,6 +340,14 @@
font-size
:
17rpx
;
padding
:
18rpx
18rpx
10rpx
18rpx
;
}
.icon-a-juxing11
{
position
:
absolute
;
right
:
18rpx
;
bottom
:
13rpx
;
font-size
:
30rpx
;
color
:
#c6c7cc
;
z-index
:
10
;
}
}
.select-box
{
background
:
#ffffff
;
...
...
pages/arrivalRegister/index.vue
View file @
04113bc9
...
...
@@ -1010,6 +1010,7 @@
this
.
searchParams
.
mobile_register_all_search
=
''
;
//全量搜索
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
=
''
;
//入仓号
this
.
searchParams
.
tracking_no
=
''
;
//Fedex
this
.
searchParams
.
box_sn
=
''
;
//箱号
this
.
filter_id
=
[];
this
.
filter_id_warehouse_id
=
[];
this
.
closeDrawer
();
...
...
@@ -1065,6 +1066,7 @@
this
.
searchParams
.
mobile_register_all_search
=
''
;
//全量搜索
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
=
''
;
//入仓号
this
.
searchParams
.
tracking_no
=
''
;
//Fedex
this
.
searchParams
.
box_sn
=
''
;
//箱号
this
.
clearInputAndFocus
();
//再次获取焦点
},
200
);
}
else
{
...
...
@@ -1129,6 +1131,7 @@
this
.
searchParams
.
mobile_register_all_search
=
''
;
//全量搜索
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
=
''
;
//入仓号
this
.
searchParams
.
tracking_no
=
''
;
//Fedex
this
.
searchParams
.
box_sn
=
''
;
//箱号
this
.
closeDrawer
();
this
.
clearInputAndFocus
();
//再次获取焦点
this
.
filter_id
=
[];
...
...
@@ -1165,6 +1168,7 @@
this
.
searchParams
.
mobile_register_all_search
=
''
;
//全量搜索
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
=
''
;
//入仓号
this
.
searchParams
.
tracking_no
=
''
;
//Fedex
this
.
searchParams
.
box_sn
=
''
;
//箱号
this
.
closeDrawer
();
this
.
clearInputAndFocus
();
//再次获取焦点
this
.
filter_id
=
[];
...
...
pages/arrivalRegister/splitGoods.vue
View file @
04113bc9
...
...
@@ -37,7 +37,6 @@
</
template
>
</view>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput()"
v-if=
"input_flag"
></text>
</view>
<view
class=
"print-btn"
@
click=
"print()"
>
打印入仓号
</view>
</view>
...
...
@@ -134,7 +133,8 @@
<text
class=
"label-title"
>
物流单号:
</text>
</view>
<view
class=
"input-box"
>
<textarea
auto-height=
"true"
maxlength=
"-1"
class=
"uni-textarea"
placeholder-style=
"color:#919399"
placeholder=
"请输入物流单号"
v-model=
"logistics_sn"
@
input=
"handleInputTextArea($event)"
/>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearTextarea()"
v-if=
"textarea_flag"
></text>
<textarea
:focus=
"is_focus_textarea"
auto-height=
"true"
maxlength=
"-1"
class=
"uni-textarea"
placeholder-style=
"color:#919399"
placeholder=
"请输入物流单号"
v-model=
"logistics_sn"
@
input=
"handleInputTextArea($event)"
/>
</view>
</view>
<view
class=
"input-wrap column"
style=
"margin-top: 8rpx;"
>
...
...
@@ -229,11 +229,13 @@
warehouse_index
:
0
,
register_type
:
[
'正常登记'
,
'异常登记'
],
register_type_index
:
0
,
logistics_company
:
[
'联邦快递'
,
'DHL国际快递'
,
'顺丰速运'
,
'
供应商配送'
,
'快递送货'
,
'韵达快递'
,
'速尔快递'
,
'TNT快递'
,
'自提'
,
'京东快递'
,
'优速物流'
,
'顺丰特惠'
,
'UPS
'
,
'Air'
,
'其他'
],
logistics_company
:
[
'联邦快递'
,
'DHL国际快递'
,
'顺丰速运'
,
'
UPS'
,
'供应商配送'
,
'快递送货'
,
'韵达快递'
,
'速尔快递'
,
'TNT快递'
,
'自提'
,
'京东快递'
,
'优速物流'
,
'顺丰特惠
'
,
'Air'
,
'其他'
],
logistics_company_index
:
-
1
,
user_email
:
uni
.
getStorageSync
(
'name'
),
is_focus
:
true
,
//获取焦点动态化
is_focus_textarea
:
false
,
input_flag
:
false
,
textarea_flag
:
false
,
total
:
0
,
//总数
page
:
1
,
limit
:
100
,
...
...
@@ -389,6 +391,14 @@
this
.
clearInputAndFocus
();
},
/**
* 清空数据 文本域
*/
clearTextarea
()
{
this
.
logistics_sn
=
''
;
this
.
formParams
.
logistics_sn
=
''
;
this
.
clearTextareaAndFocus
();
},
/**
* 单号搜索
* @param {Object} event
*/
...
...
@@ -444,6 +454,7 @@
handleInputTextArea
:
debounce
(
function
(
event
)
{
var
value
=
event
.
target
.
value
;
if
(
value
)
{
this
.
textarea_flag
=
true
;
// 将输入按换行符分割并过滤空行
var
lines
=
value
.
split
(
'\n'
).
filter
(
Boolean
);
...
...
@@ -488,6 +499,7 @@
}
else
{
//暂时不处理
this
.
logistics_sn_temp_flag
=
false
;
this
.
textarea_flag
=
false
;
}
},
1000
),
...
...
@@ -880,6 +892,16 @@
this
.
is_focus
=
true
;
},
200
);
},
/**
* 再次获取焦点 文本域
*/
clearTextareaAndFocus
()
{
this
.
textarea_flag
=
false
;
//关闭叉叉
this
.
is_focus_textarea
=
false
;
setTimeout
(()
=>
{
this
.
is_focus_textarea
=
true
;
},
200
);
},
closeDrawer
()
{
this
.
$refs
.
showRight
.
close
();
this
.
$refs
.
showRightPrint
.
close
();
...
...
pages/tallyReceive/index.vue
View file @
04113bc9
...
...
@@ -503,8 +503,12 @@
this
.
getData
();
}
}
else
{
if
(
type
==
1
||
type
==
2
||
type
==
0
)
{
if
(
type
==
1
||
type
==
2
||
type
==
4
||
type
==
0
)
{
//清空全量搜索和入仓号搜索和FedEx
this
.
searchParams
.
mobile_wait_tally_all_search
=
''
;
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
=
''
;
this
.
searchParams
.
box_sn
=
''
;
this
.
searchParams
.
tracking_no
=
''
;
this
.
resetChange
();
this
.
input_flag
=
false
;
this
.
getData
();
...
...
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