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
05a2dab5
Commit
05a2dab5
authored
Aug 22, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcp
parent
b36e344f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
inventory.vue
src/views/setup/inventory.vue
+6
-5
materialInventory.vue
src/views/setup/materialInventory.vue
+2
-1
No files found.
src/views/setup/inventory.vue
View file @
05a2dab5
...
@@ -364,6 +364,7 @@ export default {
...
@@ -364,6 +364,7 @@ export default {
this
.
totalPd
[
item
]
=
Number
(
response
.
data
.
total
)
this
.
totalPd
[
item
]
=
Number
(
response
.
data
.
total
)
if
(
Number
(
response
.
data
.
total
)
>
0
)
{
if
(
Number
(
response
.
data
.
total
)
>
0
)
{
if
(
!
this
.
pallet
)
{
if
(
!
this
.
pallet
)
{
this
.
selectedButton
=
item
this
.
pallet
=
Number
(
item
)
this
.
pallet
=
Number
(
item
)
console
.
log
(
'pallet'
,
this
.
pallet
)
console
.
log
(
'pallet'
,
this
.
pallet
)
this
.
queryPdDel
.
PdDelList
=
response
.
data
.
records
this
.
queryPdDel
.
PdDelList
=
response
.
data
.
records
...
@@ -485,9 +486,11 @@ export default {
...
@@ -485,9 +486,11 @@ export default {
businessId
:
this
.
userNew
,
businessId
:
this
.
userNew
,
page
:
this
.
queryPd
.
page
,
page
:
this
.
queryPd
.
page
,
rows
:
this
.
queryPd
.
rows
,
rows
:
this
.
queryPd
.
rows
,
orderSn
:
this
.
moveSn
,
pallet
:
''
pallet
:
''
}
}
queryParams
.
pallet
=
String
(
this
.
buttonValue
(
this
.
selectedButton
))
queryParams
.
pallet
=
this
.
selectedButton
console
.
log
(
'this.selectedButton1111'
,
this
.
selectedButton
)
this
.
$confirm
(
'是否确认操作?'
,
'提示'
,
{
this
.
$confirm
(
'是否确认操作?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
...
@@ -495,17 +498,15 @@ export default {
...
@@ -495,17 +498,15 @@ export default {
}).
then
(
function
()
{
}).
then
(
function
()
{
return
delPd
(
queryParams
)
return
delPd
(
queryParams
)
}).
then
(()
=>
{
}).
then
(()
=>
{
this
.
getList
()
this
.
$message
({
this
.
$message
({
message
:
'删除成功'
,
message
:
'删除成功'
,
type
:
'success'
type
:
'success'
})
})
this
.
openDel
=
false
this
.
openDel
=
false
this
.
queryPdDel
.
PdDelList
=
[]
this
.
getList
()
this
.
resetList
()
// this.handleDel
()
this
.
move
()
this
.
move
()
})
})
this
.
handleDel
()
},
},
rowClassName
({
row
})
{
rowClassName
({
row
})
{
return
row
.
status
===
'2'
?
'orange-row'
:
''
return
row
.
status
===
'2'
?
'orange-row'
:
''
...
...
src/views/setup/materialInventory.vue
View file @
05a2dab5
...
@@ -5,7 +5,8 @@
...
@@ -5,7 +5,8 @@
<el-table-column
type=
"index"
label=
"序号"
width=
"50"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"50"
/>
<el-table-column
label=
"orderSn"
>
<el-table-column
label=
"orderSn"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
orderSn
||
'-'
}}
(
{{
scope
.
row
.
name
||
'-'
}}
)
</span>
<span>
{{
scope
.
row
.
orderSn
||
'-'
}}
</span>
<!-- (
{{
scope
.
row
.
name
||
'-'
}}
)-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
width=
"50"
>
<el-table-column
label=
"操作"
width=
"50"
>
...
...
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