Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pda-scan
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ximai
mes-pda-scan
Commits
15a55cfb
Commit
15a55cfb
authored
Aug 20, 2024
by
何远江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 修改
parent
a01cb585
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
3 deletions
+20
-3
metering.vue
pages/packing/metering.vue
+9
-0
packing.vue
pages/packing/packing.vue
+11
-3
No files found.
pages/packing/metering.vue
View file @
15a55cfb
...
...
@@ -10,6 +10,9 @@
@
change=
"handleInputNlpla"
></uni-easyinput>
</view>
<checkbox-group
style=
"margin-top: 10rpx;"
@
change=
"checkedChange"
>
<checkbox
value=
"r1"
:checked=
"value"
/>
是否审核
</checkbox-group>
<u-row
gutter=
"16"
class=
"itemRow"
style=
"margin-top: 10rpx;"
>
<u-col
span=
"3"
>
长(cm):
...
...
@@ -82,6 +85,7 @@
export
default
{
components
:
{
},
model
:
{
prop
:
'value'
,
event
:
'input'
},
data
()
{
return
{
blpl
:
''
,
...
...
@@ -96,6 +100,7 @@ export default {
return
{};
}
},
value
:
[
Boolean
],
isEdit
:
{
type
:
Boolean
,
default
:
false
...
...
@@ -125,8 +130,12 @@ export default {
methods
:
{
handleInputNlpla
(
e
)
{
console
.
log
(
e
,
'handleInputNlpla'
);
if
(
!
e
)
return
this
.
$emit
(
'plinput'
,
e
)
},
checkedChange
()
{
this
.
$emit
(
'input'
,
!
this
.
value
)
},
setWeightEdit
()
{
},
...
...
pages/packing/packing.vue
View file @
15a55cfb
...
...
@@ -70,6 +70,7 @@
:form=
"form"
:isBL=
"isBL"
:isEdit=
"isEdit"
v-model=
"checkedBox"
@
plinput=
"changePLBLForm"
/>
<unpacking
v-show=
"current === 2"
/>
...
...
@@ -211,6 +212,9 @@ export default {
// 是否BL
const
isBL
=
blpl
.
startsWith
(
"BL"
);
this
.
isBL
=
isBL
;
if
(
isBL
&&
!
this
.
blNum
)
{
this
.
blNum
=
blpl
}
// 验证是否有重复
if
(
this
.
goodsList
.
find
((
v
)
=>
v
.
ZCODE
==
blpl
||
v
.
PLNR
==
blpl
))
{
...
...
@@ -250,10 +254,12 @@ export default {
});
this
.
form
=
this
.
goodsList
[
0
];
}
this
.
checkedBox
=
res
[
0
].
ZSTATUS
==
'Y'
}
else
{
if
(
!
isBL
)
{
console
.
log
(
"没有装箱的PL"
);
const
plInfo
=
{
PLNR
:
blpl
};
const
plInfo
=
{
PLNR
:
blpl
,
ZZXFS
:
this
.
form
.
ZZXFS
,
updkz
:
'I'
};
// 获取已经扫描过的最后一个PL信息,如果存在需要他的称重信息
const
lastPLInfo
=
this
.
goodsList
.
at
(
-
1
);
const
weightInfo
=
{
...
...
@@ -388,10 +394,12 @@ export default {
},
changePLBLForm
(
blpl
)
{
console
.
log
(
"changePLBLForm"
,
"00000"
);
if
(
!
this
.
isBL
)
{
const
info
=
this
.
goodsList
.
find
((
v
)
=>
v
.
PLNR
==
blpl
);
const
info
=
this
.
goodsList
.
find
((
v
)
=>
v
.
PLNR
==
blpl
);
if
(
info
)
{
this
.
form
=
info
;
}
this
.
searchCaseInfo
(
blpl
)
},
reset
()
{
setTimeout
(()
=>
{
...
...
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