refactor(wms): 移除废弃的采购计划相关组件和API
移除不再使用的采购计划相关Vue组件、API接口和视图文件,包括: 1. 删除productBom.js和purchasePlanDetail.js API文件 2. 移除RecommendPurchasePanel.vue、clac.vue、CreatePurchasePanel.vue和transfer.vue组件 3. 清理ledger/index.vue中未使用的代码 这些组件和API已被新实现替代,清理旧代码以保持代码库整洁
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询采购计划明细列表
|
||||
export function listPurchasePlanDetail(query) {
|
||||
return request({
|
||||
url: '/wms/purchasePlanDetail/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询采购计划明细详细
|
||||
export function getPurchasePlanDetail(detailId) {
|
||||
return request({
|
||||
url: '/wms/purchasePlanDetail/' + detailId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增采购计划明细
|
||||
export function addPurchasePlanDetail(data) {
|
||||
return request({
|
||||
url: '/wms/purchasePlanDetail',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改采购计划明细
|
||||
export function updatePurchasePlanDetail(data) {
|
||||
return request({
|
||||
url: '/wms/purchasePlanDetail',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除采购计划明细
|
||||
export function delPurchasePlanDetail(detailId) {
|
||||
return request({
|
||||
url: '/wms/purchasePlanDetail/' + detailId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user