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