Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
0ffc2419
Commit
0ffc2419
authored
Dec 12, 2018
by
agping
Committed by
hujun
Dec 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实收汇总
parent
494fc535
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletion
+24
-1
commission_total.html
application/index/view/finance/commission_total.html
+5
-1
commissionTotal.js
public/resource/js/commissionTotal.js
+19
-0
No files found.
application/index/view/finance/commission_total.html
View file @
0ffc2419
...
@@ -93,7 +93,11 @@
...
@@ -93,7 +93,11 @@
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"create_dealtime"
name=
"start_date"
type=
"date"
>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"create_dealtime"
name=
"start_date"
type=
"date"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"end_dealtime"
name=
"end_date"
type=
"date"
>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"end_dealtime"
name=
"end_date"
type=
"date"
>
<div
class=
"clear"
>
</div>
<span
class=
"fore-span ld-Marheight"
>
截止确认分佣时间:
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"confirm_commission"
name=
"start_date"
type=
"date"
>
<!--<select class="form-control btn4 ld-Marheight" id="deal_status">
<!--<select class="form-control btn4 ld-Marheight" id="deal_status">
<option value="-1">请选择部门</option>
<option value="-1">请选择部门</option>
<option value="10">市场一部</option>
<option value="10">市场一部</option>
...
...
public/resource/js/commissionTotal.js
View file @
0ffc2419
...
@@ -51,6 +51,8 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
...
@@ -51,6 +51,8 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
var
day_start
=
getPreMonth
(
day_end
);
var
day_start
=
getPreMonth
(
day_end
);
$
(
'#create_time'
).
val
(
day_start
);
$
(
'#create_time'
).
val
(
day_start
);
$
(
'#end_time'
).
val
(
day_end
);
$
(
'#end_time'
).
val
(
day_end
);
$
(
'#confirm_commission'
).
val
(
day_end
);
//初始化收佣日期
//初始化收佣日期
business
.
getList
();
business
.
getList
();
business
.
event
();
business
.
event
();
...
@@ -390,6 +392,23 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
...
@@ -390,6 +392,23 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
$
(
'#create_ticketTime'
).
val
(
$
(
'#create_dealtime'
).
val
());
$
(
'#create_ticketTime'
).
val
(
$
(
'#create_dealtime'
).
val
());
$
(
'#end_ticketTime'
).
val
(
$
(
'#end_dealtime'
).
val
())
$
(
'#end_ticketTime'
).
val
(
$
(
'#end_dealtime'
).
val
())
}
}
//确认分佣时间 大于收佣日期 成交日期
var
start_
=
$
(
'#end_time'
).
val
()
+
" 00:00:00"
;
date_start
=
new
Date
(
Date
.
parse
(
start_
.
replace
(
/-/g
,
"/"
)));
var
start_time
=
date_start
.
getTime
();
var
end_
=
$
(
'#end_dealtime'
).
val
()
+
" 00:00:00"
;
date_end
=
new
Date
(
Date
.
parse
(
end_
.
replace
(
/-/g
,
"/"
)));
var
end_time
=
date_end
.
getTime
();
var
end_c
=
$
(
'#confirm_commission'
).
val
()
+
" 00:00:00"
;
date_endc
=
new
Date
(
Date
.
parse
(
end_c
.
replace
(
/-/g
,
"/"
)));
var
endc_time
=
date_endc
.
getTime
();
if
((
endc_time
*
1
<
end_time
*
1
)
||
(
endc_time
*
1
<
start_time
*
1
)){
alert
(
'截止确认分佣时间的选择 要大于 前边所选择的的 收佣日期和成交日期'
);
return
;
}
params
.
pageNo
=
business
.
pageNo
;
params
.
pageNo
=
business
.
pageNo
;
params
.
pageSize
=
business
.
pageSize
;
params
.
pageSize
=
business
.
pageSize
;
params
.
name
=
$
(
'#user_name'
).
val
();
params
.
name
=
$
(
'#user_name'
).
val
();
...
...
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