2024-05-31 18:03:15 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
// 门店列表列表
|
|
|
|
export function apiSystemStoreLists(params: any) {
|
|
|
|
return request.get({ url: '/system_store/systemstore/lists', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 添加门店列表
|
|
|
|
export function apiSystemStoreAdd(params: any) {
|
|
|
|
return request.post({ url: '/system_store/systemstore/add', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 编辑门店列表
|
|
|
|
export function apiSystemStoreEdit(params: any) {
|
|
|
|
return request.post({ url: '/system_store/systemstore/edit', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 删除门店列表
|
|
|
|
export function apiSystemStoreDelete(params: any) {
|
|
|
|
return request.post({ url: '/system_store/systemstore/delete', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 门店列表详情
|
|
|
|
export function apiSystemStoreDetail(params: any) {
|
|
|
|
return request.get({ url: '/system_store/systemstore/detail', params })
|
2024-06-01 18:01:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// 根据商品来源获取门店
|
|
|
|
export function apiSourceProductStoreLists(params: any) {
|
|
|
|
return request.get({ url: '/system_store/systemstore/source_product_store_lists', params })
|
2024-06-03 18:09:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// 根据商品来源更新门店
|
|
|
|
export function apiSourceProductUpdateStore(params: any) {
|
|
|
|
return request.post({ url: '/system_store/systemstore/source_product_update_store', params })
|
2024-06-04 18:17:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// 根据商品编辑门店库存
|
|
|
|
export function apiStoreBranchProductEdit(params: any) {
|
|
|
|
return request.post({ url: '/store_branch_product/StoreBranchProduct/edit', params })
|
2024-06-05 18:08:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// 根据商品编辑门店库存
|
|
|
|
export function apiStoreBranchProductEditPrice(params: any) {
|
|
|
|
return request.post({ url: '/store_branch_product/StoreBranchProduct/edit_price', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 运营概况-头部统计
|
|
|
|
export function apiSystemStoreStatisticsHeader(params: any) {
|
|
|
|
return request.post({ url: '/system_store/SystemStoreStatistics/header', params })
|
2024-05-31 18:03:15 +08:00
|
|
|
}
|