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

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