This commit is contained in:
Taric Xin
2022-04-19 14:13:44 +08:00
parent d04e52bb43
commit e728f0346b
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,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

@ -48,7 +48,7 @@ export class RequestedInvoiceModalComponent {
* @returns * @returns
*/ */
removeOrder(item: any[]) { removeOrder(item: any[]) {
if (this.st1.total <= 1) { if (this.st1.total <= 1 || item?.length === this.st1.total) {
this.service.msgSrv.warning('开票申请记录不能少于一个订单'); this.service.msgSrv.warning('开票申请记录不能少于一个订单');
return; return;
} }