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
54591101
Commit
54591101
authored
Mar 05, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务日报 收款方式修改
parent
9fbc2e11
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
15 deletions
+45
-15
daily_details.html
application/index/view/finance/daily_details.html
+24
-13
financial_manager_daily_list.js
public/resource/js/financial_manager_daily_list.js
+21
-2
No files found.
application/index/view/finance/daily_details.html
View file @
54591101
...
...
@@ -1038,19 +1038,30 @@
<strong><span
class=
"col-xs-3 ld-Marheight"
>
支付方式:
</span></strong>
<div
class=
"col-xs-6"
>
<select
class=
"form-control"
id=
"payType"
>
<option
value=
"10"
>
施总支付宝
</option>
<option
value=
"11"
>
林老师支付宝
</option>
<option
value=
"12"
>
筠姐支付宝
</option>
<option
value=
"20"
>
施总微信
</option>
<option
value=
"21"
>
林老师微信
</option>
<option
value=
"22"
>
筠姐微信
</option>
<option
value=
"30"
>
pos机器
</option>
<option
value=
"40"
>
地产转账
</option>
<option
value=
"41"
>
世家公账
</option>
<option
value=
"42"
>
3000账号
</option>
<option
value=
"50"
>
现金
</option>
<option
value=
"70"
>
银满谷银行卡
</option>
<option
value=
"60"
>
其他
</option>
<option
value=
"10"
class=
"shanghaipayType"
>
施总支付宝
</option>
<option
value=
"11"
class=
"shanghaipayType"
>
林老师支付宝
</option>
<option
value=
"20"
class=
"shanghaipayType"
>
施总微信
</option>
<option
value=
"21"
class=
"shanghaipayType"
>
林老师微信
</option>
<option
value=
"30"
class=
"shanghaipayType"
>
pos机器
</option>
<option
value=
"40"
class=
"shanghaipayType"
>
地产转账
</option>
<option
value=
"42"
class=
"shanghaipayType"
>
3000账号
</option>
<option
value=
"70"
class=
"shanghaipayType"
>
银满谷银行卡
</option>
<option
value=
"73"
class=
"shanghaipayType"
>
新同联福居银行卡
</option>
<option
value=
"41"
class=
"shanghaipayType"
>
世家公账
</option>
<option
value=
"11"
class=
"hangzhoupayType"
>
林老师支付宝
</option>
<option
value=
"21"
class=
"hangzhoupayType"
>
林老师微信
</option>
<option
value=
"30"
class=
"hangzhoupayType"
>
pos机器
</option>
<option
value=
"70"
class=
"hangzhoupayType"
>
银满谷银行卡
</option>
<option
value=
"72"
class=
"hangzhoupayType"
>
林老师建行卡
</option>
<option
value=
"12"
class=
"shenzhengpayType"
>
筠姐支付宝
</option>
<option
value=
"22"
class=
"shenzhengpayType"
>
筠姐微信
</option>
<option
value=
"71"
class=
"shenzhengpayType"
>
筠姐上海银行卡
</option>
<option
value=
"41"
class=
"shenzhengpayType"
>
世家公账
</option>
<option
value=
"30"
class=
"shenzhengpayType"
>
pos机器
</option>
</select>
</div>
</div>
...
...
public/resource/js/financial_manager_daily_list.js
View file @
54591101
...
...
@@ -850,6 +850,22 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
},
'json'
)
},
getValueFunction
:
function
(
data
){
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
if
(
user_info_obj
.
site_id
==
10001
){
$
(
'.shanghaipayType'
).
show
();
$
(
'.hangzhoupayType'
).
hide
();
$
(
'.shenzhengpayType'
).
hide
();
}
else
if
(
user_info_obj
.
site_id
==
10002
){
$
(
'.shanghaipayType'
).
hide
();
$
(
'.hangzhoupayType'
).
show
();
$
(
'.shenzhengpayType'
).
hide
();
}
else
{
$
(
'.shanghaipayType'
).
hide
();
$
(
'.hangzhoupayType'
).
hide
();
$
(
'.shenzhengpayType'
).
show
();
}
var
persent
=
0.7
;
$
(
'.zhzd'
).
show
();
$
(
'.zjcon'
).
hide
();
var
doc
=
$
(
'#modal-addPic'
);
...
...
@@ -891,6 +907,9 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
doc
.
find
(
"#intoType"
).
text
(
'佣金'
);
}
else
if
(
data
.
type
==
91
)
{
doc
.
find
(
"#intoType"
).
text
(
'中介费'
);
if
(
doc
.
find
(
'#agency_fees_type'
).
val
()
==
1
){
persent
=
0
;
}
$
(
'.zhzd'
).
hide
();
}
else
if
(
data
.
type
==
92
)
{
doc
.
find
(
"#intoType"
).
text
(
'案场费'
);
...
...
@@ -911,8 +930,8 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
// doc.find("#getPrice").text(((data.price-0)*0.7 )+ "元");
// doc.find("#morePrice").text(Math.floor((data.money - ((data.price-0)*0.7))*100)/100 + "元");
// 保留两位小数
doc
.
find
(
"#getPrice"
).
text
((
Math
.
floor
(((
data
.
price
-
0
)
*
0.7
)
*
100
)
/
100
).
toFixed
(
2
)
+
"元"
);
doc
.
find
(
"#morePrice"
).
text
((
Math
.
floor
((
data
.
money
-
((
data
.
price
-
0
)
*
0.7
))
*
100
)
/
100
).
toFixed
(
2
)
+
"元"
);
doc
.
find
(
"#getPrice"
).
text
((
Math
.
floor
(((
data
.
price
-
0
)
*
persent
)
*
100
)
/
100
).
toFixed
(
2
)
+
"元"
);
doc
.
find
(
"#morePrice"
).
text
((
Math
.
floor
((
data
.
money
-
((
data
.
price
-
0
)
*
persent
))
*
100
)
/
100
).
toFixed
(
2
)
+
"元"
);
$
(
"#person"
).
text
(
data
.
current_agent_name
);
$
(
"#belongT"
).
text
(
data
.
store_name
);
doc
.
find
(
"#payType"
).
val
(
data
.
pay_type
);
...
...
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