edit
This commit is contained in:
@ -30,7 +30,7 @@ module.exports = {
|
||||
// },
|
||||
'//api': {
|
||||
target: {
|
||||
host: 'tms-api-dev.eascs.com',
|
||||
host: 'tms-api-test.eascs.com',
|
||||
protocol: 'https:',
|
||||
port: 443
|
||||
},
|
||||
|
||||
@ -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