Commit 362abd6a authored by 38823's avatar 38823

建行代扣显示问题修复

parent 26d30780
...@@ -529,7 +529,6 @@ ...@@ -529,7 +529,6 @@
} }
function csh511_save_all() { function csh511_save_all() {
debugger;
if (checkAmount()) { if (checkAmount()) {
var datas = []; var datas = [];
var para = {}; var para = {};
...@@ -544,22 +543,20 @@ ...@@ -544,22 +543,20 @@
para: datas, para: datas,
success: function(res) { success: function(res) {
Leaf.Masker.unmask(Ext.getBody()); Leaf.Masker.unmask(Ext.getBody());
if(res.result.record[0] != undefined && res.result.record[0].p_err_msg !=undefined){
if(res.result.record[0].p_err_msg){
var message='';
for(var i=0;i<res.result.record.length;i++){ for(var i=0;i<res.result.record.length;i++){
if(res.result.record[i].p_err_msg !=undefined){
var message='';
message= res.result.record[i].p_err_msg + message; message= res.result.record[i].p_err_msg + message;
}
var e_message = '建行代扣结果未回传 :'+message+',请重新选择需核销的现金流!'; var e_message = '建行代扣结果未回传 :'+message+',请重新选择需核销的现金流!';
$L.showErrorMessage("提示",e_message,null,800,300); $L.showErrorMessage("提示",e_message,null,800,300);
$('csh531n_write_off_submit_btn_id').enable(); $('csh531n_write_off_submit_btn_id').enable();
return;
}
} }
}else {
Leaf.Masker.unmask(Ext.getBody()); Leaf.Masker.unmask(Ext.getBody());
$('csh_transaction_deposit_ds').submit(); $('csh_transaction_deposit_ds').submit();
$('csh_transaction_advanced_ds').submit(); $('csh_transaction_advanced_ds').submit();
csh531_submitsuccess(); csh531_submitsuccess();
}
}, },
failure: function() { failure: function() {
Leaf.Masker.unmask(Ext.getBody()); Leaf.Masker.unmask(Ext.getBody());
......
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