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
eb306efe
Commit
eb306efe
authored
Dec 27, 2018
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
7499cb66
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
22 deletions
+31
-22
refundList.html
application/index/view/finance/refundList.html
+4
-4
getCollection.js
public/resource/js/getCollection.js
+3
-0
refundList.js
public/resource/js/refundList.js
+23
-17
refund_template_tpl.html
public/resource/template/refund_template_tpl.html
+1
-1
No files found.
application/index/view/finance/refundList.html
View file @
eb306efe
...
@@ -323,7 +323,7 @@
...
@@ -323,7 +323,7 @@
<option
value=
"5"
>
案场费
</option>
<option
value=
"5"
>
案场费
</option>
</select>
</select>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"changed_id"
placeholder=
"订单ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"changed_id"
placeholder=
"订单ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"back_id"
placeholder=
"退款ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"back_id
_money
"
placeholder=
"退款ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"get_id"
placeholder=
"收款ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"get_id"
placeholder=
"收款ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"shoped_id"
placeholder=
"商铺ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"shoped_id"
placeholder=
"商铺ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"shoped_addr"
placeholder=
"商铺地址"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"shoped_addr"
placeholder=
"商铺地址"
type=
"text"
value=
""
>
...
@@ -333,10 +333,10 @@
...
@@ -333,10 +333,10 @@
<select
class=
"form-control btn2 ld-Marheight"
id=
"commit_shop"
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"commit_shop"
>
<option
value=
""
>
提交人所在门店
</option>
<option
value=
""
>
提交人所在门店
</option>
</select>
</select>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"comit_name"
placeholder=
"提交人姓名"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"comit_name"
placeholder=
"提交人姓名
/手机号
"
type=
"text"
value=
""
>
<ul
class=
"user-ul"
style=
"display:none"
></ul>
<ul
class=
"user-ul"
style=
"display:none"
></ul>
<!--<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="comit_name" placeholder="提交人姓名" type="text" value="">-->
<!--<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="comit_name" placeholder="提交人姓名" type="text" value="">-->
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"comit_phone"
placeholder=
"提交人手机号"
type=
"text"
value=
""
>
<input
type=
"hidden"
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"comit_phone"
placeholder=
"提交人手机号"
type=
"text"
value=
""
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"is_type"
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"is_type"
>
<option
value=
""
>
我是否审核过
</option>
<option
value=
""
>
我是否审核过
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"1"
>
是
</option>
...
@@ -352,7 +352,7 @@
...
@@ -352,7 +352,7 @@
<!--<span class="money_total_two ld-Marheight " style="float:left">保管进转定:</span><span style="float:left" id="back_baoguan_ding" class="money_total_two_shifu fore-span ld-Marheight">0元</span>-->
<!--<span class="money_total_two ld-Marheight " style="float:left">保管进转定:</span><span style="float:left" id="back_baoguan_ding" class="money_total_two_shifu fore-span ld-Marheight">0元</span>-->
<!--<span class="money_total_two ld-Marheight " style="float:left">退中介费:</span><span style="float:left" id="back_zhongjie" class="money_total_two_shifu fore-span ld-Marheight">0元</span>-->
<!--<span class="money_total_two ld-Marheight " style="float:left">退中介费:</span><span style="float:left" id="back_zhongjie" class="money_total_two_shifu fore-span ld-Marheight">0元</span>-->
<!--<span class="money_total_two ld-Marheight " style="float:left">退案场费:</span><span style="float:left" id="back_anchang" class="money_total_two_shifu fore-span ld-Marheight">0元</span>-->
<!--<span class="money_total_two ld-Marheight " style="float:left">退案场费:</span><span style="float:left" id="back_anchang" class="money_total_two_shifu fore-span ld-Marheight">0元</span>-->
<span
class=
"money_total_two ld-Marheight "
style=
"float:left"
>
退款总计:
</span><span
style=
"float:left"
id=
"
back
_total"
class=
"money_total_two_shifu fore-span ld-Marheight"
>
0元
</span>
<span
class=
"money_total_two ld-Marheight "
style=
"float:left"
>
退款总计:
</span><span
style=
"float:left"
id=
"
money
_total"
class=
"money_total_two_shifu fore-span ld-Marheight"
>
0元
</span>
</form>
</form>
</td><br
/>
</td><br
/>
...
...
public/resource/js/getCollection.js
View file @
eb306efe
...
@@ -1363,6 +1363,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1363,6 +1363,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
if
(
back_type
){
if
(
back_type
){
params
.
type
=
back_type
;
params
.
type
=
back_type
;
}
else
{
alert
(
"请输入退款类型"
);
return
false
;
};
};
if
(
back_price
){
if
(
back_price
){
params
.
refund_money
=
back_price
;
params
.
refund_money
=
back_price
;
...
...
public/resource/js/refundList.js
View file @
eb306efe
...
@@ -456,7 +456,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
...
@@ -456,7 +456,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
var
doTtmpl
=
doT
.
template
(
temp
);
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#order_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
$
(
"#order_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
// that.moneyTotal = data.data.money_total;
// that.moneyTotal = data.data.money_total;
$
(
'#money_total'
).
text
((
data
.
data
.
money_total
-
0
>
0
)
?
(
data
.
data
.
money_total
+
"元"
):
"0元"
)
$
(
'#money_total'
).
text
((
data
.
data
.
total_money
-
0
>
0
)
?
(
data
.
data
.
total_money
+
"元"
):
"0元"
)
/*分页代码*/
/*分页代码*/
add_page
(
data
.
data
.
total
,
no
,
that
.
pageSize
,
that
.
getList
);
add_page
(
data
.
data
.
total
,
no
,
that
.
pageSize
,
that
.
getList
);
...
@@ -474,19 +474,21 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
...
@@ -474,19 +474,21 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
*/
*/
resetAll
:
function
(){
resetAll
:
function
(){
var
that
=
refund
;
var
that
=
refund
;
var
commite_time_start
=
$
(
'#comit_time_start'
).
val
(
""
);
$
(
'#comit_time_start'
).
val
(
""
);
var
commite_time_end
=
$
(
'#comit_time_end'
).
val
(
""
);
$
(
'#comit_time_end'
).
val
(
""
);
var
into_time_start
=
$
(
'#into_time_start'
).
val
(
""
);
$
(
'#into_time_start'
).
val
(
""
);
var
into_time_end
=
$
(
'#into_time_end'
).
val
(
""
);
$
(
'#into_time_end'
).
val
(
""
);
var
changed_type
=
$
(
'#changed_type'
).
val
(
""
);
$
(
'#changed_type'
).
val
(
""
);
var
changed_id
=
$
(
'#changed_id'
).
val
(
""
);
$
(
'#changed_id'
).
val
(
""
);
var
looked_id
=
$
(
'#looked_id'
).
val
(
""
);
$
(
'#back_id'
).
val
(
""
);
var
shoped_id
=
$
(
'#shoped_id'
).
val
(
""
);
$
(
'#get_id'
).
val
(
""
);
var
shoped_addr
=
$
(
'#shoped_addr'
).
val
(
""
);
$
(
'#shoped_id'
).
val
(
""
);
var
commit_home
=
$
(
'#commit_home'
).
val
(
""
);
$
(
'#shoped_addr'
).
val
(
""
);
var
commit_shop
=
$
(
'#commit_shop'
).
val
(
""
);
$
(
'#commit_home'
).
val
(
""
);
var
comit_name
=
$
(
'#comit_name'
).
val
(
""
);
$
(
'#commit_shop'
).
val
(
""
);
var
comit_phone
=
$
(
'#comit_phone'
).
val
(
""
);
$
(
'#comit_name'
).
val
(
""
);
$
(
'#comit_phone'
).
val
(
""
);
$
(
'#is_type'
).
val
(
""
);
that
.
agent_id_phone
=
""
;
that
.
agent_id_phone
=
""
;
},
},
...
@@ -515,7 +517,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
...
@@ -515,7 +517,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
var
into_time_end
=
$
(
'#into_time_end'
).
val
();
var
into_time_end
=
$
(
'#into_time_end'
).
val
();
var
changed_type
=
$
(
'#changed_type'
).
val
();
var
changed_type
=
$
(
'#changed_type'
).
val
();
var
changed_id
=
$
(
'#changed_id'
).
val
();
var
changed_id
=
$
(
'#changed_id'
).
val
();
var
back_id
=
$
(
'#back_id
'
).
val
();
var
back_id
_money
=
$
(
'#back_id_money
'
).
val
();
var
shoped_id
=
$
(
'#shoped_id'
).
val
();
var
shoped_id
=
$
(
'#shoped_id'
).
val
();
var
shoped_addr
=
$
(
'#shoped_addr'
).
val
();
var
shoped_addr
=
$
(
'#shoped_addr'
).
val
();
var
commit_home
=
$
(
'#commit_home'
).
val
();
var
commit_home
=
$
(
'#commit_home'
).
val
();
...
@@ -524,7 +526,11 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
...
@@ -524,7 +526,11 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
var
comit_phone
=
$
(
'#comit_phone'
).
val
();
var
comit_phone
=
$
(
'#comit_phone'
).
val
();
var
choose_type
=
$
(
'.btn-group'
).
find
(
'.btn-info'
).
html
();
var
choose_type
=
$
(
'.btn-group'
).
find
(
'.btn-info'
).
html
();
var
is_selt
=
$
(
'#is_type'
).
val
();
var
is_selt
=
$
(
'#is_type'
).
val
();
var
get_id
=
$
(
'#get_id'
).
val
();
var
params
=
{};
var
params
=
{};
if
(
get_id
)
{
params
.
pay_log_id
=
get_id
;
}
if
(
choose_type
)
{
if
(
choose_type
)
{
params
.
choose_type
=
choose_type
;
params
.
choose_type
=
choose_type
;
}
}
...
@@ -546,8 +552,8 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
...
@@ -546,8 +552,8 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
if
(
changed_id
)
{
if
(
changed_id
)
{
params
.
order_id
=
changed_id
;
params
.
order_id
=
changed_id
;
}
}
if
(
back_id
)
{
if
(
back_id
_money
)
{
params
.
id
=
back_id
;
params
.
id
=
back_id
_money
;
}
}
if
(
shoped_id
)
{
if
(
shoped_id
)
{
params
.
house_id
=
shoped_id
;
params
.
house_id
=
shoped_id
;
...
...
public/resource/template/refund_template_tpl.html
View file @
eb306efe
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<
td
>
[
%=
it
[
item
][
'house_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'address'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'address'
]
%
]
<
/td
>
<
td
>
<
td
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["
order_
id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success rejected"
href
=
"#modal-check"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
审核
<
/a
>
<
a
class
=
"btn1 btn-success rejected"
href
=
"#modal-check"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
审核
<
/a
>
<!--<
a
class
=
"btn1 btn-success is_pass"
href
=
"#modal-pass"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
打印
<
/a>--
>
<!--<
a
class
=
"btn1 btn-success is_pass"
href
=
"#modal-pass"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
打印
<
/a>--
>
<
/td
>
<
/td
>
...
...
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