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
ffa4bcb9
Commit
ffa4bcb9
authored
Dec 19, 2018
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
71fdedd6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
getCollection.js
public/resource/js/getCollection.js
+8
-1
receivables_template_tpl.html
public/resource/template/receivables_template_tpl.html
+1
-1
No files found.
public/resource/js/getCollection.js
View file @
ffa4bcb9
...
...
@@ -18,6 +18,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
pay_type
:
''
,
type_num
:
''
,
houseNmuber
:
''
,
pay_id
:
''
,
init
:
function
()
{
//初始化dot
$
(
document
.
body
).
append
(
template
);
...
...
@@ -166,6 +167,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
var
type
=
e
.
target
.
dataset
.
type
;
var
order_id
=
e
.
target
.
dataset
.
order_id
;
that
.
type_num
=
e
.
target
.
dataset
.
type_num
that
.
pay_id
=
id
;
// that.order_id = order_id ;
// that.order_no = e.target.dataset.order_no ;
// that.report_id = e.target.dataset.report_id;
...
...
@@ -231,6 +233,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$
(
'.img_area'
).
empty
();
$
(
'#reportArea'
).
hide
();
$
(
'#intoIdArea'
).
hide
();
$
(
"#into_id_change"
).
removeAttr
(
"readOnly"
)
});
//调整
$
(
"#modal-linetime"
).
on
(
"shown.bs.modal"
,
function
(
event
){
...
...
@@ -613,13 +616,17 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
saveChange
:
function
(
no
){
var
that
=
receiv
;
console
.
log
(
that
);
if
(
that
.
pay_id
-
0
<
1
){
alert
(
"参数错误!"
);
}
var
params
=
{
'order_id'
:
that
.
order_id
,
'order_no'
:
that
.
order_no
,
'agent_id'
:
that
.
agent_id
,
'report_id'
:
that
.
report_id
,
'industry_type'
:
that
.
yetai
?
that
.
yetai
:
''
,
'income_time'
:
that
.
income_time
'income_time'
:
that
.
income_time
,
'pay_id'
:
that
.
pay_id
};
var
obj
=
{
...
...
public/resource/template/receivables_template_tpl.html
View file @
ffa4bcb9
...
...
@@ -30,7 +30,7 @@
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success add-pic"
href
=
"#modal-addPic"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
收款详情
<
/a
>
[
%
if
(
it
[
item
][
'type_num'
]
==
10
||
it
[
item
][
'type_num'
]
==
30
)
{
%
]
<
a
class
=
"btn1 btn-success money_change"
href
=
"#modal-linetime"
data
-
toggle
=
"modal"
data
-
type
=
'[%= it[item]['
type
'] %]'
data
-
id
=
'[%= it[item]["id"]%]'
<
a
class
=
"btn1 btn-success money_change"
href
=
"#modal-linetime"
data
-
toggle
=
"modal"
data
-
type
=
'[%= it[item]['
type
'] %]'
data
-
id
=
'[%= it[item]["id"]%]'
data
-
order_id
=
'[%= it[item]['
order_id
'] %]'
data
-
type_num
=
'[%= it[item]['
type_num
'] %]'
data
-
income_time
=
'[%= it[item]['
income_time
'] %]'
data
-
pay_type
=
'[%= it[item]['
pay_type_num
'] %]'
>
调整
<
/a
>
[
%
}
%
]
<!--<
a
class
=
"btn1 btn-success money_back"
href
=
"#modal-back"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"]%]'
>
退款
<
/a>--
>
...
...
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