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
e3f0ee18
Commit
e3f0ee18
authored
Sep 01, 2021
by
chenzhuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解约回购校验
parent
bca0be47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
con_contract_change_repo_detail.lview
...es/cont/CON_REPO001/con_contract_change_repo_detail.lview
+8
-0
No files found.
src/main/webapp/modules/cont/CON_REPO001/con_contract_change_repo_detail.lview
View file @
e3f0ee18
...
@@ -91,6 +91,14 @@
...
@@ -91,6 +91,14 @@
var paymengt_deadlinedate = Leaf.formatDate(req_record.get('paymengt_deadlinedate'));
var paymengt_deadlinedate = Leaf.formatDate(req_record.get('paymengt_deadlinedate'));
var repurchase_types = record.get('repurchase_types');
var repurchase_types = record.get('repurchase_types');
var payment_period = record.get('payment_period');
var payment_period = record.get('payment_period');
//add by 26887cz 2021-08-13
var create_date = Leaf.formatDate(new Date());
var last_rent_due_date = Leaf.formatDate(req_record.get('last_rent_due_date'));
if (!compareDate(last_rent_due_date, create_date)) {
Leaf.showMessage('${l:HLS.PROMPT}', '申请创建日期小于变更起始期前期租金支付约定日,请先取消变更,进行收入和增值税确认!');
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return false;
}
//支付预定日需要大于解约回购日
//支付预定日需要大于解约回购日
if (!compareDate(repurchase_date, paymengt_deadlinedate)) {
if (!compareDate(repurchase_date, paymengt_deadlinedate)) {
Leaf.showMessage('${l:HLS.PROMPT}', '支付预定日需要大于等于解约回购日!');
Leaf.showMessage('${l:HLS.PROMPT}', '支付预定日需要大于等于解约回购日!');
...
...
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