|
|
|
@ -623,7 +623,11 @@ export default { |
|
|
|
this.$message.error('请先选择数据') |
|
|
|
this.$message.error('请先选择数据') |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
window.open(window.WARE_MATERIAL_STOCK+'?id='+this.selectionList.map(item => item.id).join(',')); |
|
|
|
if(this.selectionList.length > 1){ |
|
|
|
|
|
|
|
this.$message.error('请选择一条数据') |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
window.open(window.WARE_MATERIAL_STOCK+'?id='+this.selectionList[0].id); |
|
|
|
|
|
|
|
|
|
|
|
// getPrint({id:this.selectionList[0].id}).then(res =>{ |
|
|
|
// getPrint({id:this.selectionList[0].id}).then(res =>{ |
|
|
|
// console.log('res--------------',res) |
|
|
|
// console.log('res--------------',res) |
|
|
|
|