edit
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user