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
7c33f95f
Commit
7c33f95f
authored
Apr 01, 2024
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
佣金政策测试问题修复
parent
f353d6e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
bp_agent_bounty_detail.lview
...in/webapp/modules/hls/HLS303/bp_agent_bounty_detail.lview
+13
-2
No files found.
src/main/webapp/modules/hls/HLS303/bp_agent_bounty_detail.lview
View file @
7c33f95f
...
...
@@ -154,11 +154,12 @@
}
/*
时间戳转换为时间
*/
function
timestampToTime(timestamp)
{
debugger;
timestamp =
timestamp
?
timestamp
:
null;
var
date =
new
Date(timestamp);//时间戳为10位需*1000,时间戳为13位的话不需乘1000
var
Y =
date.getFullYear();
var
M =
(date.getMonth()
+
1
<
10
?
'0'
+
(date.getMonth()
+
1)
:
date.getMonth()
+
1
);
var
D =
(date.getDate()
<
10
?
'0'
+
date.getDate()
:
date.getDate(
));
var
M =
(date.getMonth()
+
1
<
10
?
'0'
+
(date.getMonth()
+
1)
:
String(date.getMonth()
+
1)
);
var
D =
(date.getDate()
<
10
?
'0'
+
date.getDate()
:
String(date.getDate()
));
//
var
h =
(date.getHours()
<
10
?
'0'
+
date.getHours()
:
date.getHours())
+
':';
//
var
m =
(date.getMinutes()
<
10
?
'0'
+
date.getMinutes()
:
date.getMinutes())
+
':';
//
var
s =
date.getSeconds()
<
10
?
'0'
+
date.getSeconds()
:
date.getSeconds();
...
...
@@ -177,6 +178,16 @@
return
check_flag;
}
}
//新增时调用(grid,table,gridBox)
window['${/parameter/@layout_code}_on_layout_dynamic_grid_add']
=
function(ds,
record,
config_records,
bp_seq)
{
debugger;
var
ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'hlcm_comsn_policy_ln');
var
record =
$(ds_id).getAt(0);
if(record.get('finance_amount_from')
==undefined){
record.set('finance_amount_from',0);
}
};
]]
></script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
</a:view>
...
...
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