fix(wms/coil/info): 修复生产数据加载依赖字段错误的问题

调整生产数据加载逻辑,先通过热轧卷号查询计划详情获取卷号,再调用时序数据接口,修复直接使用当前卷号可能取不到数据的问题
This commit is contained in:
2026-05-11 15:03:32 +08:00
parent 6cbb7f3c18
commit f102ef350b
3 changed files with 33 additions and 3 deletions

View File

@@ -33,6 +33,22 @@ export function getTimingSegByEncoilId(encoilId) {
})
}
export function getTimingSegByHotcoilId(encoilId) {
return request({
url: '/sql-server-api/seg-by-hotcoil/' + encoilId,
method: 'get'
})
}
// 根据热卷好查询计划详情
export function getTimingPlanDetailByHotcoilId(hotcoilId) {
return request({
url: '/sql-server-api/plans-by-hotcoil/' + hotcoilId,
method: 'get'
})
}
// 钢卷实际 SEG按出口卷号查询
export function getTimingSegByExcoilId(excoilId) {
return request({