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
a1833f02
authored
Apr 24, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
app
parent
c07a19a2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
18 deletions
pages/arrivalRegister/index.vue
pages/picking/index.vue
pages/picking/sort.vue
pages/transfer/index.vue
util/api.js
pages/arrivalRegister/index.vue
View file @
a1833f02
...
@@ -104,7 +104,7 @@
...
@@ -104,7 +104,7 @@
<view
class=
"row verCenter"
>
<view
class=
"row verCenter"
>
<view
class=
"bar row verCenter"
style=
"flex: 0 0 40%;"
>
<view
class=
"bar row verCenter"
style=
"flex: 0 0 40%;"
>
<text
class=
"tt"
>
标准品牌:
</text>
<text
class=
"tt"
>
标准品牌:
</text>
<text
class=
"yy"
>
{{ item.
brand_name
}}
</text>
<text
class=
"yy"
>
{{ item.
cccc
}}
</text>
</view>
</view>
<view
class=
"bar row verCenter"
style=
"flex: 0 0 30%;"
>
<view
class=
"bar row verCenter"
style=
"flex: 0 0 30%;"
>
<text
class=
"tt"
>
数量:
</text>
<text
class=
"tt"
>
数量:
</text>
...
...
pages/picking/index.vue
View file @
a1833f02
...
@@ -18,31 +18,31 @@
...
@@ -18,31 +18,31 @@
</view>
</view>
</view>
</view>
<view
class=
"list row bothSide"
v-if=
"list.length > 0"
>
<view
class=
"list row bothSide"
v-if=
"list.length > 0"
>
<navigator
class=
"box"
v-for=
"(item, index) in list"
:key=
"index"
url=
"/pages/picking/sort
"
hover-class=
"none"
>
<navigator
class=
"box"
v-for=
"(item, index) in list"
:key=
"index"
:url=
"'/pages/picking/sort?stock_out_id=' + item.stock_out_id
"
hover-class=
"none"
>
<view
class=
"text-item row verCenter"
>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
出库单号:
</text>
<text
class=
"label"
>
出库单号:
</text>
<text
class=
"t1"
></text>
<text
class=
"t1"
>
{{
item
.
stock_out_sn
}}
</text>
</view>
</view>
<view
class=
"text-item row verCenter"
>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
状 态:
</text>
<text
class=
"label"
>
状 态:
</text>
<text
class=
"t1"
>
全部锁库
</text>
<text
class=
"t1"
>
{{
item
.
stock_out_status_val
}}
</text>
</view>
</view>
<view
class=
"bor row"
></view>
<view
class=
"bor row"
></view>
<view
class=
"text-item row verCenter"
>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
任 务 数:
</text>
<text
class=
"label"
>
任 务 数:
</text>
<text
class=
"tt"
>
8
</text>
<text
class=
"tt"
>
{{
item
.
items_num
}}
</text>
</view>
</view>
<view
class=
"text-item row verCenter"
>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
总 数 量:
</text>
<text
class=
"label"
>
总 数 量:
</text>
<text
class=
"tt"
>
5000
</text>
<text
class=
"tt"
>
{{
item
.
total_qty
}}
</text>
</view>
</view>
<view
class=
"text-item row verCenter"
>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
上游备注:
</text>
<text
class=
"label"
>
上游备注:
</text>
<text
class=
"tt"
>
我是一条备注我是一条备注我是一条备注我是一条备注
</text>
<text
class=
"tt"
>
{{
item
.
upstream_remark
}}
</text>
</view>
</view>
<view
class=
"text-item row verCenter"
>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
销售员:
</text>
<text
class=
"label"
>
销售员:
</text>
<text
class=
"tt"
>
朱国军
</text>
<text
class=
"tt"
>
{{
item
.
sale_name
}}
</text>
</view>
</view>
<view
class=
"btn-box row"
><view
class=
"btn row rowCenter verCenter"
>
领取
</view></view>
<view
class=
"btn-box row"
><view
class=
"btn row rowCenter verCenter"
>
领取
</view></view>
</navigator>
</navigator>
...
@@ -57,7 +57,6 @@
...
@@ -57,7 +57,6 @@
<
script
>
<
script
>
import
{
API
}
from
'@/util/api.js'
;
import
{
API
}
from
'@/util/api.js'
;
import
{
createArray
}
from
'@/util/util.js'
;
import
debounce
from
'lodash/debounce'
;
import
debounce
from
'lodash/debounce'
;
export
default
{
export
default
{
...
@@ -69,15 +68,14 @@ export default {
...
@@ -69,15 +68,14 @@ export default {
limit
:
1000
,
limit
:
1000
,
array
:
[
'出库单号'
],
array
:
[
'出库单号'
],
list
:
[],
list
:
[],
filter_list
:
[],
//筛选已选中的列表
filter_id
:
[],
//过滤处理的id
searchParams
:
{
searchParams
:
{
stock_out_sn
:
''
,
stock_out_sn
:
''
stock_out_id
:
4
}
}
};
};
},
},
onLoad
()
{},
onShow
()
{
this
.
getData
();
},
onNavigationBarButtonTap
(
e
)
{
onNavigationBarButtonTap
(
e
)
{
if
(
e
.
index
==
0
)
{
if
(
e
.
index
==
0
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
...
@@ -94,10 +92,9 @@ export default {
...
@@ -94,10 +92,9 @@ export default {
* 获取列表数据
* 获取列表数据
*/
*/
getData
()
{
getData
()
{
this
.
request
(
API
.
get
Picked
List
,
'POST'
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
...
this
.
searchParams
},
false
).
then
(
res
=>
{
this
.
request
(
API
.
get
NoTake
List
,
'POST'
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
...
this
.
searchParams
},
false
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
this
.
list
=
res
.
data
.
list
;
this
.
list
=
res
.
data
.
list
;
this
.
filter_list
=
createArray
(
this
.
list
.
length
,
false
);
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
res
.
msg
,
title
:
res
.
msg
,
...
...
pages/picking/sort.vue
View file @
a1833f02
This diff is collapsed.
Click to expand it.
pages/transfer/index.vue
View file @
a1833f02
...
@@ -65,13 +65,15 @@ export default {
...
@@ -65,13 +65,15 @@ export default {
index
:
0
,
index
:
0
,
array
:
[
'移位单号'
],
array
:
[
'移位单号'
],
list
:
[],
list
:
[],
filter_list
:
[],
//筛选已选中的列表
searchParams
:
{
searchParams
:
{
transfer_sn
:
''
//移位单号
transfer_sn
:
''
//移位单号
}
}
};
};
},
},
onLoad
()
{},
onLoad
()
{},
onShow
()
{
this
.
getData
();
},
methods
:
{
methods
:
{
bindPickerChange
:
function
(
e
)
{
bindPickerChange
:
function
(
e
)
{
console
.
log
(
'picker发送选择改变,携带值为'
,
e
.
detail
.
value
);
console
.
log
(
'picker发送选择改变,携带值为'
,
e
.
detail
.
value
);
...
@@ -84,7 +86,6 @@ export default {
...
@@ -84,7 +86,6 @@ export default {
this
.
request
(
API
.
getTransferList
,
'GET'
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
...
this
.
searchParams
},
false
).
then
(
res
=>
{
this
.
request
(
API
.
getTransferList
,
'GET'
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
...
this
.
searchParams
},
false
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
this
.
list
=
res
.
data
.
list
;
this
.
list
=
res
.
data
.
list
;
this
.
filter_list
=
createArray
(
this
.
list
.
length
,
false
);
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
res
.
msg
,
title
:
res
.
msg
,
...
...
util/api.js
View file @
a1833f02
...
@@ -64,6 +64,14 @@ const API = {
...
@@ -64,6 +64,14 @@ const API = {
* */
* */
confirmTransfer
:
API_BASE
+
'/api/transfer/confirmTransfer'
,
confirmTransfer
:
API_BASE
+
'/api/transfer/confirmTransfer'
,
/**
/**
* 拣货-未领取列表
* */
getNoTakeList
:
API_BASE
+
'/api/stockOut/getNoTakeList'
,
/**
* 拣货-锁库明细列表
* */
getLockedList
:
API_BASE
+
'/api/stockOut/getLockedList'
,
/**
* 上传文件
* 上传文件
* */
* */
upload
:
API_BASE_LIEXIN
+
'/oss/upload'
,
upload
:
API_BASE_LIEXIN
+
'/oss/upload'
,
...
...
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