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
7a5c1a4c
Commit
7a5c1a4c
authored
Apr 24, 2020
by
stone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【fix】付款申请头金额错误修复
parent
4b4826c5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
11 deletions
+30
-11
csh_payment_req_get_num.lwm
...pp/WEB-INF/classes/csh/CSH501/csh_payment_req_get_num.lwm
+7
-0
csh_payment_create_entrance.lview
...bapp/modules/csh/CSH501/csh_payment_create_entrance.lview
+1
-1
csh_payment_req.lview
src/main/webapp/modules/csh/CSH501/csh_payment_req.lview
+22
-10
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH501/csh_payment_req_get_num.lwm
View file @
7a5c1a4c
...
@@ -36,5 +36,12 @@
...
@@ -36,5 +36,12 @@
<bm:parameter
name=
"cdd_list_id"
dataType=
"java.lang.Long"
input=
"true"
output=
"true"
outputPath=
"@cdd_list_id"
/>
<bm:parameter
name=
"cdd_list_id"
dataType=
"java.lang.Long"
input=
"true"
output=
"true"
outputPath=
"@cdd_list_id"
/>
</bm:parameters>
</bm:parameters>
</bm:operation>
</bm:operation>
<bm:operation
name=
"execute"
>
<bm:update-sql>
<![CDATA[
begin
csh_payment_req_pkg.update_csh_payment_hd_amount(p_payment_req_id =>
${@payment_req_id} ,p_user_id =>${/session/@user_id} );
end;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:operations>
</bm:model>
</bm:model>
src/main/webapp/modules/csh/CSH501/csh_payment_create_entrance.lview
View file @
7a5c1a4c
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<script
type=
"text/javascript"
>
<![CDATA[
<script
type=
"text/javascript"
>
<![CDATA[
Leaf.onReady(function(){
Leaf.onReady(function(){
//付款打印按钮只有会计担当和会计部长可见
//付款打印按钮只有会计担当和会计部长可见
if("${/model/role_info/record/@role_code}"!="0013"&&"${/model/role_info/record/@role_code}"!="0014"
&&"${/model/role_info/record/@role_code}"!="HAND"
) {
if("${/model/role_info/record/@role_code}"!="0013"&&"${/model/role_info/record/@role_code}"!="0014") {
//$('${/parameter/@layout_code}_user_button5').style.display='none';
//$('${/parameter/@layout_code}_user_button5').style.display='none';
Ext.fly('${/parameter/@layout_code}_user_button5').dom.style.display="none";
Ext.fly('${/parameter/@layout_code}_user_button5').dom.style.display="none";
}else{
}else{
...
...
src/main/webapp/modules/csh/CSH501/csh_payment_req.lview
View file @
7a5c1a4c
...
@@ -36,8 +36,8 @@
...
@@ -36,8 +36,8 @@
<a:link
id=
"csh_payment_req_prepayment_dk_detail_link_id"
<a:link
id=
"csh_payment_req_prepayment_dk_detail_link_id"
url=
"${/request/@context_path}/modules/csh/CSH501/csh_payment_req_prepayment_dk_detail.lview"
/>
url=
"${/request/@context_path}/modules/csh/CSH501/csh_payment_req_prepayment_dk_detail.lview"
/>
<a:link
id=
"csh_payment_req_ln_del_link"
model=
"csh.CSH504.csh_payment_req_ln_del"
modelaction=
"batch_update"
/>
<a:link
id=
"csh_payment_req_ln_del_link"
model=
"csh.CSH504.csh_payment_req_ln_del"
modelaction=
"batch_update"
/>
<a:link
id=
"csh501d_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
<a:link
id=
"csh501d_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
modelaction=
"upda
te"
/>
<a:link
id=
"update_csh_payment_hd_info_link"
model=
"csh.CSH501.csh_payment_req_get_num"
modelaction=
"execu
te"
/>
<a:link
id=
"csh_payment_req_pay_win_link"
<a:link
id=
"csh_payment_req_pay_win_link"
url=
"${/request/@context_path}/modules/csh/CSH502/csh_payment_req_pay.lview"
/>
url=
"${/request/@context_path}/modules/csh/CSH502/csh_payment_req_pay.lview"
/>
<a:link
id=
"csh501_csh_payment_auto_ddct"
model=
"csh.CSH501.auto_allocation_ddct"
modelaction=
"execute"
/>
<a:link
id=
"csh501_csh_payment_auto_ddct"
model=
"csh.CSH501.auto_allocation_ddct"
modelaction=
"execute"
/>
...
@@ -836,14 +836,9 @@
...
@@ -836,14 +836,9 @@
$(ds_id).getAt(0).set('submitted_flag','N');
$(ds_id).getAt(0).set('submitted_flag','N');
$(ds_id).getAt(0).set('printed_flag','N');
$(ds_id).getAt(0).set('printed_flag','N');
$(ds_id).getAt(0).set('document_category','PAYMENT_REQ');
$(ds_id).getAt(0).set('document_category','PAYMENT_REQ');
//确认保存
//确认保存
var hd_record = $(ds_id).getCurrentRecord();
var hd_record = $(ds_id).getCurrentRecord();
var payment_req_id = hd_record.get('payment_req_id');
var payment_req_id = hd_record.get('payment_req_id');
if (payment_req_id) {
if (payment_req_id) {
Leaf.request({
Leaf.request({
url: $('${/parameter/@layout_code}csh511_csh_payment_req_hd_query').getUrl(),
url: $('${/parameter/@layout_code}csh511_csh_payment_req_hd_query').getUrl(),
...
@@ -880,7 +875,6 @@
...
@@ -880,7 +875,6 @@
return check_flag||false;
return check_flag||false;
};
};
//调用合同后督
//调用合同后督
window['${/parameter/@layout_code}_user_button5_layout_dynamic_click'] = function () {
window['${/parameter/@layout_code}_user_button5_layout_dynamic_click'] = function () {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_lock_layout_dynamic_window']();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_lock_layout_dynamic_window']();
...
@@ -1042,8 +1036,26 @@
...
@@ -1042,8 +1036,26 @@
var
contract_id =
'${/parameter/@contract_id}'
;
var
contract_id =
'${/parameter/@contract_id}'
;
if
(payment_req_id)
{
if
(payment_req_id)
{
//更新头信息
Leaf.Masker.mask(Ext.getBody(),
'正在保存中。。。');
Leaf.request({
url:
$('update_csh_payment_hd_info_link').getUrl(),
para:
{
payment_req_id:payment_req_id
},
success:
function
()
{
Leaf.Masker.unmask(Ext.getBody());
$(hdds_id).setQueryParameter('payment_req_id',
payment_req_id);
$(hdds_id).setQueryParameter('payment_req_id',
payment_req_id);
$(hdds_id).query();
$(hdds_id).query();
},
failure:
function
()
{
Leaf.Masker.unmask(detail_mask);
},
error:
function
()
{
Leaf.Masker.unmask(detail_mask);
},
scope:
this
});
$(lnds_id).setQueryParameter('payment_req_id',
payment_req_id);
$(lnds_id).setQueryParameter('payment_req_id',
payment_req_id);
$(lnds_id).query();
$(lnds_id).query();
...
...
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