Commit 39816bdd authored by 38823's avatar 38823

茂甲控制保证金页面优化解锁问题

parent ef4ee325
......@@ -92,8 +92,8 @@
var params = record.data;
var marAfterStatus= params.mar_after_status;
if (marAfterStatus == '${/model/wfl_status/record/@mar_status}') {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
Leaf.showErrorMessage('提示', '修改前的状态和修改后的状态不能一样');
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return false;
}
if($(ds_result_id)){
......@@ -101,8 +101,8 @@
if (record.length != 1) {
for (var i = 0; i < record.length; i++) {
if (record[i].get('wfl_status') == 'NEW' || record[i].get('wfl_status') == 'APPROVING') {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
Leaf.showErrorMessage('提示', '必须审批通过后才可以新建');
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return false;
}
}
......@@ -120,7 +120,6 @@
var ds_result_id = 'MARGIN_CHECK_F_RESULT_csh_margin_check_ds';
$(ds_result_id).query();
$(ds_id).query();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
failure: function() {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
......
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