|
@@ -152,9 +152,7 @@ export struct WarehouseMap {
|
|
|
}
|
|
|
//获取当前选择料格详情
|
|
|
getBoxInfos = async(y:string,x:string)=>{
|
|
|
- console.log('dyy',y,x)
|
|
|
let res: boxItem[] = await StorageRequest.get("/api/v1/wms/position/lineStockDetails/"+ x +'-'+y)
|
|
|
- console.log('dyy',res)
|
|
|
this.boxInfo=res;
|
|
|
}
|
|
|
// 获取仓库坐标信息,x和y轴的信息
|
|
@@ -360,7 +358,7 @@ export struct WarehouseMap {
|
|
|
}
|
|
|
}
|
|
|
else if (this.SelectEnter == ChooseStatus.isChoosing) {
|
|
|
- if (Number(x) < 6 && index1 != this.YCoordinate && index2 != this.XCoordinate) {
|
|
|
+ if (Number(x) < 6 && x && (index1 != this.YCoordinate?true :index2 != this.XCoordinate? true:false)) {
|
|
|
Text(x.toString())
|
|
|
.commonSquare().backgroundColor($r('app.color.green_100'))
|
|
|
.onClick(() => {
|