|
|
@ -2848,6 +2848,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
//库存品 |
|
|
|
//库存品 |
|
|
|
onLoadList(page, params = {}) { |
|
|
|
onLoadList(page, params = {}) { |
|
|
|
|
|
|
|
console.log('111 :>> ', 111); |
|
|
|
this.loading = true; |
|
|
|
this.loading = true; |
|
|
|
let a = {}; |
|
|
|
let a = {}; |
|
|
|
if (this.$route.query.type == '1') { |
|
|
|
if (this.$route.query.type == '1') { |
|
|
@ -2855,8 +2856,10 @@ export default { |
|
|
|
} else if (this.$route.query.type === '2') { |
|
|
|
} else if (this.$route.query.type === '2') { |
|
|
|
a = this.dataList[0]; |
|
|
|
a = this.dataList[0]; |
|
|
|
} else if (this.$route.query.type == '3') { |
|
|
|
} else if (this.$route.query.type == '3') { |
|
|
|
a = this.dataOrder[0]; |
|
|
|
a = this.dataList[0]; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
console.log('a :>> ', a); |
|
|
|
|
|
|
|
console.log(' this.dataOrder :>> ', this.dataOrder); |
|
|
|
// let a = this.dataList[0]; |
|
|
|
// let a = this.dataList[0]; |
|
|
|
if (!!a.mallId) { |
|
|
|
if (!!a.mallId) { |
|
|
|
params.marketId = a.mallId; |
|
|
|
params.marketId = a.mallId; |
|
|
@ -2872,6 +2875,10 @@ export default { |
|
|
|
this.selectionClear(); |
|
|
|
this.selectionClear(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
type: 'warning', |
|
|
|
|
|
|
|
message: '无法获取商场信息', |
|
|
|
|
|
|
|
}); |
|
|
|
this.loading = false; |
|
|
|
this.loading = false; |
|
|
|
this.pageStock.total = 0; |
|
|
|
this.pageStock.total = 0; |
|
|
|
} |
|
|
|
} |
|
|
|