Commit 3f62e16b authored by 陆正友's avatar 陆正友

报价单计算器首付款保证金只读

parent 584e9ce4
...@@ -553,7 +553,6 @@ ...@@ -553,7 +553,6 @@
function parameter_function(record, name) { function parameter_function(record, name) {
var field = record.getField(name), var field = record.getField(name),
ds = $('hls_fin_calculator_hd_ds'),
input_mode = record.get('input_mode'); input_mode = record.get('input_mode');
set_field_input_mode(record, field, name, input_mode); set_field_input_mode(record, field, name, input_mode);
special_editor_function(ds, record, name); special_editor_function(ds, record, name);
...@@ -564,6 +563,13 @@ ...@@ -564,6 +563,13 @@
} }
}); });
} }
var temp_head_records = $('hls_fin_calculator_hd_ds').getAll();
if('${/parameter/@division}'== '70'){
if (record.get('column_code') == 'H97') {
console.log(name);
set_field_input_mode(record, field, name, 'READONLY');
}
}
if (record.get('validation_type') == 'NUMBERFIELD') { if (record.get('validation_type') == 'NUMBERFIELD') {
if (record.get('allow_decimal') == 'TRUE') { if (record.get('allow_decimal') == 'TRUE') {
field.setPropertity('allowdecimals', true); field.setPropertity('allowdecimals', true);
......
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