Commit cdb06d13 authored by 38823's avatar 38823

保证金校验测试问题修复

parent 6a81cce5
...@@ -90,22 +90,40 @@ ...@@ -90,22 +90,40 @@
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) {
new Leaf.Window({ Leaf.request({
id: 'csh_transaction_deposit_link_winid', url: $('check_csh_transaction_entry_status_link_id').getUrl(),
params: { para: {
winId: 'csh_transaction_deposit_link_winid' transaction_id:transaction_id,
}, },
url: url, success: function () {
title: '保证金入账详情', Leaf.Masker.unmask(Ext.getBody());
fullScreen: true new Leaf.Window({
}).on('close',function(){ id: 'csh_transaction_deposit_link_winid',
cus100_receipt_query(); params: {
winId: 'csh_transaction_deposit_link_winid'
},
url: url,
title: '保证金入账详情',
fullScreen: true
}).on('close',function(){
cus100_receipt_query();
});
},
failure: function () {
Leaf.Masker.unmask(Ext.getBody());
},
error: function () {
Leaf.Masker.unmask(Ext.getBody());
},
scope: this
}); });
} }
......
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