This commit is contained in:
Taric Xin
2022-03-30 14:55:49 +08:00
parent 3348e72b58
commit abf59f38e7
9 changed files with 42 additions and 41 deletions

View File

@ -119,17 +119,18 @@ export class InvoiceRequestedComponent {
this.service.msgSrv.warning('请选择开票申请');
return;
}
if (item.find(item => item.sts !== '1')) {
this.service.msgSrv.warning('请勿选择非待处理订单');
return;
}
// if (item.find(item => item.sts !== '1')) {
// this.service.msgSrv.warning('请勿选择非待处理订单');
// return;
// }
const modal = this.nzModalService.create({
nzTitle: '修改地址',
nzContent: UpdateAddressModalComponent,
nzOkLoading: this.service.http.loading,
nzOnOk: component => {
if (!component.sf.valid) {
this.service.msgSrv.warning('表单校验错误');
component.sf.validator({ emitError: true });
// this.service.msgSrv.warning('表单校验错误');
return false;
}
this.service