删除frappe-gantt
This commit is contained in:
@@ -42,3 +42,20 @@ export function delPurchasePlan(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