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
259f9b0a
authored
Oct 24, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
8c20062f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
8 deletions
pages/arrivalRegister/index.vue
pages/picking/sort.vue
pages/arrivalRegister/index.vue
View file @
259f9b0a
...
...
@@ -456,7 +456,7 @@
<view
class=
"select-box row verCenter"
>
<picker
@
change=
"bindPickerZYChange($event, 9, index)"
:value=
"saveZyGoodsParams[index].picking_other_attr_index"
:range=
"otherAttrList"
style=
"width: 100%;height: 100%;"
>
<view
class=
"row verCenter bothSide"
>
<view
class=
"uni-input row verCenter"
>
{{ saveZyGoodsParams[index].picking_other_attr_index ==
''
? '请选择' : saveZyGoodsParams[index].picking_other_attr }}
</view>
<view
class=
"uni-input row verCenter"
>
{{ saveZyGoodsParams[index].picking_other_attr_index ==
-1
? '请选择' : saveZyGoodsParams[index].picking_other_attr }}
</view>
<view
class=
"uni-arrow"
></view>
</view>
</picker>
...
...
@@ -567,7 +567,7 @@ export default {
this
.
curr
=
index
;
if
(
index
==
1
)
{
//获取自营货品信息
this
.
getZyGoodsData
(
stock_in_sn
);
this
.
getZyGoodsData
(
stock_in_sn
,
1
);
}
},
radioChange
(
e
)
{
...
...
@@ -828,15 +828,20 @@ export default {
* @param {Object} stock_in_sn 入库单号
*
*/
getZyGoodsData
(
stock_in_sn
)
{
this
.
request
(
API
.
getZyGoodsData
,
'GET'
,
{
stock_in_sn
:
stock_in_sn
,
is_first_check
:
1
},
true
).
then
(
res
=>
{
getZyGoodsData
(
stock_in_sn
,
type
)
{
if
(
type
)
{
var
params
=
{
stock_in_sn
:
stock_in_sn
};
}
else
{
var
params
=
{
stock_in_sn
:
stock_in_sn
,
is_first_check
:
1
};
}
this
.
request
(
API
.
getZyGoodsData
,
'GET'
,
params
,
true
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
zyGoodsData
=
res
.
data
;
this
.
saveZyGoodsParams
=
res
.
data
;
//赋值自营数据
// 添加 picking_other_attr_index 到每个对象并设置默认值为 0
this
.
saveZyGoodsParams
=
res
.
data
.
map
(
item
=>
({
...
item
,
picking_other_attr_index
:
0
picking_other_attr_index
:
-
1
}));
}
else
{
uni
.
showToast
({
...
...
pages/picking/sort.vue
View file @
259f9b0a
...
...
@@ -110,7 +110,8 @@
</view>
<view
class=
"input-box row verCenter"
>
<text
class=
"label"
>
应拣数量:
</text>
<text
class=
"text"
style=
"color: #F98119;"
>
{{
item
.
lock_qty
-
item
.
pick_qty
}}
(
{{
item
.
pick_num_with_packing_val
}}
)
</text>
<text
class=
"text"
style=
"color: #F98119;"
>
{{
item
.
lock_qty
-
item
.
pick_qty
}}
</text>
<text
class=
"text"
v-if=
"item.pick_num_with_packing_val"
>
(
{{
item
.
pick_num_with_packing_val
}}
)
</text>
</view>
<view
class=
"input-box row verCenter"
>
<text
class=
"label"
>
拣货方式:
</text>
...
...
@@ -276,11 +277,12 @@
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
应拣数量:
</text>
<text
class=
"text"
>
{{ picked_num }}
({{ detail.pick_num_with_packing_val }})
</text>
<text
class=
"text"
>
{{ picked_num }}
</text>
<text
class=
"text"
v-html=
"detail.pick_num_with_packing_val"
>
({{ detail.pick_num_with_packing_val }})
</text>
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
拣货方式:
</text>
<text
class=
"text"
>
{{ detail.picking_mode_
union_val
}}
</text>
<text
class=
"text"
>
{{ detail.picking_mode_
vals
}}
</text>
</view>
</view>
<view
class=
"form-input"
style=
"margin-bottom: 0;"
>
...
...
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