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
204bfbd9
Commit
204bfbd9
authored
Aug 22, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcp
parent
05a2dab5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
inventory.vue
src/views/setup/inventory.vue
+12
-10
No files found.
src/views/setup/inventory.vue
View file @
204bfbd9
...
...
@@ -163,9 +163,9 @@
<!-- </el-button>-->
<div
class=
"button-container"
>
<el-button
v-for=
"item in palletList"
v-for=
"item in palletList
Del
"
:key=
"item.dictValue"
:type=
"buttonLable(pallet) === item.dictLabel ? 'primary' : 'default'"
:type=
"buttonLable(pallet
Del
) === item.dictLabel ? 'primary' : 'default'"
style=
"width: 60px;margin-bottom: 10px;margin-left: 10px"
@
click=
"handleButtonNew(item.dictLabel)"
>
...
...
@@ -242,8 +242,10 @@ export default {
data
()
{
return
{
dialogVisible
:
false
,
pallet
:
''
,
pallet
:
'0'
,
palletDel
:
''
,
palletList
:
[],
palletListDel
:
[],
totalPd
:
[],
listA
:
[],
listB
:
[],
...
...
@@ -315,6 +317,7 @@ export default {
getDicts
(
'WCP_ORDER_PALLET'
).
then
(
res
=>
{
console
.
log
(
'dict'
,
res
)
this
.
palletList
=
res
.
data
this
.
palletListDel
=
res
.
data
})
},
handleView
()
{
...
...
@@ -363,13 +366,13 @@ export default {
this
.
listZero
.
push
(
response
.
data
.
records
)
this
.
totalPd
[
item
]
=
Number
(
response
.
data
.
total
)
if
(
Number
(
response
.
data
.
total
)
>
0
)
{
if
(
!
this
.
pallet
)
{
if
(
!
this
.
pallet
Del
)
{
this
.
selectedButton
=
item
this
.
pallet
=
Number
(
item
)
console
.
log
(
'pallet'
,
this
.
pallet
)
this
.
pallet
Del
=
Number
(
item
)
console
.
log
(
'pallet'
,
this
.
pallet
Del
)
this
.
queryPdDel
.
PdDelList
=
response
.
data
.
records
}
else
if
(
this
.
pallet
)
{
return
this
.
pallet
}
else
if
(
this
.
pallet
Del
)
{
return
this
.
pallet
Del
}
}
})
...
...
@@ -393,8 +396,7 @@ export default {
},
handleButtonNew
(
buttonName
)
{
this
.
selectedButton
=
buttonName
this
.
pallet
=
this
.
buttonValue
(
buttonName
)
console
.
log
(
'this.pallet'
,
this
.
pallet
)
this
.
palletDel
=
this
.
buttonValue
(
buttonName
)
const
queryParams
=
{
businessId
:
this
.
userNew
,
page
:
this
.
queryPdDel
.
page
,
...
...
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