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
af93c3f6
Commit
af93c3f6
authored
Mar 26, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
领料申请bug修复
parent
2ee3cd83
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
22 deletions
+15
-22
http.api.js
common/http.api.js
+3
-15
index.vue
pages/mes/prodReport/index.vue
+12
-7
No files found.
common/http.api.js
View file @
af93c3f6
...
...
@@ -63,18 +63,6 @@ const install = (Vue, vm) => {
//生产报工
feedback
:
(
params
=
{})
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/mobile/pro/protask/feedback'
,
params
),
// 生产指令列表
workOrderSoDirectiveApi
:
(
params
=
{})
=>
vm
.
$u
.
get
(
config
.
adminPath
+
'/mes/pro/workOrderSoDirective/list'
,
params
),
// SIZE列表
workOrderSoSizeItemApi
:
(
params
=
{})
=>
vm
.
$u
.
get
(
config
.
adminPath
+
'/mes/pro/workOrderSoSizeItem/listDynamic'
,
params
),
//增加检验
getTaskInfoByTaskCode
:
(
params
=
{})
=>
vm
.
$u
.
get
(
...
...
@@ -223,10 +211,10 @@ const install = (Vue, vm) => {
params
),
getWproworkOrderProcessItem
:
(
params
=
{})
=>
vm
.
$u
.
get
(
vm
.
$u
.
postJson
(
config
.
adminPath
+
'/pro/materialRequest/selectworkorder
/'
+
params
.
workorderId
'/pro/materialRequest/selectworkorder
'
,
params
),
//退料申请
...
...
pages/mes/prodReport/index.vue
View file @
af93c3f6
...
...
@@ -2005,13 +2005,18 @@ export default {
});
},
materialReturnWorkorderProcessItem
(
id
)
{
this
.
$u
.
api
.
getWproworkOrderProcessItem
({
workorderId
:
Number
(
id
)}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
materialRequestArrays
=
this
.
materialRequestList
.
concat
(
res
.
rows
)
}
});
},
if
(
!
id
){
this
.
materialRequestArrays
=
this
.
materialRequestList
.
concat
([])
}
else
{
this
.
$u
.
api
.
getWproworkOrderProcessItem
({
workorderId
:
id
,
processId
:
this
.
curTaskInfo
.
processId
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
materialRequestArrays
=
this
.
materialRequestList
.
concat
(
res
.
rows
)
}
});
}
},
materialReturnFormShow
(
line
)
{
this
.
materialReturnFormVisible
=
true
;
this
.
materialReturnFormData
=
{
...
...
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