mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-16 03:45:07 +08:00
✨ ERP:增加 ERP 销售订单的实现 50%(详情)
新年快乐~
This commit is contained in:
@ -7,6 +7,7 @@ export interface ProductVO {
|
||||
barCode: string // 产品条码
|
||||
categoryId: number // 产品类型编号
|
||||
unitId: number // 单位编号
|
||||
unitName?: string // 单位名字
|
||||
status: number // 产品状态
|
||||
standard: string // 产品规格
|
||||
remark: string // 产品备注
|
||||
@ -25,8 +26,8 @@ export const ProductApi = {
|
||||
},
|
||||
|
||||
// 查询产品精简列表
|
||||
getProductSimpleList: async (params: any) => {
|
||||
return await request.get({ url: `/erp/product/simple-list`, params })
|
||||
getProductSimpleList: async () => {
|
||||
return await request.get({ url: `/erp/product/simple-list` })
|
||||
},
|
||||
|
||||
// 查询产品详情
|
||||
|
@ -29,6 +29,11 @@ export const StockApi = {
|
||||
return await request.get({ url: `/erp/stock/get`, params: { productId, warehouseId } })
|
||||
},
|
||||
|
||||
// 获得产品库存数量
|
||||
getStockCount: async (productId: number) => {
|
||||
return await request.get({ url: `/erp/stock/get-count`, params: { productId } })
|
||||
},
|
||||
|
||||
// 导出产品库存 Excel
|
||||
exportStock: async (params) => {
|
||||
return await request.download({ url: `/erp/stock/export-excel`, params })
|
||||
|
@ -22,8 +22,8 @@ export const WarehouseApi = {
|
||||
},
|
||||
|
||||
// 查询仓库精简列表
|
||||
getWarehouseSimpleList: async (params: any) => {
|
||||
return await request.get({ url: `/erp/warehouse/simple-list`, params })
|
||||
getWarehouseSimpleList: async () => {
|
||||
return await request.get({ url: `/erp/warehouse/simple-list` })
|
||||
},
|
||||
|
||||
// 查询仓库详情
|
||||
|
Reference in New Issue
Block a user