Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
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
44fe4d81
authored
Jun 09, 2025
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
筛选出标记为商检的条目或海关编码为854232开头的条目
parent
88a62495
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
pages/tallyGoods/confirm.vue
pages/tallyGoods/confirm.vue
View file @
44fe4d81
...
...
@@ -268,15 +268,10 @@
this
.
disabled
=
false
;
this
.
isInspOrg
=
Boolean
(
res
.
data
.
isInspOrg
);
//是否商检
// 如果主单是商检,那么默认明细里的所有都要商检
if
(
this
.
isInspOrg
)
{
this
.
list
=
res
.
data
.
entrys
;
}
else
{
// 如果主单不是商检,则只筛选出标记为商检的条目或海关编码为854232开头的条目
this
.
list
=
res
.
data
.
entrys
.
filter
(
function
(
entry
)
{
return
entry
.
isEntryInspOrg
===
true
||
(
entry
.
goodsNo
&&
entry
.
goodsNo
.
toString
().
startsWith
(
'854232'
));
});
}
//筛选出标记为商检的条目或海关编码为854232开头的条目
this
.
list
=
res
.
data
.
entrys
.
filter
(
function
(
entry
)
{
return
entry
.
isEntryInspOrg
===
true
||
(
entry
.
goodsNo
&&
entry
.
goodsNo
.
toString
().
startsWith
(
'854232'
));
});
this
.
goods_check_pic_list_id
=
this
.
list
.
map
(
function
(
entry
)
{
return
entry
.
ptEntryID
;
...
...
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