Commit 1694b040 authored by 38823's avatar 38823

资产管理费代理店问题修复

parent 3fd22b2b
...@@ -345,7 +345,7 @@ ...@@ -345,7 +345,7 @@
function open_asset_management(record_id, ds_id) { function open_asset_management(record_id, ds_id) {
debugger; debugger;
var record = $(ds_id).findById(record_id); var record = $(ds_id).findById(record_id);
if(record.get('bp_id') == undefined){ if(record.get('bp_id') == undefined || record.get('agent_division_id')==undefined){
$L.showMessage('提示','请先保存!'); $L.showMessage('提示','请先保存!');
return; return;
} }
......
...@@ -295,7 +295,7 @@ ...@@ -295,7 +295,7 @@
function open_asset_management(record_id, ds_id) { function open_asset_management(record_id, ds_id) {
debugger; debugger;
var record = $(ds_id).findById(record_id); var record = $(ds_id).findById(record_id);
if(record.get('bp_id') == 'undefined'){ if(record.get('bp_id') == undefined || record.get('agent_division_id')==undefined){
$L.showMessage('提示','请先保存!'); $L.showMessage('提示','请先保存!');
return; return;
} }
......
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