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