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
0dbf758e
authored
Sep 20, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改entryID
parent
b282019a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
pages/tallyGoods/confirm.vue
pages/tallyGoods/originSplit.vue
pages/tallyGoods/confirm.vue
View file @
0dbf758e
...
@@ -227,7 +227,7 @@ export default {
...
@@ -227,7 +227,7 @@ export default {
this
.
goods_check_pic_list
=
Array
.
from
({
length
},
()
=>
[]);
this
.
goods_check_pic_list
=
Array
.
from
({
length
},
()
=>
[]);
this
.
form
.
pic_json
=
res
.
data
.
entrys
.
map
(
item
=>
({
this
.
form
.
pic_json
=
res
.
data
.
entrys
.
map
(
item
=>
({
ptEntryID
:
item
.
ptE
ntryID
,
entryID
:
item
.
e
ntryID
,
goods_check_pic
:
''
goods_check_pic
:
''
}));
}));
}
else
{
}
else
{
...
@@ -476,6 +476,7 @@ export default {
...
@@ -476,6 +476,7 @@ export default {
return
false
;
return
false
;
}
}
//商检图片必填
if
(
this
.
isInspOrg
)
{
if
(
this
.
isInspOrg
)
{
// 使用every方法检查每个子数组是否满足条件
// 使用every方法检查每个子数组是否满足条件
var
isValid
=
this
.
goods_check_pic_list
.
every
(
subArray
=>
subArray
.
length
>=
2
);
var
isValid
=
this
.
goods_check_pic_list
.
every
(
subArray
=>
subArray
.
length
>=
2
);
...
...
pages/tallyGoods/originSplit.vue
View file @
0dbf758e
...
@@ -178,7 +178,7 @@ export default {
...
@@ -178,7 +178,7 @@ export default {
this
.
tally_num
=
parseInt
(
e
.
target
.
value
)
+
1
;
this
.
tally_num
=
parseInt
(
e
.
target
.
value
)
+
1
;
this
.
index
=
e
.
target
.
value
;
this
.
index
=
e
.
target
.
value
;
this
.
total
=
0
;
this
.
total
=
0
;
this
.
detail_json
=
Array
.
from
({
length
:
this
.
tally_num
},
()
=>
({
origin
:
''
,
tally_num
:
''
,
ptEntryID
:
this
.
goods_list
[
this
.
goods_index
].
ptE
ntryID
}));
this
.
detail_json
=
Array
.
from
({
length
:
this
.
tally_num
},
()
=>
({
origin
:
''
,
tally_num
:
''
,
entryID
:
this
.
goods_list
[
this
.
goods_index
].
e
ntryID
}));
}
}
},
},
getOrigin
()
{
getOrigin
()
{
...
...
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