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
597bd27a
authored
May 11, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
移动端-拣货控制,按货品或按容器均需先扫描库位,再扫描入库批次号/容器
parent
703580ca
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
15 deletions
pages/picking/sort.vue
pages/stockRecheck/index.vue
pages/stockRecheck/record.vue
pages/stockRecheck/sort.vue
pages/tallyReceive/record.vue
pages/picking/sort.vue
View file @
597bd27a
...
...
@@ -18,20 +18,20 @@
<view
class=
"right"
>
<template
v-if=
"curr == 0"
>
<view
class=
"title"
>
入库批次号:
</view>
<view
class=
"search-bar row bothSide verCenter"
>
<view
class=
"search-bar row bothSide verCenter"
:class=
"
{ 'disabled-color': searchParams.position_name == '' ? true : false }"
>
<view
class=
"row verCenter"
>
<text
class=
"iconfont icon-juxing1"
></text>
<input
class=
"uni-input"
placeholder=
"请扫描
或输入入库批次号
"
placeholder-style=
"color:#919399"
v-model=
"searchParams.stock_in_batch_sn"
@
input=
"handleInput(2, searchParams.stock_in_batch_sn)"
maxlength=
"15"
/>
<input
class=
"uni-input"
placeholder=
"请扫描
入库标签"
:disabled=
"searchParams.position_name == '' ? true : false
"
placeholder-style=
"color:#919399"
v-model=
"searchParams.stock_in_batch_sn"
@
input=
"handleInput(2, searchParams.stock_in_batch_sn)"
maxlength=
"15"
/>
</view>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput(2)"
v-if=
"input_flag_stock_in_batch_sn"
></text>
</view>
</
template
>
<
template
v-else-if=
"curr == 1"
>
<view
class=
"title"
>
容器:
</view>
<view
class=
"search-bar row bothSide verCenter"
>
<view
class=
"search-bar row bothSide verCenter"
:class=
"
{ 'disabled-color': searchParams.position_name == '' ? true : false }"
>
<view
class=
"row verCenter"
>
<text
class=
"iconfont icon-juxing1"
></text>
<input
class=
"uni-input"
placeholder=
"请扫描或输入容器"
placeholder-style=
"color:#919399"
v-model=
"searchParams.container_sn"
@
input=
"handleInput(3, searchParams.container_sn)"
/>
<input
class=
"uni-input"
placeholder=
"请扫描或输入容器"
:disabled=
"searchParams.position_name == '' ? true : false"
placeholder-style=
"color:#919399"
v-model=
"searchParams.container_sn"
@
input=
"handleInput(3, searchParams.container_sn)"
/>
</view>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput(3)"
v-if=
"input_flag_container_sn"
></text>
</view>
...
...
@@ -501,6 +501,11 @@ export default {
}
else
if
(
type
==
3
)
{
this
.
input_flag_container_sn
=
true
;
this
.
getData
();
setTimeout
(()
=>
{
if
(
this
.
searchParams
.
container_sn
!=
''
&&
this
.
list
.
length
==
1
)
{
this
.
showDrawer
(
2
,
this
.
list
[
0
]);
}
},
1000
);
}
}
else
{
if
(
type
==
1
)
{
...
...
@@ -518,4 +523,7 @@ export default {
<
style
scoped
lang=
"scss"
>
@import
'@/assets/css/picking/sort.scss'
;
.disabled-color
{
background
:
#eaeaef
!important
;
}
</
style
>
pages/stockRecheck/index.vue
View file @
597bd27a
...
...
@@ -48,7 +48,7 @@
<view
class=
"btn-box row"
>
<!-- 出库单状态为全部复核时,则显示【详情】按钮 -->
<template
v-if=
"item.stock_out_status == 7"
>
<navigator
class=
"btn2 row rowCenter verCenter"
url=
"/pages/stockRecheck/record
"
hover-class=
"none"
>
详情
</navigator>
<navigator
class=
"btn2 row rowCenter verCenter"
:url=
"'/pages/stockRecheck/record?stock_out_sn=' + item.stock_out_sn
"
hover-class=
"none"
>
详情
</navigator>
</
template
>
<
template
v-else-if=
"item.stock_out_status == 5 || item.stock_out_status == 6"
>
<navigator
:url=
"'/pages/stockRecheck/sort?stock_out_id=' + item.stock_out_id"
class=
"btn1 row rowCenter verCenter"
hover-class=
"none"
>
选择
</navigator>
...
...
pages/stockRecheck/record.vue
View file @
597bd27a
...
...
@@ -90,10 +90,14 @@ export default {
page
:
1
,
limit
:
10000
,
list
:
[],
stock_out_sn
:
''
,
filter_list
:
[],
//筛选已选中的列表
filter_id
:
[]
//过滤处理的id
};
},
onLoad
(
options
)
{
this
.
stock_out_sn
=
options
.
stock_out_sn
;
},
onShow
()
{
this
.
getData
();
},
...
...
@@ -138,7 +142,7 @@ export default {
* 获取列表数据
*/
getData
()
{
this
.
request
(
API
.
getAllCheckedItemList
,
'POST'
,
{
page
:
this
.
page
,
limit
:
this
.
limit
},
fals
e
).
then
(
res
=>
{
this
.
request
(
API
.
getAllCheckedItemList
,
'POST'
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
stock_out_sn
:
this
.
stock_out_sn
},
tru
e
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
list
=
res
.
data
.
list
;
this
.
filter_list
=
createArray
(
this
.
list
.
length
,
false
);
...
...
pages/stockRecheck/sort.vue
View file @
597bd27a
...
...
@@ -240,10 +240,10 @@
</view>
</view>
<view
class=
"bor"
></view>
<view
class=
"print row verCenter"
>
<
!-- <
view class="print row verCenter">
<text class="check-box-icon curr"></text>
<text class="tt">打印客户专属标签</text>
</view>
</view>
-->
<view
class=
"btn row verCenter bothSide"
>
<view
class=
"btn0 row rowCenter verCenter"
@
click=
"closeDrawer(1)"
>
取 消
</view>
<view
class=
"btn1 row rowCenter verCenter"
style=
"width: 50%;"
@
click=
"markChecked(detail.stock_out_item_id, formParams.recheck_qty, searchParams.box_name)"
>
复 核
</view>
...
...
@@ -337,11 +337,11 @@
</scroll-view>
</view>
<view
class=
"btn row verCenter bothSide"
>
<view
class=
"btn2 row rowCenter verCenter"
>
<
!-- <
view class="btn2 row rowCenter verCenter">
<text class="check-box-icon curr"></text>
<text class="text">打印客户专属标签</text>
</view>
<view
class=
"btn1 row rowCenter verCenter"
style=
"width:
calc(100% - 248rpx)
;"
@
click=
"multiMarkChecked()"
>
复 核
</view>
</view>
-->
<view
class=
"btn1 row rowCenter verCenter"
style=
"width:
100%
;"
@
click=
"multiMarkChecked()"
>
复 核
</view>
</view>
</view>
</uni-drawer>
...
...
@@ -372,10 +372,10 @@
</view>
</view>
</view>
<view
class=
"print row verCenter"
>
<
!-- <
view class="print row verCenter">
<text class="check-box-icon curr"></text>
<text class="tt">打印客户专属标签</text>
</view>
</view>
-->
<view
class=
"btn row verCenter bothSide"
>
<view
class=
"btn0 row rowCenter verCenter"
@
click=
"closeDrawer(0)"
>
取 消
</view>
<view
class=
"btn1 row rowCenter verCenter"
style=
"width: 50%;"
@
click=
"multiMarkChecked"
>
一键复核
</view>
...
...
pages/tallyReceive/record.vue
View file @
597bd27a
...
...
@@ -44,11 +44,11 @@
<view
class=
"radio-wrap row verCenter"
>
<radio-group
name=
"radio"
@
change=
"radioChange($event, 2)"
>
<label>
<radio
value=
""
style=
"transform:scale(0.7)"
c
hecked=
"true"
c
olor=
"#1969f9"
/>
<radio
value=
""
style=
"transform:scale(0.7)"
color=
"#1969f9"
/>
<text>
全部
</text>
</label>
<label>
<radio
value=
"0"
style=
"transform:scale(0.7)"
color=
"#1969f9"
/>
<radio
value=
"0"
style=
"transform:scale(0.7)"
color=
"#1969f9"
checked=
"true"
/>
<text>
已理货
</text>
</label>
<label>
...
...
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