39 lines
1.4 KiB
TypeScript
39 lines
1.4 KiB
TypeScript
|
import request from '@/utils/request'
|
||
|
|
||
|
// 商品价格更改列表
|
||
|
export function apiStoreProductPriceLists(params: any) {
|
||
|
return request.get({ url: '/storeproductprice/lists', params }, { urlPrefix: 'psi' })
|
||
|
}
|
||
|
|
||
|
// 添加商品价格更改
|
||
|
export function apiStoreProductPriceAdd(params: any) {
|
||
|
return request.post({ url: '/storeproductprice/add', params }, { urlPrefix: 'psi' })
|
||
|
}
|
||
|
|
||
|
// 编辑商品价格更改
|
||
|
export function apiStoreProductPriceEdit(params: any) {
|
||
|
return request.post({ url: '/storeproductprice/edit', params }, { urlPrefix: 'psi' })
|
||
|
}
|
||
|
|
||
|
// 删除商品价格更改
|
||
|
export function apiStoreProductPriceDelete(params: any) {
|
||
|
return request.post({ url: '/storeproductprice/delete', params }, { urlPrefix: 'psi' })
|
||
|
}
|
||
|
|
||
|
// 商品价格更改详情
|
||
|
export function apiStoreProductPriceDetail(params: any) {
|
||
|
return request.get({ url: '/storeproductprice/detail', params }, { urlPrefix: 'psi' })
|
||
|
}
|
||
|
|
||
|
// 确认改价
|
||
|
export function apiStoreProductPriceEnterPrice(params: any) {
|
||
|
return request.post({ url: '/storeproductprice/enterPrice', params }, { urlPrefix: 'psi' })
|
||
|
}
|
||
|
|
||
|
export function apiStoreProductPriceExport(params: any) {
|
||
|
return request.post({ url: '/storeproductprice/export', params }, { urlPrefix: 'psi' })
|
||
|
}
|
||
|
|
||
|
export function apiStoreProductPriceChart(params: any) {
|
||
|
return request.get({ url: '/storeproductprice/chart', params }, { urlPrefix: 'psi' })
|
||
|
}
|