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
2a583832
Commit
2a583832
authored
Aug 23, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcp
parent
8a1e9dfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
13 deletions
+24
-13
inventory.vue
src/views/setup/inventory.vue
+24
-13
No files found.
src/views/setup/inventory.vue
View file @
2a583832
...
@@ -333,9 +333,16 @@ export default {
...
@@ -333,9 +333,16 @@ export default {
}
}
queryParams
.
pallet
=
this
.
buttonValue
(
this
.
selectedButton
)
queryParams
.
pallet
=
this
.
buttonValue
(
this
.
selectedButton
)
getDelList
(
queryParams
).
then
(
response
=>
{
getDelList
(
queryParams
).
then
(
response
=>
{
this
.
queryPdDel
.
PdDelList
=
response
.
data
.
records
if
(
response
.
data
.
total
===
0
)
{
this
.
totalPd
[
queryParams
.
pallet
]
=
response
.
data
.
total
this
.
$message
({
this
.
total
=
response
.
data
.
total
message
:
'当前无记录'
,
type
:
'error'
})
}
else
{
this
.
queryPdDel
.
PdDelList
=
response
.
data
.
records
this
.
totalPd
[
queryParams
.
pallet
]
=
response
.
data
.
total
this
.
total
=
response
.
data
.
total
}
})
})
},
},
getList
()
{
getList
()
{
...
@@ -403,16 +410,20 @@ export default {
...
@@ -403,16 +410,20 @@ export default {
type
:
'warning'
type
:
'warning'
}).
then
(
function
()
{
}).
then
(
function
()
{
return
delPd
(
queryParams
)
return
delPd
(
queryParams
)
}).
then
(()
=>
{
}).
then
((
res
)
=>
{
this
.
$message
({
if
(
res
.
code
===
500
)
{
message
:
'删除成功'
,
return
type
:
'success'
}
else
{
})
this
.
$message
({
this
.
queryPdDel
.
PdDelList
=
[]
message
:
'删除成功'
,
this
.
openDel
=
false
type
:
'success'
this
.
getList
()
})
this
.
totalPd
=
[]
this
.
queryPdDel
.
PdDelList
=
[]
this
.
move
()
this
.
openDel
=
false
this
.
getList
()
this
.
totalPd
=
[]
this
.
move
()
}
})
})
},
},
rowClassName
({
row
})
{
rowClassName
({
row
})
{
...
...
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