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
3e1afd04
Commit
3e1afd04
authored
May 09, 2020
by
liyuan.chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix]法人信息更新,用印信息tab页添加
parent
ad90b6e8
Pipeline
#6043
canceled with stages
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
186 additions
and
5 deletions
+186
-5
con_contract_seal_info.lwm
...pp/WEB-INF/classes/cont/CON560/con_contract_seal_info.lwm
+42
-0
con_contract_finish_maintain.lview
...pp/modules/cont/CON560/con_contract_finish_maintain.lview
+33
-0
con_contract_finish_maintain_wfl.lview
...odules/cont/CON560/con_contract_finish_maintain_wfl.lview
+32
-0
hls_bp_master_create.lview
...ain/webapp/modules/hls/HLS213N/hls_bp_master_create.lview
+38
-2
hls_bp_master_billing.lview
...in/webapp/modules/hls/HLS214N/hls_bp_master_billing.lview
+41
-2
hls_bp_master_modify_entrance.lview
...p/modules/hls/HLS214N/hls_bp_master_modify_entrance.lview
+0
-1
No files found.
src/main/webapp/WEB-INF/classes/cont/CON560/con_contract_seal_info.lwm
0 → 100644
View file @
3e1afd04
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: qwm
$Date: 2013-7-15 下午7:59:08
$Revision: 1.0
$Purpose:
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
SELECT t1.document_use_seal_id,
t1.document_table,
t1.CONTRACT_ID,
t1.instruments_types,
t1.instruments_types_n,
t1.common_seal,
t1.common_seal_n,
t1.corporate_visa_seal,
t1.corporate_visa_seal_n,
t1.legal_seal,
t1.legal_seal_n,
t1.con_special_seal,
t1.con_special_seal_n,
t1.financial_seal,
t1.financial_seal_n,
t1.supervisio_seal,
t1.supervisio_seal_n,
t1.SEAL_QUANTITY,
t1.seal_number,
t1.seal_number_n
FROM con_contract_use_seal_lv t1
WHERE
t1.contract_id = ${@contract_id}
]]>
</bm:query-sql>
<bm:parameters>
<bm:parameter
name=
"contract_id"
/>
</bm:parameters>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/modules/cont/CON560/con_contract_finish_maintain.lview
View file @
3e1afd04
...
...
@@ -189,6 +189,9 @@
$('receivedAmountDs').query();
$('unreceivedAmountDs').query();
$('seal_info_ds').setQueryParameter('contract_id', record.get('contract_id'));
$('seal_info_ds').query();
}
]]>
</script>
...
...
@@ -250,6 +253,18 @@
<a:event
name=
"query"
handler=
"aut_authority_list_validate_query"
/>
</a:events>
</a:dataSet>
<a:dataSet
id=
"seal_info_ds"
autoQuery=
"true"
model=
"cont.CON560.con_contract_seal_info"
>
<a:fields>
<a:field
name=
"instruments_types"
readOnly=
"true"
/>
<a:field
name=
"common_seal"
readOnly=
"true"
defaultValue=
"Y"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"corporate_visa_seal"
readOnly=
"true"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"legal_seal"
readOnly=
"true"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"con_special_seal"
readOnly=
"true"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"financial_seal"
readOnly=
"true"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"supervisio_seal"
readOnly=
"true"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"seal_number_n"
readOnly=
"true"
/>
</a:fields>
</a:dataSet>
</a:dataSets>
<a:screenBody>
<a:screenTopToolbar>
...
...
@@ -338,6 +353,24 @@
</a:columns>
</a:grid>
</a:tab>
<a:tab
prompt=
"用印信息"
width=
"110"
>
<a:grid
bindTarget=
"seal_info_ds"
height=
"250"
marginWidth=
"55"
navBar=
"true"
>
<a:columns>
<a:column
name=
"instruments_types"
prompt=
"文书种类"
/>
<a:column
name=
"common_seal"
prompt=
"公章"
editor=
"seal_info_check_id"
/>
<a:column
name=
"corporate_visa_seal"
prompt=
"法人签证章"
editor=
"seal_info_check_id"
/>
<a:column
name=
"legal_seal"
prompt=
"法人章"
editor=
"seal_info_check_id"
/>
<a:column
name=
"con_special_seal"
prompt=
"合同专用章"
editor=
"seal_info_check_id"
/>
<a:column
name=
"financial_seal"
prompt=
"财务章"
editor=
"seal_info_check_id"
/>
<a:column
name=
"supervisio_seal"
prompt=
"监管专用章"
editor=
"seal_info_check_id"
/>
<a:column
name=
"seal_number_n"
prompt=
"文书部数"
editor=
"seal_info_combo_id"
/>
</a:columns>
<a:editors>
<a:checkBox
id=
"seal_info_check_id"
/>
<a:comboBox
id=
"seal_info_combo_id"
/>
</a:editors>
</a:grid>
</a:tab>
</a:tabs>
</a:tabPanel>
</a:screenBody>
...
...
src/main/webapp/modules/cont/CON560/con_contract_finish_maintain_wfl.lview
View file @
3e1afd04
...
...
@@ -130,6 +130,8 @@
$('receivedAmountDs').query();
$('unreceivedAmountDs').query();
$('seal_info_ds').setQueryParameter('contract_id', record.get('contract_id'));
$('seal_info_ds').query();
}
]]>
</script>
...
...
@@ -186,6 +188,18 @@
<a:event
name=
"query"
handler=
"aut_authority_list_validate_query"
/>
</a:events>
</a:dataSet>
<a:dataSet
id=
"seal_info_ds"
autoQuery=
"true"
model=
"cont.CON560.con_contract_seal_info"
>
<a:fields>
<a:field
name=
"instruments_types"
readOnly=
"true"
/>
<a:field
name=
"common_seal"
readOnly=
"true"
defaultValue=
"Y"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"corporate_visa_seal"
readOnly=
"true"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"legal_seal"
readOnly=
"true"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"con_special_seal"
readOnly=
"true"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"financial_seal"
readOnly=
"true"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"supervisio_seal"
readOnly=
"true"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"seal_number_n"
readOnly=
"true"
/>
</a:fields>
</a:dataSet>
</a:dataSets>
<a:screenBody>
<!-- <a:screenTopToolbar>-->
...
...
@@ -266,6 +280,24 @@
</a:columns>
</a:grid>
</a:tab>
<a:tab
prompt=
"用印信息"
width=
"110"
>
<a:grid
bindTarget=
"seal_info_ds"
height=
"250"
marginWidth=
"55"
navBar=
"true"
>
<a:columns>
<a:column
name=
"instruments_types"
prompt=
"文书种类"
/>
<a:column
name=
"common_seal"
prompt=
"公章"
editor=
"seal_info_check_id"
/>
<a:column
name=
"corporate_visa_seal"
prompt=
"法人签证章"
editor=
"seal_info_check_id"
/>
<a:column
name=
"legal_seal"
prompt=
"法人章"
editor=
"seal_info_check_id"
/>
<a:column
name=
"con_special_seal"
prompt=
"合同专用章"
editor=
"seal_info_check_id"
/>
<a:column
name=
"financial_seal"
prompt=
"财务章"
editor=
"seal_info_check_id"
/>
<a:column
name=
"supervisio_seal"
prompt=
"监管专用章"
editor=
"seal_info_check_id"
/>
<a:column
name=
"seal_number_n"
prompt=
"文书部数"
editor=
"seal_info_combo_id"
/>
</a:columns>
<a:editors>
<a:checkBox
id=
"seal_info_check_id"
/>
<a:comboBox
id=
"seal_info_combo_id"
/>
</a:editors>
</a:grid>
</a:tab>
</a:tabs>
</a:tabPanel>
</a:screenBody>
...
...
src/main/webapp/modules/hls/HLS213N/hls_bp_master_create.lview
View file @
3e1afd04
...
...
@@ -124,7 +124,6 @@
};
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load'] = function (ds, record, config_records, bp_seq) {
debugger;
if ((ds.id).indexOf('hls_bp_master') != -1) {
// record.getField('cell_phone').setRequired(true);
//record.getField('cell_phone').setRequired(true);
...
...
@@ -137,6 +136,24 @@
if (ds.fields.parent_id) {
record.getField('parent_id_n').setReadOnly(true);
}
if(record.get('taxpayer_type')){
var value = record.get('taxpayer_type');
if(value == 'SMALL_SCALE_TAXPAYER'){
record.getField('invoice_bp_address').setRequired(false);
record.getField('invoice_bp_phone_num').setRequired(false);
record.getField('invoice_bp_bank').setRequired(false);
record.getField('invoice_bp_bank_account').setRequired(false);
record.getField('tax_registry_num').setRequired(false);
}
if(value == 'GENERAL_TAXPAYER'){
record.getField('invoice_bp_address').setRequired(true);
record.getField('invoice_bp_phone_num').setRequired(true);
record.getField('invoice_bp_bank').setRequired(true);
record.getField('invoice_bp_bank_account').setRequired(true);
record.getField('tax_registry_num').setRequired(true);
}
}
}
};
...
...
@@ -506,6 +523,8 @@
var test_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_BASIC', 'hls_bp_master');
var test_ds_id1 = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_SPOUSE_1', 'hls_bp_master');
var test_ds_id2 = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_SPOUSE', 'hls_bp_master');
// var org_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_BILLING_1', 'hls_bp_master');
if (ds.id==test_ds_id1||ds.id==test_ds_id2) {
var hd_ds = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_BASIC', 'hls_bp_master');
...
...
@@ -526,7 +545,6 @@
bp2_record.set('marital_status', '40');
}
}else if(record.get('marital_status')=='30'){
debugger;
var bp2_record = $(test_ds_id2).getCurrentRecord();
if(bp2_record){
record.set('bp_name_sp',bp2_record.get('bp_name_sp'));
...
...
@@ -544,6 +562,24 @@
}
if(ds.id == test_ds_id){
if(name == 'taxpayer_type' && value){
if(value == 'SMALL_SCALE_TAXPAYER'){
record.getField('invoice_bp_address').setRequired(false);
record.getField('invoice_bp_phone_num').setRequired(false);
record.getField('invoice_bp_bank').setRequired(false);
record.getField('invoice_bp_bank_account').setRequired(false);
record.getField('tax_registry_num').setRequired(false);
}
if(value == 'GENERAL_TAXPAYER'){
record.getField('invoice_bp_address').setRequired(true);
record.getField('invoice_bp_phone_num').setRequired(true);
record.getField('invoice_bp_bank').setRequired(true);
record.getField('invoice_bp_bank_account').setRequired(true);
record.getField('tax_registry_num').setRequired(true);
}
}
}
};
...
...
src/main/webapp/modules/hls/HLS214N/hls_bp_master_billing.lview
View file @
3e1afd04
...
...
@@ -8,10 +8,49 @@
//退出按钮
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function () {
$('hls_bp_master_billing').close();
}
};
// 加载事件(form)
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load'] = function(ds, record, config_records, bp_seq) {
if(record.get('taxpayer_type')){
var value = record.get('taxpayer_type');
if(value == 'SMALL_SCALE_TAXPAYER'){
record.getField('invoice_bp_address').setRequired(false);
record.getField('invoice_bp_phone_num').setRequired(false);
record.getField('invoice_bp_bank').setRequired(false);
record.getField('invoice_bp_bank_account').setRequired(false);
record.getField('tax_registry_num').setRequired(false);
}
if(value == 'GENERAL_TAXPAYER'){
record.getField('invoice_bp_address').setRequired(true);
record.getField('invoice_bp_phone_num').setRequired(true);
record.getField('invoice_bp_bank').setRequired(true);
record.getField('invoice_bp_bank_account').setRequired(true);
record.getField('tax_registry_num').setRequired(true);
}
}
};
// 更新事件
window['${/parameter/@layout_code}_on_layout_dynamic_update'] = function(ds, record, name, value, old_value) {
if(name == 'taxpayer_type' && value){
if(value == 'SMALL_SCALE_TAXPAYER'){
record.getField('invoice_bp_address').setRequired(false);
record.getField('invoice_bp_phone_num').setRequired(false);
record.getField('invoice_bp_bank').setRequired(false);
record.getField('invoice_bp_bank_account').setRequired(false);
record.getField('tax_registry_num').setRequired(false);
}
if(value == 'GENERAL_TAXPAYER'){
record.getField('invoice_bp_address').setRequired(true);
record.getField('invoice_bp_phone_num').setRequired(true);
record.getField('invoice_bp_bank').setRequired(true);
record.getField('invoice_bp_bank_account').setRequired(true);
record.getField('tax_registry_num').setRequired(true);
}
}
};
Leaf.onReady(function () {
Leaf.onReady(function () {
var billing_ds = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'hls_bp_master');
// console.log($(billing_ds));
$(billing_ds).setQueryParameter("bp_id","${/parameter/@bp_id}");
...
...
src/main/webapp/modules/hls/HLS214N/hls_bp_master_modify_entrance.lview
View file @
3e1afd04
...
...
@@ -74,7 +74,6 @@
// stopDymanicAutoQuery('${/parameter/@layout_code}', 'G_BP_RESULT', 'hls_bp_master');
function open_bp_modify_win(ds_id, record_id) {
var user_category ='${/model/default_value/record/@user_category}';
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