代码更新
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function add(data) {
|
||||
return request({
|
||||
url: 'api/deviceitem',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function del(ids) {
|
||||
return request({
|
||||
url: 'api/deviceitem/',
|
||||
method: 'delete',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
export function edit(data) {
|
||||
return request({
|
||||
url: 'api/deviceitem',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export default { add, edit, del }
|
||||
51
lms/nladmin-ui/src/api/wms/pdm/outmaterial.js
Normal file
51
lms/nladmin-ui/src/api/wms/pdm/outmaterial.js
Normal file
@@ -0,0 +1,51 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function add(data) {
|
||||
return request({
|
||||
url: 'api/Materialbase',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function del(ids) {
|
||||
return request({
|
||||
url: 'api/Materialbase/',
|
||||
method: 'delete',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
export function edit(data) {
|
||||
return request({
|
||||
url: 'api/Materialbase',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getMaterOptType(data) {
|
||||
return request({
|
||||
url: 'api/Materialbase/getMaterOptType',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function isAlongMaterType(data) {
|
||||
return request({
|
||||
url: 'api/Materialbase/isAlongMaterType',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function synchronize(data) {
|
||||
return request({
|
||||
url: 'api/Materialbase/synchronize',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export default { add, edit, del, getMaterOptType, isAlongMaterType, synchronize }
|
||||
99
lms/nladmin-ui/src/api/wms/pdm/produceshiftorder.js
Normal file
99
lms/nladmin-ui/src/api/wms/pdm/produceshiftorder.js
Normal file
@@ -0,0 +1,99 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function add(data) {
|
||||
return request({
|
||||
url: 'api/produceshiftorder',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function del(ids) {
|
||||
return request({
|
||||
url: 'api/produceshiftorder/',
|
||||
method: 'delete',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
export function edit(data) {
|
||||
return request({
|
||||
url: 'api/produceshiftorder',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function submits(data) {
|
||||
return request({
|
||||
url: 'api/produceshiftorder/submits',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getDevice(data) {
|
||||
return request({
|
||||
url: 'api/produceshiftorder/getDevice',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getTable(data) {
|
||||
return request({
|
||||
url: 'api/produceshiftorder/getTable',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function openStart(data) {
|
||||
return request({
|
||||
url: 'api/produceshiftorder/openStart',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function saveReport(data) {
|
||||
return request({
|
||||
url: 'api/produceshiftorder/saveReport',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function finish(data) {
|
||||
return request({
|
||||
url: 'api/produceshiftorder/finish',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function forceFinish(data) {
|
||||
return request({
|
||||
url: 'api/produceshiftorder/forceFinish',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getReportWork(data) {
|
||||
return request({
|
||||
url: 'api/produceshiftorder/getReportWork',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getDtl(data) {
|
||||
return request({
|
||||
url: 'api/produceshiftorder/getDtl',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export default { add, edit, del, submits, getDevice, getTable, openStart, saveReport, finish, getReportWork, forceFinish, getDtl }
|
||||
@@ -1,110 +0,0 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function add(data) {
|
||||
return request({
|
||||
url: 'api/producetask',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function del(ids) {
|
||||
return request({
|
||||
url: 'api/producetask/',
|
||||
method: 'delete',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
export function edit(data) {
|
||||
return request({
|
||||
url: 'api/producetask',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getMaterial() {
|
||||
return request({
|
||||
url: 'api/producetask/getMaterial',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function getDevice(data) {
|
||||
return request({
|
||||
url: 'api/producetask/getDevice',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getDevice1() {
|
||||
return request({
|
||||
url: 'api/producetask/getDevice1',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function getProduceline() {
|
||||
return request({
|
||||
url: 'api/producetask/getProduceline',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function getCust() {
|
||||
return request({
|
||||
url: 'api/producetask/getCust',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function getWorkprocedure() {
|
||||
return request({
|
||||
url: 'api/producetask/getWorkprocedure',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function excelImport(data) {
|
||||
return request({
|
||||
url: 'api/producetask/excelImport',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function copyAdd(data) {
|
||||
return request({
|
||||
url: 'api/producetask/copyAdd',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function sortUpdate(data) {
|
||||
return request({
|
||||
url: 'api/producetask/sortUpdate',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function mandFinish(data) {
|
||||
return request({
|
||||
url: 'api/producetask/mandFinish',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function issued(data) {
|
||||
return request({
|
||||
url: 'api/producetask/issued',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export default { add, edit, del, getMaterial, getDevice, getProduceline, getCust, getWorkprocedure, excelImport, getDevice1, copyAdd, sortUpdate, mandFinish, issued }
|
||||
@@ -1,49 +0,0 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function add(data) {
|
||||
return request({
|
||||
url: 'api/workprocedure',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function del(ids) {
|
||||
return request({
|
||||
url: 'api/workprocedure/',
|
||||
method: 'delete',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
export function edit(data) {
|
||||
return request({
|
||||
url: 'api/workprocedure',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function changeActive(data) {
|
||||
return request({
|
||||
url: 'api/workprocedure/changeActive',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function queryWorkprocedure() {
|
||||
return request({
|
||||
url: '/api/workProcedure/queryWorkprocedure',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function queryWorkprocedure2() {
|
||||
return request({
|
||||
url: '/api/workProcedure/queryWorkprocedure2',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export default { add, edit, del, changeActive, queryWorkprocedure, queryWorkprocedure2 }
|
||||
Reference in New Issue
Block a user