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
ee31a291
Commit
ee31a291
authored
Apr 08, 2025
by
taoruidan18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同收款规则变更新增重复性校验
parent
493b379b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
contract_accounts_receivable_maintain.lview
...ont/CON_AR001/contract_accounts_receivable_maintain.lview
+13
-0
No files found.
src/main/webapp/modules/cont/CON_AR001/contract_accounts_receivable_maintain.lview
View file @
ee31a291
...
...
@@ -96,6 +96,13 @@
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return;
}
}
for (var k = 0; k < detail_record.length-1; k++) {
if(detail_record[k].get('contract_number')==detail_record[k+1].get('contract_number')){
Leaf.showMessage('${l:HLS.PROMPT}', '此批次录入了重复的合同,请确认!');
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return;
}
}
Leaf.request({
url: $('con_contract_account_receive_link').getUrl(),
...
...
@@ -179,6 +186,12 @@
if(document.getElementById("${/parameter/@layout_code}_user_button3")){
document.getElementById("${/parameter/@layout_code}_user_button3").style.display = "none";
}
if(document.getElementById('${/parameter/@layout_code}_F_INFO_ADD_layout_dynamic_button_id')){
document.getElementById('${/parameter/@layout_code}_F_INFO_ADD_layout_dynamic_button_id').style.display = "none";
}
if(document.getElementById('${/parameter/@layout_code}_F_INFO_DELETE_layout_dynamic_button_id')){
document.getElementById('${/parameter/@layout_code}_F_INFO_DELETE_layout_dynamic_button_id').style.display = "none";
}
}
});
]]>
</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