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
67f62810
Commit
67f62810
authored
Jul 24, 2023
by
邓乾隆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同起租明细页面保存追加同步校验调整
parent
a37026be
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
con_re_incept_modify.lview
...in/webapp/modules/cont/CON3200/con_re_incept_modify.lview
+7
-5
No files found.
src/main/webapp/modules/cont/CON3200/con_re_incept_modify.lview
View file @
67f62810
...
...
@@ -778,7 +778,7 @@
var
secondary_lease =
record.get('secondary_lease')
;
var
contract_id =
record.get('contract_id');
var
contract_status =
record.get('contract_status');
console.log(contract_record)
;
var
contract_status_result =
''
;
//校验合同状态
if(!Leaf.isEmpty(contract_status)){
Leaf.request({
...
...
@@ -787,16 +787,18 @@
contract_id:
contract_id
},
scope:
this,
sync:
true,
success:
function
(res)
{
if(contract_status
!=
res.result.record.contract_status){
$L.showErrorMessage('提示',
'合同状态已发生改变,需要重新刷新页面!');
return
false;
}
contract_status_result =
res.result.record.contract_status;
},
failure:
function
()
{
return
false;
},
});
if
(contract_status
!=
contract_status_result)
{
$L.showErrorMessage('提示',
'合同状态已发生改变,需要重新刷新页面!');
return
false;
}
}
if(!Leaf.isEmpty(secondary_lease)
&&
secondary_lease!='YES')
{
...
...
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