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
5293e90b
Commit
5293e90b
authored
Dec 01, 2022
by
21471731
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
租赁物导入调整02
parent
2dd009d1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
prj_project_create.lview
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
+21
-0
prj_project_lease_import_details.lview
...odules/prj/PRJ501N/prj_project_lease_import_details.lview
+0
-1
No files found.
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
View file @
5293e90b
...
...
@@ -21,6 +21,8 @@
</s:server-script>
</a:init-procedure>
<a:view>
<a:link
id=
"${/parameter/@layout_code}lease_prj_create_query_link"
url=
"${/request/@context_path}/modules/prj/PRJ501N/prj_project_lease_import_details.lview"
/>
<a:link
id=
"${/parameter/@layout_code}hls_bp_master_query_link"
url=
"${/request/@context_path}/modules/hls/HLS215N/hls_bp_master_query.lview"
/>
<a:link
id=
"bp_tenant_detail_query_link"
model=
"prj.PRJ500D.bp_tenant_old_r_query"
modelaction=
"query"
/>
...
...
@@ -360,6 +362,21 @@
hls_doc_get_layout_code('${/parameter/@layout_code}_get_layout_code_link_id', param, '${/parameter/@layout_code}contract_number_query_link', record.ds.id, '${/parameter/@layout_code}');
}
function prj501n_lease_number_renderer(record_id, ds_id){
debugger;
var record = $(ds_id).findById(record_id);
var param = {};
param['project_lease_item_id'] = record.get('project_lease_item_id');
param['lease_item_id'] = record.get('lease_item_id');
param['set_number'] = record.get('set_number');
param['function_code'] = 'PRJ501INC';
param['function_usage'] = 'UPDATE';
param['winid'] = '${/parameter/@layout_code}_project_create_win_id';
param['url_title'] = '租赁物清单';
hls_doc_get_layout_code('${/parameter/@layout_code}_get_layout_code_link_id', param, '${/parameter/@layout_code}lease_prj_create_query_link', record.ds.id, null);
}
var bp_rate_flag;
/*保存前调用,生成项目编号*/
window['${/parameter/@layout_code}_on_layout_dynamic_before_submit'] = function (ds, record) {
...
...
@@ -501,6 +518,9 @@
} else if (name == 'contract_number') {
link_function = 'prj501n_contract_number_renderer';
return '
<a
href=
"javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\',\'' + config_record.get('query_only') + '\');"
>
' + value + '
</a>
';
}else if(name=='machine_number_n'){
link_function = 'prj501n_lease_number_renderer';
return '
<a
href=
"javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + record.ds.id + '\')"
>
' + '查看明细' + '
</a>
';
}
};
...
...
@@ -1102,6 +1122,7 @@
}
}
}
var
rk_value =
seq_num
+
1;
record.set('lease_item_seq',
rk_value);
if(
division=
='70'){
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_lease_import_details.lview
View file @
5293e90b
...
...
@@ -7,7 +7,6 @@
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:view>
<a:link
id=
"con_contract_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"prj501N_lease_item_list_save_link"
model=
"prj.PRJ500N.prj_project_lease_import_temp"
modelaction=
"update"
/>
<a:link
id=
"prj501N_lease_import_upload_link"
url=
"${/request/@context_path}/modules/prj/PRJ501N/prj_project_lease_import_upload.lview"
/>
<script>
<![CDATA[
...
...
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