Commit 8c58fb87 authored by 38823's avatar 38823

保证金校验测试问题修复

parent 343cbe20
...@@ -91,12 +91,21 @@ ...@@ -91,12 +91,21 @@
function seedetail_transaction_num(value, record, name) { function seedetail_transaction_num(value, record, name) {
if (record.get('transaction_id')) { if (record.get('transaction_id')) {
var url; var url;
var transaction_id;
url = $('csh_transaction_receipt_maintain_link').getUrl() + '?transaction_id=' + record.get('transaction_id') +'&bp_id='+ record.get('bp_id'); url = $('csh_transaction_receipt_maintain_link').getUrl() + '?transaction_id=' + record.get('transaction_id') +'&bp_id='+ record.get('bp_id');
return '<a href="javascript:openWindow(\'' + url + '\');">' + value + '</a>'; transaction_id = record.get('transaction_id');
return '<a href="javascript:openWindow(\'' + url + '\',\'' + transaction_id + '\');">' + value + '</a>';
} }
} }
function openWindow(url) { function openWindow(url,transaction_id) {
Leaf.request({
url: $('check_csh_transaction_entry_status_link_id').getUrl(),
para: {
transaction_id:transaction_id,
},
success: function () {
Leaf.Masker.unmask(Ext.getBody());
new Leaf.Window({ new Leaf.Window({
id: 'csh_transaction_deposit_link_winid', id: 'csh_transaction_deposit_link_winid',
params: { params: {
...@@ -108,6 +117,15 @@ ...@@ -108,6 +117,15 @@
}).on('close',function(){ }).on('close',function(){
cus100_receipt_query(); cus100_receipt_query();
}); });
},
failure: function () {
Leaf.Masker.unmask(Ext.getBody());
},
error: function () {
Leaf.Masker.unmask(Ext.getBody());
},
scope: this
});
} }
function construct_from_to() { function construct_from_to() {
......
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