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
04f4148f
Commit
04f4148f
authored
Aug 19, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcp
parent
1fbeb74d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
37 deletions
+46
-37
inventory.vue
src/views/setup/inventory.vue
+46
-37
No files found.
src/views/setup/inventory.vue
View file @
04f4148f
...
@@ -90,6 +90,16 @@
...
@@ -90,6 +90,16 @@
<el-dialog
class=
"pdDel"
:title=
"title"
:visible
.
sync=
"openDel"
width=
"1300px"
append-to-body
>
<el-dialog
class=
"pdDel"
:title=
"title"
:visible
.
sync=
"openDel"
width=
"1300px"
append-to-body
>
<div
class=
"top"
>
<div
class=
"top"
>
<div
class=
"oneButtion"
>
<div
class=
"oneButtion"
>
<el-button
id=
"primary_del"
:class=
"selectedButton === '无' ? 'button_rowBtn_action' : ''"
@
click=
"handleButton('无')"
>
<div
class=
"buttionText"
>
<span>
无
</span>
<span
style=
"color: red"
>
({{ total0 }})
</span>
</div>
</el-button>
<el-button
<el-button
id=
"primary_del"
id=
"primary_del"
ref=
"buttonAAAA"
ref=
"buttonAAAA"
...
@@ -151,16 +161,6 @@
...
@@ -151,16 +161,6 @@
<span
style=
"color: red"
>
({{ totalF }})
</span>
<span
style=
"color: red"
>
({{ totalF }})
</span>
</div>
</div>
</el-button>
</el-button>
<el-button
id=
"primary_del"
:class=
"selectedButton === '0' ? 'button_rowBtn_action' : ''"
@
click=
"handleButton('0')"
>
<div
class=
"buttionText"
>
<span>
无
</span>
<span
style=
"color: red"
>
({{ total0 }})
</span>
</div>
</el-button>
</div>
</div>
</div>
</div>
<br>
<br>
...
@@ -206,14 +206,13 @@
...
@@ -206,14 +206,13 @@
title=
"选择人员"
title=
"选择人员"
:visible
.
sync=
"dialogVisible"
:visible
.
sync=
"dialogVisible"
width=
"500px"
width=
"500px"
@
close=
"handleDialogClose"
>
>
<div
class=
"button-container"
>
<div
class=
"button-container"
>
<el-button
<el-button
v-for=
"item in palletList"
v-for=
"item in palletList"
:key=
"item.dictValue"
:key=
"item.dictValue"
:type=
"
pallet
=== item.dictLabel ? 'primary' : 'default'"
:type=
"
buttonLable(pallet)
=== item.dictLabel ? 'primary' : 'default'"
style=
"width:
13
0px;margin-bottom: 10px;margin-left: 10px"
style=
"width:
6
0px;margin-bottom: 10px;margin-left: 10px"
@
click=
"handleSelect(item.dictValue)"
@
click=
"handleSelect(item.dictValue)"
>
>
{{ item.dictLabel }}
{{ item.dictLabel }}
...
@@ -231,7 +230,7 @@ export default {
...
@@ -231,7 +230,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
dialogVisible
:
false
,
dialogVisible
:
false
,
pallet
:
''
,
pallet
:
'
0
'
,
palletList
:
[],
palletList
:
[],
listA
:
[],
listA
:
[],
listB
:
[],
listB
:
[],
...
@@ -305,9 +304,8 @@ export default {
...
@@ -305,9 +304,8 @@ export default {
})
})
},
},
handleView
()
{
handleView
()
{
getInfo
().
then
(
response
=>
{
const
queryParams
=
{
const
queryParams
=
{
businessId
:
response
.
data
.
user
.
businessId
,
businessId
:
this
.
userNew
,
orderSn
:
this
.
$route
.
query
.
orderSn
,
orderSn
:
this
.
$route
.
query
.
orderSn
,
page
:
this
.
queryPd
.
page
,
page
:
this
.
queryPd
.
page
,
rows
:
this
.
queryPd
.
rows
rows
:
this
.
queryPd
.
rows
...
@@ -318,7 +316,6 @@ export default {
...
@@ -318,7 +316,6 @@ export default {
this
.
title
=
'查看'
this
.
title
=
'查看'
this
.
open
=
true
this
.
open
=
true
})
})
})
if
(
this
.
open
===
false
)
{
if
(
this
.
open
===
false
)
{
this
.
queryPd
.
page
=
1
this
.
queryPd
.
page
=
1
this
.
Pdtotal
=
''
this
.
Pdtotal
=
''
...
@@ -417,7 +414,16 @@ export default {
...
@@ -417,7 +414,16 @@ export default {
this
.
title
=
'删除'
this
.
title
=
'删除'
this
.
openDel
=
true
this
.
openDel
=
true
},
},
resetList
()
{
this
.
selectedButton
=
''
this
.
listZero
=
[]
this
.
listA
=
[]
this
.
listB
=
[]
this
.
listC
=
[]
this
.
listD
=
[]
this
.
listE
=
[]
this
.
listF
=
[]
},
handlePa
()
{
handlePa
()
{
getInfo
().
then
(
response
=>
{
getInfo
().
then
(
response
=>
{
const
queryParams
=
{
const
queryParams
=
{
...
@@ -493,12 +499,12 @@ export default {
...
@@ -493,12 +499,12 @@ export default {
pallet
:
this
.
pallet
,
pallet
:
this
.
pallet
,
orderSn
:
this
.
moveSn
orderSn
:
this
.
moveSn
}
}
console
.
log
(
'obj'
,
obj
)
updatePd
(
obj
).
then
(
res
=>
{
updatePd
(
obj
).
then
(
res
=>
{
this
.
valuePd
=
res
.
code
===
200
?
'bacc-green'
:
''
this
.
valuePd
=
res
.
code
===
200
?
'bacc-green'
:
''
})
})
this
.
queryForm
.
value
=
''
this
.
queryForm
.
value
=
''
this
.
getList
()
this
.
getList
()
this
.
valuePd
=
'bacc-red'
},
},
deletePd
()
{
deletePd
()
{
const
queryParams
=
{
const
queryParams
=
{
...
@@ -520,6 +526,9 @@ export default {
...
@@ -520,6 +526,9 @@ export default {
message
:
'删除成功'
,
message
:
'删除成功'
,
type
:
'success'
type
:
'success'
})
})
this
.
openDel
=
false
this
.
queryPdDel
.
PdDelList
=
[]
this
.
resetList
()
})
})
this
.
handleDel
()
this
.
handleDel
()
},
},
...
@@ -530,8 +539,6 @@ export default {
...
@@ -530,8 +539,6 @@ export default {
this
.
pallet
=
value
this
.
pallet
=
value
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
},
},
handleDialogClose
()
{
}
}
}
}
}
</
script
>
</
script
>
...
@@ -543,7 +550,7 @@ export default {
...
@@ -543,7 +550,7 @@ export default {
.top
{
.top
{
position
:
relative
;
position
:
relative
;
left
:
50px
;
left
:
50px
;
width
:
25
0px
;
width
:
30
0px
;
}
}
.clearRegion
{
.clearRegion
{
position
:
relative
;
position
:
relative
;
...
@@ -560,9 +567,9 @@ export default {
...
@@ -560,9 +567,9 @@ export default {
bottom
:
initial
;
bottom
:
initial
;
}
}
.oneButtion
{
.oneButtion
{
width
:
20
0px
;
width
:
35
0px
;
position
:
relative
;
position
:
relative
;
right
:
-4
0px
;
right
:
5
0px
;
}
}
.buttonRegion
{
.buttonRegion
{
margin-top
:
20px
;
margin-top
:
20px
;
...
@@ -577,16 +584,18 @@ export default {
...
@@ -577,16 +584,18 @@ export default {
width
:
80px
;
width
:
80px
;
background-color
:
#f6c761
;
background-color
:
#f6c761
;
border-color
:
#f6c761
;
border-color
:
#f6c761
;
position
:
relative
;
left
:
-20px
;
}
}
.button_rowBtn_action
{
.button_rowBtn_action
{
background-color
:
#46bcf3
!important
;
background-color
:
#46bcf3
!important
;
border-color
:
#46bcf3
;
border-color
:
#46bcf3
!important
;
color
:
white
;
color
:
white
;
}
}
#primary_del
{
#primary_del
{
color
:
black
;
color
:
black
;
background-color
:
#808080
;
/*background-color: #808080;*/
border-color
:
#808080
;
/*border-color:#808080;*/
margin-left
:
10px
;
margin-left
:
10px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
...
...
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