|
@@ -155,8 +155,10 @@ export default {
|
|
|
|
|
|
computed: {
|
|
computed: {
|
|
exParams() {
|
|
exParams() {
|
|
|
|
+ const correspondNameS = this.fliterData()
|
|
return {
|
|
return {
|
|
- correspondId: this.screenForm.warehouse,
|
|
|
|
|
|
+ correspondId: this.screenForm.warehouse.join(),
|
|
|
|
+ correspondNameS:correspondNameS.join('/'),
|
|
stockId: this.screenForm.position,
|
|
stockId: this.screenForm.position,
|
|
materialName: this.screenForm.goodsName,
|
|
materialName: this.screenForm.goodsName,
|
|
materialNumber: this.screenForm.goodsCode,
|
|
materialNumber: this.screenForm.goodsCode,
|
|
@@ -227,15 +229,7 @@ export default {
|
|
// 查询列表
|
|
// 查询列表
|
|
getList() {
|
|
getList() {
|
|
this.listLoading = true;
|
|
this.listLoading = true;
|
|
- const correspondNameS = []
|
|
|
|
- if( this.screenForm.warehouse && this.screenForm.warehouse.length)
|
|
|
|
- this.screenForm.warehouse.forEach(e=>{
|
|
|
|
- this.warehouseList.filter(k=>{
|
|
|
|
- if(e === k.id){
|
|
|
|
- correspondNameS.push(k.name)
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- })
|
|
|
|
|
|
+ const correspondNameS = this.fliterData()
|
|
let params = {
|
|
let params = {
|
|
pageNum: this.currentPage,
|
|
pageNum: this.currentPage,
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
@@ -281,7 +275,19 @@ export default {
|
|
this.currentPage = val;
|
|
this.currentPage = val;
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
|
|
+ fliterData(){
|
|
|
|
+ const correspondNameS = []
|
|
|
|
+ if( this.screenForm.warehouse && this.screenForm.warehouse.length)
|
|
|
|
+ this.screenForm.warehouse.forEach(e=>{
|
|
|
|
+ this.warehouseList.filter(k=>{
|
|
|
|
+ if(e === k.id){
|
|
|
|
+ correspondNameS.push(k.name)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
|
|
|
|
+ return correspondNameS
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|