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
cb330af9
Commit
cb330af9
authored
Dec 19, 2018
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b217a1fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
getCollection.js
public/resource/js/getCollection.js
+5
-0
receivables_template_tpl.html
public/resource/template/receivables_template_tpl.html
+1
-1
No files found.
public/resource/js/getCollection.js
View file @
cb330af9
...
@@ -21,6 +21,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -21,6 +21,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
pay_id
:
''
,
pay_id
:
''
,
transfer_name
:
''
,
transfer_name
:
''
,
totalCount
:
0
,
totalCount
:
0
,
receipt_number
:
''
,
init
:
function
()
{
init
:
function
()
{
//初始化dot
//初始化dot
$
(
document
.
body
).
append
(
template
);
$
(
document
.
body
).
append
(
template
);
...
@@ -171,6 +172,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -171,6 +172,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
that
.
type_num
=
e
.
target
.
dataset
.
type_num
;
that
.
type_num
=
e
.
target
.
dataset
.
type_num
;
that
.
transfer_name
=
e
.
target
.
dataset
.
transfer_name
that
.
transfer_name
=
e
.
target
.
dataset
.
transfer_name
that
.
pay_id
=
id
;
that
.
pay_id
=
id
;
that
.
receipt_number
=
e
.
target
.
dataset
.
receipt_number
;
// that.order_id = order_id ;
// that.order_id = order_id ;
// that.order_no = e.target.dataset.order_no ;
// that.order_no = e.target.dataset.order_no ;
// that.report_id = e.target.dataset.report_id;
// that.report_id = e.target.dataset.report_id;
...
@@ -658,12 +660,15 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -658,12 +660,15 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
jsonArray
.
push
(
obj
);
jsonArray
.
push
(
obj
);
params
.
collecting_bill
=
JSON
.
stringify
(
jsonArray
)
;
params
.
collecting_bill
=
JSON
.
stringify
(
jsonArray
)
;
// if ( $('#change_type').val() == 10 || $('#change_type').val() == 30)
//条件验证
//条件验证
params
.
house_number
=
that
.
houseNmuber
;
params
.
house_number
=
that
.
houseNmuber
;
if
(
$
(
'#change_type'
).
val
()
==
10
||
$
(
'#change_type'
).
val
()
==
30
){
if
(
$
(
'#change_type'
).
val
()
==
10
||
$
(
'#change_type'
).
val
()
==
30
){
if
(
$
(
'#change_time'
).
val
()){
//最后转定时间
if
(
$
(
'#change_time'
).
val
()){
//最后转定时间
params
.
last_transfer_time
=
$
(
'#change_time'
).
val
()
params
.
last_transfer_time
=
$
(
'#change_time'
).
val
()
};
};
params
.
receipt_number
=
that
.
receipt_number
;
// if ($('#shop_id_change_shop').text()){//商铺号
// if ($('#shop_id_change_shop').text()){//商铺号
//
//
// };
// };
...
...
public/resource/template/receivables_template_tpl.html
View file @
cb330af9
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
[
%
}
%
]
[
%
}
%
]
[
%
if
(
check_auth
(
'index/getAdjustment'
))
{
%
]
[
%
if
(
check_auth
(
'index/getAdjustment'
))
{
%
]
[
%
if
(
it
[
item
][
'type_num'
]
==
10
||
it
[
item
][
'type_num'
]
==
30
)
{
%
]
[
%
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
-
receipt_number
=
'[%= it[item]['
receipt_number
'] %]'
data
-
transfer_name
=
'[%= it[item]['
transfer_name
'] %]'
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
>
data
-
transfer_name
=
'[%= it[item]['
transfer_name
'] %]'
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
>
[
%
}
%
]
[
%
}
%
]
[
%
}
%
]
[
%
}
%
]
...
...
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