|
|
|
@ -275,6 +275,16 @@ export function AmrMapConvert(from: any): Array<ItemJson> { |
|
|
|
..._.cloneDeep(storeType.get(rackTypeId)) |
|
|
|
} |
|
|
|
|
|
|
|
// 货架高度是从 attribute[0].goodsAllocation[].layerHeight 读取的
|
|
|
|
if(insertNode.t === 'rack') { |
|
|
|
const levelsInfo = amrNode.attribute[0].attrDetail |
|
|
|
const levelCount = levelsInfo.length |
|
|
|
const levelHeight = _.map(levelsInfo, l=> new Decimal(l.val).div(d1000).toNumber() ) |
|
|
|
|
|
|
|
insertNode.dt.levelCount = levelCount |
|
|
|
insertNode.dt.bays[0].levelHeight = levelHeight |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
// =================== 这是一个路标 =====================
|
|
|
|
|