You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
378 B
JavaScript
20 lines
378 B
JavaScript
import request from '@/utils/request'
|
|
|
|
export function getProductInventoryPage(params = {}) {
|
|
return request({
|
|
url: '/admin-api/erp/stock/page',
|
|
method: 'get',
|
|
params: {
|
|
categoryType: 1,
|
|
...params
|
|
}
|
|
})
|
|
}
|
|
export function getProductDetail(id) {
|
|
return request({
|
|
url: '/admin-api/erp/product/get',
|
|
method: 'get',
|
|
params: { id }
|
|
})
|
|
}
|