Commit b1c419db authored by 38823's avatar 38823

“违约金调整维护”功能提交前缺少需先保存的校验

parent b16f2c94
...@@ -61,6 +61,11 @@ ...@@ -61,6 +61,11 @@
} }
function con7000_submit() { function con7000_submit() {
var gld_write_record = $('con7000_gld_write_off_ds').getAll();
if(Ext.isEmpty(gld_write_record)){
Leaf.showMessage('提示', '请先保存!');
return false;
}
var hd_record = $('con_rent_trans_penalty_hd_ds').getAt(0); var hd_record = $('con_rent_trans_penalty_hd_ds').getAt(0);
var gld_record = $('con_rent_trans_penalty_hd_ds').getAll(); var gld_record = $('con_rent_trans_penalty_hd_ds').getAll();
if (gld_record.length < 1) { if (gld_record.length < 1) {
......
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