Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_pda_Web
Project
Project
Details
Activity
Releases
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
胡宝山
template_pda_Web
Commits
5759ccc4
Commit
5759ccc4
authored
Aug 22, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcp
parent
13aefdbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
inventory.vue
src/views/setup/inventory.vue
+12
-8
No files found.
src/views/setup/inventory.vue
View file @
5759ccc4
...
...
@@ -242,7 +242,7 @@ export default {
data
()
{
return
{
dialogVisible
:
false
,
pallet
:
'
0
'
,
pallet
:
''
,
palletList
:
[],
totalPd
:
[],
listA
:
[],
...
...
@@ -353,6 +353,7 @@ export default {
businessId
:
this
.
userNew
,
page
:
this
.
queryPd
.
page
,
rows
:
this
.
queryPd
.
rows
,
orderSn
:
this
.
moveSn
,
pallet
:
''
}
for
(
let
i
=
0
;
i
<
this
.
palletList
.
length
;
i
++
)
{
...
...
@@ -362,11 +363,12 @@ export default {
this
.
listZero
.
push
(
response
.
data
.
records
)
this
.
totalPd
[
item
]
=
Number
(
response
.
data
.
total
)
if
(
Number
(
response
.
data
.
total
)
>
0
)
{
if
(
!
this
.
selectedButton
)
{
this
.
selectedButton
=
String
(
this
.
buttonLable
(
item
))
if
(
!
this
.
pallet
)
{
this
.
pallet
=
Number
(
item
)
console
.
log
(
'pallet'
,
this
.
pallet
)
this
.
queryPdDel
.
PdDelList
=
response
.
data
.
records
}
else
if
(
this
.
selectedButton
)
{
return
this
.
selectedButton
}
else
if
(
this
.
pallet
)
{
return
this
.
pallet
}
}
})
...
...
@@ -400,10 +402,13 @@ export default {
},
handleButtonNew
(
buttonName
)
{
this
.
selectedButton
=
buttonName
this
.
pallet
=
this
.
buttonValue
(
buttonName
)
console
.
log
(
'this.pallet'
,
this
.
pallet
)
const
queryParams
=
{
businessId
:
this
.
userNew
,
page
:
this
.
queryPdDel
.
page
,
rows
:
this
.
queryPdDel
.
rows
,
orderSn
:
this
.
moveSn
,
pallet
:
''
}
queryParams
.
pallet
=
this
.
buttonValue
(
this
.
selectedButton
)
...
...
@@ -451,9 +456,8 @@ export default {
}
this
.
userIdNew
=
response
.
data
.
user
.
businessId
getPdList
(
data
).
then
(
res
=>
{
this
.
queryForm
.
totalCount
=
res
.
data
[
0
].
totalCount
this
.
queryForm
.
endCount
=
res
.
data
[
0
].
endCount
this
.
queryForm
.
orderSn
=
res
.
data
[
0
].
orderSn
this
.
queryForm
.
totalCount
=
res
.
data
[
0
]
this
.
queryForm
.
endCount
=
res
.
data
[
1
]
})
})
},
...
...
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