#
luxiaotao1123
2022-01-04 0d0d52d7b35e41335cf2a8dcce8e1e3cef96811e
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,11 +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);
                     object.addObject(shelf.mesh);
                     if (line.bins !== null) {
                        new StoreGoods(object, line.bins, shelf);
                     }
                     //显示库位上的货物
                     // for (var bin of line.bins) {
                     //    let existGoods=this.getExistedGoodType(bin.State);