Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
c4db0705
Commit
c4db0705
authored
Dec 27, 2020
by
季圣华
Browse files
优化账户、功能等页面的样式
parent
c61603bf
Changes
5
Hide whitespace changes
Inline
Side-by-side
erp_web/pages/manage/account.html
View file @
c4db0705
...
...
@@ -123,6 +123,17 @@
pageList
:
initPageNum
,
columns
:
[[
{
field
:
'
id
'
,
width
:
35
,
align
:
"
center
"
,
checkbox
:
true
},
{
title
:
'
操作
'
,
field
:
'
op
'
,
align
:
"
center
"
,
width
:
60
,
formatter
:
function
(
value
,
rec
,
index
)
{
var
str
=
''
;
str
+=
'
<img title="编辑" src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editAccount(
\'
'
+
index
+
'
\'
);"/>
'
;
if
(
isShowOpFun
()){
str
+=
'
<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteAccount(
\'
'
+
rec
.
id
+
'
\'
);"/>
'
;
}
return
str
;
}
},
{
title
:
'
名称
'
,
field
:
'
name
'
,
width
:
100
},
{
title
:
'
编号
'
,
field
:
'
serialNo
'
,
width
:
150
,
align
:
"
center
"
},
{
title
:
'
期初金额
'
,
field
:
'
initialAmount
'
,
width
:
100
,
align
:
"
center
"
},
...
...
@@ -140,14 +151,10 @@
},
{
title
:
'
备注
'
,
field
:
'
remark
'
,
width
:
100
},
{
title
:
'
操作
'
,
field
:
'
op
'
,
align
:
"
center
"
,
width
:
2
10
,
title
:
'
账户流水
'
,
field
:
'
show
'
,
align
:
"
center
"
,
width
:
1
0
0
,
formatter
:
function
(
value
,
rec
,
index
)
{
var
str
=
''
;
str
+=
'
<img src="/js/easyui/themes/icons/list.png" style="cursor: pointer;" onclick="showAccountInOutList(
\'
'
+
index
+
'
\'
);"/> <a onclick="showAccountInOutList(
\'
'
+
index
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">流水</a>
'
;
str
+=
'
<img src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editAccount(
\'
'
+
index
+
'
\'
);"/> <a onclick="editAccount(
\'
'
+
index
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>
'
;
if
(
isShowOpFun
()){
str
+=
'
<img src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteAccount(
\'
'
+
rec
.
id
+
'
\'
);"/> <a onclick="deleteAccount(
\'
'
+
rec
.
id
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">删除</a>
'
;
}
str
+=
'
<img src="/js/easyui/themes/icons/list.png" style="cursor: pointer;" onclick="showAccountInOutList(
\'
'
+
index
+
'
\'
);"/> <a onclick="showAccountInOutList(
\'
'
+
index
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">流水</a>
'
;
return
str
;
}
}
...
...
erp_web/pages/manage/functions.html
View file @
c4db0705
...
...
@@ -151,6 +151,17 @@
pageList
:
initPageNum
,
columns
:
[[
{
field
:
'
id
'
,
width
:
35
,
align
:
"
center
"
,
checkbox
:
true
},
{
title
:
'
操作
'
,
field
:
'
op
'
,
align
:
"
center
"
,
width
:
80
,
formatter
:
function
(
value
,
rec
,
index
)
{
var
str
=
''
;
str
+=
'
<img title="编辑" src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editFunctions(
\'
'
+
index
+
'
\'
);"/>
'
;
if
(
isShowOpFun
())
{
str
+=
'
<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteFunctions(
'
+
rec
.
id
+
'
);"/>
'
;
}
return
str
;
}
},
{
title
:
'
编号
'
,
field
:
'
number
'
,
width
:
80
},
{
title
:
'
名称
'
,
field
:
'
name
'
,
width
:
100
},
{
title
:
'
上级编号
'
,
field
:
'
parentNumber
'
,
width
:
80
},
...
...
@@ -161,18 +172,7 @@
return
value
?
"
开
"
:
"
关
"
;
}
},
{
title
:
'
图标
'
,
field
:
'
icon
'
,
width
:
110
},
{
title
:
'
操作
'
,
field
:
'
op
'
,
align
:
"
center
"
,
width
:
130
,
formatter
:
function
(
value
,
rec
,
index
)
{
var
str
=
''
;
str
+=
'
<img src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editFunctions(
\'
'
+
index
+
'
\'
);"/> <a onclick="editFunctions(
\'
'
+
index
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>
'
;
if
(
isShowOpFun
())
{
str
+=
'
<img src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteFunctions(
'
+
rec
.
id
+
'
);"/> <a onclick="deleteFunctions(
'
+
rec
.
id
+
'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">删除</a>
'
;
}
return
str
;
}
}
{
title
:
'
图标
'
,
field
:
'
icon
'
,
width
:
110
}
]],
toolbar
:
[
{
...
...
erp_web/pages/manage/inOutItem.html
View file @
c4db0705
...
...
@@ -122,20 +122,20 @@
pageList
:
initPageNum
,
columns
:
[[
{
field
:
'
id
'
,
width
:
35
,
align
:
"
center
"
,
checkbox
:
true
},
{
title
:
'
名称
'
,
field
:
'
name
'
,
width
:
200
},
{
title
:
'
类型
'
,
field
:
'
type
'
,
width
:
100
,
align
:
"
center
"
},
{
title
:
'
描述
'
,
field
:
'
remark
'
,
width
:
200
},
{
title
:
'
操作
'
,
field
:
'
op
'
,
align
:
"
center
"
,
width
:
13
0
,
title
:
'
操作
'
,
field
:
'
op
'
,
align
:
"
center
"
,
width
:
6
0
,
formatter
:
function
(
value
,
rec
,
index
)
{
var
str
=
''
;
str
+=
'
<img src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editInOutItem(
\'
'
+
index
+
'
\'
);"/>
<a onclick="editInOutItem(
\'
'
+
index
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>
'
;
str
+=
'
<img
title="编辑"
src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editInOutItem(
\'
'
+
index
+
'
\'
);"/>
'
;
if
(
isShowOpFun
())
{
str
+=
'
<img src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteInOutItem(
\'
'
+
rec
.
id
+
'
\'
);"/>
<a onclick="deleteInOutItem(
\'
'
+
rec
.
id
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">删除</a>
'
;
str
+=
'
<img src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteInOutItem(
\'
'
+
rec
.
id
+
'
\'
);"/>
'
;
}
return
str
;
}
}
},
{
title
:
'
名称
'
,
field
:
'
name
'
,
width
:
200
},
{
title
:
'
类型
'
,
field
:
'
type
'
,
width
:
100
},
{
title
:
'
描述
'
,
field
:
'
remark
'
,
width
:
200
}
]],
toolbar
:
[
{
...
...
erp_web/pages/manage/person.html
View file @
c4db0705
...
...
@@ -120,18 +120,18 @@
pageList
:
initPageNum
,
columns
:
[[
{
field
:
'
id
'
,
width
:
35
,
align
:
"
center
"
,
checkbox
:
true
},
{
title
:
'
姓名
'
,
field
:
'
name
'
,
width
:
180
},
{
title
:
'
类型
'
,
field
:
'
type
'
,
width
:
180
},
{
title
:
'
操作
'
,
field
:
'
op
'
,
align
:
"
center
"
,
width
:
13
0
,
formatter
:
function
(
value
,
rec
,
index
)
{
title
:
'
操作
'
,
field
:
'
op
'
,
align
:
"
center
"
,
width
:
6
0
,
formatter
:
function
(
value
,
rec
,
index
)
{
var
str
=
''
;
str
+=
'
<img src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editPerson(
\'
'
+
index
+
'
\'
);"/>
<a onclick="editPerson(
\'
'
+
index
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>
'
;
str
+=
'
<img
title="编辑"
src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editPerson(
\'
'
+
index
+
'
\'
);"/>
'
;
if
(
isShowOpFun
())
{
str
+=
'
<img src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deletePerson(
'
+
rec
.
id
+
'
);"/>
<a onclick="deletePerson(
'
+
rec
.
id
+
'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">删除</a>
'
;
str
+=
'
<img
title="删除"
src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deletePerson(
'
+
rec
.
id
+
'
);"/>
'
;
}
return
str
;
}
}
},
{
title
:
'
姓名
'
,
field
:
'
name
'
,
width
:
180
},
{
title
:
'
类型
'
,
field
:
'
type
'
,
width
:
180
}
]],
toolbar
:
[
{
...
...
erp_web/pages/reports/account_report.html
View file @
c4db0705
...
...
@@ -93,7 +93,7 @@
{
title
:
'
本月发生额
'
,
field
:
'
thisMonthAmount
'
,
width
:
100
,
align
:
"
center
"
},
{
title
:
'
当前余额
'
,
field
:
'
currentAmount
'
,
width
:
100
,
align
:
"
center
"
},
{
title
:
'
操作
'
,
field
:
'
op
'
,
width
:
100
,
align
:
"
center
"
,
formatter
:
function
(
value
,
rec
)
{
title
:
'
账户流水
'
,
field
:
'
op
'
,
width
:
100
,
align
:
"
center
"
,
formatter
:
function
(
value
,
rec
)
{
var
str
=
''
;
var
rowInfo
=
rec
.
id
+
'
AaBb
'
+
rec
.
name
+
'
AaBb
'
+
rec
.
serialNo
+
'
AaBb
'
+
rec
.
initialAmount
+
'
AaBb
'
+
rec
.
currentAmount
;
str
+=
'
<img src="/js/easyui/themes/icons/list.png" style="cursor: pointer;" onclick="showAccountInOutList(
\'
'
+
rowInfo
+
'
\'
);"/> <a onclick="showAccountInOutList(
\'
'
+
rowInfo
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">流水</a>
'
;
...
...
Write
Preview
Supports
Markdown
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