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
8a1e9dfc
Commit
8a1e9dfc
authored
Aug 23, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcp
parent
5d974337
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
inventory.vue
src/views/setup/inventory.vue
+9
-1
No files found.
src/views/setup/inventory.vue
View file @
8a1e9dfc
...
@@ -165,6 +165,7 @@
...
@@ -165,6 +165,7 @@
<
script
>
<
script
>
import
{
getInfo
}
from
'@/api/login'
import
{
getInfo
}
from
'@/api/login'
import
{
delPd
,
getDelList
,
getDelListCount
,
getDicts
,
getPdList
,
getViewList
,
updatePd
}
from
'@/api/materialInventory'
import
{
delPd
,
getDelList
,
getDelListCount
,
getDicts
,
getPdList
,
getViewList
,
updatePd
}
from
'@/api/materialInventory'
import
{
playAudio
,
successAudio
}
from
'@/utils/common'
export
default
{
export
default
{
name
:
'Inventory'
,
name
:
'Inventory'
,
...
@@ -375,7 +376,14 @@ export default {
...
@@ -375,7 +376,14 @@ export default {
this
.
valuePd
=
'bacc-red'
this
.
valuePd
=
'bacc-red'
this
.
queryForm
.
value
=
''
this
.
queryForm
.
value
=
''
updatePd
(
obj
).
then
(
res
=>
{
updatePd
(
obj
).
then
(
res
=>
{
this
.
valuePd
=
res
.
code
===
200
?
'bacc-green'
:
'bacc-red'
// this.valuePd = res.code === 200 ? 'bacc-green' : 'bacc-red'
if
(
res
.
code
===
200
)
{
successAudio
(
true
)
this
.
valuePd
=
'bacc-green'
}
else
{
playAudio
(
true
)
this
.
valuePd
=
'bacc-red'
}
this
.
getList
()
this
.
getList
()
})
})
this
.
move
()
this
.
move
()
...
...
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