Commit 7348a1c2 authored by Darming's avatar Darming

Merge branch 'feature/optimization' into develop

parents 921927b6 cd8e8a06
Pipeline #4905 canceled with stages
...@@ -886,6 +886,18 @@ ...@@ -886,6 +886,18 @@
var lease_item_record = $(lease_item_ds_id).getCurrentRecord(); var lease_item_record = $(lease_item_ds_id).getCurrentRecord();
var bp_record = $(bp_ds_id).getCurrentRecord(); var bp_record = $(bp_ds_id).getCurrentRecord();
var project_id = current_record.get('project_id'); var project_id = current_record.get('project_id');
var score_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_TENANT_SCORE_INFO', 'bp_tenant_rate_detail');
var bp_tenant_detail_r = $(score_ds_id).getCurrentRecord();
if (bp_tenant_detail_r) {
for (var key in bp_tenant_detail_r.data) {
if (key != 'bp_detail_id' && key != 'score_name' && key != 'bp_age' && key != 'project_id') {
if(!bp_tenant_detail_r.get(key)){
Leaf.showInfoMessage("提示","承租人评分信息区域的所有字段,除\"第三方信用度\"外,其他都为必输字段,请填写!");
return;
}
}
}
}
if (current_record.dirty == true) { if (current_record.dirty == true) {
Leaf.showMessage('${l:PROMPT}', '${l:HLS.EXECUTE_AFTER_SAVE}'); Leaf.showMessage('${l:PROMPT}', '${l:HLS.EXECUTE_AFTER_SAVE}');
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