预入库的删除功能

This commit is contained in:
2026-01-22 08:48:51 +08:00
parent 7788434c8d
commit bbb777f273
2 changed files with 63 additions and 8 deletions

View File

@@ -44,6 +44,15 @@ export function appendBill(data) {
})
}
// 删除库存单据
export function delBill(data) {
return request({
url: '/wisdom/bill/delete',
method: 'delete',
data: data
})
}
// 移库
export function moveRecord(data) {
return request({
@@ -70,6 +79,7 @@ export function backoutRecord(data) {
data: data
})
}
// 一键入库
export function recordFinish(data) {
return request({
@@ -79,6 +89,15 @@ export function recordFinish(data) {
})
}
// 一键删除预入库
export function recordRemove(data) {
return request({
url: '/wisdom/record/delete',
method: 'delete',
data: data
})
}
@@ -105,12 +124,12 @@ export function recordFinish(data) {
// 删除库存单据
export function delBill(id) {
return request({
url: '/wisdom/bill/' + id,
method: 'delete'
})
}
// export function delBill(id) {
// return request({
// url: '/wisdom/bill/' + id,
// method: 'delete'
// })
// }
// 查询库存单据详细
// export function getBill(id) {