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
59294cf7
Commit
59294cf7
authored
Jan 19, 2024
by
赵汉亭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打样申请API提交
parent
214a0b6d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
176 additions
and
0 deletions
+176
-0
PrototypeRequestProcess.js
src/api/mes/pro/PrototypeRequestProcess.js
+44
-0
prototypeRequest.js
src/api/mes/pro/prototypeRequest.js
+44
-0
prototypeRequestBom.js
src/api/mes/pro/prototypeRequestBom.js
+44
-0
prototypeRequestProcessItem.js
src/api/mes/pro/prototypeRequestProcessItem.js
+44
-0
No files found.
src/api/mes/pro/PrototypeRequestProcess.js
0 → 100644
View file @
59294cf7
import
request
from
'@/utils/request'
// 查询打样申请工序列表
export
function
listPrototypeRequestProcess
(
query
)
{
return
request
({
url
:
'/mes/pro/PrototypeRequestProcess/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询打样申请工序详细
export
function
getPrototypeRequestProcess
(
prototypeRequestProcessId
)
{
return
request
({
url
:
'/mes/pro/PrototypeRequestProcess/'
+
prototypeRequestProcessId
,
method
:
'get'
})
}
// 新增打样申请工序
export
function
addPrototypeRequestProcess
(
data
)
{
return
request
({
url
:
'/mes/pro/PrototypeRequestProcess'
,
method
:
'post'
,
data
:
data
})
}
// 修改打样申请工序
export
function
updatePrototypeRequestProcess
(
data
)
{
return
request
({
url
:
'/mes/pro/PrototypeRequestProcess'
,
method
:
'put'
,
data
:
data
})
}
// 删除打样申请工序
export
function
delPrototypeRequestProcess
(
prototypeRequestProcessId
)
{
return
request
({
url
:
'/mes/pro/PrototypeRequestProcess/'
+
prototypeRequestProcessId
,
method
:
'delete'
})
}
src/api/mes/pro/prototypeRequest.js
0 → 100644
View file @
59294cf7
import
request
from
'@/utils/request'
// 查询打样申请列表
export
function
listPrototypeRequest
(
query
)
{
return
request
({
url
:
'/mes/pro/prototypeRequest/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询打样申请详细
export
function
getPrototypeRequest
(
prototypeRequestId
)
{
return
request
({
url
:
'/mes/pro/prototypeRequest/'
+
prototypeRequestId
,
method
:
'get'
})
}
// 新增打样申请
export
function
addPrototypeRequest
(
data
)
{
return
request
({
url
:
'/mes/pro/prototypeRequest'
,
method
:
'post'
,
data
:
data
})
}
// 修改打样申请
export
function
updatePrototypeRequest
(
data
)
{
return
request
({
url
:
'/mes/pro/prototypeRequest'
,
method
:
'put'
,
data
:
data
})
}
// 删除打样申请
export
function
delPrototypeRequest
(
prototypeRequestId
)
{
return
request
({
url
:
'/mes/pro/prototypeRequest/'
+
prototypeRequestId
,
method
:
'delete'
})
}
src/api/mes/pro/prototypeRequestBom.js
0 → 100644
View file @
59294cf7
import
request
from
"@/utils/request"
;
// 查询打样申请BOM列表
export
function
listPrototypeRequestBom
(
query
)
{
return
request
({
url
:
"/mes/pro/prototypeRequestBom/list"
,
method
:
"get"
,
params
:
query
,
});
}
// 查询打样申请BOM详细
export
function
getPrototypeRequestBom
(
bomItemId
)
{
return
request
({
url
:
"/mes/pro/prototypeRequestBom/"
+
bomItemId
,
method
:
"get"
,
});
}
// 新增打样申请BOM
export
function
addPrototypeRequestBom
(
data
)
{
return
request
({
url
:
"/mes/pro/prototypeRequestBom"
,
method
:
"post"
,
data
:
data
,
});
}
// 修改打样申请BOM
export
function
updatePrototypeRequestBom
(
data
)
{
return
request
({
url
:
"/mes/pro/prototypeRequestBom"
,
method
:
"put"
,
data
:
data
,
});
}
// 删除打样申请BOM
export
function
delPrototypeRequestBom
(
bomItemId
)
{
return
request
({
url
:
"/mes/pro/prototypeRequestBom/"
+
bomItemId
,
method
:
"delete"
,
});
}
src/api/mes/pro/prototypeRequestProcessItem.js
0 → 100644
View file @
59294cf7
import
request
from
'@/utils/request'
// 查询打样申请工序物料列表
export
function
listPrototypeRequestProcessItem
(
query
)
{
return
request
({
url
:
'/mes/pro/prototypeRequestProcessItem/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询打样申请工序物料详细
export
function
getPrototypeRequestProcessItem
(
prototypeRequestProcessItemId
)
{
return
request
({
url
:
'/mes/pro/prototypeRequestProcessItem/'
+
prototypeRequestProcessItemId
,
method
:
'get'
})
}
// 新增打样申请工序物料
export
function
addPrototypeRequestProcessItem
(
data
)
{
return
request
({
url
:
'/mes/pro/prototypeRequestProcessItem'
,
method
:
'post'
,
data
:
data
})
}
// 修改打样申请工序物料
export
function
updatePrototypeRequestProcessItem
(
data
)
{
return
request
({
url
:
'/mes/pro/prototypeRequestProcessItem'
,
method
:
'put'
,
data
:
data
})
}
// 删除打样申请工序物料
export
function
delPrototypeRequestProcessItem
(
prototypeRequestProcessItemId
)
{
return
request
({
url
:
'/mes/pro/prototypeRequestProcessItem/'
+
prototypeRequestProcessItemId
,
method
:
'delete'
})
}
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