feat: update frontend authorization and operations

This commit is contained in:
zgw
2026-09-03 16:56:57 +08:00
parent 3ec0931047
commit 690eae9985
26 changed files with 1768 additions and 328 deletions

View File

@@ -10,10 +10,11 @@ export function listManagement(query) {
}
// 查询库存信息详细
export function getManagement(stockId) {
export function getManagement(stockId, warehouseCode) {
return request({
url: '/stock/management/' + stockId,
method: 'get'
method: 'get',
params: {"warehouseCode": warehouseCode}
})
}
@@ -45,12 +46,14 @@ export function updateManagement(data) {
}
// 删除库存信息
export function delManagement(stockId) {
export function delManagement(stockId, warehouseCode) {
return request({
url: '/stock/management/' + stockId,
method: 'delete'
method: 'delete',
params: {"warehouseCode": warehouseCode}
})
}
//重置盘点记录
export function resetPdRecord() {
return request({