Commit 989037b7 authored by 陆正友's avatar 陆正友

农行背景颜色及跳转调整

parent 7bcf26be
......@@ -50,12 +50,13 @@
});
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}&abc_ds=${/parameter/@abc_ds}&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}&ocr_ds=${/parameter/@ocr_ds}&batch_id=${/parameter/@batch_id}&_csrf=${/session/@_csrf.token}';
form.action = url;
form.submit();
$('${/parameter/@winid}').close();
_input_window.on('close', function() {
$('${/parameter/@abc_ds}').query();
$('${/parameter/@ocr_ds}').query();
});
}
]]></script>
......
......@@ -54,7 +54,7 @@
// var record = $('AbcBankDs').getSelected();
function change_background_color(record) {
if (record.get('re_flag') == 'Y') {
if (record.get('re_flag') == 'N') {
return 'background-color:#99FF99;'
}
}
......@@ -223,6 +223,7 @@
params: {
winid: 'agricultural_bank_import_wind',
abc_ds:'AbcBankDs',
ocr_ds:'OcrQueryDs',
},
url: $('agricultural_bank_import_link').getUrl(),
title: '农行回单',
......
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