#
luxiaotao1123
2022-01-04 f60c480d1047f7174cdccdbc376ab50c4b0180aa
static/js/object/StoreGoods.js
@@ -38,18 +38,15 @@
                        }
                    });
                    obj.scale.set(4, 4, 3.5);
                    obj.position.x = -1;
                    obj.position.y = 22;
                    obj.position.z = -46;
                    palletList.map(item => {
                        var clone = obj.clone();
                        let clone = obj.clone();
                        let positionX = that.shelf.positionX || 0;
                        let positionY = that.shelf.positionY || 0;
                        let positionZ = that.shelf.positionZ || 0;
                        let positionY = that.shelf.bottomHight + (item.lev1-1)*that.shelf.binHeight || 0;
                        let positionZ = (item.bay1-1)*-that.shelf.binHeight || 0;
                        clone.position.x = -18 + positionX;
                        clone.position.y = 22 + positionY;
                        clone.position.y = 2 + positionY;
                        clone.position.z = -46 + positionZ;
                        that.object.addObject(clone);
                    })