edit
This commit is contained in:
		| @ -20,7 +20,7 @@ module.exports = { | |||||||
|   // } |   // } | ||||||
|   '//api': { |   '//api': { | ||||||
|     target: { |     target: { | ||||||
|       host: 'tms-api-dev.eascs.com', |       host: 'tms-api-test.eascs.com', | ||||||
|       protocol: 'https:', |       protocol: 'https:', | ||||||
|       port: 443 |       port: 443 | ||||||
|     }, |     }, | ||||||
|  | |||||||
| @ -90,7 +90,7 @@ export class InvoiceRequestedComponent { | |||||||
|           return false; |           return false; | ||||||
|         } |         } | ||||||
|         let ids = item.map(row => row.id); |         let ids = item.map(row => row.id); | ||||||
|         this.service.request(this.service.$api_reject_invoice, ids).subscribe(res => { |         this.service.request(this.service.$api_reject_invoice, { id: ids, rejectContent: this.rejectReason }).subscribe(res => { | ||||||
|           if (res) { |           if (res) { | ||||||
|             this.service.msgSrv.success('驳回成功'); |             this.service.msgSrv.success('驳回成功'); | ||||||
|             modal.destroy(true); |             modal.destroy(true); | ||||||
| @ -133,7 +133,7 @@ export class InvoiceRequestedComponent { | |||||||
|         this.service |         this.service | ||||||
|           .request(this.service.$api_update_invoice_address, { |           .request(this.service.$api_update_invoice_address, { | ||||||
|             ...component.sf.value, |             ...component.sf.value, | ||||||
|  |             id: item.map(i => i.id) | ||||||
|           }) |           }) | ||||||
|           .subscribe(res => { |           .subscribe(res => { | ||||||
|             if (res) { |             if (res) { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user