- 添加排产单追踪页面,展示排产单详情和对应钢卷信息 - 新增listPlanCoils接口用于查询排产单对应的钢卷列表 - 在PlanSheetList组件中添加readonly属性控制操作按钮显示 - 优化CoilTable组件中钢卷号的列名显示
52 lines
1022 B
JavaScript
52 lines
1022 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询排产单明细列表
|
|
export function listPlanDetail(query) {
|
|
return request({
|
|
url: '/aps/planDetail/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询排产单明细详细
|
|
export function getPlanDetail(planDetailId) {
|
|
return request({
|
|
url: '/aps/planDetail/' + planDetailId,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增排产单明细
|
|
export function addPlanDetail(data) {
|
|
return request({
|
|
url: '/aps/planDetail',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改排产单明细
|
|
export function updatePlanDetail(data) {
|
|
return request({
|
|
url: '/aps/planDetail',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除排产单明细
|
|
export function delPlanDetail(planDetailId) {
|
|
return request({
|
|
url: '/aps/planDetail/' + planDetailId,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 查询排产单对应的钢卷列表
|
|
export function listPlanCoils(planSheetId) {
|
|
return request({
|
|
url: '/aps/planDetail/coils/' + planSheetId,
|
|
method: 'get',
|
|
})
|
|
} |