Commit 264bc67e authored by 王炜's avatar 王炜

修复报价计算可能导致汇率为空问题

parent f53805b2
...@@ -473,7 +473,7 @@ ...@@ -473,7 +473,7 @@
set_after_check_empty(exchange_rate_type_record, get_record_column_value(exchange_rate_type_record), '${/model/fnd_financial_option_path/record/@default_exchange_rate_type}', fromLoad, '${/model/fnd_financial_option_path/record/@exchange_rate_type_display}'); set_after_check_empty(exchange_rate_type_record, get_record_column_value(exchange_rate_type_record), '${/model/fnd_financial_option_path/record/@default_exchange_rate_type}', fromLoad, '${/model/fnd_financial_option_path/record/@exchange_rate_type_display}');
} }
} }
} else if (column_name == 'exchange_rate_type' || column_name == 'lease_start_date') { } /*else if (column_name == 'exchange_rate_type' || column_name == 'lease_start_date') {
exchange_rate_record = get_ds_record(ds, temp_hd_attribute_ds, 'exchange_rate'); exchange_rate_record = get_ds_record(ds, temp_hd_attribute_ds, 'exchange_rate');
currency_record = get_ds_record(ds, temp_hd_attribute_ds, 'currency'); currency_record = get_ds_record(ds, temp_hd_attribute_ds, 'currency');
lease_start_date_record = get_ds_record(ds, temp_hd_attribute_ds, 'lease_start_date'); lease_start_date_record = get_ds_record(ds, temp_hd_attribute_ds, 'lease_start_date');
...@@ -487,7 +487,7 @@ ...@@ -487,7 +487,7 @@
if (!fromLoad && value != old_value) { if (!fromLoad && value != old_value) {
exchange_rate_record.set('column_value', ''); exchange_rate_record.set('column_value', '');
} }
} }*/
onEditorupdate_setEmpty(ds, record, name, value, old_value, fromLoad); onEditorupdate_setEmpty(ds, record, name, value, old_value, fromLoad);
} }
......
...@@ -473,7 +473,7 @@ ...@@ -473,7 +473,7 @@
set_after_check_empty(exchange_rate_type_record, get_record_column_value(exchange_rate_type_record), '${/model/fnd_financial_option_path/record/@default_exchange_rate_type}', fromLoad, '${/model/fnd_financial_option_path/record/@exchange_rate_type_display}'); set_after_check_empty(exchange_rate_type_record, get_record_column_value(exchange_rate_type_record), '${/model/fnd_financial_option_path/record/@default_exchange_rate_type}', fromLoad, '${/model/fnd_financial_option_path/record/@exchange_rate_type_display}');
} }
} }
} else if (column_name == 'exchange_rate_type' || column_name == 'lease_start_date') { } /*else if (column_name == 'exchange_rate_type' || column_name == 'lease_start_date') {
exchange_rate_record = get_ds_record(ds, temp_hd_attribute_ds, 'exchange_rate'); exchange_rate_record = get_ds_record(ds, temp_hd_attribute_ds, 'exchange_rate');
currency_record = get_ds_record(ds, temp_hd_attribute_ds, 'currency'); currency_record = get_ds_record(ds, temp_hd_attribute_ds, 'currency');
lease_start_date_record = get_ds_record(ds, temp_hd_attribute_ds, 'lease_start_date'); lease_start_date_record = get_ds_record(ds, temp_hd_attribute_ds, 'lease_start_date');
...@@ -487,7 +487,7 @@ ...@@ -487,7 +487,7 @@
if (!fromLoad && value != old_value) { if (!fromLoad && value != old_value) {
exchange_rate_record.set('column_value', ''); exchange_rate_record.set('column_value', '');
} }
} }*/
onEditorupdate_setEmpty(ds, record, name, value, old_value, fromLoad); onEditorupdate_setEmpty(ds, record, name, value, old_value, fromLoad);
} }
......
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