Commit ce89a077 authored by 25484's avatar 25484

[fix]商业伙伴维护修改

parent 21a9b0e3
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load'] = function (ds, record, config_records, bp_seq) { window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load'] = function (ds, record, config_records, bp_seq) {
if ((ds.id).indexOf('hls_bp_master') != -1) { if ((ds.id).indexOf('hls_bp_master') != -1) {
record.getField('cell_phone').setRequired(true); // record.getField('cell_phone').setRequired(true);
//身份证验证 //身份证验证
if (ds.fields.id_card_no) { if (ds.fields.id_card_no) {
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
var bp_class = data.get('bp_class'); var bp_class = data.get('bp_class');
if(bp_class == 'NP'){ if(bp_class == 'NP'){
Leaf.showMessage('${l:PROMPT}', '${l:HLS.SELECT_RECORD}'); Leaf.showMessage('${l:PROMPT}', '只有法人类型商业伙伴才可以修改开票信息!');
return false; return false;
}else if(bp_class == 'ORG'){ }else if(bp_class == 'ORG'){
var invoice_bp_bank_account = data.get('invoice_bp_bank_account'); var invoice_bp_bank_account = data.get('invoice_bp_bank_account');
......
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