Commit 22467e3c authored by 陆正友's avatar 陆正友

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

parent 409704bc
......@@ -553,7 +553,6 @@
function parameter_function(record, name) {
var field = record.getField(name),
ds = $('hls_fin_calculator_hd_ds'),
input_mode = record.get('input_mode');
set_field_input_mode(record, field, name, input_mode);
special_editor_function(ds, record, name);
......@@ -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('allow_decimal') == 'TRUE') {
field.setPropertity('allowdecimals', true);
......@@ -1889,7 +1895,7 @@
headRecord.isNew = false;
headRecord.dirty = true;
create_record_column(all_records, headRecord);
function hls_fin_cal_save_hd_submitsuccess_new(ds, res) {
if (typeof (nextStep) == 'function') {
nextStep(source_procedure);
......@@ -1900,12 +1906,12 @@
unlock_calc_current_window();
$('ln_formula_ds').un('load', on_ln_formula_load);
}
$('ln_formula_ds').on('load', on_ln_formula_load);
$('ln_formula_ds').query();
}
}
$('hls_fin_cal_save_hd_ds').on('submitsuccess', hls_fin_cal_save_hd_submitsuccess_new);
Leaf.SideBar.enable = false;
$('hls_fin_cal_save_hd_ds').submit();
......
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