Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
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_vue
Commits
e5cc4531
Commit
e5cc4531
authored
Oct 09, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工序印刷,切换tab,切换之前什么样,切换之后就什么样
parent
b7a76f75
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
17 deletions
+52
-17
check.js
src/api/equipment/check.js
+16
-8
check.vue
src/views/equipment/check.vue
+18
-5
checkProcess.vue
src/views/equipment/checkProcess.vue
+18
-4
No files found.
src/api/equipment/check.js
View file @
e5cc4531
...
...
@@ -10,6 +10,14 @@ export function listCheck(query) {
})
}
export
function
ListAllWarehose
(
query
)
{
return
request
({
url
:
'/wbwarehouse/queryWbWarehouse'
,
method
:
'get'
,
params
:
query
})
}
export
function
abandon
(
data
)
{
return
request
({
url
:
'/wbwarehouse/abandon'
,
...
...
@@ -21,17 +29,17 @@ export function abandon(data) {
})
}
export
function
checkType
(
data
){
export
function
checkType
(
data
)
{
return
request
({
url
:
'/wbwarehouseinventorytemp/checkType/'
+
data
,
method
:
'get'
method
:
'get'
})
}
export
function
addList
(
data
){
export
function
addList
(
data
)
{
return
request
({
url
:
'/wbwarehouseinventorytemp/addList'
,
method
:
'post'
,
method
:
'post'
,
data
,
headers
:
{
'Content-Type'
:
'application/json;charset=UTF-8'
...
...
@@ -39,16 +47,16 @@ export function addList(data){
})
}
export
function
deleteByType
(
data
){
export
function
deleteByType
(
data
)
{
return
request
({
url
:
'/wbwarehouseinventorytemp/deleteByType/'
+
data
,
method
:
'delete'
method
:
'delete'
})
}
export
function
checkInventory
(
query
)
{
return
request
({
url
:
'/wbwarehouse/checkInventory/'
+
query
,
method
:
'get'
,
})
;
method
:
'get'
})
}
src/views/equipment/check.vue
View file @
e5cc4531
...
...
@@ -257,7 +257,7 @@ import {
getRole
,
updateRole
}
from
'@/api/system/role'
import
{
checkType
,
listCheck
,
addList
,
deleteByType
,
checkInventory
}
from
'@/api/equipment/check'
import
{
checkType
,
listCheck
,
addList
,
deleteByType
,
checkInventory
,
ListAllWarehose
}
from
'@/api/equipment/check'
import
{
roleMenuTreeselect
,
roleMenuTreeselectMC
,
treeselect
as
menuTreeselect
}
from
'@/api/system/menu'
import
{
roleDeptTreeselect
,
treeselect
as
deptTreeselect
}
from
'@/api/system/dept'
// import { getRolesByInsId } from '../../../api/businessManage/template'
...
...
@@ -378,8 +378,10 @@ export default {
page
:
1
,
rows
:
10
,
ptype
:
1
,
pstatus
:
0
pstatus
:
0
,
pn
:
''
,
lot
:
''
,
plocation
:
''
},
// 表单参数
form
:
{
...
...
@@ -476,7 +478,15 @@ export default {
}
else
{
let
data
=
[]
if
(
this
.
selectList
.
length
===
0
)
{
if
(
this
.
queryParams
.
pn
===
''
&&
this
.
queryParams
.
lot
===
''
&&
this
.
queryParams
.
plocation
===
''
)
{
data
=
this
.
equipmentList
}
else
{
ListAllWarehose
(
this
.
queryParams
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
data
=
res
.
data
}
})
}
}
else
{
data
=
this
.
selectList
}
...
...
@@ -665,7 +675,10 @@ export default {
page
:
1
,
rows
:
10
,
ptype
:
1
,
pstatus
:
0
pstatus
:
0
,
pn
:
''
,
lot
:
''
,
plocation
:
''
}
this
.
resetForm
(
'queryForm'
)
this
.
handleQuery
()
...
...
src/views/equipment/checkProcess.vue
View file @
e5cc4531
...
...
@@ -257,7 +257,7 @@ import {
getRole
,
updateRole
}
from
'@/api/system/role'
import
{
checkType
,
listCheck
,
addList
,
deleteByType
,
checkInventory
}
from
'@/api/equipment/check'
import
{
checkType
,
listCheck
,
addList
,
deleteByType
,
checkInventory
,
ListAllWarehose
}
from
'@/api/equipment/check'
import
{
roleMenuTreeselect
,
roleMenuTreeselectMC
,
treeselect
as
menuTreeselect
}
from
'@/api/system/menu'
import
{
roleDeptTreeselect
,
treeselect
as
deptTreeselect
}
from
'@/api/system/dept'
// import { getRolesByInsId } from '../../../api/businessManage/template'
...
...
@@ -379,7 +379,10 @@ export default {
page
:
1
,
rows
:
10
,
ptype
:
2
,
pstatus
:
0
pstatus
:
0
,
pn
:
''
,
lot
:
''
,
plocation
:
''
},
// 表单参数
...
...
@@ -476,7 +479,15 @@ export default {
}
else
{
let
data
=
[]
if
(
this
.
selectList
.
length
===
0
)
{
if
(
this
.
queryParams
.
pn
===
''
&&
this
.
queryParams
.
lot
===
''
&&
this
.
queryParams
.
plocation
===
''
)
{
data
=
this
.
equipmentList
}
else
{
ListAllWarehose
(
this
.
queryParams
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
data
=
res
.
data
}
})
}
}
else
{
data
=
this
.
selectList
}
...
...
@@ -665,7 +676,10 @@ export default {
page
:
1
,
rows
:
10
,
ptype
:
2
,
pstatus
:
0
pstatus
:
0
,
pn
:
''
,
lot
:
''
,
plocation
:
''
}
this
.
resetForm
(
'queryForm'
)
this
.
handleQuery
()
...
...
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