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
0388d72d
Commit
0388d72d
authored
Jan 07, 2020
by
stone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix]去除合同界面的状态条件,修改付款打印功能
parent
46deac36
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
97 additions
and
76 deletions
+97
-76
csh_payment_req_ln_query_after_save.lwm
...lasses/csh/CSH501/csh_payment_req_ln_query_after_save.lwm
+1
-0
payment_apply_content.xml
...WEB-INF/leaf.plugin.export.word/payment_apply_content.xml
+72
-72
contract_print_entrance_g_contract_result_queryfields.js
.../contract_print_entrance_g_contract_result_queryfields.js
+4
-4
csh_payment_req.lview
src/main/webapp/modules/csh/CSH501/csh_payment_req.lview
+20
-0
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH501/csh_payment_req_ln_query_after_save.lwm
View file @
0388d72d
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
c.bp_id_agent_level1,
c.bp_id_agent_level1,
ccli.pattern pattern,
ccli.pattern pattern,
ccli.machine_number machine_number,
ccli.machine_number machine_number,
ccli.modelcd,
--add 添加预付款的时间
--add 添加预付款的时间
(select b.bp_name
(select b.bp_name
from con_contract_bp b
from con_contract_bp b
...
...
src/main/webapp/WEB-INF/leaf.plugin.export.word/payment_apply_content.xml
View file @
0388d72d
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/server-script/layoutconfig/contract_print_entrance_g_contract_result_queryfields.js
View file @
0388d72d
...
@@ -4,10 +4,10 @@ var add_datafilters = [
...
@@ -4,10 +4,10 @@ var add_datafilters = [
name
:
'document_type'
,
name
:
'document_type'
,
expression
:
"t1.document_type = 'CARCON'"
expression
:
"t1.document_type = 'CARCON'"
},
},
{
//
{
name
:
'contract_status'
,
//
name:'contract_status',
expression
:
"t1.contract_status ='NEW'"
//
expression:"t1.contract_status ='NEW'"
},
//
},
{
{
name
:
'sign_contract_status'
,
name
:
'sign_contract_status'
,
expression
:
"t1.sign_contract_status in ('NEW','SIGNING','SIGN','SIGN_RETURN')"
expression
:
"t1.sign_contract_status in ('NEW','SIGNING','SIGN','SIGN_RETURN')"
...
...
src/main/webapp/modules/csh/CSH501/csh_payment_req.lview
View file @
0388d72d
...
@@ -79,6 +79,7 @@
...
@@ -79,6 +79,7 @@
<a:link
id=
"tre_loan_con_print_excel_link_id"
url=
"${/request/@context_path}/modules/csh/CSH501/csh_payment_contract_export.lsc"
/>
<a:link
id=
"tre_loan_con_print_excel_link_id"
url=
"${/request/@context_path}/modules/csh/CSH501/csh_payment_contract_export.lsc"
/>
<script
type=
"text/javascript"
>
<![CDATA[
<script
type=
"text/javascript"
>
<![CDATA[
jQuery.noConflict();
jQuery.noConflict();
//如果头id 不为空,就使用自在定义的ds进行查询
//如果头id 不为空,就使用自在定义的ds进行查询
...
@@ -95,6 +96,7 @@
...
@@ -95,6 +96,7 @@
}
}
})
})
Ext.ux.Lightbox.register('a[ref=img]', true);
Ext.ux.Lightbox.register('a[ref=img]', true);
if ('${/parameter/@payment_req_id}') {
if ('${/parameter/@payment_req_id}') {
...
@@ -183,6 +185,15 @@
...
@@ -183,6 +185,15 @@
hdrecord.set('currency_code', currency_code);
hdrecord.set('currency_code', currency_code);
hdrecord.set('currency_name', currency_name);
hdrecord.set('currency_name', currency_name);
record.set('act_amount', minus(record.get('amount'), record.get('sum_ddct_amount') || 0));
record.set('act_amount', minus(record.get('amount'), record.get('sum_ddct_amount') || 0));
} else if(name=='amount_vender'&& value){
var due_amount=record.get('due_amount');
var other_payment2=record.get('other_payment2');
var amount_agent=minus(minus(due_amount,other_payment2),value);
if(amount_agent<0){
$L.showErrorMessage("提示",'委托付款金额和首付款抵充金额不能大于应付金额!');
return;
}
record.set('amount_agent',amount_agent);
} else if (name == 'act_amount') {
} else if (name == 'act_amount') {
hdrecord.set('sum_act_amount', plus(minus(hdrecord.get('sum_act_amount') || 0, old_value || 0), value || 0));
hdrecord.set('sum_act_amount', plus(minus(hdrecord.get('sum_act_amount') || 0, old_value || 0), value || 0));
}
}
...
@@ -1218,6 +1229,15 @@
...
@@ -1218,6 +1229,15 @@
qpara['payment_bp_id'] = '${/parameter/@payment_bp_id}';
qpara['payment_bp_id'] = '${/parameter/@payment_bp_id}';
}
}
// function on_csh_payment_req_temp_ln_ds_update( dataSet, record, name, value,oldvalue) {
// if(name=='amount_vender'
&&
value){
// var due_amount=record.get('due_amount');
// var other_payment2=record.get('other_payment2');
// var amount_agent=minus(minus(due_amount,other_payment2),value);
// record.set('amount_agent',amount_agent);
// }
//
// }
function sumFunction(datas, name) {
function sumFunction(datas, name) {
...
...
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