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
a0c920dc
Commit
a0c920dc
authored
Dec 27, 2018
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1cdfc242
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
refundList.html
application/index/view/finance/refundList.html
+5
-1
refundList.js
public/resource/js/refundList.js
+5
-3
No files found.
application/index/view/finance/refundList.html
View file @
a0c920dc
...
@@ -542,7 +542,11 @@
...
@@ -542,7 +542,11 @@
</div>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
<div
class=
"col-xs-12"
style=
"margin-top:20px;"
>
<div
class=
"col-xs-12"
style=
"margin-top:20px;"
>
<div
class=
"col-xs-12"
style=
"padding-left:30px;"
>
<label
class=
"col-xs-2"
>
备注
</label>
<div
class=
"col-xs-10"
>
<textarea
id=
"check_past_pict"
class=
"form-control"
></textarea>
</div>
<div
class=
"col-xs-12"
style=
"padding-left:30px;"
>
<label>
上传转账图片和退款单手签版图片:
</label>
<label>
上传转账图片和退款单手签版图片:
</label>
</div>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-12"
>
...
...
public/resource/js/refundList.js
View file @
a0c920dc
...
@@ -101,6 +101,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
...
@@ -101,6 +101,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
//已退款
//已退款
$
(
document
).
on
(
'click'
,
'#check_back'
,
function
(
e
){
$
(
document
).
on
(
'click'
,
'#check_back'
,
function
(
e
){
var
pictures
=
$
(
'#container_body_img_area3'
).
find
(
'.result'
);
var
pictures
=
$
(
'#container_body_img_area3'
).
find
(
'.result'
);
var
text
=
$
(
'#check_past_pict'
).
val
();
var
picName
=
[];
var
picName
=
[];
pictures
.
each
(
function
(
i
,
event
){
pictures
.
each
(
function
(
i
,
event
){
picName
[
i
]
=
$
(
this
).
find
(
"img"
).
attr
(
"id"
)
picName
[
i
]
=
$
(
this
).
find
(
"img"
).
attr
(
"id"
)
...
@@ -109,7 +110,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
...
@@ -109,7 +110,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
alert
(
"请选择图片"
);
alert
(
"请选择图片"
);
return
false
;
return
false
;
}
}
that
.
checkRefund
(
2
,
picName
);
that
.
checkRefund
(
2
,
text
,
picName
);
});
});
//二级联动
//二级联动
...
@@ -228,12 +229,13 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
...
@@ -228,12 +229,13 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
return
head
+
s
.
replace
(
/
(
零.
)
*零元/
,
'元'
).
replace
(
/
(
零.
)
+/g
,
'零'
).
replace
(
/^整$/
,
'零元整'
);
return
head
+
s
.
replace
(
/
(
零.
)
*零元/
,
'元'
).
replace
(
/
(
零.
)
+/g
,
'零'
).
replace
(
/^整$/
,
'零元整'
);
},
},
checkRefund
:
function
(
status
,
remark
){
checkRefund
:
function
(
status
,
remark
,
pic
){
var
that
=
refund
;
var
that
=
refund
;
var
params
=
{
var
params
=
{
'refund_id'
:
that
.
check_id
,
'refund_id'
:
that
.
check_id
,
'status'
:
status
,
'status'
:
status
,
'remark'
:
remark
'remark'
:
remark
,
'img_arr'
:
pic
}
}
$
.
post
(
'/index/checkRefund'
,
params
,
function
(
data
){
$
.
post
(
'/index/checkRefund'
,
params
,
function
(
data
){
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
...
...
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