|
@@ -635,15 +635,16 @@ export default {
|
|
|
this.getList()
|
|
|
},
|
|
|
hanleDownloadFiles() {
|
|
|
- if (this.selectData.length) {
|
|
|
- const arr = []
|
|
|
- for (let i = 0; i < this.selectData.length; i++) {
|
|
|
- arr.push(this.selectData[i].depositManageId)
|
|
|
- }
|
|
|
- downloadFiles('/deposit-manage/export', { id: arr, orderType:'TRADE' })
|
|
|
- } else {
|
|
|
- this.$errorMsg('请选择押金项')
|
|
|
- }
|
|
|
+ let isRefundDeposit = this.deduction === '已退押' ? true : ''
|
|
|
+ if (this.screenForm.isRefundDeposit == true || this.screenForm.isRefundDeposit == false ) {
|
|
|
+ isRefundDeposit =this.screenForm.isRefundDeposit
|
|
|
+ }
|
|
|
+ console.log(isRefundDeposit);
|
|
|
+ downloadFiles('/deposit-manage/export', {
|
|
|
+ ...this.screenForm,
|
|
|
+ isRefundDeposit,
|
|
|
+ orderType:'TRADE' })
|
|
|
+
|
|
|
},
|
|
|
// 导入
|
|
|
async handleImport(param) {
|