|
@@ -180,6 +180,8 @@ import helper from '@/common/helper.js';
|
|
|
debugger
|
|
|
if(res.data.data.length==0){
|
|
|
this.isShowAlert = true
|
|
|
+ }else{
|
|
|
+ this.isShowAlert = false
|
|
|
}
|
|
|
this.compList = res.data.data
|
|
|
this.compName = res.data.data[0].compName
|
|
@@ -251,9 +253,6 @@ import helper from '@/common/helper.js';
|
|
|
}).then(res => {
|
|
|
if (res.data.data) {
|
|
|
console.log('res',res.data.data)
|
|
|
- if (res.data.data.length == 0) {
|
|
|
- this.isShowAlert = true
|
|
|
- } else {
|
|
|
this.warehouseName = res.data.data[0].warehouseName
|
|
|
this.warehouseList = res.data.data;
|
|
|
this.compId = res.data.data[0].compId
|
|
@@ -264,7 +263,7 @@ import helper from '@/common/helper.js';
|
|
|
this.baseId = res.data.data[0].positionInfos[0].baseId
|
|
|
console.log('this.warehouseCWList',this.warehouseCWList)
|
|
|
// this.makeBinNumber()
|
|
|
- }
|
|
|
+
|
|
|
}
|
|
|
})
|
|
|
},
|