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
1cc71a60
Commit
1cc71a60
authored
Aug 05, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款日志
parent
d38d7e11
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
receivingLog.js
public/resource/js/receivingLog.js
+7
-7
receiving_log_template_tpl.html
public/resource/template/receiving_log_template_tpl.html
+3
-3
No files found.
public/resource/js/receivingLog.js
View file @
1cc71a60
...
@@ -25,11 +25,12 @@ define(['doT', 'text!temp/receiving_log_template_tpl.html', 'css!style/home.css'
...
@@ -25,11 +25,12 @@ define(['doT', 'text!temp/receiving_log_template_tpl.html', 'css!style/home.css'
var
params
=
{};
var
params
=
{};
params
.
pageNo
=
bargain
.
pageNo
;
params
.
pageNo
=
bargain
.
pageNo
;
params
.
pageSize
=
bargain
.
pageSize
;
params
.
pageSize
=
bargain
.
pageSize
;
params
.
create_time
=
$
(
'#create_time'
)
.
val
();
params
.
start_date
=
$
(
'#create_time'
)
.
val
();
params
.
end_time
=
$
(
'#end_time'
)
.
val
();
params
.
end_date
=
$
(
'#end_time'
)
.
val
();
params
.
pay_log_id
=
$
(
'#house_id'
)
.
val
();
$
.
ajax
({
$
.
ajax
({
url
:
'/index/
partialCommission
List'
,
//获取列表
url
:
'/index/
receiptOperatingRecords
List'
,
//获取列表
type
:
'
GE
T'
,
type
:
'
POS
T'
,
async
:
true
,
async
:
true
,
data
:
params
,
data
:
params
,
dataType
:
'json'
,
dataType
:
'json'
,
...
@@ -37,10 +38,9 @@ define(['doT', 'text!temp/receiving_log_template_tpl.html', 'css!style/home.css'
...
@@ -37,10 +38,9 @@ define(['doT', 'text!temp/receiving_log_template_tpl.html', 'css!style/home.css'
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
var
temp
=
document
.
getElementById
(
'receiving_log_list_tpl'
).
innerHTML
;
var
temp
=
document
.
getElementById
(
'receiving_log_list_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#business_list"
).
html
(
doTtmpl
(
data
.
data
.
data
.
list
));
$
(
"#business_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
$
(
"#money_total"
).
html
(
data
.
data
.
data
.
total_money
);
//实收总计
/*分页代码*/
/*分页代码*/
add_page
(
data
.
data
.
data
.
total
,
pageNo
,
bargain
.
pageSize
,
bargain
.
getList
);
add_page
(
data
.
data
.
total
,
pageNo
,
bargain
.
pageSize
,
bargain
.
getList
);
}
else
{
}
else
{
alert
(
data
.
msg
);
alert
(
data
.
msg
);
}
}
...
...
public/resource/template/receiving_log_template_tpl.html
View file @
1cc71a60
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
[
%
if
(
it
&&
it
[
0
])
{
%
]
[
%
if
(
it
&&
it
[
0
])
{
%
]
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
data
-
id
=
"[%= it[item]['bargain_id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
data
-
fatherid
=
"[%= it[item]['father_id'] %]"
>
<
tr
class
=
"text-center"
data
-
id
=
"[%= it[item]['bargain_id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
data
-
fatherid
=
"[%= it[item]['father_id'] %]"
>
<
td
>
[
%=
it
[
item
][
'
district_stor
e'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'
create_tim
e'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'
agent
'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'
remark
'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'
internal_address
'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'
agents_name'
]
%
]
-
[
%=
it
[
item
][
'agents_phone
'
]
%
]
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
[
%
}
else
{
%
]
[
%
}
else
{
%
]
...
...
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