|
|
@@ -377,7 +377,9 @@
|
|
|
}
|
|
|
let children = [];
|
|
|
for (let i=this.current.children.length - 1;i>=0;i--){
|
|
|
- children.push(this.current.children[i]);
|
|
|
+ let obj = this.current.children[i];
|
|
|
+ obj.idx = i+1
|
|
|
+ children.push(obj);
|
|
|
}
|
|
|
return children;
|
|
|
},
|
|
|
@@ -502,7 +504,7 @@
|
|
|
error : (err,status)=>{
|
|
|
window.tempTip.show("坐标信息加载失败");
|
|
|
},
|
|
|
- timeout:8000,
|
|
|
+ timeout:30000,
|
|
|
})
|
|
|
},200);
|
|
|
},
|
|
|
@@ -1014,7 +1016,6 @@
|
|
|
},
|
|
|
//子设备选定时的库位加载
|
|
|
nextDetail(index){
|
|
|
- let children = this.current.children[index-1];
|
|
|
if (!this.current.eqId) {
|
|
|
window.tempTip.index = 1050;
|
|
|
window.tempTip.inputVal("子设备编码", (val)=> {
|
|
|
@@ -1024,6 +1025,7 @@
|
|
|
}
|
|
|
this.batchSign = false;
|
|
|
this.currentEqChildIndex = index-1;
|
|
|
+ let children = this.current.children[index-1];
|
|
|
this.isLoadLocation = true;
|
|
|
this._locationAttrDefault();
|
|
|
setTimeout(function (){
|