Commit 9f1e1077 authored by stone's avatar stone

【fix】 修改收款功能

parent a98a842e
......@@ -292,17 +292,17 @@
var payment_req_id = hd_record.get('payment_req_id');
var line_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'csh_payment_req_ln');
var line_record = $(line_ds_id).getAt(0);
if (line_record.get('cf_item') == '52' || line_record.get('cf_item') == '509') {
//保证金退还Doodream审批接口 CFL-FE5D96CF-694C-4290-A22E-241FC3F6DEF0
var case_type = 'CFL-FE5D96CF-694C-4290-A22E-241FC3F6DEF0';
$('${/parameter/@layout_code}_save').disable();
$('${/parameter/@layout_code}_submit_approval').disable();
getXml(case_type, payment_req_id);
// else if (document_type == 'LEASEHOLD_CHAG') {
// case_type = '';
// }
} else {
// if (line_record.get('cf_item') == '52' || line_record.get('cf_item') == '509') {
// //保证金退还Doodream审批接口 CFL-FE5D96CF-694C-4290-A22E-241FC3F6DEF0
// var case_type = 'CFL-FE5D96CF-694C-4290-A22E-241FC3F6DEF0';
// $('${/parameter/@layout_code}_save').disable();
// $('${/parameter/@layout_code}_submit_approval').disable();
// getXml(case_type, payment_req_id);
// // else if (document_type == 'LEASEHOLD_CHAG') {
// // case_type = '';
// // }
//
// } else {
Leaf.request({
url: '${/request/@context_path}/autocrud/csh.CSH501.upd_csh_payment_sub_flag/execute',
para: {
......@@ -328,7 +328,7 @@
},
scope: this
});
}
// }
}, function cancelFun() {
Leaf.SideBar.enable = true;
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