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
5d974337
Commit
5d974337
authored
Aug 23, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcp
parent
5736583e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
inventory.vue
src/views/setup/inventory.vue
+7
-7
No files found.
src/views/setup/inventory.vue
View file @
5d974337
...
...
@@ -267,6 +267,7 @@ export default {
return
item
?
item
.
dictValue
:
''
},
async
handleDel
()
{
this
.
queryPdDel
.
page
=
1
const
queryParams
=
{
businessId
:
this
.
userNew
,
page
:
this
.
queryPdDel
.
page
,
...
...
@@ -277,22 +278,19 @@ export default {
getDelListCount
(
queryParams
).
then
(
response
=>
{
for
(
let
i
=
0
;
i
<
this
.
palletList
.
length
;
i
++
)
{
const
item
=
this
.
palletList
[
i
].
dictValue
cons
ole
.
log
(
item
,
'item'
)
cons
t
data
=
this
.
palletList
[
i
].
dictLabel
for
(
let
j
=
0
;
j
<
response
.
data
.
length
;
j
++
)
{
if
(
item
===
response
.
data
[
j
].
pallet
)
{
this
.
totalPd
[
item
]
=
Number
(
response
.
data
[
j
].
count
)
console
.
log
(
'Number(response.data[j].count)'
,
Number
(
response
.
data
[
j
].
count
))
if
(
Number
(
response
.
data
[
j
].
count
)
>
0
)
{
if
(
this
.
palletDel
===
''
)
{
this
.
selectedButton
=
item
this
.
selectedButton
=
data
this
.
palletDel
=
Number
(
item
)
queryParams
.
pallet
=
response
.
data
[
j
].
pallet
getDelList
(
queryParams
).
then
(
response
=>
{
this
.
queryPdDel
.
PdDelList
=
response
.
data
.
records
this
.
total
=
response
.
data
.
total
})
}
else
if
(
this
.
palletDel
!==
''
)
{
return
this
.
palletDel
}
}
}
...
...
@@ -312,7 +310,8 @@ export default {
businessId
:
response
.
data
.
user
.
businessId
,
page
:
this
.
queryPdDel
.
page
,
rows
:
this
.
queryPdDel
.
rows
,
pallet
:
this
.
selectedButton
orderSn
:
this
.
moveSn
,
pallet
:
this
.
buttonValue
(
this
.
selectedButton
)
}
getDelList
(
queryParams
).
then
(
response
=>
{
this
.
queryPdDel
.
PdDelList
=
response
.
data
.
records
...
...
@@ -323,6 +322,7 @@ export default {
handleButtonNew
(
buttonName
)
{
this
.
selectedButton
=
buttonName
this
.
palletDel
=
this
.
buttonValue
(
buttonName
)
this
.
queryPdDel
.
page
=
1
const
queryParams
=
{
businessId
:
this
.
userNew
,
page
:
this
.
queryPdDel
.
page
,
...
...
@@ -388,7 +388,7 @@ export default {
orderSn
:
this
.
moveSn
,
pallet
:
''
}
queryParams
.
pallet
=
this
.
selectedButton
queryParams
.
pallet
=
this
.
buttonValue
(
this
.
selectedButton
)
this
.
$confirm
(
'是否确认操作?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
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