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
ad793e76
Commit
ad793e76
authored
Feb 10, 2023
by
Luochenglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复双击保存多条数据BUG add by luochenglong
parent
b304e57f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
cloumn_define.lview
src/main/webapp/modules/efile/EFILE1010/cloumn_define.lview
+5
-3
elec_type_define.lview
...ain/webapp/modules/efile/EFILE1010/elec_type_define.lview
+2
-0
voucher_ass_template.lview
...webapp/modules/efile/EFILE1010/voucher_ass_template.lview
+2
-0
No files found.
src/main/webapp/modules/efile/EFILE1010/cloumn_define.lview
View file @
ad793e76
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
var ds = $('cloumn_para_ds');
var ds = $('cloumn_para_ds');
var records=ds.getAll();
var records=ds.getAll();
var paras = [];
var paras = [];
/*var detail_masks = Ext.getBody();*/
var detail_masks = Ext.getBody();
var base_archive_id='${/parameter/@record_id}';
var base_archive_id='${/parameter/@record_id}';
console.log(base_archive_id);
console.log(base_archive_id);
for(var n=0;n<records.length;n++){
for(var n=0;n<records.length;n++){
...
@@ -75,19 +75,21 @@
...
@@ -75,19 +75,21 @@
}
}
console.log(paras);
console.log(paras);
if (ds.validate()) {
if (ds.validate()) {
Leaf.Masker.mask(detail_mask, '${l:HLS.EXECUTING}');
Leaf.request({
Leaf.request({
url: $('cloumn_code_save_link').getUrl(),
url: $('cloumn_code_save_link').getUrl(),
para: paras,
para: paras,
success: function(res) {
success: function(res) {
Leaf.showMessage('提示','保存成功',function(){
Leaf.showMessage('提示','保存成功',function(){
ds.query();
ds.query();
Leaf.Masker.unmask(detail_mask);
});
});
},
},
failure: function() {
failure: function() {
Leaf.Masker.unmask(detail_mask);
},
},
error: function() {
error: function() {
Leaf.Masker.unmask(detail_mask);
},
},
scope: this
scope: this
});
});
...
...
src/main/webapp/modules/efile/EFILE1010/elec_type_define.lview
View file @
ad793e76
...
@@ -47,12 +47,14 @@
...
@@ -47,12 +47,14 @@
paras.push(records[n].data);
paras.push(records[n].data);
}
}
if (ds.validate()) {
if (ds.validate()) {
Leaf.Masker.mask(detail_mask, '${l:HLS.EXECUTING}');
Leaf.request({
Leaf.request({
url: $('elec_file_save_link').getUrl(),
url: $('elec_file_save_link').getUrl(),
para: paras,
para: paras,
success: function(res) {
success: function(res) {
Leaf.showMessage('提示','保存成功',function(){
Leaf.showMessage('提示','保存成功',function(){
ds.query();
ds.query();
Leaf.Masker.unmask(detail_mask);
});
});
},
},
failure: function() {
failure: function() {
...
...
src/main/webapp/modules/efile/EFILE1010/voucher_ass_template.lview
View file @
ad793e76
...
@@ -71,12 +71,14 @@
...
@@ -71,12 +71,14 @@
paras.push(records[n].data);
paras.push(records[n].data);
}
}
if (ds.validate()) {
if (ds.validate()) {
Leaf.Masker.mask(detail_mask, '${l:HLS.EXECUTING}');
Leaf.request({
Leaf.request({
url: $('je_template_save_link').getUrl(),
url: $('je_template_save_link').getUrl(),
para: paras,
para: paras,
success: function(res) {
success: function(res) {
Leaf.showMessage('提示','保存成功',function(){
Leaf.showMessage('提示','保存成功',function(){
ds.query();
ds.query();
Leaf.Masker.unmask(detail_mask);
});
});
},
},
failure: function() {
failure: function() {
...
...
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