|
@@ -355,6 +355,7 @@ export default {
|
|
|
allocWarehouseDetail({ id: this.$route.params.id }).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
this.basicInfoData = res.data
|
|
|
+ this.getProductList(1)
|
|
|
this.getWarehouseLoc(res.data.putWarehouseSn, 'put')
|
|
|
this.getWarehouseLoc(res.data.outWarehouseSn, 'out')
|
|
|
} else {
|
|
@@ -463,6 +464,7 @@ export default {
|
|
|
this.pageNo = pageNo || this.pageNo
|
|
|
const params = Object.assign({ pageNo: this.pageNo, pageSize: this.pageSize }, this.queryParam)
|
|
|
params.enabledFlag = 1
|
|
|
+ params.warehouseSn = this.basicInfoData.outWarehouseSn
|
|
|
productQuery(params).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
const data = res.data
|
|
@@ -592,7 +594,7 @@ export default {
|
|
|
beforeRouteEnter (to, from, next) {
|
|
|
next(vm => {
|
|
|
vm.getDetail()
|
|
|
- vm.getProductList(1)
|
|
|
+ // vm.getProductList(1)
|
|
|
vm.getChooseProductList(1)
|
|
|
vm.getProductBrand()
|
|
|
vm.getProductType()
|