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
42af6a13
Commit
42af6a13
authored
Dec 27, 2018
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
2f564133
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
getCollection.js
public/resource/js/getCollection.js
+14
-3
No files found.
public/resource/js/getCollection.js
View file @
42af6a13
...
@@ -1330,6 +1330,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1330,6 +1330,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
saveBack
:
function
(){
saveBack
:
function
(){
var
that
=
receiv
;
var
that
=
receiv
;
var
params
=
that
.
getBackParams
();
var
params
=
that
.
getBackParams
();
if
(
!
params
)
{
return
false
;
}
$
.
post
(
'/index/refundPayLog'
,
params
,
function
(
data
){
$
.
post
(
'/index/refundPayLog'
,
params
,
function
(
data
){
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
console
.
log
(
data
)
console
.
log
(
data
)
...
@@ -1361,7 +1364,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1361,7 +1364,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
params
.
agent_name
=
that
.
back_agent_name
;
params
.
agent_name
=
that
.
back_agent_name
;
params
.
agent_id
=
that
.
back_agent_id
;
params
.
agent_id
=
that
.
back_agent_id
;
if
(
back_type
){
if
(
back_type
-
0
>
-
1
){
params
.
type
=
back_type
;
params
.
type
=
back_type
;
}
else
{
}
else
{
alert
(
"请输入退款类型"
);
alert
(
"请输入退款类型"
);
...
@@ -1385,8 +1388,16 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1385,8 +1388,16 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
if
(
back_bank_name
){
if
(
back_bank_name
){
params
.
name
=
back_bank_name
;
params
.
name
=
back_bank_name
;
}
}
if
(
back_phone
){
// if ( back_phone ){
params
.
phone
=
back_phone
;
// params.phone = back_phone ;
// }
if
(
back_phone
)
{
if
(
back_phone
[
0
]
==
"1"
&&
back_phone
.
length
==
11
&&
back_phone
-
0
>-
1
)
{
params
.
phone
=
back_phone
;
}
else
{
alert
(
"请输入正确的手机号码"
)
return
false
;
}
}
}
if
(
back_others
){
if
(
back_others
){
params
.
remark
=
back_others
;
params
.
remark
=
back_others
;
...
...
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