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
3f884a8f
Commit
3f884a8f
authored
Jun 02, 2023
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跨月核销反冲改造
parent
1d80e3c5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
6 deletions
+38
-6
csh_transaction_wfl_query.lwm
.../WEB-INF/classes/csh/CSH510/csh_transaction_wfl_query.lwm
+2
-1
check_contract_invoice.lwm
...app/WEB-INF/classes/csh/CSH514/check_contract_invoice.lwm
+1
-2
extend_next_month_check.lwm
...pp/WEB-INF/classes/csh/CSH514/extend_next_month_check.lwm
+16
-0
csh_transaction_receipt_write_off_reverse_wfl.lview
...SH514/csh_transaction_receipt_write_off_reverse_wfl.lview
+19
-3
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH510/csh_transaction_wfl_query.lwm
View file @
3f884a8f
...
...
@@ -33,7 +33,8 @@
t.ref_d05,
t.wfl_instance_id,
t.approval_status,
nvl(t.ignore_invoice_check_flag,'N') ignore_invoice_check_flag
nvl(t.ignore_invoice_check_flag,'N') ignore_invoice_check_flag,
nvl(t.extend_month_flag,'N') extend_month_flag
From csh_transaction_wfl t #WHERE_CLAUSE#
]]>
</bm:query-sql>
</bm:operation>
...
...
src/main/webapp/WEB-INF/classes/csh/CSH514/check_contract_invoice.lwm
View file @
3f884a8f
...
...
@@ -27,10 +27,9 @@
csh_transaction_wfl_pkg.save_check_invoice_flag(
p_transaction_wfl_id =>
${@transaction_wfl_id},
p_check_flag =>${@check_flag},
p_extend_month_flag =>${@extend_month_flag},
p_user_id => ${/session/@user_id}
);
end;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/WEB-INF/classes/csh/CSH514/extend_next_month_check.lwm
0 → 100644
View file @
3f884a8f
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: trd
$Date: 2023-4-27下午03:25:19
$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 csh_transaction_wfl_pkg.extend_next_month_check(p_transaction_wfl_id =>
${@transaction_wfl_id})check_flag from dual
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/modules/csh/CSH514/csh_transaction_receipt_write_off_reverse_wfl.lview
View file @
3f884a8f
...
...
@@ -9,6 +9,7 @@
<a:init-procedure>
<a:model-query
model=
"cont.CON620.get_sys_role"
rootPath=
"role_info"
/>
<a:model-query
model=
"csh.CSH514.workflow_info"
defaultWhereClause=
"t2.transaction_wfl_id=${/parameter/@transaction_wfl_id}"
rootPath=
"wolkflow_path"
></a:model-query>
<a:model-query
model=
"csh.CSH514.extend_next_month_check"
rootPath=
"extend_month"
/>
</a:init-procedure>
<a:view>
<a:link
id=
"csh_transaction_write_off_reverse_link_id"
url=
"${/request/@context_path}/modules/csh/CSH514/csh_transaction_write_off_reverse_new.lsc"
/>
...
...
@@ -24,15 +25,24 @@
}
if("${/model/role_info/record/@role_code}"=="0014") {
zjwfl5110_ApproveChecker_add('zjwfl5110_submit', function (type) {
debugger;
var root_ds = $('${/parameter/@layout_code}_virtual_ds');
if (type == 'agree') {
var headers_ds = $('csh_transaction_receipt_write_off_reverse_detail_head_ds');
var record = headers_ds.getAt(0);
//校验跨月核销是否勾选跨月核销标志
if ('${/model/extend_month/record/@check_flag}' =='Y'){
if(record.get('extend_month_flag')!='Y'){
Leaf.showMessage('${l:HLS.PROMPT}', '跨月核销单据必须勾选允许跨月反冲!');
return false;
}
}
Leaf.request({
url: $('csh514_save_invoice_flag_id').getUrl(),
para: {
transaction_wfl_id:record.get('transaction_wfl_id'),
check_flag :record.get('ignore_invoice_check_flag')
check_flag :record.get('ignore_invoice_check_flag'),
extend_month_flag:record.get('extend_month_flag')
},
success: function () {
},
...
...
@@ -89,6 +99,7 @@
<a:field
name=
"description"
readOnly=
"true"
/>
<a:field
name=
"note"
readOnly=
"true"
/>
<a:field
name=
"ignore_invoice_check_flag"
/>
<a:field
name=
"extend_month_flag"
/>
</a:fields>
</a:dataSet>
<a:dataSet
id=
"csh_transaction_receipt_write_off_reverse_detail_result_ds"
autoQuery=
"true"
fetchAll=
"true"
...
...
@@ -123,6 +134,7 @@
<a:textField
name=
"description"
bindTarget=
"csh_transaction_receipt_write_off_reverse_detail_head_ds"
prompt=
"HLS.NOTE"
width=
"300"
/>
<a:checkBox
name=
"ignore_invoice_check_flag"
bindTarget=
"csh_transaction_receipt_write_off_reverse_detail_head_ds"
prompt=
"是否跳过合同开票校验"
/>
<a:checkBox
id=
"extend_month_id"
name=
"extend_month_flag"
bindTarget=
"csh_transaction_receipt_write_off_reverse_detail_head_ds"
prompt=
"是否允许跨月反冲"
/>
</a:hBox>
<a:hBox>
<a:textArea
name=
"note"
bindTarget=
"csh_transaction_receipt_write_off_reverse_detail_head_ds"
...
...
@@ -151,10 +163,14 @@
<script>
Leaf.onReady(init);
function init() {
debugger;
var headers_ds = $('csh_transaction_receipt_write_off_reverse_detail_head_ds');
if ('${/model/wolkflow_path/record/@current_seq}' != '10'){
headers_ds.getField('ignore_invoice_check_flag').setReadOnly(true);
}
if ('${/model/extend_month/record/@check_flag}' =='N'){
$('extend_month_id').hide();
}
}
</script>
...
...
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