Commit ba07a3e1 authored by 陆正友's avatar 陆正友

农行背景颜色及跳转调整

parent 6a1dd5f4
......@@ -55,7 +55,7 @@
function change_background_color(record) {
if (record.get('re_flag') == 'Y') {
return 'background-color:#DC143C;'
return 'background-color:#99FF99;'
}
}
// 字段渲染农行回单
......@@ -65,11 +65,11 @@
var value_r = record.get(name_r);//OCR数据
if (value != value_r) {
if (name == 'total_amount') {
return '<font color="yellow">' + Leaf.formatMoney(value) + '</font>'
return '<font color="red">' + Leaf.formatMoney(value) + '</font>'
} else if (name == 'bank_receipt_date') {
return '<font color="yellow">' + Leaf.formatDate(value) + '</font>'
return '<font color="red">' + Leaf.formatDate(value) + '</font>'
} else {
return '<font color="yellow">' + value + '</font>'
return '<font color="red">' + value + '</font>'
}
} else {
if (name == 'total_amount') {
......@@ -185,7 +185,7 @@
});
$('AbcBankDs').query();
$("OcrQueryDs").query();
returnBack();
// returnBack();
},
scope: this
});
......@@ -203,7 +203,7 @@
});
$('AbcBankDs').query();
$("OcrQueryDs").query();
returnBack();
// returnBack();
},
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