fix bug
This commit is contained in:
		| @ -4,7 +4,7 @@ | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2022-01-18 09:51:21 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-05-06 16:57:23 | ||||
|  * @LastEditTime : 2022-05-06 17:09:51 | ||||
|  * @FilePath     : \\tms-obc-web\\proxy.conf.js | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
|  */ | ||||
| @ -30,7 +30,7 @@ module.exports = { | ||||
|   // }, | ||||
|   '//api': { | ||||
|     target: { | ||||
|       host: 'tms-api-test.eascs.com', | ||||
|       host: 'tms-api-dev.eascs.com', | ||||
|       protocol: 'https:', | ||||
|       port: 443 | ||||
|     }, | ||||
|  | ||||
| @ -83,6 +83,12 @@ export class WithdrawalsRecordComponent extends BasicTableComponent { | ||||
|     if (item) { | ||||
|       params = [item.id]; | ||||
|     } else { | ||||
|       console.log(this.selectedRows); | ||||
|        | ||||
|       if (this.selectedRows.length <= 0) { | ||||
|         this.service.msgSrv.error('请选择提现单!'); | ||||
|         return; | ||||
|       } | ||||
|       params = this.selectedRows.map(node => node.id); | ||||
|     } | ||||
|     const modal = this.nzModalService.create({ | ||||
|  | ||||
| @ -107,6 +107,11 @@ export class PartnerAccountManagementWithdrawalsRecordComponent implements OnIni | ||||
|     if (item) { | ||||
|       params = [item.id]; | ||||
|     } else { | ||||
|          | ||||
|       if (this.selectedRows.length <= 0) { | ||||
|         this.service.msgSrv.error('请选择提现单!'); | ||||
|         return; | ||||
|       } | ||||
|       params = this.selectedRows.map(node => node.id); | ||||
|     } | ||||
|     const modal = this.nzModalService.create({ | ||||
| @ -117,6 +122,10 @@ export class PartnerAccountManagementWithdrawalsRecordComponent implements OnIni | ||||
|           label: '拒绝', | ||||
|           type: 'default', | ||||
|           onClick: () => { | ||||
|             if (!this.msg || this.msg.trim().length === 0) { | ||||
|               this.service.msgSrv.warning('请填写拒绝原因 '); | ||||
|               return false; | ||||
|             } | ||||
|             this.service | ||||
|               .request(this.service.$api_disagree_refund, { | ||||
|                 refundApplicationId: params, | ||||
| @ -129,6 +138,8 @@ export class PartnerAccountManagementWithdrawalsRecordComponent implements OnIni | ||||
|                   this.st.load(1); | ||||
|                 } | ||||
|               }); | ||||
|             return false; | ||||
|  | ||||
|           } | ||||
|         }, | ||||
|         { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user