This commit is contained in:
Taric Xin
2022-03-25 16:09:42 +08:00
parent 3c6d526dc2
commit dc19b07de7
2 changed files with 3 additions and 3 deletions

View File

@ -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
}, },

View File

@ -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) {