Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-ui
Project
Project
Details
Activity
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
pda
pda-ui
Commits
ba20be2d
Commit
ba20be2d
authored
Aug 01, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
刀模版领用单
parent
7a23f16e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
tmToolRequest.js
src/api/mes/tm/tmToolRequest.js
+8
-1
single.vue
src/components/toolRequest/single.vue
+2
-2
No files found.
src/api/mes/tm/tmToolRequest.js
View file @
ba20be2d
...
...
@@ -8,7 +8,14 @@ export function listTmToolRequest(query) {
params
:
query
})
}
// 查询刀模版申请单列表(/排除已领用)
export
function
listTmToolRequestUsed
(
query
)
{
return
request
({
url
:
'/tm/tmToolRequest/list/unused'
,
method
:
'get'
,
params
:
query
})
}
// 查询刀模版申请单详细
export
function
getTmToolRequest
(
toolRequestId
)
{
return
request
({
...
...
src/components/toolRequest/single.vue
View file @
ba20be2d
...
...
@@ -146,7 +146,7 @@
</template>
<
script
>
import
{
listTmToolRequest
}
from
"@/api/mes/tm/tmToolRequest"
;
import
{
listTmToolRequest
Used
}
from
"@/api/mes/tm/tmToolRequest"
;
export
default
{
name
:
"TmRequestSelectSingle"
,
components
:
{},
...
...
@@ -220,7 +220,7 @@ export default {
/** 查询品牌列表 */
getList
()
{
this
.
loading
=
true
;
listTmToolRequest
(
this
.
queryParams
).
then
((
response
)
=>
{
listTmToolRequest
Used
(
this
.
queryParams
).
then
((
response
)
=>
{
this
.
toolRequestList
=
response
.
rows
;
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
...
...
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