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
a202339c
Commit
a202339c
authored
Jul 24, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
1019f682
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
6 deletions
+16
-6
costCheck.html
application/index/view/cost/costCheck.html
+4
-4
costCheck.js
public/resource/js/costCheck.js
+11
-1
publicCostDetails.js
public/resource/js/publicCostDetails.js
+1
-1
No files found.
application/index/view/cost/costCheck.html
View file @
a202339c
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
}
}
#container_body_img_area
>
div
,
#container_body_img_area2
>
div
{
#container_body_img_area
>
div
,
#container_body_img_area2
>
div
{
float
:
left
;
float
:
left
;
width
:
21
6px
;
width
:
13
6px
;
}
}
.active
{
.active
{
color
:
dodgerblue
;
color
:
dodgerblue
;
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
.img-pre-ul
>
li
{
.img-pre-ul
>
li
{
list-style
:
no
;
list-style
:
no
;
float
:
left
;
float
:
left
;
width
:
2
10px
;
width
:
1
10px
;
height
:
170px
;
height
:
170px
;
overflow
:
hidden
;
overflow
:
hidden
;
margin-right
:
10px
;
margin-right
:
10px
;
...
@@ -83,8 +83,8 @@
...
@@ -83,8 +83,8 @@
display
:
none
!important
;
display
:
none
!important
;
}
}
.result
>
img
,
.result2
>
img
{
.result
>
img
,
.result2
>
img
{
width
:
12
0px
;
width
:
8
0px
;
height
:
12
0px
;
height
:
8
0px
;
margin-top
:
8px
;
margin-top
:
8px
;
}
}
#container_body
{
#container_body
{
...
...
public/resource/js/costCheck.js
View file @
a202339c
...
@@ -80,6 +80,15 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
...
@@ -80,6 +80,15 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
$
(
document
).
on
(
'click'
,
'#reset'
,
function
(
e
){
$
(
document
).
on
(
'click'
,
'#reset'
,
function
(
e
){
that
.
resetAll
();
that
.
resetAll
();
});
});
//新增报销图片删除
_doc
.
on
(
'click'
,
'.span-del'
,
function
(
e
)
{
var
_this
=
$
(
this
);
e
.
preventDefault
();
e
.
stopPropagation
();
if
(
confirm
(
'确认删除吗?'
)){
_this
.
parent
().
remove
();
};
});
//点击新增报销
//点击新增报销
$
(
document
).
on
(
'click'
,
'.new-cost'
,
function
(
e
){
$
(
document
).
on
(
'click'
,
'.new-cost'
,
function
(
e
){
//初始化新增 费用项目 隐藏费用项目 门店 办公室
//初始化新增 费用项目 隐藏费用项目 门店 办公室
...
@@ -613,7 +622,8 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
...
@@ -613,7 +622,8 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
that
.
agent_id_office
=
""
;
that
.
agent_id_office
=
""
;
that
.
agent_id_store
=
""
;
that
.
agent_id_store
=
""
;
that
.
agent_site_office
=
""
;
that
.
agent_site_office
=
""
;
//图片置空
$
(
'#container_body_img_area'
).
html
(
''
);
},
},
//重置搜索条件
//重置搜索条件
resetAll
:
function
(){
resetAll
:
function
(){
...
...
public/resource/js/publicCostDetails.js
View file @
a202339c
...
@@ -413,7 +413,7 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
...
@@ -413,7 +413,7 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
};
};
params
.
id
=
cost
.
id
;
params
.
id
=
cost
.
id
;
params
.
img_arr
=
JSON
.
stringify
(
imgname
);
params
.
img_arr
=
JSON
.
stringify
(
imgname
);
if
(
img
_arr
){
if
(
img
name
.
length
){
}
else
{
}
else
{
alert
(
'请上传图片'
);
alert
(
'请上传图片'
);
return
;
return
;
...
...
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