修改半成品和成品新增时候搜索下拉框显示问题,新增负责人和生产人历史记录功能
This commit is contained in:
@ -33,11 +33,12 @@ export function deleteProductInbound(id: number) {
|
||||
})
|
||||
}
|
||||
|
||||
export function searchMaterialBase(keyword: string) {
|
||||
// 搜索基础物料 (已增加 page 参数)
|
||||
export function searchMaterialBase(keyword: string, page: number = 1) {
|
||||
return request({
|
||||
url: '/inbound/product/search-base',
|
||||
method: 'get',
|
||||
params: { keyword }
|
||||
params: { keyword, page }
|
||||
})
|
||||
}
|
||||
|
||||
@ -65,4 +66,13 @@ export function getFilterOptions() {
|
||||
url: '/inbound/product/options',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// [新增] 负责人历史记录
|
||||
export function getManagerHistory(params: any) {
|
||||
return request({
|
||||
url: '/inbound/product/suggestions/managers',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
@ -35,12 +35,12 @@ export function deleteSemiInbound(id: number) {
|
||||
})
|
||||
}
|
||||
|
||||
// 5. 搜索基础物料
|
||||
export function searchMaterialBase(keyword: string) {
|
||||
// 5. 搜索基础物料 (已增加 page 参数)
|
||||
export function searchMaterialBase(keyword: string, page: number = 1) {
|
||||
return request({
|
||||
url: '/inbound/semi/search-base',
|
||||
method: 'get',
|
||||
params: { keyword }
|
||||
params: { keyword, page }
|
||||
})
|
||||
}
|
||||
|
||||
@ -68,4 +68,13 @@ export function getFilterOptions() {
|
||||
url: '/inbound/semi/options',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// [新增] 生产负责人历史记录
|
||||
export function getManagerHistory(params: any) {
|
||||
return request({
|
||||
url: '/inbound/semi/suggestions/managers',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user