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
9c833f2a
Commit
9c833f2a
authored
Mar 22, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退款详情
parent
f933ea18
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
6 deletions
+22
-6
Finance.php
application/index/controller/Finance.php
+6
-2
refundList.html
application/index/view/finance/refundList.html
+13
-4
refundList.js
public/resource/js/refundList.js
+3
-0
No files found.
application/index/controller/Finance.php
View file @
9c833f2a
...
...
@@ -4649,9 +4649,13 @@ class Finance extends Basic
}
if
(
$data
[
'pay_log_id'
])
{
$pay_data
=
$m_pay_log
->
getOrderHouse
(
'a.income_time,c.internal_address as address'
,
[
'a.id'
=>
$data
[
'pay_log_id'
]]);
$data
[
'address'
]
=
$pay_data
[
0
][
'address'
];
$pay_field
=
'a.income_time,c.internal_address as address,a.create_time,a.order_id,b.house_id'
;
$pay_data
=
$m_pay_log
->
getOrderHouse
(
$pay_filed
,
[
'a.id'
=>
$data
[
'pay_log_id'
]]);
$data
[
'address'
]
=
$pay_data
[
0
][
'address'
]
?
$pay_data
[
0
][
'address'
]
:
''
;
$data
[
'income_time'
]
=
$pay_data
[
0
][
'income_time'
];
$data
[
'pay_create_time'
]
=
$pay_data
[
0
][
'create_time'
];
$data
[
'order_id'
]
=
$pay_data
[
0
][
'order_id'
];
$data
[
'house_id'
]
=
$pay_data
[
0
][
'house_id'
];
}
else
{
$data
[
'address'
]
=
''
;
$data
[
'income_time'
]
=
''
;
...
...
application/index/view/finance/refundList.html
View file @
9c833f2a
...
...
@@ -449,16 +449,25 @@
<strong><span>
4、入账日期:
<span
id=
"come_time"
></span></span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
5、
商铺地址:
<span
id=
"check_addr
"
></span></span></strong>
<strong><span>
5、
该收款提交时间:
<span
id=
"pay_create_time
"
></span></span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
6、
退款原因:
<span
id=
"check_resaon
"
></span></span></strong>
<strong><span>
6、
商铺地址:
<span
id=
"check_addr
"
></span></span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
7、
退款方式:
<span
id=
"check_type
"
></span></span></strong>
<strong><span>
7、
商铺ID:
<span
id=
"house_id
"
></span></span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
8、收款账户:
<span
id=
"card_no"
></span></span></strong>
<strong><span>
8、带看ID:
<span
id=
"order_id"
></span></span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
9、退款原因:
<span
id=
"check_resaon"
></span></span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
10、退款方式:
<span
id=
"check_type"
></span></span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
11、收款账户:
<span
id=
"card_no"
></span></span></strong>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-12"
>
...
...
public/resource/js/refundList.js
View file @
9c833f2a
...
...
@@ -281,6 +281,9 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
$
(
'#back_type'
).
text
(
str
);
$
(
'#come_time'
).
text
(
data
.
data
.
income_time
);
$
(
'#check_addr'
).
text
(
data
.
data
.
address
);
$
(
'#house_id'
).
text
(
data
.
data
.
house_id
);
$
(
'#pay_create_time'
).
text
(
data
.
data
.
pay_create_time
);
$
(
'#order_id'
).
text
(
data
.
data
.
order_id
);
$
(
'#check_resaon'
).
text
(
data
.
data
.
refund_cause
);
$
(
'#check_type'
).
text
(
data
.
data
.
refund_way
==
0
?
'银行卡'
:
"--"
);
$
(
'#card_no'
).
text
(
data
.
data
.
card_no
);
...
...
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