#
luxiaotao1123
2022-04-07 0b75b43cca6c04f49ddeae6d873ac53185e390bc
static/js/object/StoreGoods.js
@@ -46,15 +46,13 @@
                        clone.name = item.loc_no + "-" + "Pallet";
                        break;
                    case 2:
                        console.log(item);
                        console.log(ref)
                        positionX = ref.position.x || 0;
                        positionY = ref.position.y || 0;
                        positionZ = ref.position.z || 0;
                        positionX -= 46;
                        positionY += 50;
                        positionZ -= 128;
                        positionX -= 48 - 1;
                        positionY += 20;
                        positionZ -= 138 + 20;
                        clone.name = item.wrkNo + "-" + "Pallet";
                        break;
@@ -108,7 +106,15 @@
                    clone.name = item.loc_no + "-" + "Goods";
                    break;
                case 2:
                    positionX = ref.position.x || 0;
                    positionY = ref.position.y || 0;
                    positionZ = ref.position.z || 0;
                    positionX -= 48 - 1;
                    positionY += 20;
                    positionZ -= 138 + 20;
                    clone.name = item.wrkNo + "-" + "Goods";
                    break;
                default:
                    console.error("InitGoods param[type] error ===>> " + type);