Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-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
mes
mes-ui
Commits
b1822ae9
Commit
b1822ae9
authored
Sep 14, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
刀模版入库
parent
19092155
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
toolmachinesrecord.js
src/api/mes/tm/toolmachinesrecord.js
+10
-0
selectmachinesrecord.vue
src/views/mes/tm/warehouse/selectmachinesrecord.vue
+2
-2
No files found.
src/api/mes/tm/toolmachinesrecord.js
View file @
b1822ae9
...
...
@@ -9,6 +9,16 @@ export function listRecord(query) {
});
}
// 查询刀模版上下机记录列表
export
function
listRecords
(
query
)
{
return
request
({
url
:
"/tm/tmToolMachines/warehouse/lists"
,
method
:
"get"
,
params
:
query
,
});
}
// 查询刀模版上下机记录详细
export
function
getRecord
(
toolMachinesRecordId
)
{
return
request
({
...
...
src/views/mes/tm/warehouse/selectmachinesrecord.vue
View file @
b1822ae9
...
...
@@ -61,7 +61,7 @@
</
template
>
<
script
>
import
{
listRecord
}
from
"@/api/mes/tm/toolmachinesrecord"
;
import
{
listRecord
s
}
from
"@/api/mes/tm/toolmachinesrecord"
;
import
{
genCode
}
from
"@/api/system/autocode/rule"
;
import
{
getToken
}
from
"@/utils/auth"
;
import
{
treeselect
}
from
"@/api/mes/md/itemtype"
;
...
...
@@ -136,7 +136,7 @@ export default {
const
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
queryParams
))
if
(
!
params
.
workunitName
)
delete
params
.
workunitName
if
(
!
params
.
toolCode
)
delete
params
.
toolCode
listRecord
(
params
).
then
((
response
)
=>
{
listRecord
s
(
params
).
then
((
response
)
=>
{
this
.
itemList
=
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