#
luxiaotao1123
2022-01-07 c3f17c80d1d59bce27eee9bedfcfe6767f0dfaa9
static/js/app.js
@@ -11,7 +11,7 @@
import {StoreShelf} from './object/StoreShelf.js';
import {StoreCrn} from './object/StoreCrn.js';
import {StoreConvey} from './object/StoreConvey.js';
import {StoreGoods} from './object/StoreGoods.js';
var APP = {
@@ -328,25 +328,14 @@
      this.initStoreObjects = function (object) {
         if (this.firstTime === 1) {
            if (Store3DData !== undefined && Store3DData !== null) {
               for(var group of Store3DData.data.store.groups) {
               for(let group of Store3DData.data.store.groups) {
                  new StoreCrn(group.crn, object);
                  for (var line of group.lines) {
                  for (let line of group.lines) {
                     let shelf = new StoreShelf(line);
                     object.addObject(shelf);
                     //显示库位上的货物
                     // for (var bin of line.bins) {
                     //    let existGoods=this.getExistedGoodType(bin.State);
                     //    let storeGoods = new StoreGoods(optionGroup, bin);
                     //    if(existGoods==null) {
                     //       let goods=storeGoods.create();
                     //       object.addObject(goods);
                     //       this.goodTypes.push({type: bin.State, object: goods});
                     //    } else {
                     //       let goods= storeGoods.clone(existGoods);
                     //       object.addObject(goods);
                     //    }
                     // }
                     object.addObject(shelf.mesh);
                     if (line.bins !== null) {
                        new StoreGoods(object, line.bins, shelf);
                     }
                  }
               }
               this.firstTime = 0;