|
@@ -193,13 +193,13 @@ export default {
|
|
|
},
|
|
|
// 仓库下拉数据
|
|
|
getWarehouseList (type) {
|
|
|
- // warehouseAllList({}).then(res => {
|
|
|
- // if (res.status == 200) {
|
|
|
- // this.warehouseList = res.data
|
|
|
- // } else {
|
|
|
- // this.warehouseList = []
|
|
|
- // }
|
|
|
- // })
|
|
|
+ warehouseAllList({}).then(res => {
|
|
|
+ if (res.status == 200) {
|
|
|
+ this.warehouseList = res.data
|
|
|
+ } else {
|
|
|
+ this.warehouseList = []
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
beforeRouteEnter (to, from, next) {
|