This commit is contained in:
Taric Xin
2022-04-12 16:58:00 +08:00
parent 7178081da8
commit 82217dfc7b

View File

@ -436,7 +436,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
map((res: any) => {
return [...res];
})
)
);
},
change: (tag: any, org: any) => {
if (tag === '3') {
@ -455,7 +455,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
ui: {
widget: 'custom',
visibleIf: { insuranceType: (value: string) => value === '0' }
} ,
}
},
type2: {
type: 'string',
@ -495,7 +495,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
widget: 'custom',
visibleIf: { insuranceType: (value: string) => value === '1' }
}
},
}
},
required: ['insurancePremium']
};
@ -562,8 +562,12 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
receiptUserPhone: {
type: 'string',
title: '联系电话',
format: 'mobile',
maxLength: 11,
ui: {
errors: {
format: '请输入正确联系电话格式'
},
visibleIf: {
receiptType: value => value === '2'
}
@ -1030,10 +1034,10 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
this.getInsurersPrice(); // 计算保费金额
});
}
return true
return true;
} else {
this.service.msgSrv.warning('请重新手动选择地址!')
return false
this.service.msgSrv.warning('请重新手动选择地址!');
return false;
}
}
});
@ -1215,9 +1219,9 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
i.setValue(event);
if (event >= 99999) {
this.modalService.warning({
nzTitle: '可输入的最大金额为99999元',
nzTitle: '可输入的最大金额为99999元'
});
}
this.payChange()
this.payChange();
}
}