diff --git a/proxy.conf.js b/proxy.conf.js index cea0fccb..15faf001 100644 --- a/proxy.conf.js +++ b/proxy.conf.js @@ -30,7 +30,7 @@ module.exports = { // }, '//api': { target: { - host: 'tms-api-dev.eascs.com', + host: 'tms-api-test.eascs.com', protocol: 'https:', port: 443 }, diff --git a/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts b/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts index 64d2d120..a46d003c 100644 --- a/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts +++ b/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts @@ -48,7 +48,7 @@ export class RequestedInvoiceModalComponent { * @returns */ removeOrder(item: any[]) { - if (this.st1.total <= 1) { + if (this.st1.total <= 1 || item?.length === this.st1.total) { this.service.msgSrv.warning('开票申请记录不能少于一个订单'); return; }