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
26b52322
Commit
26b52322
authored
Dec 27, 2018
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
d8c52f4c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
1 deletion
+24
-1
getCollection.html
application/index/view/finance/getCollection.html
+7
-0
getCollection.js
public/resource/js/getCollection.js
+12
-0
refundList.js
public/resource/js/refundList.js
+2
-0
refund_template_tpl.html
public/resource/template/refund_template_tpl.html
+3
-1
No files found.
application/index/view/finance/getCollection.html
View file @
26b52322
...
@@ -865,6 +865,13 @@
...
@@ -865,6 +865,13 @@
<div
class=
"modal-body modal-body-height"
>
<div
class=
"modal-body modal-body-height"
>
<form
class=
""
>
<form
class=
""
>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-2 ld-Marheight"
>
退款最大金额:
</span></strong>
<span
id=
"could_price_back"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
退款类型:
</span></strong>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
退款类型:
</span></strong>
...
...
public/resource/js/getCollection.js
View file @
26b52322
...
@@ -276,6 +276,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -276,6 +276,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
}
else
{
}
else
{
}
}
that
.
getMaxBackPrice
(
id
)
// that.getBack(id);
// that.getBack(id);
});
});
...
@@ -482,6 +483,17 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -482,6 +483,17 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
});
});
},
},
getMaxBackPrice
:
function
(
id
){
var
autgtoken
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
))).
AuthToken
;
$
.
get
(
'/broker/adjustment'
,{
'pay_id'
:
id
,
'AuthToken'
:
autgtoken
},
function
(
data
){
if
(
data
.
code
==
200
)
{
$
(
'#could_price_back'
).
text
(
data
.
data
.
residue_money
);
}
else
{
alert
(
data
.
msg
);
}
})
},
search_person
:
function
()
{
//手机号新增客户
search_person
:
function
()
{
//手机号新增客户
$
.
ajax
({
$
.
ajax
({
url
:
'/index/getBroker_new'
,
url
:
'/index/getBroker_new'
,
...
...
public/resource/js/refundList.js
View file @
26b52322
...
@@ -286,6 +286,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
...
@@ -286,6 +286,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
$
(
'#back_time'
).
text
(
data
.
data
.
creat_time
);
$
(
'#back_time'
).
text
(
data
.
data
.
creat_time
);
$
(
'#back_id'
).
text
(
data
.
data
.
id
);
$
(
'#back_id'
).
text
(
data
.
data
.
id
);
var
tag
=
""
;
var
tag
=
""
;
$
(
'#check_person'
).
empty
();
for
(
var
i
=
0
;
i
<
data
.
data
.
log
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
data
.
data
.
log
.
length
;
i
++
){
console
.
log
(
data
.
data
.
log
[
i
])
console
.
log
(
data
.
data
.
log
[
i
])
tag
+=
'<div class="col-xs-12">'
;
tag
+=
'<div class="col-xs-12">'
;
...
@@ -309,6 +310,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
...
@@ -309,6 +310,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
$
(
'#chech_status'
).
text
(
str
);
$
(
'#chech_status'
).
text
(
str
);
var
img
=
data
.
data
.
img
;
var
img
=
data
.
data
.
img
;
var
tag
=
''
;
var
tag
=
''
;
$
(
'#photoArea'
).
empty
();
for
(
var
i
=
0
;
i
<
img
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
img
.
length
;
i
++
){
tag
+=
''
tag
+=
''
$
(
'#photoArea'
).
append
(
'<div class="result2"><img data-imgid="{0}" src="{1}" alt="" class="diagram-image J_preview" data-bimg="{1}"/></div>'
.
stringFormatObj
({
$
(
'#photoArea'
).
append
(
'<div class="result2"><img data-imgid="{0}" src="{1}" alt="" class="diagram-image J_preview" data-bimg="{1}"/></div>'
.
stringFormatObj
({
...
...
public/resource/template/refund_template_tpl.html
View file @
26b52322
...
@@ -4,8 +4,10 @@
...
@@ -4,8 +4,10 @@
<
tr
class
=
"text-center"
>
<
tr
class
=
"text-center"
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
[
%
if
(
it
[
item
][
'status'
]
==
1
)
{
%
]
[
%
if
(
it
[
item
][
'status'
]
==
0
)
{
%
]
<
td
>
申请中
<
/td
>
<
td
>
申请中
<
/td
>
[
%
}
else
if
(
it
[
item
][
'status'
]
==
1
)
{
%
]
<
td
>
审核中
<
/td
>
[
%
}
else
if
(
it
[
item
][
'status'
]
==
2
)
{
%
]
[
%
}
else
if
(
it
[
item
][
'status'
]
==
2
)
{
%
]
<
td
>
退款成功
<
/td
>
<
td
>
退款成功
<
/td
>
[
%
}
else
if
(
it
[
item
][
'status'
]
==
3
)
{
%
]
[
%
}
else
if
(
it
[
item
][
'status'
]
==
3
)
{
%
]
...
...
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