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
60dd923d
Commit
60dd923d
authored
Nov 11, 2019
by
lijingjing
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'refs/heads/baojia_detail' into develop
parents
202cdef6
dacba608
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
42 deletions
+23
-42
prj_project_create.lview
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
+13
-21
prj_project_maintain.lview
...ain/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
+10
-21
No files found.
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
View file @
60dd923d
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
<a:link
id=
"check_prj_lease_item_link_id"
model=
"prj.PRJ501N.project_approval"
modelaction=
"execute"
/>
<a:link
id=
"check_prj_lease_item_link_id"
model=
"prj.PRJ501N.project_approval"
modelaction=
"execute"
/>
<a:link
id=
"${/parameter/@layout_code}tenant_rate_query_link"
<a:link
id=
"${/parameter/@layout_code}tenant_rate_query_link"
url=
"${/request/@context_path}/modules/prj/PRJ501N/prj_project_history_display.lview"
/>
url=
"${/request/@context_path}/modules/prj/PRJ501N/prj_project_history_display.lview"
/>
<a:model-query
fetchAll=
"true"
model=
"prj.PRJ500D.prj_occu_object_display"
rootPath=
"occu_object"
/>
<script
type=
"text/javascript"
>
<![CDATA[
<script
type=
"text/javascript"
>
<![CDATA[
// alert('${/parameter/@division}')
// alert('${/parameter/@division}')
//add by zhuxianfei
//add by zhuxianfei
...
@@ -433,27 +434,17 @@
...
@@ -433,27 +434,17 @@
};
};
//更新时调用
//更新时调用
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update'] = function(ds, record, name, value, old_value, bp_seq) {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update'] = function(ds, record, name, value, old_value, bp_seq) {
/* var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'prj_project_lease_item');
if ( record.get('pay_method') == 'WIRE_TRANSFER') {
if (ds_id == ds.id) {
record.getField('bank_branch_name').setReadOnly(true);
window['${/parameter/@layout_code}_lock_layout_dynamic_window']();
record.getField('bank_branch_name_n').setReadOnly(true);
var record = $(ds_id).getCurrentRecord();
record.getField('bank_branch_name').setRequired(true);
Leaf.request({
record.getField('bank_branch_name_n').setRequired(true)
url: $('check_prj_lease_item_link_id').getUrl(),
}else{
para: {
record.getField('bank_branch_name').setReadOnly(false);
'machine_number': record.get('machine_number')
record.getField('bank_branch_name_n').setReadOnly(false);
},
record.getField('bank_branch_name').setRequired(false);
success: function(res) {
record.getField('bank_branch_name_n').setRequired(false)
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
}
},
failure: function() {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
error: function() {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
scope: this
});
}*/
};
};
...
@@ -574,6 +565,7 @@
...
@@ -574,6 +565,7 @@
}
}
/*
Leaf.onReady(function(){
/*
Leaf.onReady(function(){
var
bp_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'T_HISTORY_INGO',
'hls_bp_master');
var
bp_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'T_HISTORY_INGO',
'hls_bp_master');
var
url=
'${/request/@context_path}/autocrud/prj.PRJ501N.prj_project_history_display/query?project_id=${/parameter/@project_id}&bp_id=${/parameter/@bp_id}'
;
var
url=
'${/request/@context_path}/autocrud/prj.PRJ501N.prj_project_history_display/query?project_id=${/parameter/@project_id}&bp_id=${/parameter/@bp_id}'
;
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
View file @
60dd923d
...
@@ -476,29 +476,18 @@ function prj501n_contract_number_renderer(id, name, query_only){
...
@@ -476,29 +476,18 @@ function prj501n_contract_number_renderer(id, name, query_only){
};
};
//更新时调用
//更新时调用
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update'] = function(ds, record, name, value, old_value, bp_seq) {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update'] = function(ds, record, name, value, old_value, bp_seq) {
/* var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'prj_project_lease_item');
if ( record.get('pay_method') == 'WIRE_TRANSFER') {
if (ds_id == ds.id) {
record.getField('bank_branch_name').setReadOnly(true);
window['${/parameter/@layout_code}_lock_layout_dynamic_window']();
record.getField('bank_branch_name_n').setReadOnly(true);
var record = $(ds_id).getCurrentRecord();
record.getField('bank_branch_name').setRequired(false);
Leaf.request({
record.getField('bank_branch_name_n').setRequired(false)
url: $('check_prj_lease_item_link_id').getUrl(),
}else{
para: {
record.getField('bank_branch_name').setReadOnly(false);
'machine_number': record.get('machine_number')
record.getField('bank_branch_name_n').setReadOnly(false);
},
}
success: function(res) {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
failure: function() {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
error: function() {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
scope: this
});
}*/
};
};
//加载时调用(grid,table,gridBox)
//加载时调用(grid,table,gridBox)
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_load'] = function(ds, record, config_records, bp_seq) {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_load'] = function(ds, record, config_records, bp_seq) {
var bp_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'G_BP', 'prj_project_bp');
var bp_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'G_BP', 'prj_project_bp');
...
...
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