Commit b19d919a authored by 38823's avatar 38823

建行代扣代码还原

parent b4a304d4
...@@ -37,8 +37,7 @@ begin ...@@ -37,8 +37,7 @@ begin
p_post_flag => ${@post_flag}, p_post_flag => ${@post_flag},
p_write_off_classification => ${@write_off_classification}, p_write_off_classification => ${@write_off_classification},
p_journal_date => to_date(${@journal_date},'yyyy-mm-dd'), p_journal_date => to_date(${@journal_date},'yyyy-mm-dd'),
p_user_id => ${/session/@user_id}, p_user_id => ${/session/@user_id});
p_err_msg => ${@p_err_msg});
end; end;
]]></bm:update-sql> ]]></bm:update-sql>
</bm:operation> </bm:operation>
...@@ -68,13 +67,9 @@ begin ...@@ -68,13 +67,9 @@ begin
p_post_flag => ${@post_flag}, p_post_flag => ${@post_flag},
p_write_off_classification => ${@write_off_classification}, p_write_off_classification => ${@write_off_classification},
p_journal_date => to_date(${@journal_date},'yyyy-mm-dd'), p_journal_date => to_date(${@journal_date},'yyyy-mm-dd'),
p_user_id => ${/session/@user_id}, p_user_id => ${/session/@user_id});
p_err_msg => ${@p_err_msg});
end; end;
]]></bm:update-sql> ]]></bm:update-sql>
<bm:parameters>
<bm:parameter name="p_err_msg" dataType="java.lang.String" input="false" output="true" outputPath="@p_err_msg"/>
</bm:parameters>
</bm:operation> </bm:operation>
</bm:operations> </bm:operations>
<bm:fields> <bm:fields>
......
...@@ -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 = {};
...@@ -543,25 +542,10 @@ ...@@ -543,25 +542,10 @@
url: $('csh531n_submit_interface_link_id').getUrl(), url: $('csh531n_submit_interface_link_id').getUrl(),
para: datas, para: datas,
success: function(res) { success: function(res) {
var err_sum =0; Leaf.Masker.unmask(Ext.getBody());
var message=''; $('csh_transaction_deposit_ds').submit();
for(var i=0;i<res.result.record.length;i++){ $('csh_transaction_advanced_ds').submit();
if(res.result.record[i].p_err_msg !=undefined){ csh531_submitsuccess();
message= res.result.record[i].p_err_msg + message;
var e_message = '建行代扣结果未回传 :'+message+',请重新选择需核销的现金流!';
err_sum = err_sum +1;
}
}
if(err_sum > 0){
Leaf.Masker.unmask(Ext.getBody());
$L.showErrorMessage("提示",e_message,null,800,300);
$('csh531n_write_off_submit_btn_id').enable();
} else {
Leaf.Masker.unmask(Ext.getBody());
$('csh_transaction_deposit_ds').submit();
$('csh_transaction_advanced_ds').submit();
csh531_submitsuccess();
}
}, },
failure: function() { failure: function() {
Leaf.Masker.unmask(Ext.getBody()); Leaf.Masker.unmask(Ext.getBody());
...@@ -709,7 +693,6 @@ ...@@ -709,7 +693,6 @@
} }
var createConfirm = Leaf.showConfirm('提示', '确认提交复核吗', function () { var createConfirm = Leaf.showConfirm('提示', '确认提交复核吗', function () {
debugger;
$('csh531n_write_off_submit_btn_id').disable(); $('csh531n_write_off_submit_btn_id').disable();
csh511_save_all(); csh511_save_all();
}); });
......
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