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
8643f1dd
authored
Jan 25, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
47d51ebf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
assets/css/picking/sort.scss
pages/picking/sort.vue
assets/css/picking/sort.scss
View file @
8643f1dd
...
...
@@ -590,7 +590,7 @@
left
:
0
;
right
:
0
;
width
:
100%
;
height
:
90
rpx
;
height
:
65
rpx
;
display
:
flex
;
flex-direction
:
row
;
border-top-color
:
#f5f5f5
;
...
...
@@ -603,7 +603,7 @@
justify-content
:
center
;
align-items
:
center
;
height
:
100%
;
font-size
:
2
6
rpx
;
font-size
:
2
2
rpx
;
}
.button-right
{
display
:
flex
;
...
...
@@ -615,7 +615,7 @@
border-left-color
:
#f0f0f0
;
border-left-style
:
solid
;
border-left-width
:
1px
;
font-size
:
2
6
rpx
;
font-size
:
2
2
rpx
;
color
:
#007aff
;
}
}
...
...
pages/picking/sort.vue
View file @
8643f1dd
...
...
@@ -799,7 +799,7 @@
list
.
forEach
((
item
,
index
)
=>
{
this
.
filterChange
(
index
);
});
var
filteredList
=
list
.
slice
(
-
1
).
filter
(
item
=>
item
.
pick_type_val
===
'散'
);
var
filteredList
=
list
.
slice
(
-
1
).
filter
(
item
=>
item
.
pick_type_val
===
'散'
&&
this
.
warehouse_id
!=
9
);
if
(
filteredList
.
length
>
0
)
{
this
.
pick_data
=
filteredList
;
this
.
is_batchNotification
=
true
;
...
...
@@ -1266,14 +1266,15 @@
*/
pick
(
lock_id
,
pick_qty
,
stock_out_item_id
)
{
if
(
this
.
is_required
)
{
uni
.
showModal
({
title
:
'提示'
,
content
:
'拣货数量必填'
,
showCancel
:
false
});
return
false
;
if
(
!
this
.
formParams
.
pick_qty
)
{
uni
.
showModal
({
title
:
'提示'
,
content
:
'拣货数量必填'
,
showCancel
:
false
});
return
false
;
}
}
var
num
=
Number
(
this
.
detail
.
lock_qty
)
-
Number
(
this
.
detail
.
pick_qty
);
//需求拣货的数量
var
pick_qty_num
=
pick_qty
*
1
;
//真实拣货数量
//拣货图片集合
...
...
@@ -1285,7 +1286,7 @@
pick_qty
:
pick_qty
,
stock_out_item_id
:
stock_out_item_id
,
pic_ids
:
pic_ids
.
join
(
','
),
pick_remark
:
this
.
formParams
.
pick_remark
,
pick_remark
:
this
.
formParams
.
pick_remark
},
true
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
uni
.
showToast
({
...
...
@@ -1314,6 +1315,7 @@
this
.
picked_num
=
Number
(
this
.
picked_num
)
-
pick_qty_num
;
}
this
.
getData
();
this
.
$forceUpdate
();
},
timeoutDuration
);
}
else
{
uni
.
showModal
({
...
...
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