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
feae6dca
Commit
feae6dca
authored
Jul 25, 2024
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会计月结关闭期间新增保证金时间价值流程校验
parent
27807866
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
134 additions
and
72 deletions
+134
-72
close_period.lwm
...webapp/WEB-INF/classes/db/gld_period_pkg/close_period.lwm
+23
-14
gld_period_status.lview
src/main/webapp/modules/gld/FND5800/gld_period_status.lview
+61
-34
hls_monthly_statement.lview
...ain/webapp/modules/hls/HLS801/hls_monthly_statement.lview
+50
-24
No files found.
src/main/webapp/WEB-INF/classes/db/gld_period_pkg/close_period.lwm
View file @
feae6dca
...
@@ -12,6 +12,15 @@
...
@@ -12,6 +12,15 @@
begin
begin
gld_period_pkg.close_period(${/session/@company_id},
gld_period_pkg.close_period(${/session/@company_id},
${@period_set_code},
${@period_set_code},
${@period_name},
${/session/@user_id});
end;
]]>
</update-sql>
</operation>
<operation
name=
"update"
>
<update-sql>
<![CDATA[
begin
gld_period_pkg.close_period_check(${@period_set_code},
${@period_name},
${@period_name},
${/session/@user_id},
${/session/@user_id},
${@p_err_msg});
${@p_err_msg});
...
...
src/main/webapp/modules/gld/FND5800/gld_period_status.lview
View file @
feae6dca
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
<a:link
id=
"gld_period_pkg_init_period_link"
model=
"db.gld_period_pkg.init_period"
modelaction=
"update"
/>
<a:link
id=
"gld_period_pkg_init_period_link"
model=
"db.gld_period_pkg.init_period"
modelaction=
"update"
/>
<a:link
id=
"gld_period_pkg_close_period_link"
model=
"db.gld_period_pkg.close_period"
modelaction=
"execute"
/>
<a:link
id=
"gld_period_pkg_close_period_link"
model=
"db.gld_period_pkg.close_period"
modelaction=
"execute"
/>
<a:link
id=
"gld_period_pkg_open_period_link"
model=
"db.gld_period_pkg.open_period"
modelaction=
"execute"
/>
<a:link
id=
"gld_period_pkg_open_period_link"
model=
"db.gld_period_pkg.open_period"
modelaction=
"execute"
/>
<a:link
id=
"gld_close_period_check_link"
model=
"db.gld_period_pkg.close_period"
modelaction=
"update"
/>
<script
type=
"text/javascript"
>
<![CDATA[
<script
type=
"text/javascript"
>
<![CDATA[
function openPeriodDs(value, record, name) {
function openPeriodDs(value, record, name) {
...
@@ -83,16 +84,32 @@
...
@@ -83,16 +84,32 @@
scope: this
scope: this
});
});
} else {
} else {
$L.request({
url: $('gld_close_period_check_link').getUrl(),
para: record.data,
success: function (args) {
if (args.result.p_err_msg) {
Leaf.showConfirm('提示', args.result.p_err_msg, function okFun() {
Leaf.request({
Leaf.request({
url: url,
url: url,
para: record.data,
para: record.data,
success: function(args) {
success: function() {
if (args.result.p_err_msg) {
record.set('period_status_code','C');
$L.showConfirm('提示', args.result.p_err_msg, function () {
Leaf.SideBar.enable = true;
record.set('period_status_code', 'C');
Leaf.SideBar.show({
msg: '关闭成功',
duration: 3000
});
});
},
scope: this
});
},function canFun(){},600,400);
} else {
} else {
Leaf.request({
url: url,
para: record.data,
success: function() {
record.set('period_status_code','C');
record.set('period_status_code','C');
Leaf.SideBar.enable = true;
Leaf.SideBar.enable = true;
...
@@ -100,10 +117,20 @@
...
@@ -100,10 +117,20 @@
msg: '关闭成功',
msg: '关闭成功',
duration: 3000
duration: 3000
});
});
},
scope: this
});
}
}
},
failure: function () {
},
error: function () {
},
},
scope: this
scope: this
});
});
}
}
}
}
...
...
src/main/webapp/modules/hls/HLS801/hls_monthly_statement.lview
View file @
feae6dca
...
@@ -51,6 +51,7 @@
...
@@ -51,6 +51,7 @@
<a:link
id=
"hls_attachment_downloadFile_id"
url=
"${/request/@context_path}/downloadFile.lview"
/>
<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=
"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=
"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[
<script>
<![CDATA[
//HLS801.NEXT_STEP
//HLS801.NEXT_STEP
var step = 1;
var step = 1;
...
@@ -348,24 +349,49 @@
...
@@ -348,24 +349,49 @@
scope: this
scope: this
});
});
} else {
} else {
Leaf
.request({
$L
.request({
url: url
,
url: $('gld_close_period_check_link').getUrl()
,
para: record.data,
para: record.data,
success: function (args) {
success: function (args) {
if (args.result.p_err_msg) {
if (args.result.p_err_msg) {
$L.showConfirm('提示', args.result.p_err_msg, function () {
Leaf.showConfirm('提示', args.result.p_err_msg, function okFun() {
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
});
},function canFun(){},700,400);
} else {
} 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.enable = true;
Leaf.SideBar.show({
Leaf.SideBar.show({
msg: '关闭成功',
msg: '关闭成功',
duration: 3000
duration: 3000
});
});
},
scope: this
});
}
}
},
failure: function () {
},
error: function () {
},
},
scope: this
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