Commit 28e7d3d0 authored by 李贺贺's avatar 李贺贺

担保代付协议附件上传校验——审批页面

parent e527c66e
...@@ -99,18 +99,19 @@ ...@@ -99,18 +99,19 @@
return '<a href="javascript:acr610_detail_grid_readonly(' + record.id + ',' + record.get('invoice_hd_wfl_id') + ');">' + value + '</a>'; return '<a href="javascript:acr610_detail_grid_readonly(' + record.id + ',' + record.get('invoice_hd_wfl_id') + ');">' + value + '</a>';
} }
if (name == 'attachment') { if (name == 'attachment') {
if(record.get('cf_item') != '2') {
if (record.get('invoice_kind') == '0') { if (record.get('invoice_kind') == '0') {
if (record.get('paid_byother_flag') == 'T') { if (record.get('paid_byother_flag') == 'T') {
if (record.get('guarantor_name_duty') != 'Y' || record.get('guarantor_name_duty') == 'NULL') { if (record.get('guarantor_name_duty') != 'Y' || record.get('guarantor_name_duty') == 'NULL') {
return '<a href="javascript:acr610_detail_upload_window(' + record.get('file_id') + ')">附件</a>'; return '<a href="javascript:acr610_detail_upload_window(' + record.get('file_id') + ')">附件</a>';
}
} }
} } else if (record.get('invoice_kind') == '2') {
} else if (record.get('invoice_kind') == '2') { if (record.get('paid_byother_sum_flag') > 0) {
if (record.get('paid_byother_sum_flag') > 0) { var current_record = $('acr610_invoice_detail_result_ds').getAt(0);
var current_record = $('acr610_invoice_detail_result_ds').getAt(0); if (current_record.id == record.id) {
if (current_record.id == record.id) { return '<a href="javascript:acr610_detail_upload_window(' + record.get('file_id') + ')">附件</a>';
return '<a href="javascript:acr610_detail_upload_window(' + record.get('file_id') + ')">附件</a>'; }
} }
} }
} }
......
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