工序出入库

This commit is contained in:
18188916393
2022-07-14 16:34:48 +08:00
parent 36edf3d0d5
commit a20cdd38f9
38 changed files with 4576 additions and 20 deletions

View File

@@ -0,0 +1,73 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: 'api/workprocedureiosIn',
method: 'post',
data
})
}
export function del(ids) {
return request({
url: 'api/workprocedureiosIn/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: 'api/workprocedureiosIn',
method: 'put',
data
})
}
export function getBillTypes() {
return request({
url: 'api/workprocedureiosIn/getBillTypes',
method: 'get'
})
}
export function selectStartPoint(data) {
return request({
url: 'api/workprocedureiosIn/selectStartPoint',
method: 'post',
data
})
}
export function getStartArea(data) {
return request({
url: 'api/workprocedureiosIn/getStartArea',
method: 'post',
data
})
}
export function getEndArea(data) {
return request({
url: 'api/workprocedureiosIn/getEndArea',
method: 'post',
data
})
}
export function genTask(data) {
return request({
url: 'api/workprocedureiosIn/genTask',
method: 'post',
data
})
}
export function getEndAareaByworkprocedureId(data) {
return request({
url: 'api/workprocedureiosIn/getEndAareaByworkprocedureId',
method: 'post',
data
})
}
export default { add, edit, del, getBillTypes, selectStartPoint, getStartArea, getEndArea, genTask, getEndAareaByworkprocedureId }