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
386847de
Commit
386847de
authored
Jul 25, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
费用详情优化
parent
c6464c6a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
18 deletions
+22
-18
publicCostDetails.html
application/index/view/cost/publicCostDetails.html
+11
-7
costDetails.js
public/resource/js/costDetails.js
+3
-3
cost_check_template_tpl.html
public/resource/template/cost_check_template_tpl.html
+8
-8
No files found.
application/index/view/cost/publicCostDetails.html
View file @
386847de
{layout name="global/frame_two_tpl" /}
{layout name="global/frame_two_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"publicCostDetails"
/>
<input
type=
"hidden"
class=
"page-load"
id=
"publicCostDetails"
/>
<style>
<style>
.is_hide_details
{
.is_hide_details
{
display
:
none
;
display
:
none
;
}
}
...
@@ -96,6 +97,7 @@
...
@@ -96,6 +97,7 @@
<h4
class=
"modal-title tit_con active shoukuanxiangqing"
style=
"width:auto!important;float:left"
>
费用详情
</h4>
<h4
class=
"modal-title tit_con active shoukuanxiangqing"
style=
"width:auto!important;float:left"
>
费用详情
</h4>
<h4
class=
"modal-title tit_con"
style=
"width:auto!important;float:left;margin-left:20px;"
>
费用图片
</h4>
<h4
class=
"modal-title tit_con"
style=
"width:auto!important;float:left;margin-left:20px;"
>
费用图片
</h4>
</div>
</div>
<!--图片显示-->
<div
class=
"modal-body modal-body-height pic-con1"
style=
"overflow: hidden;"
>
<div
class=
"modal-body modal-body-height pic-con1"
style=
"overflow: hidden;"
>
<ul
class=
"list-group "
>
<ul
class=
"list-group "
>
<li
class=
"list-group-item"
>
<li
class=
"list-group-item"
>
...
@@ -110,10 +112,11 @@
...
@@ -110,10 +112,11 @@
</ul>
</ul>
</div>
</div>
<div
class=
"
modal-footer pic-con1
"
>
<div
class=
"
pic-con1"
style=
"text-align-last: right; margin-right: 20px;
"
>
<button
type=
"button btn2"
class=
"btn btn-primary save_cost_pic is_hide_details"
id=
""
data-dismiss=
"modal"
>
保存
</button>
<button
type=
"button btn2"
class=
"btn btn-primary save_cost_pic is_hide_details"
id=
""
data-dismiss=
"modal"
>
保
存
</button>
</div>
</div>
<div
class=
"modal-body modal-body-height pic-con2"
style=
"overflow: hidden;"
>
<!--费用详情-->
<div
class=
"modal-body modal-body-height pic-con2"
style=
"overflow:auto;height: 530px;"
>
<form
class=
""
>
<form
class=
""
>
<div
class=
"col-xs-12 margain-10"
>
<div
class=
"col-xs-12 margain-10"
>
<div
class=
"col-xs-6 is_hide_costID"
>
<div
class=
"col-xs-6 is_hide_costID"
>
...
@@ -265,7 +268,7 @@
...
@@ -265,7 +268,7 @@
<div
class=
"col-xs-12"
style=
"padding: 0 30px;"
>
<div
class=
"col-xs-12"
style=
"padding: 0 30px;"
>
<p
style=
"font-size: 16px;font-weight: 600;"
>
成本明细
</p>
<p
style=
"font-size: 16px;font-weight: 600;"
>
成本明细
</p>
<div
class=
""
>
<div
class=
""
>
<table
class=
"table"
>
<table
class=
"table"
style=
"margin-bottom: 6px;"
>
<tbody
class=
"text-left"
id=
"mingxi_list"
>
<tbody
class=
"text-left"
id=
"mingxi_list"
>
</tbody>
</tbody>
...
@@ -274,15 +277,15 @@
...
@@ -274,15 +277,15 @@
<p
style=
"font-size: 16px;font-weight: 600;"
>
审核记录
</p>
<p
style=
"font-size: 16px;font-weight: 600;"
>
审核记录
</p>
<!--费用报销 审核记录-->
<!--费用报销 审核记录-->
<div
class=
"check_jilu"
>
<div
class=
"check_jilu"
>
<table
class=
"table"
>
<table
class=
"table"
style=
"margin-bottom: 6px;"
>
<tbody
class=
"text-left"
id=
"check_list"
>
<tbody
class=
"text-left"
id=
"check_list"
>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<!--详情 审核记录-->
<!--详情 审核记录-->
<div
class=
"detail_jilu"
>
<div
class=
"detail_jilu"
>
</div>
</div>
<!--转账截图-->
<!--转账截图-->
...
@@ -301,10 +304,11 @@
...
@@ -301,10 +304,11 @@
</form>
</form>
</div>
</div>
<div
class=
"
modal-footer pic-con2
"
>
<div
class=
"
pic-con2"
style=
"text-align: right;
"
>
<button
type=
"button btn2"
class=
"btn btn-primary save_cost is_hide_details"
id=
""
data-dismiss=
"modal"
>
保存
</button>
<button
type=
"button btn2"
class=
"btn btn-primary save_cost is_hide_details"
id=
""
data-dismiss=
"modal"
>
保存
</button>
<button
type=
"button"
class=
"btn btn-primary pass_check is_hide_details"
href=
"#modal_pass"
data-toggle=
"modal"
style=
""
>
审核通过
</button>
<button
type=
"button"
class=
"btn btn-primary pass_check is_hide_details"
href=
"#modal_pass"
data-toggle=
"modal"
style=
""
>
审核通过
</button>
</div>
</div>
</div>
</div>
<!-- /.modal-content -->
<!-- /.modal-content -->
</div>
</div>
...
...
public/resource/js/costDetails.js
View file @
386847de
...
@@ -250,7 +250,7 @@ define(['doT', 'text!temp/cost_details_template_tpl.html', 'css!style/home.css',
...
@@ -250,7 +250,7 @@ define(['doT', 'text!temp/cost_details_template_tpl.html', 'css!style/home.css',
*/
*/
buildSearchParams
:
function
(
is_excel
){
buildSearchParams
:
function
(
is_excel
){
var
that
=
cost
;
var
that
=
cost
;
var
count_time
=
$
(
'#count_time'
).
val
()
+
'-01'
;
var
count_time
=
$
(
'#count_time'
).
val
();
var
create_time_start
=
$
(
'#create_time_start'
).
val
();
var
create_time_start
=
$
(
'#create_time_start'
).
val
();
var
create_time_end
=
$
(
'#create_time_end'
).
val
();
var
create_time_end
=
$
(
'#create_time_end'
).
val
();
var
cost_type
=
$
(
'#cost_type'
).
val
();
var
cost_type
=
$
(
'#cost_type'
).
val
();
...
@@ -264,8 +264,8 @@ define(['doT', 'text!temp/cost_details_template_tpl.html', 'css!style/home.css',
...
@@ -264,8 +264,8 @@ define(['doT', 'text!temp/cost_details_template_tpl.html', 'css!style/home.css',
var
params
=
{};
var
params
=
{};
var
paramsStr
=
""
;
var
paramsStr
=
""
;
if
(
count_time
)
{
if
(
count_time
)
{
params
.
setting_date
=
count_time
;
params
.
setting_date
=
count_time
+
'-01'
;
paramsStr
+=
"setting_date="
+
count_time
+
'&'
;
paramsStr
+=
"setting_date="
+
count_time
+
'-01'
+
'&'
;
}
}
if
(
create_time_start
)
{
if
(
create_time_start
)
{
params
.
start_time
=
create_time_start
;
params
.
start_time
=
create_time_start
;
...
...
public/resource/template/cost_check_template_tpl.html
View file @
386847de
...
@@ -75,14 +75,14 @@
...
@@ -75,14 +75,14 @@
[
%
if
(
it
&&
it
.
length
)
{
%
]
[
%
if
(
it
&&
it
.
length
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-left"
>
<
tr
class
=
"text-left"
>
<
td
style
=
"border: 0;"
>
成本明细
ID
:
[
%=
it
[
item
][
'id'
]
%
]
<
td
style
=
"border: 0;
padding: 2px;
"
>
成本明细
ID
:
[
%=
it
[
item
][
'id'
]
%
]
费用承担门店:
[
%=
it
[
item
][
'store_name'
]
%
]
([
%=
it
[
item
][
'store_attendance_num'
]
%
])
人
费用承担门店:
[
%=
it
[
item
][
'store_name'
]
%
]
([
%=
it
[
item
][
'store_attendance_num'
]
%
])
人
费用承担金额:
[
%=
it
[
item
][
'assume_fee'
]
%
]
元
<
/td
>
费用承担金额:
[
%=
it
[
item
][
'assume_fee'
]
%
]
元
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
[
%
}
else
{
%
]
[
%
}
else
{
%
]
<
tr
>
<
tr
>
<
td
colspan
=
"15"
style
=
"text-align:left;border: 0;"
>
暂无数据
<
/td
>
<
td
colspan
=
"15"
style
=
"text-align:left;border: 0;
padding: 0px;
"
>
暂无数据
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
</script>
</script>
...
@@ -91,13 +91,12 @@
...
@@ -91,13 +91,12 @@
[
%
if
(
it
&&
it
.
length
)
{
%
]
[
%
if
(
it
&&
it
.
length
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-left"
>
<
tr
class
=
"text-left"
>
<
td
style
=
"border: 0;"
>
[
%=
it
[
item
][
'name'
]
%
]
[
%=
it
[
item
][
'create_time'
]
%
]
备注:
[
%=
it
[
item
][
'remark'
]
%
]
<
/td
>
<
td
style
=
"border: 0;padding: 2px;"
>
[
%=
it
[
item
][
'name'
]
%
]
[
%=
it
[
item
][
'create_time'
]
%
]
备注:
[
%=
it
[
item
][
'remark'
]
%
]
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
[
%
}
else
{
%
]
[
%
}
else
{
%
]
<
tr
>
<
tr
>
<
td
colspan
=
"15"
style
=
"text-align:left;border: 0;"
>
暂无数据
<
/td
>
<
td
colspan
=
"15"
style
=
"text-align:left;border: 0;
padding: 0px;
"
>
暂无数据
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
</script>
</script>
...
@@ -105,14 +104,15 @@
...
@@ -105,14 +104,15 @@
<script
id=
"checkPic_template_tpl"
type=
"text/template"
>
<script
id=
"checkPic_template_tpl"
type=
"text/template"
>
[
%
if
(
it
&&
it
.
length
)
{
%
]
[
%
if
(
it
&&
it
.
length
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
[
%
if
(
it
[
item
][
"img_type"
]
==
2
)
{
%
]
<
tr
class
=
"text-left"
>
<
tr
class
=
"text-left"
>
<
td
style
=
"border: 0;"
>
<
td
style
=
"border: 0;"
>
[
%
if
(
it
[
item
][
"img_type"
]
==
2
)
{
%
]
<
img
style
=
"width: 100px;height: 100px;"
src
=
'[%= ServerHostImageLiu + "/static/chat_image/" + it[item]["img_name"] %]'
class
=
"diagram-image J_preview"
>
<
img
style
=
"width: 100px;height: 100px;"
src
=
'[%= ServerHostImageLiu + "/static/chat_image/" + it[item]["img_name"] %]'
class
=
"diagram-image J_preview"
>
[
%
}
%
]
<
/td
>
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
[
%
}
%
]
[
%
}
else
{
%
]
[
%
}
else
{
%
]
<
tr
>
<
tr
>
...
...
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