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
592597c9
Commit
592597c9
authored
Oct 17, 2019
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix]起租页面修改
parent
9f8d6dea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
con_re_incept_modify.lview
...in/webapp/modules/cont/CON3200/con_re_incept_modify.lview
+2
-0
hls_fin_calculator_update_n.lview
...app/modules/hls/HLS500N/hls_fin_calculator_update_n.lview
+10
-1
No files found.
src/main/webapp/modules/cont/CON3200/con_re_incept_modify.lview
View file @
592597c9
...
@@ -480,6 +480,7 @@
...
@@ -480,6 +480,7 @@
var calc_session_id = record.get('calc_session_id');
var calc_session_id = record.get('calc_session_id');
var parent_pk_value = record.get('contract_id');
var parent_pk_value = record.get('contract_id');
var calc_type = '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR';
var calc_type = '${/parameter/@calc_type}' || 'CLASSIC_CALCULATOR';
var maintain_type='QUERY'
if (calc_session_id) {
if (calc_session_id) {
//直接进入报价页面
//直接进入报价页面
var win = new Leaf.Window({
var win = new Leaf.Window({
...
@@ -488,6 +489,7 @@
...
@@ -488,6 +489,7 @@
document_id: parent_pk_value,
document_id: parent_pk_value,
price_list: price_list,
price_list: price_list,
document_category: 'CONTRACT',
document_category: 'CONTRACT',
contract_status:record.get('contract_status'),
maintain_type: 'MODIFY',
maintain_type: 'MODIFY',
calc_session_id: record.get('calc_session_id'),
calc_session_id: record.get('calc_session_id'),
quotation_id: record.get('quotation_id'),
quotation_id: record.get('quotation_id'),
...
...
src/main/webapp/modules/hls/HLS500N/hls_fin_calculator_update_n.lview
View file @
592597c9
...
@@ -789,7 +789,7 @@
...
@@ -789,7 +789,7 @@
function onEditorHdload(ds) {
function onEditorHdload(ds) {
var headRecords = ds.getAll();
var headRecords = ds.getAll();
if('${/parameter/@document_category}'=='CONTRACT'){
if('${/parameter/@document_category}'=='CONTRACT'
&&
'${/parameter/@contract_status}'=='SIGN'
){
for (var i = 0;i
< headRecords.length
;i++)
{
for (var i = 0;i
< headRecords.length
;i++)
{
var
column_name =
headRecords[i].get('column_name')
var
column_name =
headRecords[i].get('column_name')
...
@@ -800,6 +800,15 @@
...
@@ -800,6 +800,15 @@
headRecords[i].getField('column_value_c').setReadOnly(true);
headRecords[i].getField('column_value_c').setReadOnly(true);
}
}
}
}
}else{
for
(var
i =
0;i
<
headRecords.length;i++)
{
var
column_name =
headRecords[i].get('column_name')
headRecords[i].set('input_mode','READONLY');
headRecords[i].set('readonly_input_mode','TRUE');
headRecords[i].getField('column_value').setReadOnly(true);
headRecords[i].getField('column_value_c').setReadOnly(true);
}
}
}
if
(headRecords[0].get('show_column_code')
==
'N')
{
if
(headRecords[0].get('show_column_code')
==
'N')
{
$('hls_fin_calculator_hd_grid_id').hideColumn('column_code');
$('hls_fin_calculator_hd_grid_id').hideColumn('column_code');
...
...
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