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
cf7829cd
Commit
cf7829cd
authored
Apr 03, 2023
by
gzj34291
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
租赁物导入调整
parent
8a7b8f35
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
prj_project_lease_import_details.lview
...odules/prj/PRJ501N/prj_project_lease_import_details.lview
+15
-7
prj_project_maintain_wfl_new.lview
...pp/modules/prj/PRJ501N/prj_project_maintain_wfl_new.lview
+1
-1
No files found.
src/main/webapp/modules/prj/PRJ501N/prj_project_lease_import_details.lview
View file @
cf7829cd
...
@@ -6,6 +6,9 @@
...
@@ -6,6 +6,9 @@
$Purpose:
$Purpose:
-->
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:init-procedure>
<a:model-query
model=
"cont.CON620.get_sys_role"
rootPath=
"role_info"
/>
</a:init-procedure>
<a:view>
<a:view>
<a:link
id=
"prj501N_lease_item_list_delete_link"
model=
"prj.PRJ500N.prj_project_lease_item_delete"
modelaction=
"update"
/>
<a:link
id=
"prj501N_lease_item_list_delete_link"
model=
"prj.PRJ500N.prj_project_lease_item_delete"
modelaction=
"update"
/>
<a:link
id=
"prj501N_lease_item_list_update_link"
model=
"prj.PRJ500N.prj_project_lease_import_temp"
modelaction=
"batch_update"
/>
<a:link
id=
"prj501N_lease_item_list_update_link"
model=
"prj.PRJ500N.prj_project_lease_import_temp"
modelaction=
"batch_update"
/>
...
@@ -16,7 +19,7 @@
...
@@ -16,7 +19,7 @@
Leaf.onReady(function() {
Leaf.onReady(function() {
var status='${/parameter/@project_status}';
var status='${/parameter/@project_status}';
if (
'${/parameter/@hide_flag}' == 'Y' || status=='APPROVING' || status=='CLOSED' || status=='CONTRACT_CREATED'
) {
if (
('${/parameter/@hide_flag}' == 'Y' || status=='APPROVING' || status=='CLOSED' || status=='CONTRACT_CREATED') && ("${/model/role_info/record/@role_code}"!="0019")
) {
$('PROJECT_LEASE_IMPORT_user_button1').hide();
$('PROJECT_LEASE_IMPORT_user_button1').hide();
$('PROJECT_LEASE_IMPORT_user_button2').hide();
$('PROJECT_LEASE_IMPORT_user_button2').hide();
$('PROJECT_LEASE_IMPORT_user_button4').hide();
$('PROJECT_LEASE_IMPORT_user_button4').hide();
...
@@ -45,7 +48,7 @@
...
@@ -45,7 +48,7 @@
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) {
if('${/parameter/@project_status}'!='NEW' && record!=''){
if('${/parameter/@project_status}'!='NEW' && record!=''
&& "${/model/role_info/record/@role_code}"!="0019"
){
record.getField('seq').setReadOnly(true);
record.getField('seq').setReadOnly(true);
record.getField('asset_num').setReadOnly(true);
record.getField('asset_num').setReadOnly(true);
record.getField('asset_type').setReadOnly(true);
record.getField('asset_type').setReadOnly(true);
...
@@ -57,18 +60,23 @@
...
@@ -57,18 +60,23 @@
record.getField('posted_date').setReadOnly(true);
record.getField('posted_date').setReadOnly(true);
record.getField('price').setReadOnly(true);
record.getField('price').setReadOnly(true);
record.getField('manufacturer').setReadOnly(true);
record.getField('manufacturer').setReadOnly(true);
}else if('${/parameter/@project_status}'=='NEW' && record!=''){
}else if('${/parameter/@project_status}'=='NEW' && record!='' ){
record.getField('asset_num').setRequired(true);
record.getField('asset_num').setRequired(true);
record.getField('asset_type').setRequired(true);
record.getField('asset_type').setRequired(true);
record.getField('asset_name').setRequired(true);
record.getField('asset_name').setRequired(true);
record.getField('specification').setRequired(true);
record.getField('specification').setRequired(true);
record.getField('posted_date').setRequired(true);
record.getField('posted_date').setRequired(true);
record.getField('price').setRequired(true);
record.getField('price').setRequired(true);
record.getField('manufacturer').setRequired(true);
record.getField('manufacturer').setRequired(true);
}
}else if(record!='' && "${/model/role_info/record/@role_code}"=="0019"){
record.getField('asset_num').setRequired(true);
record.getField('asset_type').setRequired(true);
record.getField('asset_name').setRequired(true);
record.getField('specification').setRequired(true);
record.getField('posted_date').setRequired(true);
record.getField('price').setRequired(true);
record.getField('manufacturer').setRequired(true);
}
}
}
//加载时调用(grid,table,gridBox)
//加载时调用(grid,table,gridBox)
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain_wfl_new.lview
View file @
cf7829cd
...
@@ -496,7 +496,7 @@
...
@@ -496,7 +496,7 @@
param['document_id'] = record.get('project_id');
param['document_id'] = record.get('project_id');
param['hide_flag'] ='Y';
param['hide_flag'] ='Y';
param['function_code'] = 'PRJ501INC';
param['function_code'] = 'PRJ501INC';
param['function_usage'] = 'QUERY';
//
param['function_usage'] = 'QUERY';
param['winid'] = '${/parameter/@layout_code}_project_number_win_id';
param['winid'] = '${/parameter/@layout_code}_project_number_win_id';
param['url_title'] = '租赁物清单';
param['url_title'] = '租赁物清单';
hls_doc_get_layout_code('${/parameter/@layout_code}_get_layout_code_link_id', param, '${/parameter/@layout_code}lease_number_query_link', record.ds.id, '${/parameter/@layout_code}');
hls_doc_get_layout_code('${/parameter/@layout_code}_get_layout_code_link_id', param, '${/parameter/@layout_code}lease_number_query_link', record.ds.id, '${/parameter/@layout_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