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
011f9704
Commit
011f9704
authored
Mar 15, 2024
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购单和合同起租 付款预定日调整
parent
c7cb90f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
con_re_incept_op_modify.lview
...webapp/modules/cont/CON3200/con_re_incept_op_modify.lview
+4
-4
purchase_order_deteail.lview
...n/webapp/modules/prj/PRJ2000/purchase_order_deteail.lview
+1
-1
No files found.
src/main/webapp/modules/cont/CON3200/con_re_incept_op_modify.lview
View file @
011f9704
...
...
@@ -634,10 +634,10 @@
var
contract_id =
record.get('contract_id');
var
ref_d09 =
timestampToTime(Date.parse(lease_item_record.get('ref_d09')));
var
lease_start_date =
timestampToTime(Date.parse(record.get('lease_start_date')));
if(lease_start_date
>
ref_d09){
/*
if(lease_start_date
>
ref_d09){
Leaf.showMessage('${l:PROMPT}','采购单的付款预定日期需大于合同起租日,请重新选择!');
return;
}
}
*/
if (lease_item_record.dirty) {
Leaf.showMessage('${l:PROMPT}', '${l:HLS.EXECUTE_AFTER_SAVE}');
return;
...
...
@@ -824,10 +824,10 @@
var
ref_d09 =
timestampToTime(Date.parse(lease_item_record.get('ref_d09')));
var
lease_start_date =
timestampToTime(Date.parse(contract_record.get('lease_start_date')));
//校验付款预定日期
if(lease_start_date
>
ref_d09){
/*
if(lease_start_date
>
ref_d09){
Leaf.showMessage('${l:PROMPT}','采购单的付款预定日期需大于合同起租日,请重新选择!');
return false;
}
}
*/
//校验合同状态
if(!Leaf.isEmpty(contract_status)){
Leaf.request({
...
...
src/main/webapp/modules/prj/PRJ2000/purchase_order_deteail.lview
View file @
011f9704
...
...
@@ -639,7 +639,7 @@
}
//将申请信息中的预计采购日期同步到报价信息
if(
base_ds_id =
=
ds.id&&base_ds_id){
if(
name =
=
'ref_d
10
'&&value){
if(
name =
=
'ref_d
09
'&&value){
var
record_quotation =
$(prj_quotation_ds_id).getCurrentRecord();
record_quotation.set('contract_inception_date',value);
}
...
...
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