Commit b6daa11b authored by 陆正友's avatar 陆正友

银行账户名称必须与代理店名称一致校验

parent 5d84606c
......@@ -171,6 +171,17 @@
return false;
}}
var ds_bank = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master_bank_account');
var bp_name = head_record.get('bp_name');
var bank_record = $(ds_bank).getCurrentRecord();
if (!Ext.isEmpty(bank_record)){
var bank_account_name = bank_record.get('bank_account_name');
if (bp_name != bank_account_name){
Leaf.showErrorMessage('提示','银行账户名称必须与代理店名称一致!');
return false;
};
}
Leaf.request({
url: $('get_special_fields_link_id').getUrl(),
......
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