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
b20f8017
Commit
b20f8017
authored
May 22, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开票税费1
parent
591b3a6b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
280 additions
and
14 deletions
+280
-14
account_statement.html
application/index/view/finance/account_statement.html
+0
-0
report_list.css
public/resource/css/report_list.css
+171
-0
main.js
public/resource/js/main.js
+6
-1
public.js
public/resource/js/public.js
+4
-2
reportList.js
public/resource/js/reportList.js
+48
-10
layer.js
public/resource/lib/js/layer.js
+3
-0
layer.css
public/resource/lib/js/need/layer.css
+2
-0
reportList_shuiFee_template_tpl.html
...ic/resource/template/reportList_shuiFee_template_tpl.html
+45
-0
reportList_template_tpl.html
public/resource/template/reportList_template_tpl.html
+1
-1
No files found.
application/index/view/finance/account_statement.html
View file @
b20f8017
This diff is collapsed.
Click to expand it.
public/resource/css/report_list.css
0 → 100644
View file @
b20f8017
#note_text
{
width
:
80%
;
margin-left
:
48px
;
margin-top
:
-20px
;
}
#note_text_re
{
width
:
80%
;
margin-left
:
48px
;
margin-top
:
-20px
;
}
.Tswitch_one
{
display
:
none
;
}
.Tswitch_two
{
display
:
none
;
}
.left
{
float
:
left
;
width
:
340px
;
line-height
:
36px
;
}
.left
.btn5
{
width
:
32%
!important
;
}
.right
.btn5
{
width
:
20%
!important
;
}
.right
{
line-height
:
36px
;
width
:
560px
;
}
.btn_2
{
width
:
60px
;
display
:
inline-block
;
height
:
26px
;
padding
:
3px
6px
}
.edit_new
{
float
:
right
;
margin-bottom
:
5px
;
margin-top
:
-10px
;
}
.form-control-one
{
display
:
inline-block
;
width
:
40%
;
}
#form_search
{
line-height
:
48px
;
}
.modal-body-two
{
height
:
500px
;
overflow-y
:
scroll
;
}
.clear
{
clear
:
both
;
}
.left-deal
{
float
:
left
;
}
.clear
div
{
clear
:
both
;
}
.right-data
{
float
:
right
;
}
.right-date
{
margin-left
:
130px
;
}
.Tswitch_three
.btn_2
{
width
:
80px
;
}
/*输入框自定义样式*/
.input-box-0521-par
{
float
:
left
;
width
:
100%
;
overflow
:
hidden
;
clear
:
both
;
}
.input-box-0521
{
overflow
:
hidden
;
}
.input-box-0521
>
label
{
float
:
left
;
}
.input-box-0521
>
label
:nth-of-type
(
2
)
{
margin-left
:
50px
;
}
.input-box-0521
>
div
{
float
:
left
;
width
:
160px
;
}
.input-box-0521
>
mark
{
float
:
left
;
overflow
:
hidden
;
background-color
:
transparent
;
padding-top
:
5px
;
padding-left
:
10px
;
}
.input-box-0521
>
mark
>
img
{
float
:
left
;
width
:
20px
;
}
#input_yongjin_add_btn
{
width
:
100%
;
margin-bottom
:
20px
;
}
#input_yongjin_add_btn
>
img
{
display
:
block
;
margin
:
0
auto
;
}
.modal-dialog-0522
{
width
:
1030px
;
}
.shuifee-table
{
width
:
600px
;
}
.shuifee-table
td
{
border
:
1px
solid
#000
;
line-height
:
36px
;
text-align
:
center
;
}
.shuifei-main-box
{
margin-top
:
30px
;
}
.shuifei-main-box
>
section
{
overflow
:
hidden
;
}
.shuifei-main-box
>
section
+
section
{
margin-top
:
20px
;
}
.shuifei-main-box
>
section
>
div
{
float
:
left
;
}
.shuifei-main-box
>
section
>
div
:nth-of-type
(
2
)
{
padding-left
:
30px
;
padding-top
:
50px
;
}
public/resource/js/main.js
View file @
b20f8017
...
@@ -7,6 +7,7 @@ require.config ({
...
@@ -7,6 +7,7 @@ require.config ({
'app'
:
'js'
,
'app'
:
'js'
,
'jquery'
:
'lib/js/jquery-2.0.3.min'
,
'jquery'
:
'lib/js/jquery-2.0.3.min'
,
'axios'
:
'lib/js/axios.min'
,
'axios'
:
'lib/js/axios.min'
,
'layer'
:
'lib/js/layer'
,
'temp'
:
(
location
.
origin
||
location
.
protocol
+
'//'
+
location
.
hostname
+
(
location
.
port
==
80
?
''
:
':'
+
location
.
port
))
+
'/resource/template'
,
'temp'
:
(
location
.
origin
||
location
.
protocol
+
'//'
+
location
.
hostname
+
(
location
.
port
==
80
?
''
:
':'
+
location
.
port
))
+
'/resource/template'
,
'style'
:
'css'
,
'style'
:
'css'
,
'doT'
:
'lib/js/doT'
,
'doT'
:
'lib/js/doT'
,
...
@@ -50,6 +51,10 @@ require.config ({
...
@@ -50,6 +51,10 @@ require.config ({
'deps'
:
[
'jquery'
],
'deps'
:
[
'jquery'
],
'exports'
:
'blow-up'
'exports'
:
'blow-up'
},
},
'layer'
:
{
'deps'
:
[
'css!lib/js/need/layer.css'
],
'exports'
:
'layer'
},
},
},
'map'
:
{
'map'
:
{
...
@@ -61,4 +66,4 @@ require.config ({
...
@@ -61,4 +66,4 @@ require.config ({
}
}
});
});
require
([
'require'
,
'jquery'
,
'doT'
,
'app/public'
,
"datetimepicker"
,
'bootstrapJs'
,
'pagination'
,
'paginationStart'
]);
require
([
'require'
,
'jquery'
,
'doT'
,
'layer'
,
'app/public'
,
"datetimepicker"
,
'bootstrapJs'
,
'pagination'
,
'paginationStart'
]);
public/resource/js/public.js
View file @
b20f8017
define
([
'doT'
,
'jquery'
,
'text!temp/menu_template_tpl.html'
],
function
(
doT
,
$
,
template
)
{
define
([
'doT'
,
'jquery'
,
'text!temp/menu_template_tpl.html'
,
'layer'
],
function
(
doT
,
$
,
template
,
layer
)
{
var
init
=
{
var
init
=
{
doTinit
:
function
()
{
doTinit
:
function
()
{
doT
.
templateSettings
=
{
doT
.
templateSettings
=
{
...
@@ -79,6 +80,8 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html'], function (doT, $,t
...
@@ -79,6 +80,8 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html'], function (doT, $,t
_this
.
addClass
(
'active-main-li'
).
siblings
().
removeClass
(
'active-main-li'
);
_this
.
addClass
(
'active-main-li'
).
siblings
().
removeClass
(
'active-main-li'
);
});
});
layerTipsX
=
function
(
n
){
layer
.
open
({
content
:
n
,
skin
:
"msg"
,
time
:
2
})};
//注册一个layer自定义全局函数
});
});
function
getUrlParam
(
name
)
{
function
getUrlParam
(
name
)
{
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
...
@@ -87,7 +90,6 @@ function getUrlParam(name) {
...
@@ -87,7 +90,6 @@ function getUrlParam(name) {
return
null
;
return
null
;
}
}
//字符串格式化
//字符串格式化
String
.
prototype
.
stringFormat
=
function
(){
String
.
prototype
.
stringFormat
=
function
(){
var
formatted
=
this
;
var
formatted
=
this
;
...
...
public/resource/js/reportList.js
View file @
b20f8017
define
([
'doT'
,
'text!temp/reportList_template_tpl.html'
,
'
css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
)
{
define
([
'doT'
,
'text!temp/reportList_template_tpl.html'
,
'
text!temp/reportList_shuiFee_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template2
)
{
bargain
=
{
bargain
=
{
pageNo
:
1
,
pageNo
:
1
,
/*第几页*/
/*第几页*/
...
@@ -6,14 +6,12 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -6,14 +6,12 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
/*每页显示多少条*/
/*每页显示多少条*/
id
:
''
,
id
:
''
,
bargain_id
:
''
,
bargain_id
:
''
,
type
:
''
,
valueCurrent
:
''
,
ajaxObj
:
''
,
stopstatus
:
true
,
stopstatus
:
true
,
boxphoto
:
''
,
boxphoto
:
''
,
init
:
function
()
{
init
:
function
()
{
//初始化dot
//初始化dot
$
(
document
.
body
).
append
(
template
);
$
(
document
.
body
).
append
(
template
);
$
(
document
.
body
).
append
(
template2
);
bargain
.
getList
(
0
);
bargain
.
getList
(
0
);
bargain
.
event
();
bargain
.
event
();
},
},
...
@@ -39,18 +37,19 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -39,18 +37,19 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
e
.
stopPropagation
();
e
.
stopPropagation
();
bargain
.
Cashier
(
1
);
//结单搜索
bargain
.
Cashier
(
1
);
//结单搜索
});
});
$
(
"#reset"
).
click
(
function
()
{
//重置
$
(
"#reset"
).
click
(
function
()
{
//重置
document
.
getElementById
(
"form_search"
).
reset
();
document
.
getElementById
(
"form_search"
).
reset
();
});
});
_doc
.
delegate
(
".timeline"
,
"click"
,
function
()
{
//时间轴
_doc
.
delegate
(
".timeline"
,
"click"
,
function
()
{
//时间轴
bargain
.
Timeline
();
bargain
.
Timeline
();
});
});
_doc
.
delegate
(
".edit"
,
"click"
,
function
()
{
//点击编辑
_doc
.
on
(
'click'
,
'.details-btn'
,
function
()
{
//点击获取报告详情
bargain
.
bargain_id
=
$
(
this
).
attr
(
"data-id"
);
bargain
.
bargain_id
=
$
(
this
).
attr
(
"data-id"
);
bargain
.
Edit
();
bargain
.
Edit
();
});
});
_doc
.
delegate
(
".is_pass"
,
"click"
,
function
()
{
//点击
编辑
_doc
.
delegate
(
".is_pass"
,
"click"
,
function
()
{
//点击
通过
bargain
.
bargain_id
=
$
(
this
).
attr
(
"data-id"
);
bargain
.
bargain_id
=
$
(
this
).
attr
(
"data-id"
);
});
});
...
@@ -63,7 +62,8 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -63,7 +62,8 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
});
});
_doc
.
delegate
(
"#records"
,
"click"
,
function
()
{
//点击收款记录
_doc
.
delegate
(
"#records"
,
"click"
,
function
()
{
//点击收款记录
bargain
.
Records
();
//bargain.Records();
bargain
.
shuiFee
();
});
});
_doc
.
delegate
(
"#confirm_pass"
,
"click"
,
function
()
{
//点击通过按钮
_doc
.
delegate
(
"#confirm_pass"
,
"click"
,
function
()
{
//点击通过按钮
...
@@ -159,7 +159,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -159,7 +159,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
if
(
data
.
data
)
{
$
(
'#shop_type'
).
val
(
data
.
data
.
shop_type
);
$
(
'#shop_type'
).
html
(
data
.
data
.
shop_type
==
'1'
?
'街铺'
:
'商场'
);
$
(
'#is_open'
).
val
(
data
.
data
.
is_open
);
$
(
'#is_open'
).
val
(
data
.
data
.
is_open
);
$
(
'#note_content'
).
val
(
data
.
data
.
content
);
$
(
'#note_content'
).
val
(
data
.
data
.
content
);
$
(
".user_phone"
).
html
(
data
.
data
.
user_phone
);
$
(
".user_phone"
).
html
(
data
.
data
.
user_phone
);
...
@@ -205,7 +205,6 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -205,7 +205,6 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
};
};
$
.
each
(
$
(
'.input-box-0521'
),
function
(
i
,
v
)
{
$
.
each
(
$
(
'.input-box-0521'
),
function
(
i
,
v
)
{
var
_tempData
=
{
var
_tempData
=
{
// 'fee_id': 0,
'fee'
:
$
.
trim
(
$
(
v
).
find
(
'input'
).
eq
(
0
).
val
()),
'fee'
:
$
.
trim
(
$
(
v
).
find
(
'input'
).
eq
(
0
).
val
()),
'operation_date'
:
$
.
trim
(
$
(
v
).
find
(
'input'
).
eq
(
1
).
val
())
'operation_date'
:
$
.
trim
(
$
(
v
).
find
(
'input'
).
eq
(
1
).
val
())
};
};
...
@@ -265,7 +264,6 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -265,7 +264,6 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
}
}
});
});
},
},
Caozuo
:
function
()
{
//分佣提成数据
Caozuo
:
function
()
{
//分佣提成数据
$
.
ajax
({
$
.
ajax
({
'type'
:
'GET'
,
'type'
:
'GET'
,
...
@@ -297,6 +295,46 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -297,6 +295,46 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
});
});
},
},
// 收款记录
// 收款记录
shuiFee
:
function
()
{
$
(
".Tswitch:nth-of-type(3)"
).
show
().
siblings
().
hide
();
$
(
"#information"
).
removeClass
(
"btn-info"
);
$
(
"#information"
).
addClass
(
"btn-default"
);
$
(
"#fees"
).
removeClass
(
"btn-info"
);
$
(
"#fees"
).
addClass
(
"btn-default"
);
$
(
"#records"
).
removeClass
(
"btn-default"
);
$
(
"#records"
).
addClass
(
"btn-info"
);
$
.
ajax
({
type
:
'GET'
,
url
:
'/index/getTallAge'
,
data
:
{
'bargain_id'
:
bargain
.
bargain_id
},
timeout
:
30000
,
dataType
:
'json'
,
beforeSend
:
function
()
{},
success
:
function
(
_data
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'reportList_shuiFee_list_tpl'
).
innerHTML
);
$
(
"#shuifei_main_box"
).
html
(
doTtmpl
(
_data
.
data
));
}
else
{
layerTipsX
(
_data
[
'msg'
]);
}
}
else
{
layerTipsX
(
'数据错误'
);
};
},
error
:
function
()
{
layerTipsX
(
'enter error'
);
},
complete
:
function
(
xhr
,
textStatus
){
if
(
textStatus
===
'timeout'
)
{
//处理超时的逻辑
layerTipsX
(
'请求超时,请重试'
);
};
}
});
},
Records
:
function
()
{
//分佣提成数据
Records
:
function
()
{
//分佣提成数据
$
(
".Tswitch"
).
eq
(
0
).
hide
();
$
(
".Tswitch"
).
eq
(
0
).
hide
();
$
(
".Tswitch"
).
eq
(
1
).
hide
();
$
(
".Tswitch"
).
eq
(
1
).
hide
();
...
...
public/resource/lib/js/layer.js
0 → 100644
View file @
b20f8017
/*! layer mobile-v2.0 弹层组件移动版 License LGPL http://layer.layui.com/mobile By 贤心 */
;
!
function
(
a
){
"use strict"
;
var
b
=
document
,
c
=
"querySelectorAll"
,
d
=
"getElementsByClassName"
,
e
=
function
(
a
){
return
b
[
c
](
a
)},
f
=
{
type
:
0
,
shade
:
!
0
,
shadeClose
:
!
0
,
fixed
:
!
0
,
anim
:
"scale"
},
g
=
{
extend
:
function
(
a
){
var
b
=
JSON
.
parse
(
JSON
.
stringify
(
f
));
for
(
var
c
in
a
)
b
[
c
]
=
a
[
c
];
return
b
},
timer
:{},
end
:{}};
g
.
touch
=
function
(
a
,
b
){
a
.
addEventListener
(
"click"
,
function
(
a
){
b
.
call
(
this
,
a
)},
!
1
)};
var
h
=
0
,
i
=
[
"layui-m-layer"
],
j
=
function
(
a
){
var
b
=
this
;
b
.
config
=
g
.
extend
(
a
),
b
.
view
()};
j
.
prototype
.
view
=
function
(){
var
a
=
this
,
c
=
a
.
config
,
f
=
b
.
createElement
(
"div"
);
a
.
id
=
f
.
id
=
i
[
0
]
+
h
,
f
.
setAttribute
(
"class"
,
i
[
0
]
+
" "
+
i
[
0
]
+
(
c
.
type
||
0
)),
f
.
setAttribute
(
"index"
,
h
);
var
g
=
function
(){
var
a
=
"object"
==
typeof
c
.
title
;
return
c
.
title
?
'<h3 style="'
+
(
a
?
c
.
title
[
1
]:
""
)
+
'">'
+
(
a
?
c
.
title
[
0
]:
c
.
title
)
+
"</h3>"
:
""
}(),
j
=
function
(){
"string"
==
typeof
c
.
btn
&&
(
c
.
btn
=
[
c
.
btn
]);
var
a
,
b
=
(
c
.
btn
||
[]).
length
;
return
0
!==
b
&&
c
.
btn
?(
a
=
'<span yes type="1">'
+
c
.
btn
[
0
]
+
"</span>"
,
2
===
b
&&
(
a
=
'<span no type="0">'
+
c
.
btn
[
1
]
+
"</span>"
+
a
),
'<div class="layui-m-layerbtn">'
+
a
+
"</div>"
):
""
}();
if
(
c
.
fixed
||
(
c
.
top
=
c
.
hasOwnProperty
(
"top"
)?
c
.
top
:
100
,
c
.
style
=
c
.
style
||
""
,
c
.
style
+=
" top:"
+
(
b
.
body
.
scrollTop
+
c
.
top
)
+
"px"
),
2
===
c
.
type
&&
(
c
.
content
=
'<i></i><i class="layui-m-layerload"></i><i></i><p>'
+
(
c
.
content
||
""
)
+
"</p>"
),
c
.
skin
&&
(
c
.
anim
=
"up"
),
"msg"
===
c
.
skin
&&
(
c
.
shade
=!
1
),
f
.
innerHTML
=
(
c
.
shade
?
"<div "
+
(
"string"
==
typeof
c
.
shade
?
'style="'
+
c
.
shade
+
'"'
:
""
)
+
' class="layui-m-layershade"></div>'
:
""
)
+
'<div class="layui-m-layermain" '
+
(
c
.
fixed
?
""
:
'style="position:static;"'
)
+
'><div class="layui-m-layersection"><div class="layui-m-layerchild '
+
(
c
.
skin
?
"layui-m-layer-"
+
c
.
skin
+
" "
:
""
)
+
(
c
.
className
?
c
.
className
:
""
)
+
" "
+
(
c
.
anim
?
"layui-m-anim-"
+
c
.
anim
:
""
)
+
'" '
+
(
c
.
style
?
'style="'
+
c
.
style
+
'"'
:
""
)
+
">"
+
g
+
'<div class="layui-m-layercont">'
+
c
.
content
+
"</div>"
+
j
+
"</div></div></div>"
,
!
c
.
type
||
2
===
c
.
type
){
var
k
=
b
[
d
](
i
[
0
]
+
c
.
type
),
l
=
k
.
length
;
l
>=
1
&&
layer
.
close
(
k
[
0
].
getAttribute
(
"index"
))}
document
.
body
.
appendChild
(
f
);
var
m
=
a
.
elem
=
e
(
"#"
+
a
.
id
)[
0
];
c
.
success
&&
c
.
success
(
m
),
a
.
index
=
h
++
,
a
.
action
(
c
,
m
)},
j
.
prototype
.
action
=
function
(
a
,
b
){
var
c
=
this
;
a
.
time
&&
(
g
.
timer
[
c
.
index
]
=
setTimeout
(
function
(){
layer
.
close
(
c
.
index
)},
1
e3
*
a
.
time
));
var
e
=
function
(){
var
b
=
this
.
getAttribute
(
"type"
);
0
==
b
?(
a
.
no
&&
a
.
no
(),
layer
.
close
(
c
.
index
)):
a
.
yes
?
a
.
yes
(
c
.
index
):
layer
.
close
(
c
.
index
)};
if
(
a
.
btn
)
for
(
var
f
=
b
[
d
](
"layui-m-layerbtn"
)[
0
].
children
,
h
=
f
.
length
,
i
=
0
;
h
>
i
;
i
++
)
g
.
touch
(
f
[
i
],
e
);
if
(
a
.
shade
&&
a
.
shadeClose
){
var
j
=
b
[
d
](
"layui-m-layershade"
)[
0
];
g
.
touch
(
j
,
function
(){
layer
.
close
(
c
.
index
,
a
.
end
)})}
a
.
end
&&
(
g
.
end
[
c
.
index
]
=
a
.
end
)},
a
.
layer
=
{
v
:
"2.0"
,
index
:
h
,
open
:
function
(
a
){
var
b
=
new
j
(
a
||
{});
return
b
.
index
},
close
:
function
(
a
){
var
c
=
e
(
"#"
+
i
[
0
]
+
a
)[
0
];
c
&&
(
c
.
innerHTML
=
""
,
b
.
body
.
removeChild
(
c
),
clearTimeout
(
g
.
timer
[
a
]),
delete
g
.
timer
[
a
],
"function"
==
typeof
g
.
end
[
a
]
&&
g
.
end
[
a
](),
delete
g
.
end
[
a
])},
closeAll
:
function
(){
for
(
var
a
=
b
[
d
](
i
[
0
]),
c
=
0
,
e
=
a
.
length
;
e
>
c
;
c
++
)
layer
.
close
(
0
|
a
[
0
].
getAttribute
(
"index"
))}},
"function"
==
typeof
define
?
define
(
function
(){
return
layer
}):
function
(){
var
a
=
document
.
scripts
,
c
=
a
[
a
.
length
-
1
],
d
=
c
.
src
,
e
=
d
.
substring
(
0
,
d
.
lastIndexOf
(
"/"
)
+
1
);
c
.
getAttribute
(
"merge"
)
||
document
.
head
.
appendChild
(
function
(){
var
a
=
b
.
createElement
(
"link"
);
return
a
.
href
=
e
+
"need/layer.css?2.0"
,
a
.
type
=
"text/css"
,
a
.
rel
=
"styleSheet"
,
a
.
id
=
"layermcss"
,
a
}())}()}(
window
);
\ No newline at end of file
public/resource/lib/js/need/layer.css
0 → 100644
View file @
b20f8017
.layui-m-layer
{
position
:
relative
;
z-index
:
19891014
}
.layui-m-layer
*
{
-webkit-box-sizing
:
content-box
;
-moz-box-sizing
:
content-box
;
box-sizing
:
content-box
}
.layui-m-layermain
,
.layui-m-layershade
{
position
:
fixed
;
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
100%
}
.layui-m-layershade
{
background-color
:
rgba
(
0
,
0
,
0
,
.7
);
pointer-events
:
auto
}
.layui-m-layermain
{
display
:
table
;
font-family
:
Helvetica
,
arial
,
sans-serif
;
pointer-events
:
none
}
.layui-m-layermain
.layui-m-layersection
{
display
:
table-cell
;
vertical-align
:
middle
;
text-align
:
center
}
.layui-m-layerchild
{
position
:
relative
;
display
:
inline-block
;
text-align
:
left
;
background-color
:
#fff
;
font-size
:
14px
;
border-radius
:
5px
;
box-shadow
:
0
0
8px
rgba
(
0
,
0
,
0
,
.1
);
pointer-events
:
auto
;
-webkit-overflow-scrolling
:
touch
;
-webkit-animation-fill-mode
:
both
;
animation-fill-mode
:
both
;
-webkit-animation-duration
:
.2s
;
animation-duration
:
.2s
}
@-webkit-keyframes
layui-m-anim-scale
{
0
%
{
opacity
:
0
;
-webkit-transform
:
scale
(
.5
);
transform
:
scale
(
.5
)}
100
%
{
opacity
:
1
;
-webkit-transform
:
scale
(
1
);
transform
:
scale
(
1
)}}
@keyframes
layui-m-anim-scale
{
0
%
{
opacity
:
0
;
-webkit-transform
:
scale
(
.5
);
transform
:
scale
(
.5
)}
100
%
{
opacity
:
1
;
-webkit-transform
:
scale
(
1
);
transform
:
scale
(
1
)}}
.layui-m-anim-scale
{
animation-name
:
layui-m-anim-scale
;
-webkit-animation-name
:
layui-m-anim-scale
}
@-webkit-keyframes
layui-m-anim-up
{
0
%
{
opacity
:
0
;
-webkit-transform
:
translateY
(
800px
);
transform
:
translateY
(
800px
)}
100
%
{
opacity
:
1
;
-webkit-transform
:
translateY
(
0
);
transform
:
translateY
(
0
)}}
@keyframes
layui-m-anim-up
{
0
%
{
opacity
:
0
;
-webkit-transform
:
translateY
(
800px
);
transform
:
translateY
(
800px
)}
100
%
{
opacity
:
1
;
-webkit-transform
:
translateY
(
0
);
transform
:
translateY
(
0
)}}
.layui-m-anim-up
{
-webkit-animation-name
:
layui-m-anim-up
;
animation-name
:
layui-m-anim-up
}
.layui-m-layer0
.layui-m-layerchild
{
width
:
90%
;
max-width
:
640px
}
.layui-m-layer1
.layui-m-layerchild
{
border
:
none
;
border-radius
:
0
}
.layui-m-layer2
.layui-m-layerchild
{
width
:
auto
;
max-width
:
260px
;
min-width
:
40px
;
border
:
none
;
background
:
0
0
;
box-shadow
:
none
;
color
:
#fff
}
.layui-m-layerchild
h3
{
padding
:
0
10px
;
height
:
60px
;
line-height
:
60px
;
font-size
:
16px
;
font-weight
:
400
;
border-radius
:
5px
5px
0
0
;
text-align
:
center
}
.layui-m-layerbtn
span
,
.layui-m-layerchild
h3
{
text-overflow
:
ellipsis
;
overflow
:
hidden
;
white-space
:
nowrap
}
.layui-m-layercont
{
padding
:
50px
30px
;
line-height
:
22px
;
text-align
:
center
}
.layui-m-layer1
.layui-m-layercont
{
padding
:
0
;
text-align
:
left
}
.layui-m-layer2
.layui-m-layercont
{
text-align
:
center
;
padding
:
0
;
line-height
:
0
}
.layui-m-layer2
.layui-m-layercont
i
{
width
:
25px
;
height
:
25px
;
margin-left
:
8px
;
display
:
inline-block
;
background-color
:
#fff
;
border-radius
:
100%
;
-webkit-animation
:
layui-m-anim-loading
1.4s
infinite
ease-in-out
;
animation
:
layui-m-anim-loading
1.4s
infinite
ease-in-out
;
-webkit-animation-fill-mode
:
both
;
animation-fill-mode
:
both
}
.layui-m-layerbtn
,
.layui-m-layerbtn
span
{
position
:
relative
;
text-align
:
center
;
border-radius
:
0
0
5px
5px
}
.layui-m-layer2
.layui-m-layercont
p
{
margin-top
:
20px
}
@-webkit-keyframes
layui-m-anim-loading
{
0
%,
100
%,
80
%
{
transform
:
scale
(
0
);
-webkit-transform
:
scale
(
0
)}
40
%
{
transform
:
scale
(
1
);
-webkit-transform
:
scale
(
1
)}}
@keyframes
layui-m-anim-loading
{
0
%,
100
%,
80
%
{
transform
:
scale
(
0
);
-webkit-transform
:
scale
(
0
)}
40
%
{
transform
:
scale
(
1
);
-webkit-transform
:
scale
(
1
)}}
.layui-m-layer2
.layui-m-layercont
i
:first-child
{
margin-left
:
0
;
-webkit-animation-delay
:
-.32s
;
animation-delay
:
-.32s
}
.layui-m-layer2
.layui-m-layercont
i
.layui-m-layerload
{
-webkit-animation-delay
:
-.16s
;
animation-delay
:
-.16s
}
.layui-m-layer2
.layui-m-layercont
>
div
{
line-height
:
22px
;
padding-top
:
7px
;
margin-bottom
:
20px
;
font-size
:
14px
}
.layui-m-layerbtn
{
display
:
box
;
display
:
-moz-box
;
display
:
-webkit-box
;
width
:
100%
;
height
:
50px
;
line-height
:
50px
;
font-size
:
0
;
border-top
:
1px
solid
#D0D0D0
;
background-color
:
#F2F2F2
}
.layui-m-layerbtn
span
{
display
:
block
;
-moz-box-flex
:
1
;
box-flex
:
1
;
-webkit-box-flex
:
1
;
font-size
:
14px
;
cursor
:
pointer
}
.layui-m-layerbtn
span
[
yes
]
{
color
:
#40AFFE
}
.layui-m-layerbtn
span
[
no
]
{
border-right
:
1px
solid
#D0D0D0
;
border-radius
:
0
0
0
5px
}
.layui-m-layerbtn
span
:active
{
background-color
:
#F6F6F6
}
.layui-m-layerend
{
position
:
absolute
;
right
:
7px
;
top
:
10px
;
width
:
30px
;
height
:
30px
;
border
:
0
;
font-weight
:
400
;
background
:
0
0
;
cursor
:
pointer
;
-webkit-appearance
:
none
;
font-size
:
30px
}
.layui-m-layerend
::after
,
.layui-m-layerend
::before
{
position
:
absolute
;
left
:
5px
;
top
:
15px
;
content
:
''
;
width
:
18px
;
height
:
1px
;
background-color
:
#999
;
transform
:
rotate
(
45deg
);
-webkit-transform
:
rotate
(
45deg
);
border-radius
:
3px
}
.layui-m-layerend
::after
{
transform
:
rotate
(
-45deg
);
-webkit-transform
:
rotate
(
-45deg
)}
body
.layui-m-layer
.layui-m-layer-footer
{
position
:
fixed
;
width
:
95%
;
max-width
:
100%
;
margin
:
0
auto
;
left
:
0
;
right
:
0
;
bottom
:
10px
;
background
:
0
0
}
.layui-m-layer-footer
.layui-m-layercont
{
padding
:
20px
;
border-radius
:
5px
5px
0
0
;
background-color
:
rgba
(
255
,
255
,
255
,
.8
)}
.layui-m-layer-footer
.layui-m-layerbtn
{
display
:
block
;
height
:
auto
;
background
:
0
0
;
border-top
:
none
}
.layui-m-layer-footer
.layui-m-layerbtn
span
{
background-color
:
rgba
(
255
,
255
,
255
,
.8
)}
.layui-m-layer-footer
.layui-m-layerbtn
span
[
no
]
{
color
:
#FD482C
;
border-top
:
1px
solid
#c2c2c2
;
border-radius
:
0
0
5px
5px
}
.layui-m-layer-footer
.layui-m-layerbtn
span
[
yes
]
{
margin-top
:
10px
;
border-radius
:
5px
}
body
.layui-m-layer
.layui-m-layer-msg
{
width
:
auto
;
max-width
:
90%
;
margin
:
0
auto
;
bottom
:
-150px
;
background-color
:
rgba
(
0
,
0
,
0
,
.7
);
color
:
#fff
}
.layui-m-layer-msg
.layui-m-layercont
{
padding
:
10px
20px
}
\ No newline at end of file
public/resource/template/reportList_shuiFee_template_tpl.html
0 → 100644
View file @
b20f8017
<script
id=
"reportList_shuiFee_list_tpl"
type=
"text/template"
>
[
%
if
(
it
&&
it
.
length
&&
it
.
length
>
0
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
section
>
<
div
>
<
table
class
=
"shuifee-table"
>
<
tr
>
<
td
>
开票金额
<
/td
>
<
td
>
[
%=
it
[
item
][
'operation_date'
]
%
]
<
/td
>
<
td
>
开票日期
<
/td
>
<
td
>
[
%=
it
[
item
][
'operation_date'
]
%
]
<
/td
>
<
/tr
>
<
tr
>
<
td
>
分佣方
<
/td
>
<
td
>
业务员
<
/td
>
<
td
>
分佣比例
<
/td
>
<
td
>
税费
<
/td
>
<
/tr
>
<
tr
>
<
td
>
盘方
<
/td
>
<
td
>
[
%=
it
[
item
][
'name'
]
+
'-'
+
it
[
item
][
'phone'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'scale'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'fee'
]
%
]
<
/td
>
<
/tr
>
<
tr
>
<
td
>
客方
<
/td
>
<
td
>
[
%=
it
[
item
][
'name'
]
+
'-'
+
it
[
item
][
'phone'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'scale'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'fee'
]
%
]
<
/td
>
<
/tr
>
<
/table
>
<
/div
>
<
div
>
<
button
>
编辑
<
/button
>
<
/div
>
<
/section
>
[
%
}
%
]
[
%
}
else
{
%
]
<
section
>
暂无数据
<
/section
>
[
%
}
%
]
</script>
public/resource/template/reportList_template_tpl.html
View file @
b20f8017
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<
td
>
[
%=
it
[
item
][
'practical_fee'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'practical_fee'
]
%
]
<
/td
>
<
td
>
<
td
>
[
%
if
(
check_auth
(
'index/bargainInfo'
))
{
%
]
[
%
if
(
check_auth
(
'index/bargainInfo'
))
{
%
]
<
a
class
=
"btn1 btn-success
edit
"
href
=
"#modal-edit"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
<
/a
>
<
a
class
=
"btn1 btn-success
details-btn
"
href
=
"#modal-edit"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
<
/a
>
[
%
}
%
]
[
%
}
%
]
[
%
if
(
check_auth
(
'index/checkReportAttache/0'
)
||
check_auth
(
'index/checkReportManager/1'
)
||
check_auth
(
'index/checkReportMajordomo/2'
)
||
check_auth
(
'index/checkReportCashier/3'
))
{
%
]
[
%
if
(
check_auth
(
'index/checkReportAttache/0'
)
||
check_auth
(
'index/checkReportManager/1'
)
||
check_auth
(
'index/checkReportMajordomo/2'
)
||
check_auth
(
'index/checkReportCashier/3'
))
{
%
]
<
a
class
=
"btn1 btn-success is_pass"
href
=
"#modal-pass"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
通过
<
/a
>
<
a
class
=
"btn1 btn-success is_pass"
href
=
"#modal-pass"
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