#
luxiaotao1123
2022-04-07 767fd92e1e79bd000a4fc56e78d44cc27603fa3b
static/js/object/StoreGoods.js
@@ -44,6 +44,11 @@
                        positionZ = (item.bay1-1)*-ref.binHeight || 0;
                        clone.name = item.loc_no + "-" + "Pallet";
                        clone.traverse (function (child) {
                            if (child instanceof THREE.Mesh) {
                                child.name = item.loc_no + "-" + child.name;
                            }
                        })
                        break;
                    case 2:
                        positionX = ref.position.x || 0;
@@ -55,6 +60,11 @@
                        positionZ -= 138 + 20;
                        clone.name = item.wrkNo + "-" + "Pallet";
                        clone.traverse (function (child) {
                            if (child instanceof THREE.Mesh) {
                                child.name = item.wrkNo + "-" + child.name;
                            }
                        })
                        break;
                    default:
                        console.error("InitPallet param[type] error ===>> " + type);
@@ -104,6 +114,11 @@
                    positionZ = (item.bay1-1)*-ref.binHeight || 0;
                    clone.name = item.loc_no + "-" + "Goods";
                    clone.traverse (function (child) {
                        if (child instanceof THREE.Mesh) {
                            child.name = item.loc_no + "-" + child.name;
                        }
                    })
                    break;
                case 2:
                    positionX = ref.position.x || 0;
@@ -115,6 +130,11 @@
                    positionZ -= 138 + 20;
                    clone.name = item.wrkNo + "-" + "Goods";
                    clone.traverse (function (child) {
                        if (child instanceof THREE.Mesh) {
                            child.name = item.wrkNo + "-" + child.name;
                        }
                    })
                    break;
                default:
                    console.error("InitGoods param[type] error ===>> " + type);