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
68f85b63
Commit
68f85b63
authored
Dec 04, 2019
by
stone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 修改bug
parent
c02e856e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
7 deletions
+51
-7
hls_bp_master_same_agent_for_lov.lwm
...F/classes/csh/CSH501/hls_bp_master_same_agent_for_lov.lwm
+5
-2
ap_invoice_import_scanning.lview
...ebapp/modules/acp/ACP522/ap_invoice_import_scanning.lview
+3
-2
csh_payment_req_selected.lview
.../webapp/modules/csh/CSH501/csh_payment_req_selected.lview
+1
-1
hls_bp_master_modify.lview
...ain/webapp/modules/hls/HLS214N/hls_bp_master_modify.lview
+2
-2
hls_bp_master_query_entrance.lview
...pp/modules/hls/HLS215N/hls_bp_master_query_entrance.lview
+40
-0
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH501/hls_bp_master_same_agent_for_lov.lwm
View file @
68f85b63
...
...
@@ -9,7 +9,8 @@
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
select t1.unit_id,
select *
from (select t1.unit_id,
t1.bp_code,
t1.enabled_flag,
t1.bp_category,
...
...
@@ -22,6 +23,8 @@
FROM exp_emp_assign_e_v v
WHERE v.user_id=${/session/@user_id}
)
) v #WHERE_CLAUSE#
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
...
...
@@ -38,6 +41,6 @@
<bm:query-field
field=
"bp_category"
queryOperator=
"like"
/>
</bm:query-fields>
<bm:data-filters>
<bm:data-filter
enforceOperations=
"query"
expression=
"
t1
.enabled_flag='Y'"
/>
<bm:data-filter
enforceOperations=
"query"
expression=
"
v
.enabled_flag='Y'"
/>
</bm:data-filters>
</bm:model>
src/main/webapp/modules/acp/ACP522/ap_invoice_import_scanning.lview
View file @
68f85b63
...
...
@@ -8,6 +8,7 @@
<script>
<![CDATA[
function invoice_inf_process(dataset, record, name, value, oldvalue) {
debugger
if(name == 'invoice') {
record.getField('invoice').setReadOnly(true);
var contract_id = record.get('contract_id');
...
...
@@ -18,7 +19,7 @@
var net_amount = strs[4];
var invoice_date = strs[5];
//检验设备价格需要大于不含税金额
if (strs.length ==
8
) {
if (strs.length ==
9
) {
Leaf.request({
url: $('acp_invoice_inf_import_link').getUrl(),
...
...
@@ -47,7 +48,7 @@
});
} else {
// $('acp600_acp_invoice_hd_ds').getAt(0).setReadOnly(true);
Leaf.showMessage('提示', '发票信息误!');
Leaf.showMessage('提示', '发票信息
有错
误!');
record.getField('invoice').setReadOnly(false);
}
}else {
...
...
src/main/webapp/modules/csh/CSH501/csh_payment_req_selected.lview
View file @
68f85b63
...
...
@@ -227,7 +227,7 @@
</a:field>
<a:field
name=
"times"
/>
<a:field
name=
"due_date_to"
defaultValue=
"${/model/sys_time_default_value_list/record/@now_time}"
/>
<a:field
name=
"due_date_to"
/>
<a:field
name=
"project_number_from"
lovGridHeight=
"300"
lovHeight=
"450"
lovService=
"prj.PRJ501.prj_project_for_lov"
lovWidth=
"500"
title=
"ACR510.FIELD.PROJECT_NUMBER_FROM"
>
<a:mapping>
<a:map
from=
"project_number"
to=
"project_number_from"
/>
...
...
src/main/webapp/modules/hls/HLS214N/hls_bp_master_modify.lview
View file @
68f85b63
...
...
@@ -262,8 +262,8 @@
record.getField('unit_id_n').setReadOnly(true);
record.getField('unit_id_n').setRequired(false);
}else{
record.getField('unit_id_n').setReadOnly(
fals
e);
record.getField('unit_id_n').setRequired(
tru
e);
record.getField('unit_id_n').setReadOnly(
tru
e);
record.getField('unit_id_n').setRequired(
fals
e);
}
}
...
...
src/main/webapp/modules/hls/HLS215N/hls_bp_master_query_entrance.lview
View file @
68f85b63
...
...
@@ -12,6 +12,8 @@
modelaction=
"update"
/>
<a:link
id=
"hls_bp_master_modify_link"
url=
"${/request/@context_path}/modules/hls/HLS215N/hls_bp_master_query.lview"
/>
<a:link
id=
"hls_bp_master_billing_link"
url=
"${/request/@context_path}/modules/hls/HLS214N/hls_bp_master_billing.lview"
/>
<a:link
id=
"hls_bp_ccx_info_link"
url=
"${/request/@context_path}/modules/hls/HLS236/hls_bp_master_query_ccx_report.lview"
/>
<a:link
id=
"hls_bp_ccx_icinfo_link"
...
...
@@ -20,6 +22,44 @@
<script
type=
"text/javascript"
>
<![CDATA[
// stopDymanicAutoQuery('${/parameter/@layout_code}', 'G_BP_RESULT', 'hls_bp_master');
//信息变更
window['${/parameter/@layout_code}_user_button4_layout_dynamic_click'] = function () {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'hls_bp_master');
var data=$(ds_id).selected[0];
var bp_class = data.get('bp_class');
if(bp_class == 'NP'){
Leaf.showMessage('${l:PROMPT}', '只有法人类型商业伙伴才有开票信息!');
return false;
}else if(bp_class == 'ORG'){
var invoice_bp_bank_account = data.get('invoice_bp_bank_account');
var invoice_title = data.get('invoice_title');
var invoice_bp_address_phone_num = data.get('invoice_bp_address_phone_num');
var phone =data.get('phone');
var taxpayer_type =data.get('taxpayer_type');
var invoice_bp_bank =data.get('invoice_bp_bank');
var bp_id=data.get('bp_id');
new Leaf.Window({
id: 'hls_bp_master_billing',
url: $('hls_bp_master_billing_link').getUrl(),
params: {
function_code:'HLS214NST',
invoice_bp_bank_account:invoice_bp_bank_account,
invoice_title:invoice_title,
function_usage : 'QUERY',
maintain_type : 'READONLY',
invoice_bp_address_phone_num:invoice_bp_address_phone_num,
phone:phone,
taxpayer_type:taxpayer_type,
invoice_bp_bank:invoice_bp_bank,
bp_id:bp_id
},
title: '开票信息查看',
fullScreen: true
});
}
}
function open_bp_modify_win(ds_id, record_id) {
var record = $(ds_id).findById(record_id);
var param = record.data;
...
...
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