feat: update frontend authorization and operations
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user