迁移物料监控模块
- 新增计划与生产物料监控 V2 页面 - 新增 WIP 物料监控接口、旧路径路由和中英文文案 - 更新迁移任务列表中的物料监控状态
This commit is contained in:
27
src/api/planning-production/material-monitoring.js
Normal file
27
src/api/planning-production/material-monitoring.js
Normal file
@@ -0,0 +1,27 @@
|
||||
import { request } from '@/api/_service'
|
||||
|
||||
const BASE = 'planning_production/wip/wip_management/'
|
||||
|
||||
function apiParams (method, data = {}) {
|
||||
return {
|
||||
method,
|
||||
platform: 'background',
|
||||
...data
|
||||
}
|
||||
}
|
||||
|
||||
export function getWipDataList (data) {
|
||||
return request({
|
||||
url: BASE + 'list',
|
||||
method: 'get',
|
||||
params: apiParams('planning_production_wip_wip_management_list', data)
|
||||
})
|
||||
}
|
||||
|
||||
export function createWipData (data) {
|
||||
return request({
|
||||
url: BASE + 'create',
|
||||
method: 'post',
|
||||
data: apiParams('planning_production_wip_wip_management_create', data)
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user