Commit 1238a395 authored by 25484's avatar 25484

[fix]统一社会信用代码修改

parent 99a075a2
...@@ -418,11 +418,7 @@ ...@@ -418,11 +418,7 @@
if (head_record.get('bp_code')) { if (head_record.get('bp_code')) {
return true; return true;
} }
if (!CheckSocialCreditCode(social_code)) {
Leaf.showMessage('提示', '统一社会信用代码有误,请重新输入!');
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return false;
}
Leaf.request({ Leaf.request({
url: $('get_special_fields_link_id').getUrl(), url: $('get_special_fields_link_id').getUrl(),
para: { para: {
...@@ -594,6 +590,13 @@ ...@@ -594,6 +590,13 @@
return false; return false;
} }
} }
if(name == 'social_code') {
if (!CheckSocialCreditCode(value)) {
Leaf.showMessage('提示', '统一社会信用代码有误,请重新输入!');
// window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return false;
}
}
} }
if (ds.id == gird_ds_id4 || ds.id == gird_ds_id5) { if (ds.id == gird_ds_id4 || ds.id == gird_ds_id5) {
......
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