Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-pda-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-pda-master
Commits
2b8c0133
Commit
2b8c0133
authored
Dec 17, 2024
by
honghy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改批量无需打包逻辑
parent
00b84d8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
stocking.vue
src/pages/stocking/stocking.vue
+12
-5
No files found.
src/pages/stocking/stocking.vue
View file @
2b8c0133
...
...
@@ -63,7 +63,7 @@
<view
class=
"info-header pos"
>
<view>
<checkbox-group
@
change=
"checkClick(item)"
>
<checkbox
:checked=
"item.checked"
/>
<checkbox
:checked=
"item.checked"
:disabled=
"item.disabled"
/>
</checkbox-group>
</view>
<view
class=
"header-title"
>
{{
$t
(
'
序号
'
)
}}
:
{{
index
+
1
}}
</view>
...
...
@@ -393,6 +393,11 @@ export default {
var
list
=
[]
for
(
let
a
of
orderItemVOList
)
{
a
[
'
checked
'
]
=
false
if
(
this
.
wareItem
(
a
.
orderItemId
).
packStatus
!=
1
)
{
a
[
'
disabled
'
]
=
true
}
else
{
a
[
'
disabled
'
]
=
false
}
list
.
push
(
a
)
}
data
.
orderItemVOList
=
list
...
...
@@ -481,7 +486,7 @@ export default {
}
else
{
// 判断单个是否是被选择的状态
const
goods
=
this
.
detail
.
orderItemVOList
.
every
(
item
=>
{
return
item
.
checked
===
true
return
item
.
checked
===
true
&&
item
.
disabled
!=
true
})
if
(
goods
)
{
this
.
allChecked
=
true
...
...
@@ -495,9 +500,11 @@ export default {
this
.
allChecked
=
!
this
.
allChecked
;
if
(
this
.
allChecked
)
{
this
.
detail
.
orderItemVOList
.
map
(
item
=>
{
item
.
checked
=
true
;
if
(
!
this
.
selectedData
.
includes
(
item
))
{
this
.
selectedData
.
push
(
item
);
if
(
!
item
.
disabled
)
{
item
.
checked
=
true
;
if
(
!
this
.
selectedData
.
includes
(
item
))
{
this
.
selectedData
.
push
(
item
);
}
}
});
}
else
{
...
...
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