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
dacba608
Commit
dacba608
authored
Nov 11, 2019
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix]报价详情页面修改
parent
d256cb18
Changes
2
Hide 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 @
dacba608
...
...
@@ -42,6 +42,7 @@
<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"
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[
// alert('${/parameter/@division}')
//add by zhuxianfei
...
...
@@ -433,27 +434,17 @@
};
//更新时调用
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 (ds_id == ds.id) {
window['${/parameter/@layout_code}_lock_layout_dynamic_window']();
var record = $(ds_id).getCurrentRecord();
Leaf.request({
url: $('check_prj_lease_item_link_id').getUrl(),
para: {
'machine_number': record.get('machine_number')
},
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
});
}*/
if ( record.get('pay_method') == 'WIRE_TRANSFER') {
record.getField('bank_branch_name').setReadOnly(true);
record.getField('bank_branch_name_n').setReadOnly(true);
record.getField('bank_branch_name').setRequired(true);
record.getField('bank_branch_name_n').setRequired(true)
}else{
record.getField('bank_branch_name').setReadOnly(false);
record.getField('bank_branch_name_n').setReadOnly(false);
record.getField('bank_branch_name').setRequired(false);
record.getField('bank_branch_name_n').setRequired(false)
}
};
...
...
@@ -574,6 +565,7 @@
}
/*
Leaf.onReady(function(){
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}'
;
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
View file @
dacba608
...
...
@@ -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) {
/* var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'prj_project_lease_item');
if (ds_id == ds.id) {
window['${/parameter/@layout_code}_lock_layout_dynamic_window']();
var record = $(ds_id).getCurrentRecord();
Leaf.request({
url: $('check_prj_lease_item_link_id').getUrl(),
para: {
'machine_number': record.get('machine_number')
},
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
});
}*/
if ( record.get('pay_method') == 'WIRE_TRANSFER') {
record.getField('bank_branch_name').setReadOnly(true);
record.getField('bank_branch_name_n').setReadOnly(true);
record.getField('bank_branch_name').setRequired(false);
record.getField('bank_branch_name_n').setRequired(false)
}else{
record.getField('bank_branch_name').setReadOnly(false);
record.getField('bank_branch_name_n').setReadOnly(false);
}
};
//加载时调用(grid,table,gridBox)
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');
...
...
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