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
fb4a4eea
Commit
fb4a4eea
authored
Jun 21, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
税费修改
parent
c124d813
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
11 deletions
+58
-11
carryOut.js
public/resource/js/carryOut.js
+4
-3
commission.js
public/resource/js/commission.js
+4
-4
tax.js
public/resource/js/tax.js
+4
-4
reportList_shuiFee2_template_tpl.html
...c/resource/template/reportList_shuiFee2_template_tpl.html
+46
-0
No files found.
public/resource/js/carryOut.js
View file @
fb4a4eea
...
...
@@ -28,8 +28,8 @@ define(['doT', 'text!temp/carry_out_template_tpl.html', 'css!style/home.css', 'c
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
follow
.
house_id
);
});
//二级联动
follow
.
getDistrict
(
function
(){
_doc
.
on
(
'input'
,
'#district_id
, #district_id2
'
,
function
(){
follow
.
getDistrict
(
function
(){
//有了列表 点击 调用门店列表
_doc
.
on
(
'input'
,
'#district_id'
,
function
(){
var
_this
=
$
(
this
);
var
_id
=
_this
.
val
();
_this
.
next
().
html
(
''
);
//先清空
...
...
@@ -41,6 +41,7 @@ define(['doT', 'text!temp/carry_out_template_tpl.html', 'css!style/home.css', 'c
_str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
store_name
+
'</option>'
;
});
_this
.
next
().
html
(
_str
);
// console.log(_this.next());
});
}
else
{
};
...
...
@@ -153,7 +154,7 @@ define(['doT', 'text!temp/carry_out_template_tpl.html', 'css!style/home.css', 'c
'excel='
+
excel_two
+
'&user_name='
+
user_name
+
'&start_time='
+
start_time
+
'&end_time='
+
end_time
+
'&internal_title='
+
internal_title
+
'&user_phone='
+
user_phone
+
'&id='
+
id
+
'&store_name='
+
store_name
+
'&report_phone='
+
report_phone
+
'&report_name='
+
report_name
);
},
//调用部门 和 门店的接口
getDistrict
:
function
(
fn
)
{
getDistrict
:
function
(
fn
)
{
//调用接口 产生列表 部门
$
.
ajax
({
url
:
'/index/getDistrict'
,
type
:
'GET'
,
...
...
public/resource/js/commission.js
View file @
fb4a4eea
define
([
'doT'
,
'text!temp/commission_template_tpl.html'
,
'text!temp/reportList_shuiFee_template_tpl.html'
,
'text!temp/reportList_maidtwo_template_tpl.html'
,
'text!temp/reportList_maid_sub1_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
,
template_maid
,
template_maid_sub1
)
{
define
([
'doT'
,
'text!temp/commission_template_tpl.html'
,
'text!temp/reportList_shuiFee
2
_template_tpl.html'
,
'text!temp/reportList_maidtwo_template_tpl.html'
,
'text!temp/reportList_maid_sub1_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
,
template_maid
,
template_maid_sub1
)
{
bargain
=
{
pageNo
:
1
,
/*第几页*/
...
...
@@ -141,7 +141,7 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_s
alert
(
'最多添加5条'
);
return
false
;
}
else
{
_iYJAAObj
.
append
(
'<div class="form-group detail-modal-bargaininfo-commission-sec"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control"placeholder="请输入"
><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control"placeholder="请输入"></div><mark href="javascript:;"class="detail-modal-bargaininfo-commission-cancel-pic"><img src="/resource/image/search_gb.png"/
></mark></div>'
);
_iYJAAObj
.
append
(
'<div class="form-group detail-modal-bargaininfo-commission-sec"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control"placeholder="请输入"
disabled="disabled"><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control"placeholder="请输入"disabled="disabled"></div><mark href="javascript:;"class="detail-modal-bargaininfo-commission-cancel-pic"
></mark></div>'
);
};
});
...
...
@@ -483,10 +483,10 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_s
if
(
data
.
data
.
practical_fee
.
length
>
0
){
_inputAreaTempObj
.
html
(
''
);
}
else
{
_inputAreaTempObj
.
html
(
'<div class="form-group detail-modal-bargaininfo-commission-sec"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control"placeholder="请输入"
><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control"placeholder="请输入"></div><mark href="javascript:;"class="detail-modal-bargaininfo-commission-cancel-pic"><img src="/resource/image/search_gb.png"/
></mark></div>'
);
_inputAreaTempObj
.
html
(
'<div class="form-group detail-modal-bargaininfo-commission-sec"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control"placeholder="请输入"
disabled="disabled"><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control"placeholder="请输入"disabled="disabled"></div><mark href="javascript:;"class="detail-modal-bargaininfo-commission-cancel-pic"
></mark></div>'
);
};
$
.
each
(
data
.
data
.
practical_fee
,
function
(
i
,
v
)
{
_inputAreaTempObj
.
append
(
'<div data-id="{id}" class="form-group detail-modal-bargaininfo-commission-sec"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control"placeholder="请输入"value="{0}"
><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control"placeholder="请输入"value="{1}
"></div></div>'
.
stringFormatObj
({
_inputAreaTempObj
.
append
(
'<div data-id="{id}" class="form-group detail-modal-bargaininfo-commission-sec"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control"placeholder="请输入"value="{0}"
disabled="disabled"><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control"placeholder="请输入"value="{1}"disabled="disabled
"></div></div>'
.
stringFormatObj
({
'0'
:
v
.
money
,
'1'
:
v
.
income_time
,
'id'
:
v
.
fee_id
...
...
public/resource/js/tax.js
View file @
fb4a4eea
define
([
'doT'
,
'text!temp/tax_template_tpl.html'
,
'text!temp/reportList_shuiFee_template_tpl.html'
,
'text!temp/reportList_maidtwo_template_tpl.html'
,
'text!temp/reportList_maid_sub1_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
,
template_maid
,
template_maid_sub1
)
{
define
([
'doT'
,
'text!temp/tax_template_tpl.html'
,
'text!temp/reportList_shuiFee
2
_template_tpl.html'
,
'text!temp/reportList_maidtwo_template_tpl.html'
,
'text!temp/reportList_maid_sub1_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
,
template_maid
,
template_maid_sub1
)
{
bargain
=
{
pageNo
:
1
,
/*第几页*/
...
...
@@ -137,7 +137,7 @@ define(['doT', 'text!temp/tax_template_tpl.html', 'text!temp/reportList_shuiFee_
alert
(
'最多添加5条'
);
return
false
;
}
else
{
_iYJAAObj
.
append
(
'<div class="form-group detail-modal-bargaininfo-commission-sec"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control"placeholder="请输入"
><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control"placeholder="请输入"></div><mark href="javascript:;"class="detail-modal-bargaininfo-commission-cancel-pic"><img src="/resource/image/search_gb.png"/
></mark></div>'
);
_iYJAAObj
.
append
(
'<div class="form-group detail-modal-bargaininfo-commission-sec"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control"placeholder="请输入"
disabled="disabled"><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control"placeholder="请输入"disabled="disabled"></div><mark href="javascript:;"class="detail-modal-bargaininfo-commission-cancel-pic"
></mark></div>'
);
};
});
...
...
@@ -479,10 +479,10 @@ define(['doT', 'text!temp/tax_template_tpl.html', 'text!temp/reportList_shuiFee_
if
(
data
.
data
.
practical_fee
.
length
>
0
){
_inputAreaTempObj
.
html
(
''
);
}
else
{
_inputAreaTempObj
.
html
(
'<div class="form-group detail-modal-bargaininfo-commission-sec"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control"placeholder="请输入"
><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control"placeholder="请输入"></div><mark href="javascript:;"class="detail-modal-bargaininfo-commission-cancel-pic"><img src="/resource/image/search_gb.png"/
></mark></div>'
);
_inputAreaTempObj
.
html
(
'<div class="form-group detail-modal-bargaininfo-commission-sec"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control"placeholder="请输入"
disabled="disabled"><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control"placeholder="请输入"disabled="disabled"></div><mark href="javascript:;"class="detail-modal-bargaininfo-commission-cancel-pic"
></mark></div>'
);
};
$
.
each
(
data
.
data
.
practical_fee
,
function
(
i
,
v
)
{
_inputAreaTempObj
.
append
(
'<div data-id="{id}" class="form-group detail-modal-bargaininfo-commission-sec"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control"placeholder="请输入"value="{0}"
><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control"placeholder="请输入"value="{1}
"></div></div>'
.
stringFormatObj
({
_inputAreaTempObj
.
append
(
'<div data-id="{id}" class="form-group detail-modal-bargaininfo-commission-sec"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control"placeholder="请输入"value="{0}"
disabled="disabled"><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control"placeholder="请输入"value="{1}"disabled="disabled
"></div></div>'
.
stringFormatObj
({
'0'
:
v
.
money
,
'1'
:
v
.
income_time
,
'id'
:
v
.
fee_id
...
...
public/resource/template/reportList_shuiFee2_template_tpl.html
0 → 100644
View file @
fb4a4eea
<script
id=
"reportList_shuiFee_list_tpl"
type=
"text/template"
>
[
%
if
(
it
&&
it
.
length
&&
it
.
length
>
0
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
[
%
var
getInfoType
=
function
(
r
){
switch
(
Number
(
r
)){
case
1
:
return
"盘方"
;
case
2
:
return
"客方"
;
case
3
:
return
"反签"
;
case
4
:
return
"独家"
;
case
5
:
return
"合作方"
;
default
:
return
"未定义"
}};
%
]
<
section
>
<
div
>
<
table
class
=
"detail-modal-tax-table table-haveborder"
>
<
tr
>
<
td
>
开票金额
<
/td
>
<
td
>
[
%=
it
[
item
][
'total_fee'
]
%
]
<
/td
>
<
td
>
开票日期
<
/td
>
<
td
>
[
%=
it
[
item
][
'operation_date'
]
%
]
<
/td
>
<
/tr
>
<
tr
>
<
td
>
分佣方
<
/td
>
<
td
>
业务员
<
/td
>
<
td
>
分佣比例
<
/td
>
<
td
>
税费
<
/td
>
<
/tr
>
[
%
if
(
it
[
item
][
'fee_list'
]
&&
it
[
item
][
'fee_list'
].
length
&&
it
[
item
][
'fee_list'
].
length
>
0
)
{
%
]
[
%
for
(
var
item2
in
it
[
item
][
'fee_list'
]){
%
]
<
tr
data
-
feeid
=
"[%= it[item]['fee_list'][item2]['fee_id'] %]"
>
<
td
>
[
%=
getInfoType
(
it
[
item
][
'fee_list'
][
item2
][
'role'
])
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'fee_list'
][
item2
][
'name'
]
+
'-'
+
it
[
item
][
'fee_list'
][
item2
][
'phone'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'fee_list'
][
item2
][
'scale'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'fee_list'
][
item2
][
'fee'
]
%
]
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
暂无
<
/tr
>
[
%
}
%
]
<
/table
>
<
/div
>
<
div
>
<!--<
a
class
=
"btn btn-default"
href
=
"#modal_new_tax"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
编辑
<
/a>--
>
<
/div
>
<
/section
>
[
%
}
%
]
[
%
}
else
{
%
]
<
section
>
暂无数据
<
/section
>
[
%
}
%
]
</script>
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