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
c88ec277
Commit
c88ec277
authored
Jul 24, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店明细 费用报销
parent
74dd5ff4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
5 deletions
+13
-5
costDetails.html
application/index/view/cost/costDetails.html
+0
-0
publicCostDetails.html
application/index/view/cost/publicCostDetails.html
+3
-3
costDetails.js
public/resource/js/costDetails.js
+5
-0
publicCostDetails.js
public/resource/js/publicCostDetails.js
+4
-0
cost_details_template_tpl.html
public/resource/template/cost_details_template_tpl.html
+1
-2
No files found.
application/index/view/cost/costDetails.html
View file @
c88ec277
This diff is collapsed.
Click to expand it.
application/index/view/cost/publicCostDetails.html
View file @
c88ec277
...
...
@@ -107,7 +107,7 @@
</div>
<div
class=
"modal-footer pic-con1"
>
<button
type=
"button btn2"
class=
"btn btn-primary save_cost_pic"
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
class=
"modal-body modal-body-height pic-con2"
style=
"overflow: hidden;"
>
<form
class=
""
>
...
...
@@ -286,8 +286,8 @@
</form>
</div>
<div
class=
"modal-footer pic-con2"
>
<button
type=
"button btn2"
class=
"btn btn-primary save_cost"
id=
""
data-dismiss=
"modal"
>
保存
</button>
<button
type=
"button"
class=
"btn btn-primary pass_check"
href=
"#modal_pass"
data-toggle=
"modal"
style=
""
>
审核通过
</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>
</div>
</div>
<!-- /.modal-content -->
...
...
public/resource/js/costDetails.js
View file @
c88ec277
...
...
@@ -29,6 +29,11 @@ define(['doT', 'text!temp/cost_details_template_tpl.html', 'css!style/home.css',
$
(
document
).
on
(
'click'
,
'#export'
,
function
(
e
){
that
.
exportExcel
();
});
//点击详情
$
(
document
).
on
(
'click'
,
'.checkCost'
,
function
(
e
){
//点击审核按钮 调整审核页面
var
id
=
e
.
target
.
dataset
.
id
;
$
(
".publicCostDetails"
).
attr
(
'src'
,
'/index/publicCostDetails?cost_id='
+
id
+
'&is_self=2'
)
});
//费用类型切换
$
(
"#cost_type"
).
change
(
function
()
{
$
(
"#fee_item"
).
val
(
''
);
//置空费用项目
...
...
public/resource/js/publicCostDetails.js
View file @
c88ec277
...
...
@@ -296,6 +296,10 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
$
(
'.is_hide_pic'
).
hide
();
}
//is_self == 2 隐藏 保存 审核按钮
if
(
cost
.
is_self
==
2
){
$
(
'.is_hide_details'
).
hide
();
}
}
else
{
...
...
public/resource/template/cost_details_template_tpl.html
View file @
c88ec277
...
...
@@ -13,8 +13,7 @@
<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'assume_fee'
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-success is_del"
href
=
"#modal-del"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["cost_id"] %]'
>
详情
<
/a
>
<
a
class
=
"btn1 btn-success checkCost"
href
=
"#modal-addPic"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
status
=
'[%= it[item]["status"] %]'
>
审核
<
/a
>
<
/td
>
<
/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