feat(underlying): EQD-7180添加除权信息编辑功能的恢复回调处理
- 实现了 afterrestorefunc 回调函数来处理编辑状态的恢复 - 在恢复操作后显示编辑按钮并隐藏新增按钮 - 确保用户界面状态在保存或取消操作后正确更新
This commit is contained in:
@@ -41,6 +41,10 @@ function saveInfo(dataId, rowId) {
|
||||
"url": "/ex_dividend_info/SaveDividend",
|
||||
"extraparam": data,
|
||||
"restoreAfterError": true,
|
||||
"afterrestorefunc": function (rid) {
|
||||
$("#edit_" + rid).show();
|
||||
$("#add_" + rid).hide();
|
||||
},
|
||||
"mtype": "POST"
|
||||
});
|
||||
$.jgrid.ajaxOptions = ajaxOptions;
|
||||
|
||||
Reference in New Issue
Block a user