feat(钢卷管理): 添加成品钢卷的质量状态、切边要求等字段
在钢卷管理的分条、合卷和基础信息页面中,为成品类型的钢卷新增质量状态、切边要求、打包状态和包装要求字段 同时移除未使用的采购计划相关代码
This commit is contained in:
@@ -1,61 +0,0 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询采购计划主列表
|
||||
export function listPurchasePlan(query) {
|
||||
return request({
|
||||
url: '/wms/purchasePlan/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询采购计划主详细
|
||||
export function getPurchasePlan(planId) {
|
||||
return request({
|
||||
url: '/wms/purchasePlan/' + planId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增采购计划主
|
||||
export function addPurchasePlan(data) {
|
||||
return request({
|
||||
url: '/wms/purchasePlan',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改采购计划主
|
||||
export function updatePurchasePlan(data) {
|
||||
return request({
|
||||
url: '/wms/purchasePlan',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除采购计划主
|
||||
export function delPurchasePlan(planId) {
|
||||
return request({
|
||||
url: '/wms/purchasePlan/' + planId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取推荐的采购计划
|
||||
export function recommendPurchasePlan(orderId) {
|
||||
return request({
|
||||
url: '/wms/purchasePlan/recommend/' + orderId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 创建采购计划(含明细)
|
||||
export function createPurchasePlan(data) {
|
||||
return request({
|
||||
url: '/wms/purchasePlan/addWithDetails',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user