Commit 4655ba41 authored by 陆正友's avatar 陆正友

农行回单跳转调整

parent fe922087
......@@ -17,6 +17,7 @@
p_bank_name =>${@bank_name},
p_beneficiary_name =>${@beneficiary_name},
p_bp_id =>${@bp_id},
p_bp_category=>${@bp_category},
p_total_amount =>${@total_amount},
p_import_itfc_id =>${@import_itfc_id});
......
......@@ -50,13 +50,12 @@
});
new Ext.Template('<iframe id ="_input_window" name="_input_window" border="0" frameborder="0" height="100%" width="100%" style="border:none;padding:0px;margin:0px;"></iframe>').insertFirst(_input_window.body.dom, {}, true);
var form = document.getElementById('importForm');
var url = '${/request/@context_path}/modules/csh/CSH1400/csh_abc_excel_import.lview?session_id=${/parameter/@session_id}&winid=${/parameter/@winid}&batch_id=${/parameter/@batch_id}&_csrf=${/session/@_csrf.token}';
var url = '${/request/@context_path}/modules/csh/CSH1400/csh_abc_excel_import.lview?session_id=${/parameter/@session_id}&winid=${/parameter/@winid}&abc_ds=${/parameter/@abc_ds}&batch_id=${/parameter/@batch_id}&_csrf=${/session/@_csrf.token}';
form.action = url;
form.submit();
$('${/parameter/@winid}').close();
_input_window.on('close', function() {
// $('${/parameter/@parent_ds_id}').setQueryParameter('batch_id','${/parameter/@batch_id}');
$('${/parameter/@parent_ds_id}').query();
$('${/parameter/@abc_ds}').query();
});
}
]]></script>
......
......@@ -122,9 +122,7 @@
});
//关闭该导入的界面
backBtn();
//returnBack();
// location.href = "${/request/@context_path}/modules/csh/CSH1400/csh_agricultural_bank_check.lview";
$('${/parameter/@abc_ds}').query();
},
failure: function () {
Leaf.Masker.unmask(Ext.getBody());
......
......@@ -109,6 +109,7 @@
lineOrc['beneficiary_name'] = orc_save[i].get('beneficiary_name');
lineOrc['total_amount'] = orc_save[i].get('total_amount');
lineOrc['bp_id'] = orc_save[i].get('bp_id');
lineOrc['bp_category'] = orc_save[i].get('bp_category');
saveOrc.push(lineOrc);
}
param['AbcOrc'] = saveOrc;
......@@ -126,7 +127,6 @@
},
scope: this
});
// }
}
......@@ -218,18 +218,13 @@
id: 'agricultural_bank_import_wind',
params: {
winid: 'agricultural_bank_import_wind',
abc_ds:'AbcBankDs',
},
url: $('agricultural_bank_import_link').getUrl(),
title: '农行回单',
width: 430,
height: 390
});
// win.on('close', function () {
// debugger
// var createWin = $('agricultural_bank_import');
// createWin.close();
// returnAbc();
// });
}
......
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