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
54c5368b
authored
Jul 23, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
箱号截取
parent
50a5154e
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
13 deletions
assets/css/arrivalRegister/splitGoods.scss
pages/arrivalRegister/index.vue
pages/arrivalRegister/registered.vue
pages/arrivalRegister/splitGoods.vue
pages/tallyReceive/index.vue
pages/tallyReceive/record.vue
assets/css/arrivalRegister/splitGoods.scss
View file @
54c5368b
...
...
@@ -186,12 +186,13 @@
::v-deep
.uni-drawer__content
{
width
:
85%
!
important
;
height
:
100%
;
}
.uni-drawer-layer
{
width
:
100%
;
background-color
:
#ffffff
;
padding
:
22rpx
22rpx
0
22rpx
;
padding
:
22rpx
22rpx
20rpx
22rpx
;
.tip
{
color
:
red
;
font-size
:
17rpx
;
...
...
@@ -287,11 +288,8 @@
}
}
.btn
{
position
:
absolute
;
bottom
:
0
;
left
:
0
;
right
:
0
;
width
:
100%
;
z-index
:
999
;
.btn1
{
height
:
75rpx
;
background
:
#1969f9
;
...
...
@@ -333,12 +331,13 @@
.uni-textarea
{
width
:
100%
;
height
:
110rpx
;
min-height
:
110rpx
;
overflow-y
:
auto
;
background
:
#ffffff
;
border-radius
:
5rpx
;
border
:
1px
solid
#1969f9
;
font-size
:
17rpx
;
padding
:
18rpx
18rpx
0
18rpx
;
padding
:
18rpx
18rpx
10rpx
18rpx
;
}
}
.select-box
{
...
...
pages/arrivalRegister/index.vue
View file @
54c5368b
...
...
@@ -63,7 +63,7 @@
</
template
>
<!-- fedex -->
<
template
v-else-if=
"index == 3"
>
<input
class=
"uni-input"
placeholder=
"请输入箱号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.box_sn"
@
input=
"handleInput(4, $event)"
/
>
<input
class=
"uni-input"
placeholder=
"请输入箱号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.box_sn"
@
input=
"handleInput(4, $event)"
maxlength=
"8"
>
</
template
>
</view>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput()"
v-if=
"input_flag"
></text>
...
...
@@ -812,7 +812,14 @@
this
.
searchParams
.
mobile_register_all_search
=
val
;
}
else
if
(
type
==
2
)
{
// 入仓号处理逻辑
var
str
=
val
;
if
(
str
.
startsWith
(
'F'
))
{
// 如果以 'F' 开头,直接赋值给搜索参数
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
=
val
;
}
else
{
// 否则去掉最后一个字符后赋值给搜索参数
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
=
str
.
slice
(
0
,
-
1
);
}
}
else
if
(
type
==
3
)
{
//FedEx
if
(
val
.
length
>
22
)
{
...
...
pages/arrivalRegister/registered.vue
View file @
54c5368b
...
...
@@ -21,7 +21,7 @@
<input
class=
"uni-input"
placeholder=
"请输入入仓号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.stock_in_with_stock_in_items_inhouse"
@
input=
"handleInput(2, $event)"
:maxlength=
"maxInputLength"
/>
</
template
>
<
template
v-else-if=
"index == 2"
>
<input
class=
"uni-input"
placeholder=
"请输入箱号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.box_sn"
@
input=
"handleInput(3, $event)"
/>
<input
class=
"uni-input"
placeholder=
"请输入箱号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.box_sn"
@
input=
"handleInput(3, $event)"
maxlength=
"8"
/>
</
template
>
</view>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput()"
v-if=
"input_flag"
></text>
...
...
@@ -193,7 +193,7 @@
filter_id_warehouse_id
:
[],
//过滤处理的仓库id
detail
:
{},
//详情的数据
hasMoreData
:
true
,
//是否分页加载
maxInputLength
:
8
,
maxInputLength
:
7
,
searchParams
:
{
mobile_register_all_search
:
''
,
//全量搜索
stock_in_with_stock_in_items_inhouse
:
''
,
//入仓单号
...
...
@@ -297,6 +297,12 @@
this
.
searchParams
.
mobile_register_all_search
=
val
;
}
else
if
(
type
==
2
)
{
//入仓号
var
str
=
val
;
if
(
str
.
startsWith
(
'F'
))
{
this
.
maxInputLength
=
8
;
}
else
{
this
.
maxInputLength
=
7
;
}
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
=
val
;
}
else
if
(
type
==
3
)
{
//箱号
...
...
pages/arrivalRegister/splitGoods.vue
View file @
54c5368b
...
...
@@ -81,7 +81,8 @@
</view>
<!-- 新增登记 -->
<uni-drawer
ref=
"showRight"
mode=
"right"
>
<view
class=
"uni-drawer-layer"
>
<scroll-view
style=
"height: 100%;"
scroll-y=
"true"
>
<view
class=
"uni-drawer-layer"
style=
"height: 100%;"
>
<view
class=
"title row rowCenter verCenter"
>
<text
class=
"iconfont icon-juxing2"
@
click=
"closeDrawer()"
></text>
<text
class=
"text"
>
新增登记
</text>
...
...
@@ -133,7 +134,7 @@
<text
class=
"label-title"
>
物流单号:
</text>
</view>
<view
class=
"input-box"
>
<textarea
class=
"uni-textarea"
placeholder-style=
"color:#919399"
placeholder=
"请输入物流单号"
v-model=
"logistics_sn"
@
input=
"handleInputTextArea($event)"
/>
<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;"
>
...
...
@@ -179,6 +180,7 @@
<view
class=
"row btn1 row rowCenter verCenter"
style=
"width:100%"
@
click=
"addSeparateStockInRegister()"
>
确认登记
</view>
</view>
</view>
</scroll-view>
</uni-drawer>
<!-- 打印入仓号 -->
<uni-drawer
ref=
"showRightPrint"
mode=
"right"
>
...
...
pages/tallyReceive/index.vue
View file @
54c5368b
...
...
@@ -20,7 +20,7 @@
<input
class=
"uni-input"
placeholder=
"请输入入仓号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.stock_in_with_stock_in_items_inhouse"
@
input=
"handleInput(2, $event)"
maxlength=
"8"
/>
</
template
>
<
template
v-else-if=
"index == 2"
>
<input
class=
"uni-input"
placeholder=
"请输入箱号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.box_sn"
@
input=
"handleInput(4, $event)"
/>
<input
class=
"uni-input"
placeholder=
"请输入箱号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.box_sn"
@
input=
"handleInput(4, $event)"
maxlength=
"8"
/>
</
template
>
<
template
v-else-if=
"index == 3"
>
<input
class=
"uni-input"
placeholder=
"请输入FedEx"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.tracking_no"
@
input=
"handleInput(0, $event)"
/>
...
...
pages/tallyReceive/record.vue
View file @
54c5368b
...
...
@@ -37,7 +37,7 @@
<input
class=
"uni-input"
placeholder=
"请输入入仓号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.stock_in_with_stock_in_items_inhouse"
@
input=
"handleInput(2, $event)"
/>
</
template
>
<
template
v-else-if=
"index == 2"
>
<input
class=
"uni-input"
placeholder=
"请输入箱号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.box_sn"
@
input=
"handleInput(3, $event)"
/
>
<input
class=
"uni-input"
placeholder=
"请输入箱号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.box_sn"
@
input=
"handleInput(3, $event)"
maxlength=
"8"
>
</
template
>
</view>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput()"
v-if=
"input_flag"
></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