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