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
6e124cce
Commit
6e124cce
authored
Aug 14, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcp
parent
5130ca7e
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
248 additions
and
80 deletions
+248
-80
materialInventory.js
src/api/materialInventory.js
+49
-0
inventory.vue
src/views/setup/inventory.vue
+182
-51
materialInventory.vue
src/views/setup/materialInventory.vue
+17
-29
No files found.
src/api/materialInventory.js
0 → 100644
View file @
6e124cce
import
request
from
'@/utils/request'
import
Qs
from
'qs'
export
function
getUser
(
params
)
{
return
request
({
url
:
'wcporderuser/userList'
,
method
:
'get'
,
params
})
}
export
function
getPdList
(
params
)
{
return
request
({
url
:
'wcporderuser/pdList'
,
method
:
'get'
,
params
})
}
export
function
getViewList
(
query
)
{
return
request
({
url
:
'wcporderuser/queryViewList'
,
method
:
'get'
,
params
:
query
})
}
export
function
updatePd
(
data
)
{
return
request
({
url
:
'wcporderlistpd/updatePd'
,
method
:
'get'
,
params
:
data
})
}
export
function
getDelList
(
query
)
{
return
request
({
url
:
'/wcporderlistpd/getDelList'
,
method
:
'get'
,
params
:
query
})
}
export
function
delPd
(
data
)
{
return
request
({
url
:
'/wcporderlistpd/delPd'
,
method
:
'get'
,
params
:
data
})
}
src/views/setup/inventory.vue
View file @
6e124cce
This diff is collapsed.
Click to expand it.
src/views/setup/materialInventory.vue
View file @
6e124cce
...
...
@@ -10,7 +10,7 @@
</el-table-column>
<el-table-column
label=
"人员"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
user
||
'-'
}}
</span>
<span>
{{
scope
.
row
.
name
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
>
...
...
@@ -25,6 +25,9 @@
<
script
>
import
{
getInfo
}
from
'@/api/login'
import
{
getUser
}
from
'@/api/materialInventory'
export
default
{
name
:
'MaterialInventory'
,
data
()
{
...
...
@@ -37,37 +40,13 @@ export default {
ptype
:
''
,
dealStatus
:
'0'
},
// 选中的下坐表
actionIndex
:
null
,
// 标签集合
tabList
:
[
{
type
:
null
,
number
:
null
},
{
type
:
null
,
number
:
null
},
{
type
:
null
,
number
:
null
},
{
type
:
null
,
number
:
null
},
{
type
:
null
,
number
:
null
}
],
id
:
''
,
// 对应标签下的列表数据
tableList
:
[
{
orderSn
:
'20240809'
,
user
:
'李四'
}
]
tableList
:
[]
}
},
created
()
{
// this.getTab
List()
this
.
get
List
()
},
methods
:
{
// 处理
...
...
@@ -78,9 +57,18 @@ export default {
businessId
:
item
.
businessId
}
})
},
getList
()
{
getInfo
().
then
(
response
=>
{
const
data
=
{
businessId
:
response
.
data
.
user
.
businessId
}
getUser
(
data
).
then
(
res
=>
{
this
.
tableList
=
res
.
data
})
})
}
}
}
</
script
>
...
...
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