Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hlcm
leaf-hlcm
Commits
3f62e16b
Commit
3f62e16b
authored
Sep 25, 2023
by
陆正友
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报价单计算器首付款保证金只读
parent
584e9ce4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
hls_fin_calculator_update_n.lview
...app/modules/hls/HLS500N/hls_fin_calculator_update_n.lview
+10
-4
No files found.
src/main/webapp/modules/hls/HLS500N/hls_fin_calculator_update_n.lview
View file @
3f62e16b
...
@@ -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);
...
@@ -1889,7 +1895,7 @@
...
@@ -1889,7 +1895,7 @@
headRecord.isNew =
false;
headRecord.isNew =
false;
headRecord.dirty =
true;
headRecord.dirty =
true;
create_record_column(all_records,
headRecord);
create_record_column(all_records,
headRecord);
function
hls_fin_cal_save_hd_submitsuccess_new(ds,
res)
{
function
hls_fin_cal_save_hd_submitsuccess_new(ds,
res)
{
if
(typeof
(nextStep)
==
'function')
{
if
(typeof
(nextStep)
==
'function')
{
nextStep(source_procedure);
nextStep(source_procedure);
...
@@ -1900,12 +1906,12 @@
...
@@ -1900,12 +1906,12 @@
unlock_calc_current_window();
unlock_calc_current_window();
$('ln_formula_ds').un('load',
on_ln_formula_load);
$('ln_formula_ds').un('load',
on_ln_formula_load);
}
}
$('ln_formula_ds').on('load',
on_ln_formula_load);
$('ln_formula_ds').on('load',
on_ln_formula_load);
$('ln_formula_ds').query();
$('ln_formula_ds').query();
}
}
}
}
$('hls_fin_cal_save_hd_ds').on('submitsuccess',
hls_fin_cal_save_hd_submitsuccess_new);
$('hls_fin_cal_save_hd_ds').on('submitsuccess',
hls_fin_cal_save_hd_submitsuccess_new);
Leaf.SideBar.enable =
false;
Leaf.SideBar.enable =
false;
$('hls_fin_cal_save_hd_ds').submit();
$('hls_fin_cal_save_hd_ds').submit();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment