|
@@ -536,7 +536,12 @@
|
|
|
content: '是否导出数据?',
|
|
|
onOk: ()=> {
|
|
|
alertModal.loading("执行中,请稍后!")
|
|
|
- downFile('/productionOrder/madeProductionOrders/exportXls', this.queryParam).then(data => {
|
|
|
+ let param = this.queryParam;
|
|
|
+ param['selections'] = ''
|
|
|
+ if(this.selectedRowKeys && this.selectedRowKeys.length>0){
|
|
|
+ param['selections'] = this.selectedRowKeys.join(",")
|
|
|
+ }
|
|
|
+ downFile('/productionOrder/madeProductionOrders/exportXls', param).then(data => {
|
|
|
alertModal.closeLoading();
|
|
|
if (!data) {
|
|
|
this.$message.warning('文件下载失败')
|