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
242f2d64
Commit
242f2d64
authored
Dec 12, 2022
by
21471731
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
租赁物导入调整10
parent
af6c7120
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
prj_project_lease_import_details.lview
...odules/prj/PRJ501N/prj_project_lease_import_details.lview
+9
-10
No files found.
src/main/webapp/modules/prj/PRJ501N/prj_project_lease_import_details.lview
View file @
242f2d64
...
...
@@ -69,6 +69,7 @@
var records = record.getSelected();
var datas= record.getAll();
var len = records.length;
var lens = datas.length;
if (len == 0) {
Leaf.showMessage('${l:PROMPT}','请选择一条记录!');
return;
...
...
@@ -89,12 +90,12 @@
msg: '操作成功',
duration: 2000
});
if(datas.length==1){
$(ds_id).query();
var count=(lens-len);
if(count==0){
success_delete_after(count);
}else{
success_delete_after();
success_delete_after(
count
);
}
},
error: function() {
},
...
...
@@ -104,15 +105,13 @@
});
};
function success_delete_after(){
function success_delete_after(
count
){
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'prj_project_lease_item_list');
var record = $(ds_id);
var data= record.getAt(0);
if(data!=null){
Leaf.request({
url: $('prj501N_lease_item_list_delete_link').getUrl(),
para:{
project_lease_item_id:'${/parameter/@project_lease_item_id}'
project_lease_item_id:'${/parameter/@project_lease_item_id}',
count:count
},
success: function() {
$(ds_id).query();
...
...
@@ -122,7 +121,7 @@
failure: function() {},
scope: this
});
}
}
//保存
...
...
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