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
546c44e1
Commit
546c44e1
authored
Sep 23, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
6b2466ef
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
67 additions
and
6 deletions
+67
-6
daily_details.html
application/index/view/finance/daily_details.html
+36
-0
account_statement_shop.html
...ion/index/view/officeBuilding/account_statement_shop.html
+1
-1
agent.js
public/resource/js/agent.js
+3
-3
financial_manager_daily_list.js
public/resource/js/financial_manager_daily_list.js
+26
-1
fineMoney_list_template_tpl.html
public/resource/template/fineMoney_list_template_tpl.html
+1
-1
No files found.
application/index/view/finance/daily_details.html
View file @
546c44e1
...
...
@@ -1181,6 +1181,28 @@
<span
id=
"intoType"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span>
</div>
</div>
<!--中介费类型 加被收取方-->
<div
class=
"col-xs-12 agency_fees_type_hide hide_charge_side"
>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
style=
"margin-left: -7px;"
>
被收取方:
</span></strong>
<div
class=
"col-xs-6"
>
<select
class=
"form-control"
id=
"charge_side_detail"
>
<option
class=
""
value=
""
>
请选择
</option>
<option
class=
""
value=
"1"
>
房东
</option>
<option
class=
""
value=
"2"
>
客户
</option>
</select>
</div>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
</div>
</div>
</div>
<!--收款详情 加中介费类型 之前已收佣-->
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-6 agency_fees_type_hide"
>
...
...
@@ -1889,6 +1911,20 @@
</div>
</div>
</div>
<!--收取方-->
<!--中介费类型 显示 被收取方-->
<div
class=
"col-xs-6"
id=
"agency_fees_type_div"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
被收取方:
</span></strong>
<div
class=
"col-xs-6"
>
<select
class=
"form-control"
id=
"charge_side"
>
<option
class=
""
value=
""
>
请选择
</option>
<option
class=
""
value=
"1"
>
房东
</option>
<option
class=
""
value=
"2"
>
客户
</option>
</select>
</div>
</div>
</div>
<div
class=
"col-xs-6"
id=
"before_commission_div"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
之前已收佣(元):
</span></strong>
...
...
application/index/view/officeBuilding/account_statement_shop.html
View file @
546c44e1
...
...
@@ -1267,7 +1267,7 @@
<div
class=
"col-xs-12 beChargedPartyHide"
>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
被收取方:
:
</span></strong>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
被收取方:
</span></strong>
<span
id=
"beChargedParty"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
</div>
...
...
public/resource/js/agent.js
View file @
546c44e1
...
...
@@ -1268,7 +1268,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
'agents_id'
:
n
.
join
(
','
)
}
$
.
ajax
({
url
:
'/index/agentEvaluateNumAndFraction'
,
url
:
'/index/agentEvaluateNumAndFraction
V2
'
,
type
:
'GET'
,
async
:
true
,
data
:
_data
,
...
...
@@ -1277,8 +1277,8 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
$
(
"#agentlist tr"
).
each
(
function
(
e
)
{
//e代表索引 从0开始 eq(0)就是第一行
$
(
"#agentlist"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
9
).
html
(
data
.
data
[
e
].
agent_
evaluate_num
);
//获取一列的值
$
(
"#agentlist"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
10
).
html
(
data
.
data
[
e
].
a
gent_evaluate_fraction
);
$
(
"#agentlist"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
9
).
html
(
data
.
data
[
e
].
evaluate_num
);
//获取一列的值
$
(
"#agentlist"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
10
).
html
(
data
.
data
[
e
].
a
verage_evaluate
);
})
}
}
...
...
public/resource/js/financial_manager_daily_list.js
View file @
546c44e1
...
...
@@ -104,6 +104,15 @@ define(['doT','html2canvas','text!temp/financial_manager_daily_list_template_tpl
e
.
stopPropagation
();
location
.
href
=
'/index/dailyList'
});
//收款详情 隐藏 显示收取方
$
(
"#intoType"
).
change
(
function
()
{
if
(
$
(
'#intoType'
).
val
()
==
91
){
$
(
'.hide_charge_side'
).
show
();
}
else
{
$
(
'.hide_charge_side'
).
hide
();
};
});
//点击删除按钮 获取收款id
_doc
.
on
(
'click'
,
'.del-details'
,
function
(
e
)
{
e
.
preventDefault
();
...
...
@@ -667,7 +676,6 @@ define(['doT','html2canvas','text!temp/financial_manager_daily_list_template_tpl
$
(
"#modal-back"
).
on
(
"hidden.bs.modal"
,
function
(
event
){
$
(
'#before_commission'
).
val
(
"0"
);
//调整页面 之前已收佣 0
$
(
'#agency_fees_type'
).
val
(
"0"
);
//调整页面 中介费 0
$
(
'#change_price'
).
val
(
"0"
);
$
(
'#report_id_change'
).
val
(
""
);
$
(
'#into_id_change'
).
val
(
""
);
...
...
@@ -696,6 +704,8 @@ define(['doT','html2canvas','text!temp/financial_manager_daily_list_template_tpl
$
(
'#shop_id_change_shop'
).
val
(
""
);
$
(
'#change_time'
).
val
(
""
);
$
(
'.img_area'
).
empty
();
$
(
'#charge_side'
).
val
(
""
);
//调整页面 中介费 被收取方 空
});
$
(
'#change_type'
).
change
(
function
(
e
){
...
...
@@ -1733,6 +1743,8 @@ define(['doT','html2canvas','text!temp/financial_manager_daily_list_template_tpl
doc
.
find
(
"#comit_time"
).
text
(
data
.
create_time
);
doc
.
find
(
"#open_time"
).
text
(
data
.
open_time
);
//开业确定时间
doc
.
find
(
"#store_name"
).
text
(
data
.
reckon_in_store_name
);
//所属门店
doc
.
find
(
"#charge_side_detail"
).
val
(
data
.
be_charged_party
);
//中介费 被收取方
//判断收款详情的类型
if
(
data
.
type
==
91
){
...
...
@@ -1946,6 +1958,12 @@ define(['doT','html2canvas','text!temp/financial_manager_daily_list_template_tpl
//判断是否是 案场费
if
(
$
(
'#intoType'
).
text
()
==
'中介费'
){
params
.
type_ext
=
$
(
'#agency_fees_type_text'
).
val
()
if
(
$
(
'#charge_side_detail'
).
val
()){
params
.
be_charged_party
=
$
(
'#charge_side_detail'
).
val
();
//收款详情 中介费 新增收取方
}
else
{
alert
(
'收取方必填'
);
return
;
}
};
//判断是否是 案场费 中介费
if
(
$
(
'#intoType'
).
text
()
==
'案场费'
||
$
(
'#intoType'
).
text
()
==
'中介费'
){
...
...
@@ -2084,6 +2102,13 @@ define(['doT','html2canvas','text!temp/financial_manager_daily_list_template_tpl
};
if
(
$
(
'#change_type'
).
val
()
==
91
){
params
.
type_ext
=
$
(
'#agency_fees_type'
).
val
();
if
(
$
(
'#charge_side'
).
val
()){
params
.
be_charged_party
=
$
(
'#charge_side'
).
val
();
}
else
{
alert
(
'收取方必填'
);
return
;
}
}
//拼接jsonArray to jsonObject
if
(
$
(
'#change_price'
).
val
()){
//调整金额
...
...
public/resource/template/fineMoney_list_template_tpl.html
View file @
546c44e1
...
...
@@ -18,7 +18,7 @@
<
td
class
=
"text-center"
>
[
%
if
(
it
[
item
][
"status"
]
*
1
==
0
){
%
]
<
a
class
=
"btn1 btn-info cancel-fine"
data
-
id
=
'[%= it[item]["id"] %]'
>
取消
<
/a
>
<
a
class
=
"btn1 btn-info complete-fine"
data
-
id
=
'[%= it[item]["id"] %]'
>
转到已支付
<
/a
>
<
!--<
a
class
=
"btn1 btn-info complete-fine"
data
-
id
=
'[%= it[item]["id"] %]'
>
转到已支付
<
/a>--
>
[
%
}
%
]
<
a
class
=
"btn1 btn-info edit"
href
=
"#modal-edit"
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