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
d94167df
Commit
d94167df
authored
Feb 27, 2025
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
核销删除按钮优化
parent
c2288358
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
2 deletions
+47
-2
csh_write_off_interface.lview
.../webapp/modules/csh/CSH531N/csh_write_off_interface.lview
+47
-2
No files found.
src/main/webapp/modules/csh/CSH531N/csh_write_off_interface.lview
View file @
d94167df
...
...
@@ -12,6 +12,50 @@
<a:link
id=
"csh531n_submit_interface_link_id"
model=
"csh.CSH531N.csh_write_off_interface"
modelaction=
"batch_update"
/>
<script
src=
"${/request/@context_path}/javascripts/calculate.js"
type=
"text/javascript"
/>
<script
type=
"text/javascript"
>
<![CDATA[
function batch_delete(){
var ds_id = 'csh_write_off_interface_ds';
var ds = $(ds_id);
var records = ds.getSelected();
if (records.length < 1) {
Leaf.showMessage('${l:PROMPT}', '请选择至少一条记录!');
return;
}
var post_data = [];
for (var i = 0; i < records.length; i++) {
post_data.push({
'write_off_interface_id': records[i].get('write_off_interface_id'),
'_status': 'delete'
});
}
Leaf.showConfirm('提示', '确认删除选中的记录?', function() {
csh531d_lock_current_window();
Leaf.request({
url: $('csh531n_submit_interface_link_id').getUrl(),
para: post_data,
success: function () {
csh531d_unlock_current_window();
var allRecords = ds.getAll();
if(records.length == allRecords.length) {
ds.removeAll();
}else{
for (var i=records.length-1;i>
=0;i--)
{
ds.removeLocal(records[i]);
}
}
}, failure: function () {
csh531d_unlock_current_window();
},
error: function () {
csh531d_unlock_current_window();
},
scope: this
});
},function () {
csh531d_unlock_current_window();},null, 400);
}
function csh531n_detail_win_close() {
$('${/parameter/@winid}').close();
...
...
@@ -796,7 +840,7 @@
return;
}
if (write_date_count > 0) {
Leaf.showInfoMessage('提示', '经
当天的系统日期不得早于应收日!');
Leaf.showInfoMessage('提示', '经
营性租赁合同收款核销
当天的系统日期不得早于应收日!');
return;
}
//收款核销为融租保证金和经租保证金时:校验收款日期和核销日期存在跨月且收款日期所在月份的营业月结未确认时 18083 2024/7/15
...
...
@@ -1192,7 +1236,8 @@
marginWidth=
"10"
navBar=
"true"
>
<a:toolBar>
<a:button
id=
"csh_grid_add_bt"
type=
"add"
/>
<a:button
id=
"csh_grid_delete_bt"
type=
"delete"
/>
<!--<a:button id="csh_grid_delete_bt" type="delete"/>-->
<a:button
id=
"csh_grid_delete_bt"
click=
"batch_delete"
text=
"— 删除"
/>
</a:toolBar>
<a:columns>
<!--<a:column name="csh_bank_slip_num" footerRenderer="summaryRenderer" prompt="CSH531.BANK_SLIP_NUM" width="120"/>-->
...
...
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