| | |
| | | }); |
| | | }; |
| | | |
| | | // 分页查询联合库存记录列表(包含商品信息) |
| | | export const getStockInventoryListPageCombined = (params) => { |
| | | return request({ |
| | | url: "/stockInventory/pageListCombinedStockInventory", |
| | | method: "get", |
| | | params, |
| | | }); |
| | | }; |
| | | |
| | | // 创建库存记录 |
| | | export const createStockInventory = (params) => { |
| | | return request({ |
| | |
| | | export const subtractStockInventory = (params) => { |
| | | return request({ |
| | | url: "/stockInventory/subtractStockInventory", |
| | | method: "post", |
| | | data: params, |
| | | }); |
| | | }; |
| | | |
| | | // 新增入库记录(仅创建记录,不调整库存) |
| | | export const addStockInRecordOnly = (params) => { |
| | | return request({ |
| | | url: "/stockInventory/addStockInRecordOnly", |
| | | method: "post", |
| | | data: params, |
| | | }); |
| | | }; |
| | | |
| | | // 新增出库记录(仅创建记录,不调整库存) |
| | | export const addStockOutRecordOnly = (params) => { |
| | | return request({ |
| | | url: "/stockInventory/addStockOutRecordOnly", |
| | | method: "post", |
| | | data: params, |
| | | }); |
| | |
| | | }); |
| | | }; |
| | | |
| | | export const getStockInventoryByModelId = (productModelId) => { |
| | | return request({ |
| | | url: "/stockInventory/getByModelId", |
| | | method: "get", |
| | | params: { productModelId }, |
| | | }); |
| | | }; |
| | | |