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
3e392a34
Commit
3e392a34
authored
Nov 14, 2019
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 租前bug修改
parent
5084561b
Pipeline
#2877
canceled with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
6 deletions
+53
-6
hls_bp_agent_vender_lov.lwm
.../webapp/WEB-INF/classes/basic/hls_bp_agent_vender_lov.lwm
+32
-0
prj_project_create.lview
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
+13
-3
prj_project_maintain.lview
...ain/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
+8
-3
No files found.
src/main/webapp/WEB-INF/classes/basic/hls_bp_agent_vender_lov.lwm
0 → 100644
View file @
3e392a34
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: DJ
$Date: 2013-6-13 下午02:32:50
$Revision: 1.0
$Purpose:
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
select * from ( select h.bp_name, h.bp_id
from hls_bp_master h
where h.bp_category = 'VENDER'
and h.enabled_flag='Y')
#WHERE_CLAUSE#
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field
name=
"bp_name"
displayWidth=
"200"
forDisplay=
"true"
prompt=
"厂商名称"
/>
<bm:field
name=
"bp_id"
displayWidth=
"200"
forDisplay=
"true"
forQuery=
"true"
prompt=
"厂商代码"
/>
</bm:fields>
<bm:query-fields>
<bm:query-field
field=
"bp_name"
queryOperator=
"like"
/>
<bm:query-field
field=
"bp_id"
queryOperator=
"like"
/>
</bm:query-fields>
<!-- <bm:data-filters>
<bm:data-filter enforceOperations="query" expression="h.enabled_flag='Y'"/>
</bm:data-filters>-->
</bm:model>
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
View file @
3e392a34
...
...
@@ -43,6 +43,8 @@
<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"
/>
<a:link
id=
"prj_two_secondary_lease_link_id"
model=
"prj.PRJ501N.insert_two_secondary_lease"
modelaction=
"update"
/>
<script
type=
"text/javascript"
>
<![CDATA[
// alert('${/parameter/@division}')
//add by zhuxianfei
...
...
@@ -257,9 +259,14 @@
var param = {};
param['bp_id'] = record.get('bp_id');
param['bp_class'] = record.get('bp_class');
param['function_code'] = 'HLS215D';
param['function_usage'] = 'QUERY';
param['maintain_type'] = 'READONLY';
if(record.get('bp_category') =='AGENT'){
param['function_code'] = 'HLS303_Q';
param['function_usage'] = 'QUERY';
}else{
param['function_code'] = 'HLS215D';
param['function_usage'] = 'QUERY';
}
param['winid'] = '${/parameter/@layout_code}_bp_win_id';
param['url_title'] = '${l:HLS212.BP_MASTER_MAINTAIN}';
hls_doc_get_layout_code('${/parameter/@layout_code}_get_layout_code_link_id', param, '${/parameter/@layout_code}hls_bp_master_query_link', record.ds.id, '${/parameter/@layout_code}');
...
...
@@ -378,6 +385,9 @@
$(prj_quotation_ds_id).query();
}
var url='${/request/@context_path}/autocrud/prj.PRJ501N.prj_project_history_display/query?project_id=${/parameter/@project_id}
&bp_id=${/parameter/@bp_id}';
$(tenant_ds_id).setQueryUrl(url);
$(tenant_ds_id).query();
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
};
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
View file @
3e392a34
...
...
@@ -333,9 +333,14 @@
var param = {};
param['bp_id'] = record.get('bp_id');
param['bp_class'] = record.get('bp_class');
param['function_code'] = 'HLS215D';
param['function_usage'] = 'QUERY';
param['maintain_type'] = 'READONLY';
if(record.get('bp_category') =='AGENT'){
param['function_code'] = 'HLS303_Q';
param['function_usage'] = 'QUERY';
}else{
param['function_code'] = 'HLS215D';
param['function_usage'] = 'QUERY';
}
param['winid'] = '${/parameter/@layout_code}_bp_win_id';
param['url_title'] = '${l:HLS212.BP_MASTER_MAINTAIN}';
hls_doc_get_layout_code('${/parameter/@layout_code}_get_layout_code_link_id', param, '${/parameter/@layout_code}hls_bp_master_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