rev:质检模块
This commit is contained in:
99
mes/qd/src/views/wms/ql_manage/physicalMst/physicalMst.js
Normal file
99
mes/qd/src/views/wms/ql_manage/physicalMst/physicalMst.js
Normal file
@@ -0,0 +1,99 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function add(data) {
|
||||
return request({
|
||||
url: 'api/physicalMst',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function del(ids) {
|
||||
return request({
|
||||
url: 'api/physicalMst/',
|
||||
method: 'delete',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
export function edit(data) {
|
||||
return request({
|
||||
url: 'api/physicalMst',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getResult(data) {
|
||||
return request({
|
||||
url: 'api/physicalMst/getResult',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function saveResult(data) {
|
||||
return request({
|
||||
url: 'api/physicalMst/saveResult',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function confirm(data) {
|
||||
return request({
|
||||
url: 'api/physicalMst/confirm',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function setValid(data) {
|
||||
return request({
|
||||
url: 'api/physicalMst/setValid',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function copyAdd(data) {
|
||||
return request({
|
||||
url: 'api/physicalMst/copyAdd',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function isMaterType(data) {
|
||||
return request({
|
||||
url: 'api/physicalMst/isMaterType',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function hpySync(data) {
|
||||
return request({
|
||||
url: 'api/physicalMst/hpySync',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getMaterialType(data) {
|
||||
return request({
|
||||
url: 'api/physicalMst/hpySync',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getStatus(data) {
|
||||
return request({
|
||||
url: 'api/physicalMst/hpySync',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export default { add, edit, del, getResult, saveResult, confirm, setValid, copyAdd, isMaterType, getStatus, getMaterialType }
|
||||
Reference in New Issue
Block a user