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
4fe97a23
Commit
4fe97a23
authored
May 12, 2020
by
liyuan.chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feat]合同结束用印信息
parent
e2bc87d2
Pipeline
#6075
canceled with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
19 deletions
+37
-19
con_contract_seal_info.lwm
...pp/WEB-INF/classes/cont/CON560/con_contract_seal_info.lwm
+1
-0
con_contract_terminate.lwm
...pp/WEB-INF/classes/cont/CON560/con_contract_terminate.lwm
+11
-0
con_contract_finish_maintain.lview
...pp/modules/cont/CON560/con_contract_finish_maintain.lview
+24
-18
con_contract_finish_maintain_wfl.lview
...odules/cont/CON560/con_contract_finish_maintain_wfl.lview
+1
-1
No files found.
src/main/webapp/WEB-INF/classes/cont/CON560/con_contract_seal_info.lwm
View file @
4fe97a23
...
...
@@ -32,6 +32,7 @@
FROM con_contract_use_seal_lv t1
WHERE
t1.contract_id = ${@contract_id}
and t1.document_table = 'CON_CONTRACT_FINISH'
]]>
</bm:query-sql>
<bm:parameters>
...
...
src/main/webapp/WEB-INF/classes/cont/CON560/con_contract_terminate.lwm
View file @
4fe97a23
...
...
@@ -10,6 +10,17 @@
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
begin
con_contract_closed_pkg.contract_use_seal_save(p_contract_id =>
${@contract_id},
p_user_id => ${/session/@user_id},
p_instruments_types => ${@instruments_types},
p_common_seal => ${@common_seal},
p_corporate_visa_seal => ${@corporate_visa_seal},
p_legal_seal => ${@legal_seal},
p_con_special_seal => ${@con_special_seal},
p_financial_seal => ${@financial_seal},
p_supervisio_seal => ${@supervisio_seal},
p_seal_number => ${@seal_number});
con_contract_closed_pkg.terminate_contract(
p_contract_id =>${@contract_id},
p_user_id =>${/session/@user_id}
...
...
src/main/webapp/modules/cont/CON560/con_contract_finish_maintain.lview
View file @
4fe97a23
...
...
@@ -70,8 +70,8 @@
}
}
function con560_con_contract_detail() {
var records = $('con560_contract_result_ds').getSelected();
var seal_record = $('seal_info_ds').getCurrentRecord();
if (!records.length) {
Leaf.showMessage('${l:PROMPT}', '请至少选择一条记录');
return;
...
...
@@ -86,12 +86,14 @@
}
}
var TerminateData = [];
debugger
for (var i = 0; i < records.length; i++) {
if(records[i].data.is_terminate=='否'){
$L.showInfoMessage("提示",'未收金额如果不为0不可进行合同结束');
return;
}
jQuery.each(seal_record.data, function(j, v){
records[i].set( j , v );
});
records[i].set('_status', 'update');
TerminateData.push(records[i].data);
}
...
...
@@ -183,14 +185,18 @@
}
}
function onIndexChange(ds, record, name, value, oldvalue)
{
function onIndexChange(ds, record, name, value, oldvalue){
$('receivedAmountDs').setQueryParameter('contract_id', record.get('contract_id'));
$('unreceivedAmountDs').setQueryParameter('contract_id', record.get('contract_id'));
$('receivedAmountDs').query();
$('unreceivedAmountDs').query();
$('seal_info_ds').setQueryParameter('contract_id', record.get('contract_id'));
$('seal_info_ds').query();
/*$('seal_info_ds').setQueryParameter('contract_id', record.get('contract_id'));
$('seal_info_ds').query();*/
if(Ext.isEmpty($('seal_info_ds').getCurrentRecord())){
$('seal_info_ds').create();
}
}
...
...
@@ -205,6 +211,7 @@
<a:dataSet
id=
"con560_lease_organization_name_ds"
loadData=
"true"
model=
"basic.hls_lease_organization_for_lov"
/>
<a:dataSet
id=
"con560_contract_status_grid_ds"
lookupCode=
"CON500_CONTRACT_STATUS"
/>
<a:dataSet
id=
"seal_number_ds"
lookupCode=
"SEAL_NUMBER_FINISH"
/>
<a:dataSet
id=
"con560_contract_query_ds"
autoCreate=
"true"
>
<a:fields>
<a:field
name=
"bp_name"
lovGridHeight=
"350"
lovHeight=
"500"
lovLabelWidth=
"100"
...
...
@@ -243,11 +250,9 @@
model=
"cont.CON560.con_contract_finish_for_query"
queryDataSet=
"con560_contract_query_ds"
queryUrl=
"${/request/@context_path}/autocrud/cont.CON560.con_contract_finish_for_query/query"
selectable=
"true"
selectionModel=
"single"
>
<!-- <a:fields>-->
<!-- <a:field name="contract_status_n" displayField="code_value_name"-->
<!-- options="con560_contract_status_grid_ds" returnField="contract_status"-->
<!-- valueField="code_value"/>-->
<!-- </a:fields>-->
<!--<a:fields>
<a:field name="contract_status_n" displayField="code_value_name" options="con560_contract_status_grid_ds" returnField="contract_status" valueField="code_value"/>
</a:fields>-->
<a:events>
<a:event
name=
"indexChange"
handler=
"onIndexChange"
/>
<a:event
name=
"query"
handler=
"aut_authority_list_validate_query"
/>
...
...
@@ -255,14 +260,15 @@
</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=
"instruments_types"
readOnly=
"true"
defaultValue=
"所有权转移通知书"
/>
<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:field
name=
"corporate_visa_seal"
readOnly=
"true"
defaultValue=
"N"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"legal_seal"
readOnly=
"true"
defaultValue=
"N"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"con_special_seal"
readOnly=
"true"
defaultValue=
"N"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"financial_seal"
readOnly=
"true"
defaultValue=
"N"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"supervisio_seal"
readOnly=
"true"
defaultValue=
"N"
uncheckedValue=
"N"
checkedValue=
"Y"
/>
<a:field
name=
"seal_number_n"
readOnly=
"true"
displayField=
"code_value_name"
options=
"seal_number_ds"
returnField=
"seal_number"
valueField=
"code_value"
defaultValue=
"一式一份"
/>
<a:field
name=
"seal_number"
readOnly=
"true"
defaultValue=
"SEAL_O_ON_NUMBER"
/>
</a:fields>
</a:dataSet>
</a:dataSets>
...
...
@@ -354,7 +360,7 @@
</a:grid>
</a:tab>
<a:tab
prompt=
"用印信息"
width=
"110"
>
<a:grid
bindTarget=
"seal_info_ds"
height=
"250"
marginWidth=
"55"
navBar=
"true"
>
<a:grid
id=
"seal_info_ds_id"
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"
/>
...
...
src/main/webapp/modules/cont/CON560/con_contract_finish_maintain_wfl.lview
View file @
4fe97a23
...
...
@@ -191,7 +191,7 @@
<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=
"common_seal"
readOnly=
"true"
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"
/>
...
...
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