前端/klp改成/wms
This commit is contained in:
@@ -3,7 +3,7 @@ import request from '@/utils/request'
|
||||
// 查询通用分类列表
|
||||
export function listCategory(query) {
|
||||
return request({
|
||||
url: '/klp/category/list',
|
||||
url: '/wms/category/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@@ -12,7 +12,7 @@ export function listCategory(query) {
|
||||
// 查询通用分类详细
|
||||
export function getCategory(categoryId) {
|
||||
return request({
|
||||
url: '/klp/category/' + categoryId,
|
||||
url: '/wms/category/' + categoryId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@@ -20,7 +20,7 @@ export function getCategory(categoryId) {
|
||||
// 新增通用分类
|
||||
export function addCategory(data) {
|
||||
return request({
|
||||
url: '/klp/category',
|
||||
url: '/wms/category',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
@@ -29,7 +29,7 @@ export function addCategory(data) {
|
||||
// 修改通用分类
|
||||
export function updateCategory(data) {
|
||||
return request({
|
||||
url: '/klp/category',
|
||||
url: '/wms/category',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
@@ -38,7 +38,7 @@ export function updateCategory(data) {
|
||||
// 删除通用分类
|
||||
export function delCategory(categoryId) {
|
||||
return request({
|
||||
url: '/klp/category/' + categoryId,
|
||||
url: '/wms/category/' + categoryId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import request from '@/utils/request'
|
||||
// 查询产品列表
|
||||
export function listProduct(query) {
|
||||
return request({
|
||||
url: '/klp/product/list',
|
||||
url: '/wms/product/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@@ -12,7 +12,7 @@ export function listProduct(query) {
|
||||
// 查询产品详细
|
||||
export function getProduct(productId) {
|
||||
return request({
|
||||
url: '/klp/product/' + productId,
|
||||
url: '/wms/product/' + productId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@@ -20,7 +20,7 @@ export function getProduct(productId) {
|
||||
// 新增产品
|
||||
export function addProduct(data) {
|
||||
return request({
|
||||
url: '/klp/product',
|
||||
url: '/wms/product',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
@@ -29,7 +29,7 @@ export function addProduct(data) {
|
||||
// 修改产品
|
||||
export function updateProduct(data) {
|
||||
return request({
|
||||
url: '/klp/product',
|
||||
url: '/wms/product',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
@@ -38,7 +38,7 @@ export function updateProduct(data) {
|
||||
// 删除产品
|
||||
export function delProduct(productId) {
|
||||
return request({
|
||||
url: '/klp/product/' + productId,
|
||||
url: '/wms/product/' + productId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import request from '@/utils/request'
|
||||
// 查询产线列表
|
||||
export function listProductionLine(query) {
|
||||
return request({
|
||||
url: '/klp/productionLine/list',
|
||||
url: '/wms/productionLine/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@@ -12,7 +12,7 @@ export function listProductionLine(query) {
|
||||
// 查询产线详细
|
||||
export function getProductionLine(lineId) {
|
||||
return request({
|
||||
url: '/klp/productionLine/' + lineId,
|
||||
url: '/wms/productionLine/' + lineId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@@ -20,7 +20,7 @@ export function getProductionLine(lineId) {
|
||||
// 新增产线
|
||||
export function addProductionLine(data) {
|
||||
return request({
|
||||
url: '/klp/productionLine',
|
||||
url: '/wms/productionLine',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
@@ -29,7 +29,7 @@ export function addProductionLine(data) {
|
||||
// 修改产线
|
||||
export function updateProductionLine(data) {
|
||||
return request({
|
||||
url: '/klp/productionLine',
|
||||
url: '/wms/productionLine',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
@@ -38,7 +38,7 @@ export function updateProductionLine(data) {
|
||||
// 删除产线
|
||||
export function delProductionLine(lineId) {
|
||||
return request({
|
||||
url: '/klp/productionLine/' + lineId,
|
||||
url: '/wms/productionLine/' + lineId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import request from '@/utils/request'
|
||||
// 查询原材料列表
|
||||
export function listRawMaterial(query) {
|
||||
return request({
|
||||
url: '/klp/rawMaterial/list',
|
||||
url: '/wms/rawMaterial/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@@ -12,7 +12,7 @@ export function listRawMaterial(query) {
|
||||
// 查询原材料详细
|
||||
export function getRawMaterial(rawMaterialId) {
|
||||
return request({
|
||||
url: '/klp/rawMaterial/' + rawMaterialId,
|
||||
url: '/wms/rawMaterial/' + rawMaterialId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@@ -20,7 +20,7 @@ export function getRawMaterial(rawMaterialId) {
|
||||
// 新增原材料
|
||||
export function addRawMaterial(data) {
|
||||
return request({
|
||||
url: '/klp/rawMaterial',
|
||||
url: '/wms/rawMaterial',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
@@ -29,7 +29,7 @@ export function addRawMaterial(data) {
|
||||
// 修改原材料
|
||||
export function updateRawMaterial(data) {
|
||||
return request({
|
||||
url: '/klp/rawMaterial',
|
||||
url: '/wms/rawMaterial',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
@@ -38,7 +38,7 @@ export function updateRawMaterial(data) {
|
||||
// 删除原材料
|
||||
export function delRawMaterial(rawMaterialId) {
|
||||
return request({
|
||||
url: '/klp/rawMaterial/' + rawMaterialId,
|
||||
url: '/wms/rawMaterial/' + rawMaterialId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import request from '@/utils/request'
|
||||
// 查询库存:原材料/产品与库区/库位的存放关系列表
|
||||
export function listStock(query) {
|
||||
return request({
|
||||
url: '/klp/stock/list',
|
||||
url: '/wms/stock/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@@ -12,7 +12,7 @@ export function listStock(query) {
|
||||
// 查询库存:原材料/产品与库区/库位的存放关系详细
|
||||
export function getStock(stockId) {
|
||||
return request({
|
||||
url: '/klp/stock/' + stockId,
|
||||
url: '/wms/stock/' + stockId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@@ -20,7 +20,7 @@ export function getStock(stockId) {
|
||||
// 新增库存:原材料/产品与库区/库位的存放关系
|
||||
export function addStock(data) {
|
||||
return request({
|
||||
url: '/klp/stock',
|
||||
url: '/wms/stock',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
@@ -29,7 +29,7 @@ export function addStock(data) {
|
||||
// 修改库存:原材料/产品与库区/库位的存放关系
|
||||
export function updateStock(data) {
|
||||
return request({
|
||||
url: '/klp/stock',
|
||||
url: '/wms/stock',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
@@ -38,7 +38,7 @@ export function updateStock(data) {
|
||||
// 删除库存:原材料/产品与库区/库位的存放关系
|
||||
export function delStock(stockId) {
|
||||
return request({
|
||||
url: '/klp/stock/' + stockId,
|
||||
url: '/wms/stock/' + stockId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import request from '@/utils/request'
|
||||
// 查询仓库/库区/库位自关联列表
|
||||
export function listWarehouse(query) {
|
||||
return request({
|
||||
url: '/klp/warehouse/list',
|
||||
url: '/wms/warehouse/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@@ -12,7 +12,7 @@ export function listWarehouse(query) {
|
||||
// 查询仓库/库区/库位自关联详细
|
||||
export function getWarehouse(warehouseId) {
|
||||
return request({
|
||||
url: '/klp/warehouse/' + warehouseId,
|
||||
url: '/wms/warehouse/' + warehouseId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@@ -20,7 +20,7 @@ export function getWarehouse(warehouseId) {
|
||||
// 新增仓库/库区/库位自关联
|
||||
export function addWarehouse(data) {
|
||||
return request({
|
||||
url: '/klp/warehouse',
|
||||
url: '/wms/warehouse',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
@@ -29,7 +29,7 @@ export function addWarehouse(data) {
|
||||
// 修改仓库/库区/库位自关联
|
||||
export function updateWarehouse(data) {
|
||||
return request({
|
||||
url: '/klp/warehouse',
|
||||
url: '/wms/warehouse',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
@@ -38,7 +38,7 @@ export function updateWarehouse(data) {
|
||||
// 删除仓库/库区/库位自关联
|
||||
export function delWarehouse(warehouseId) {
|
||||
return request({
|
||||
url: '/klp/warehouse/' + warehouseId,
|
||||
url: '/wms/warehouse/' + warehouseId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user