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
c51fd4ac
Commit
c51fd4ac
authored
May 10, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7dae6862
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
6 deletions
+34
-6
getCollection.html
application/index/view/finance/getCollection.html
+2
-2
public.js
public/resource/js/public.js
+29
-1
receivables_template_tpl.html
public/resource/template/receivables_template_tpl.html
+3
-3
No files found.
application/index/view/finance/getCollection.html
View file @
c51fd4ac
...
...
@@ -1133,10 +1133,10 @@
<th
class=
"text-center"
>
入账日期
</th>
<th
class=
"text-center"
>
提交人
</th>
<!--<th class="text-center">对应业务员</th>-->
<
th
class=
"text-center"
>
所属门店
</th
>
<
!--<th class="text-center">所属门店</th>--
>
<th
class=
"text-center"
>
类型
</th>
<th
class=
"text-center"
>
收款金额
</th>
<
th
class=
"text-center"
>
实付金额
</th
>
<
!--<th class="text-center">实付金额</th>--
>
<th
class=
"text-center"
>
来源
</th>
</tr>
</thead>
...
...
public/resource/js/public.js
View file @
c51fd4ac
...
...
@@ -303,7 +303,35 @@ function labelKeyWords(str) {//关键词标色
var
reg
=
new
RegExp
(
key_
,
"g"
)
return
(
str
).
replace
(
reg
,
'<span style="color:red">'
+
key_
+
'</span>'
);
}
function
switchRzType
(
str
){
//入账类型 10意向金 20定金 30保管金 40押金 50 租金 60 进场费 70转让费 80其他
switch
(
String
(
str
)){
case
'10'
:
return
'意向金'
;
case
'20'
:
return
'定金'
;
case
'30'
:
return
'保管金'
;
case
'40'
:
return
'押金'
;
case
'50'
:
return
'租金'
;
case
'60'
:
return
'进场费'
;
case
'70'
:
return
'转让费'
;
case
'80'
:
return
'其他'
;
case
'90'
:
return
'佣金'
;
case
'91'
:
return
'中介费'
;
case
'92'
:
return
'案场费'
;
default
:
return
'暂无数据'
;
}
};
/**
* 如果提示框存在任何问题,可以通过注释alert这个方法,使提示框恢复到之前的默认效果
* 自定义提示框修改
...
...
public/resource/template/receivables_template_tpl.html
View file @
c51fd4ac
...
...
@@ -73,10 +73,10 @@
<
td
>
[
%=
it
[
item
][
'bargain_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'income_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'type'
]
%
]
<
/td
>
<
!--<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td>--
>
<
td
>
[
%=
switchRzType
(
it
[
item
][
'type'
])
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'real_money'
]
%
]
<
/td
>
<
!--<
td
>
[
%=
it
[
item
][
'real_money'
]
%
]
<
/td>--
>
[
%
if
(
it
[
item
][
'is_refund'
]
==
1
){
%
]
[
%
if
(
it
[
item
][
'source'
]
==
0
)
{
%
]
<
td
>
正常收款
,
被退款
<
/td
>
...
...
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