Commit e4464e0d authored by 18083's avatar 18083

会计月结关闭期间新增保证金时间价值流程补充会计操作期间

parent e6b65a17
......@@ -51,6 +51,7 @@
<a:link id="hls_attachment_downloadFile_id" url="${/request/@context_path}/downloadFile.lview"/>
<a:link id="hls_attachment_uploadonlyFile_id" url="${/request/@context_path}/uploadonlyFile.lview"/>
<a:link id="con_exist_approving_id" model="hls.HLS801.con_exist_approving" modelaction="query"/>
<a:link id="gld_close_period_check_link" model="db.gld_period_pkg.close_period" modelaction="update"/>
<script><![CDATA[
//HLS801.NEXT_STEP
var step = 1;
......@@ -348,24 +349,49 @@
scope: this
});
} else {
Leaf.request({
url: url,
$L.request({
url: $('gld_close_period_check_link').getUrl(),
para: record.data,
success: function (args) {
if (args.result.p_err_msg) {
$L.showConfirm('提示', args.result.p_err_msg, function () {
record.set('period_status_code', 'C');
Leaf.showConfirm('提示', args.result.p_err_msg, function okFun() {
Leaf.request({
url: url,
para: record.data,
success: function() {
record.set('period_status_code','C');
Leaf.SideBar.enable = true;
Leaf.SideBar.show({
msg: '关闭成功',
duration: 3000
});
},
scope: this
});
},function canFun(){},700,400);
} else {
record.set('period_status_code', 'C');
Leaf.request({
url: url,
para: record.data,
success: function() {
record.set('period_status_code','C');
Leaf.SideBar.enable = true;
Leaf.SideBar.show({
msg: '关闭成功',
duration: 3000
});
},
scope: this
});
}
},
failure: function () {
},
error: function () {
},
scope: this
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment