rev:新增原材料需求功能
This commit is contained in:
58
mes/qd/src/views/wms/pcs/purchaseplan/purchase.js
Normal file
58
mes/qd/src/views/wms/pcs/purchaseplan/purchase.js
Normal file
@@ -0,0 +1,58 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function add(data) {
|
||||
return request({
|
||||
url: '/api/pcsIfPurchaseorder',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function del(ids) {
|
||||
return request({
|
||||
url: '/api/pcsIfPurchaseorder/delete',
|
||||
method: 'post',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
export function edit(data) {
|
||||
return request({
|
||||
url: '/api/pcsIfPurchaseorder/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function confirm(data) {
|
||||
return request({
|
||||
url: '/api/pcsIfPurchaseorder/confirm',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getDtl(data) {
|
||||
return request({
|
||||
url: '/api/pcsIfPurchaseorder/getDtl',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function commit(data) {
|
||||
return request({
|
||||
url: '/api/pcsIfPurchaseorder/commit',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export default {
|
||||
add,
|
||||
edit,
|
||||
del,
|
||||
confirm,
|
||||
getDtl,
|
||||
commit
|
||||
}
|
||||
Reference in New Issue
Block a user