Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pad
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
ximai
mes-pad
Commits
9e0f6f89
Commit
9e0f6f89
authored
Mar 09, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:修改刀模板上下机传参和接口
parent
8d489203
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
356 additions
and
211 deletions
+356
-211
http.api.js
common/http.api.js
+337
-195
dModelList.vue
pages/mes/prodReport/components/dModelList.vue
+18
-16
index.vue
pages/mes/prodReport/index.vue
+1
-0
No files found.
common/http.api.js
View file @
9e0f6f89
This diff is collapsed.
Click to expand it.
pages/mes/prodReport/components/dModelList.vue
View file @
9e0f6f89
...
...
@@ -56,11 +56,11 @@
},
],
}
},
computed
:
{
tableData
()
{
return
this
.
data
||
[]
}
},
computed
:
{
tableData
()
{
return
this
.
data
||
[]
}
},
methods
:
{
async
commonClick
(
type
)
{
...
...
@@ -81,16 +81,18 @@
if
(
!
flag
)
{
return
this
.
$u
.
toast
(
'请选择状态相同的数据'
)
}
}
const
params
=
{
toolMachinesRecordIdList
:
this
.
tableSelectData
.
map
(
v
=>
v
.
toolMachinesRecordId
),
type
}
const
{
code
}
=
await
this
.
$u
.
api
.
dModel
.
tmToolMachinesRecord
(
params
)
if
(
code
==
200
)
{
this
.
$emit
(
'action'
)
}
}
const
params
=
this
.
tableSelectData
.
map
(
v
=>
{
return
{
toolMachinesId
:
v
.
toolMachinesId
,
type
}
})
const
{
code
}
=
await
this
.
$u
.
api
.
dModel
.
tmToolMachinesRecord
(
params
)
if
(
code
==
200
)
{
this
.
$emit
(
'action'
)
}
},
toggleAllSelection
(
checked
,
arr
)
{
...
...
@@ -109,4 +111,4 @@
margin-top
:
20
rpx
;
padding
:
0
20
rpx
;
}
</
style
>
</
style
>
pages/mes/prodReport/index.vue
View file @
9e0f6f89
...
...
@@ -1065,6 +1065,7 @@ export default {
workunitName
:
this
.
vuex_workunit
.
workunitName
,
processId
:
selectData
.
processId
,
taskId
:
selectData
.
taskId
,
taskWorkunitId
:
selectData
.
taskWorkunitId
,
workorderId
:
selectData
.
workorderId
,
toolRequestUseId
:
data
[
0
].
toolRequestUseId
,
toolMachinesRecordList
:
data
.
map
((
v
)
=>
{
...
...
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