Commit 8e1a56d1 authored by stone's avatar stone

Merge branch 'refs/heads/feature/fix_bug' into develop

parents 9f1e1077 de255c9b
...@@ -117,8 +117,18 @@ ...@@ -117,8 +117,18 @@
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master'); var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master');
var head_record = $(ds_id).getCurrentRecord(); var head_record = $(ds_id).getCurrentRecord();
var check_flag = false; var check_flag = false;
//判断简称是否是三位字母大写
var english_name= head_record.get('english_name');
var patrn = /^[A-Z]{3}$/;
//对统一社会信用代码和身份生进行校验 //对统一社会信用代码和身份生进行校验
if(patrn.test(english_name)==false){
$L.showErrorMessage('错误','代理店代码为三位大写字母!',null,null);
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return false;
}
var social_code=head_record.get('social_code'); var social_code=head_record.get('social_code');
var id_card_no_leg=head_record.get('id_card_no_leg'); var id_card_no_leg=head_record.get('id_card_no_leg');
if(!checkCard(id_card_no_leg)){ if(!checkCard(id_card_no_leg)){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment