添加到货通知单功能

This commit is contained in:
yinjinlu-pc\尹金路
2024-11-13 18:25:31 +08:00
parent 6f6d77bb72
commit 124bbc4a3e
14 changed files with 1272 additions and 101 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询到货通知单列表
export function listArrivalnotice(query) {
return request({
url: '/mes/wm/arrivalnotice/list',
method: 'get',
params: query
})
}
// 查询到货通知单详细
export function getArrivalnotice(noticeId) {
return request({
url: '/mes/wm/arrivalnotice/' + noticeId,
method: 'get'
})
}
// 新增到货通知单
export function addArrivalnotice(data) {
return request({
url: '/mes/wm/arrivalnotice',
method: 'post',
data: data
})
}
// 修改到货通知单
export function updateArrivalnotice(data) {
return request({
url: '/mes/wm/arrivalnotice',
method: 'put',
data: data
})
}
// 删除到货通知单
export function delArrivalnotice(noticeId) {
return request({
url: '/mes/wm/arrivalnotice/' + noticeId,
method: 'delete'
})
}

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询到货通知单行列表
export function listArrivalnoticeline(query) {
return request({
url: '/mes/wm/arrivalnoticeline/list',
method: 'get',
params: query
})
}
// 查询到货通知单行详细
export function getArrivalnoticeline(lineId) {
return request({
url: '/mes/wm/arrivalnoticeline/' + lineId,
method: 'get'
})
}
// 新增到货通知单行
export function addArrivalnoticeline(data) {
return request({
url: '/mes/wm/arrivalnoticeline',
method: 'post',
data: data
})
}
// 修改到货通知单行
export function updateArrivalnoticeline(data) {
return request({
url: '/mes/wm/arrivalnoticeline',
method: 'put',
data: data
})
}
// 删除到货通知单行
export function delArrivalnoticeline(lineId) {
return request({
url: '/mes/wm/arrivalnoticeline/' + lineId,
method: 'delete'
})
}