#
luxiaotao1123
2021-12-13 2f6c32fbfbd3696ed3ccce3b89158e4a5876ddc5
#
1个文件已修改
14 ■■■■■ 已修改文件
static/js/app.js 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/js/app.js
@@ -15,6 +15,7 @@
        this.stats = null;
        this.goodTypes=[];//存储所有的库位类型
        this.wrkNo = 0;
        this.wrkTasks = [];// 任务列表
        this.start = function () {
            this.initMain();
@@ -264,9 +265,7 @@
        this.queryTask = function () {
            if (this.firstTime === 1) {
                queryTaskCurrent();
                if (this.wrkNo !== TaskData.wrkNo) {
                    this.wrkNo = TaskData.wrkNo;
                }
                this.wrkTasks = TaskData;
            }
        }
        this.getExistedGoodType=function(state){
@@ -354,9 +353,12 @@
                });
        }
        this.modelMove = function () {
            // console.log(1)
            let crnBody = getArrVal(this.objects, "name", "1-body");
            console.log(crnBody.position)
            for (var wrkMast of this.wrkTasks) {
                console.log(wrkMast)
                let crnBody = getArrVal(this.objects, "name", wrkMast.crnNo + "-body");
                console.log(crnBody.position);
            }
        }
    },