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
2f77dfbf
Commit
2f77dfbf
authored
Jul 29, 2019
by
qiankunpingtai
Browse files
从源更新
parents
331ca3e3
0e46a9f2
Changes
58
Hide whitespace changes
Inline
Side-by-side
erp_web/css/user_help.css
0 → 100644
View file @
2f77dfbf
#tt
.title
{
font-size
:
14px
;
font-weight
:
bold
;
text-align
:
center
;
color
:
green
;
height
:
30px
;
}
#tt
.content
{
font-size
:
14px
;
text-align
:
center
;
height
:
30px
;
}
#tt
.list
{
width
:
100%
;
margin
:
20px
0px
20px
0px
;
}
#tt
.list
.row
{
width
:
20%
;
float
:
left
;
}
#tt
.list
.row
ul
{
list-style
:
none
;
float
:
left
;
}
#tt
.list
.row
ul
li
{
text-align
:
center
;
height
:
40px
;
}
#tt
.list
.row
ul
.module
{
font-size
:
14px
;
color
:
blue
;
cursor
:
pointer
;
}
#tt
.list
.row
ul
.module
:hover
{
text-decoration
:
underline
;
}
#tt
.list
.row
ul
.remark
{
font-size
:
12px
;
text-align
:
left
;
}
\ No newline at end of file
erp_web/js/pages/materials/bill_detail.js
View file @
2f77dfbf
...
...
@@ -7,12 +7,17 @@
var
payTypeTitle
=
""
;
//收入 支出
var
itemType
=
true
;
//隐藏当前列
var
moneyType
=
true
;
//隐藏当前列
$
(
function
()
{
initSystemData_account
();
//获取账户信息
initMProperty
();
//初始化商品属性
initOutItemList
();
//初始化支出项目
initialize
();
//初始化系统基础信息
});
//获取账户信息
function
initSystemData_account
(){
$
.
ajax
({
...
...
@@ -95,38 +100,47 @@
if
(
listSubType
==
"
采购入库
"
)
{
billType
=
"
material
"
;
$
(
"
#bill .purchase_in
"
).
show
();
tableString
=
$
(
"
.purchase_in
"
).
html
();
}
else
if
(
listSubType
==
"
采购退货出库
"
)
{
billType
=
"
material
"
;
$
(
"
#bill .purchase_back
"
).
show
();
tableString
=
$
(
"
.purchase_back
"
).
html
();
}
else
if
(
listSubType
==
"
销售出库
"
)
{
billType
=
"
material
"
;
$
(
"
#bill .sale_out
"
).
show
();
tableString
=
$
(
"
.sale_out
"
).
html
();
}
else
if
(
listSubType
==
"
销售退货入库
"
)
{
billType
=
"
material
"
;
$
(
"
#bill .sale_back
"
).
show
();
tableString
=
$
(
"
.sale_back
"
).
html
();
}
else
if
(
listSubType
==
"
零售出库
"
)
{
billType
=
"
material
"
;
$
(
"
#bill .retail_out
"
).
show
();
tableString
=
$
(
"
.retail_out
"
).
html
();
}
else
if
(
listSubType
==
"
零售退货入库
"
)
{
billType
=
"
material
"
;
$
(
"
#bill .retail_back
"
).
show
();
tableString
=
$
(
"
.retail_back
"
).
html
();
}
else
if
(
listSubType
==
"
其它入库
"
)
{
billType
=
"
material
"
;
$
(
"
#bill .other_in
"
).
show
();
tableString
=
$
(
"
.other_in
"
).
html
();
}
else
if
(
listSubType
==
"
其它出库
"
)
{
billType
=
"
material
"
;
$
(
"
#bill .other_out
"
).
show
();
tableString
=
$
(
"
.other_out
"
).
html
();
}
else
if
(
listSubType
==
"
调拨出库
"
)
{
billType
=
"
material
"
;
$
(
"
#bill .allocation_out
"
).
show
();
tableString
=
$
(
"
.allocation_out
"
).
html
();
}
else
if
(
listSubType
==
"
收入
"
)
{
billType
=
"
account
"
;
...
...
@@ -134,6 +148,7 @@
itemType
=
false
;
//显示当前列
moneyType
=
true
;
//隐藏当前列
$
(
"
#bill .item_in
"
).
show
();
tableString
=
$
(
"
.item_in
"
).
html
();
}
else
if
(
listSubType
==
"
支出
"
)
{
billType
=
"
account
"
;
...
...
@@ -141,6 +156,7 @@
itemType
=
false
;
//显示当前列
moneyType
=
true
;
//隐藏当前列
$
(
"
#bill .item_out
"
).
show
();
tableString
=
$
(
"
.item_out
"
).
html
();
}
else
if
(
listSubType
==
"
收款
"
)
{
billType
=
"
account
"
;
...
...
@@ -148,6 +164,7 @@
itemType
=
true
;
//隐藏当前列
moneyType
=
false
;
//显示当前列
$
(
"
#bill .money_in
"
).
show
();
tableString
=
$
(
"
.money_in
"
).
html
();
}
else
if
(
listSubType
==
"
付款
"
)
{
billType
=
"
account
"
;
...
...
@@ -155,6 +172,7 @@
itemType
=
true
;
//隐藏当前列
moneyType
=
false
;
//显示当前列
$
(
"
#bill .money_out
"
).
show
();
tableString
=
$
(
"
.money_out
"
).
html
();
}
else
if
(
listSubType
==
"
转账
"
)
{
billType
=
"
account
"
;
...
...
@@ -162,6 +180,7 @@
itemType
=
true
;
//隐藏当前列
moneyType
=
false
;
//显示当前列
$
(
"
#bill .giro
"
).
show
();
tableString
=
$
(
"
.giro
"
).
html
();
}
else
if
(
listSubType
==
"
收预付款
"
)
{
billType
=
"
account
"
;
...
...
@@ -169,8 +188,12 @@
itemType
=
true
;
//隐藏当前列
moneyType
=
false
;
//显示当前列
$
(
"
#bill .advance_in
"
).
show
();
tableString
=
$
(
"
.advance_in
"
).
html
();
}
//如果是进货、销售
if
(
billType
==
"
material
"
){
$
.
ajax
({
...
...
@@ -317,6 +340,57 @@
}
});
}
//打印table
$
(
"
#print_bill_detail
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
(){
var
tableString
=
""
;
//打印table
if
(
listSubType
==
"
采购入库
"
)
{
tableString
=
$
(
"
.purchase_in
"
).
html
();
}
else
if
(
listSubType
==
"
采购退货出库
"
)
{
tableString
=
$
(
"
.purchase_back
"
).
html
();
}
else
if
(
listSubType
==
"
销售出库
"
)
{
tableString
=
$
(
"
.sale_out
"
).
html
();
}
else
if
(
listSubType
==
"
销售退货入库
"
)
{
tableString
=
$
(
"
.sale_back
"
).
html
();
}
else
if
(
listSubType
==
"
零售出库
"
)
{
tableString
=
$
(
"
.retail_out
"
).
html
();
}
else
if
(
listSubType
==
"
零售退货入库
"
)
{
tableString
=
$
(
"
.retail_back
"
).
html
();
}
else
if
(
listSubType
==
"
其它入库
"
)
{
tableString
=
$
(
"
.other_in
"
).
html
();
}
else
if
(
listSubType
==
"
其它出库
"
)
{
tableString
=
$
(
"
.other_out
"
).
html
();
}
else
if
(
listSubType
==
"
调拨出库
"
)
{
tableString
=
$
(
"
.allocation_out
"
).
html
();
}
else
if
(
listSubType
==
"
收入
"
)
{
tableString
=
$
(
"
.item_in
"
).
html
();
}
else
if
(
listSubType
==
"
支出
"
)
{
tableString
=
$
(
"
.item_out
"
).
html
();
}
else
if
(
listSubType
==
"
收款
"
)
{
tableString
=
$
(
"
.money_in
"
).
html
();
}
else
if
(
listSubType
==
"
付款
"
)
{
tableString
=
$
(
"
.money_out
"
).
html
();
}
else
if
(
listSubType
==
"
转账
"
)
{
tableString
=
$
(
"
.giro
"
).
html
();
}
else
if
(
listSubType
==
"
收预付款
"
)
{
tableString
=
$
(
"
.advance_in
"
).
html
();
}
localStorage
.
setItem
(
"
tableString
"
,
tableString
);
window
.
open
(
"
../../js/print/print_form.html
"
,
"
location:No;status:No;help:No;dialogWidth:800px;dialogHeight:600px;scroll:auto;
"
);
});
}
//初始化表格数据-商品列表-查看状态
...
...
@@ -459,3 +533,6 @@
});
}
function
print
(){
alert
(
listSubType
);
}
erp_web/pages/materials/allocation_out_list.html
View file @
2f77dfbf
...
...
@@ -132,7 +132,7 @@
</table>
</div>
<div
id=
"dlg-buttons-show"
>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
ok
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
print
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"cancelDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#depotHeadDlgShow').dialog('close')"
>
取消
</a>
</div>
...
...
erp_web/pages/materials/assemble_list.html
View file @
2f77dfbf
...
...
@@ -131,7 +131,7 @@
</table>
</div>
<div
id=
"dlg-buttons-show"
>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
ok
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
print
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"cancelDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#depotHeadDlgShow').dialog('close')"
>
取消
</a>
</div>
...
...
erp_web/pages/materials/bill_detail.html
View file @
2f77dfbf
...
...
@@ -15,6 +15,7 @@
<script
src=
"/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"/js/common/common.js"
></script>
<script
src=
"/js/pages/materials/bill_detail.js"
></script>
</head>
<body>
<div
id=
"bill"
class=
"easyui-panel"
style=
"padding:10px;height:500px;"
title=
"单据明细"
iconCls=
"icon-list"
...
...
@@ -24,7 +25,7 @@
closed=
"true"
modal=
"true"
cache=
"false"
collapsible=
"false"
closable=
"true"
>
<table>
<tr>
<td
style=
"width:
6
0px;height:50px;"
>
会员卡号:
</td>
<td
style=
"width:
8
0px;height:50px;"
>
会员卡号:
</td>
<td
style=
"padding:5px;width:200px;"
>
<span
class=
"OrganIdShow"
></span>
</td>
...
...
@@ -93,7 +94,7 @@
closed=
"true"
modal=
"true"
cache=
"false"
collapsible=
"false"
closable=
"true"
>
<table>
<tr>
<td
style=
"width:
6
0px;height:50px;"
>
会员卡号:
</td>
<td
style=
"width:
8
0px;height:50px;"
>
会员卡号:
</td>
<td
style=
"padding:5px;width:200px;"
>
<span
class=
"OrganIdShow"
></span>
</td>
...
...
@@ -822,6 +823,10 @@
</tr>
</table>
</div>
<div
id=
"dlg-buttons-show"
style=
"width:1100px;padding:10px 20px;top:20px"
>
<a
href=
"javascript:void(0)"
id=
"print_bill_detail"
class=
"easyui-linkbutton"
iconCls=
"icon-print"
>
打印
</a>
</div>
</div>
</body>
</html>
erp_web/pages/materials/disassemble_list.html
View file @
2f77dfbf
...
...
@@ -137,7 +137,7 @@
</table>
</div>
<div
id=
"dlg-buttons-show"
>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
ok
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
print
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"cancelDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#depotHeadDlgShow').dialog('close')"
>
取消
</a>
</div>
...
...
erp_web/pages/materials/materialcategory.html
View file @
2f77dfbf
...
...
@@ -79,6 +79,7 @@
<script
type=
"text/javascript"
>
var
url
;
var
clickType
=
""
;
//记录从哪里点击的类别弹窗
//初始化界面
$
(
function
()
{
var
treeHeight
=
webH
-
35
;
...
...
erp_web/pages/materials/materialcategory_forselect.html
View file @
2f77dfbf
...
...
@@ -46,8 +46,21 @@
function
forSelectMaterialCategory
(
node
)
{
console
.
log
(
node
);
$
(
"
#parentName
"
).
val
(
node
.
text
);
$
(
"
#parentid
"
).
val
(
node
.
id
);
if
(
clickType
)
{
if
(
clickType
==
"
selectBtn
"
)
{
$
(
"
#searchParentName
"
).
val
(
node
.
text
);
$
(
"
#searchParentId
"
).
val
(
node
.
id
);
types
=
""
;
initMCData
(
node
.
id
);
}
else
if
(
clickType
==
"
editBtn
"
)
{
$
(
"
#parentName
"
).
val
(
node
.
text
);
$
(
"
#parentid
"
).
val
(
node
.
id
);
}
}
else
{
$
(
"
#parentName
"
).
val
(
node
.
text
);
$
(
"
#parentid
"
).
val
(
node
.
id
);
}
$
(
'
#forSelectMaterialCategoryDlg
'
).
dialog
(
'
close
'
);
}
});
...
...
erp_web/pages/materials/other_in_list.html
View file @
2f77dfbf
...
...
@@ -142,7 +142,7 @@
</table>
</div>
<div
id=
"dlg-buttons-show"
>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
ok
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
print
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"cancelDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#depotHeadDlgShow').dialog('close')"
>
取消
</a>
</div>
...
...
erp_web/pages/materials/other_out_list.html
View file @
2f77dfbf
...
...
@@ -136,7 +136,7 @@
</table>
</div>
<div
id=
"dlg-buttons-show"
>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
ok
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
print
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"cancelDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#depotHeadDlgShow').dialog('close')"
>
取消
</a>
</div>
...
...
erp_web/pages/materials/purchase_back_list.html
View file @
2f77dfbf
...
...
@@ -222,7 +222,7 @@
</table>
</div>
<div
id=
"dlg-buttons-show"
>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
ok
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
print
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"cancelDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#depotHeadDlgShow').dialog('close')"
>
取消
</a>
</div>
...
...
erp_web/pages/materials/purchase_in_list.html
View file @
2f77dfbf
...
...
@@ -224,7 +224,7 @@
</table>
</div>
<div
id=
"dlg-buttons-show"
>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
ok
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
print
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"cancelDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#depotHeadDlgShow').dialog('close')"
>
取消
</a>
</div>
...
...
erp_web/pages/materials/purchase_orders_list.html
View file @
2f77dfbf
...
...
@@ -143,7 +143,7 @@
</table>
</div>
<div
id=
"dlg-buttons-show"
>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
ok
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
print
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"cancelDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#depotHeadDlgShow').dialog('close')"
>
取消
</a>
</div>
...
...
erp_web/pages/materials/retail_back_list.html
View file @
2f77dfbf
...
...
@@ -208,7 +208,7 @@
</table>
</div>
<div
id=
"dlg-buttons-show"
>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
ok
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
print
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"cancelDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#depotHeadDlgShow').dialog('close')"
>
取消
</a>
</div>
...
...
erp_web/pages/materials/retail_out_list.html
View file @
2f77dfbf
...
...
@@ -219,7 +219,7 @@
</table>
</div>
<div
id=
"dlg-buttons-show"
>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
ok
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
print
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"cancelDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#depotHeadDlgShow').dialog('close')"
>
取消
</a>
</div>
...
...
erp_web/pages/materials/sale_back_list.html
View file @
2f77dfbf
...
...
@@ -216,7 +216,7 @@
</table>
</div>
<div
id=
"dlg-buttons-show"
>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
ok
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
print
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"cancelDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#depotHeadDlgShow').dialog('close')"
>
取消
</a>
</div>
...
...
erp_web/pages/materials/sale_orders_list.html
View file @
2f77dfbf
...
...
@@ -145,7 +145,7 @@
</table>
</div>
<div
id=
"dlg-buttons-show"
>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
ok
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
print
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"cancelDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#depotHeadDlgShow').dialog('close')"
>
取消
</a>
</div>
...
...
erp_web/pages/materials/sale_out_list.html
View file @
2f77dfbf
...
...
@@ -226,7 +226,7 @@
</table>
</div>
<div
id=
"dlg-buttons-show"
>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
ok
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"printDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-
print
"
>
打印
</a>
<a
href=
"javascript:void(0)"
id=
"cancelDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#depotHeadDlgShow').dialog('close')"
>
取消
</a>
</div>
...
...
erp_web/pages/reports/sale_out_report.html
View file @
2f77dfbf
...
...
@@ -34,7 +34,7 @@
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
iconCls=
"icon-print"
id=
"printBtn"
>
打印
</a>
</td>
<td><span
class=
"tip"
>
注:此处包含零售+批发销售
</span></td>
<td>
当前销售总额:
<span
class=
"first-total"
>
0
</span>
<span
class=
"tip"
>
注:此处包含零售+批发销售
</span></td>
</tr>
</table>
</div>
...
...
@@ -110,14 +110,16 @@
pageSize
:
10
,
pageList
:
[
10
,
50
,
100
],
columns
:
[[
{
title
:
'
名称
'
,
field
:
'
MaterialName
'
,
width
:
60
},
{
title
:
'
型号
'
,
field
:
'
MaterialModel
'
,
width
:
80
},
{
title
:
'
扩展信息
'
,
field
:
'
MaterialOther
'
,
width
:
150
},
{
title
:
'
单位
'
,
field
:
'
MaterialUnit
'
,
width
:
80
},
{
title
:
'
销售数量
'
,
field
:
'
OutSum
'
,
width
:
60
},
{
title
:
'
销售金额
'
,
field
:
'
OutSumPrice
'
,
width
:
60
},
{
title
:
'
退货数量
'
,
field
:
'
InSum
'
,
width
:
60
},
{
title
:
'
退货金额
'
,
field
:
'
InSumPrice
'
,
width
:
60
}
{
title
:
'
名称
'
,
field
:
'
MaterialName
'
,
width
:
60
,
align
:
"
center
"
},
{
title
:
'
型号
'
,
field
:
'
MaterialModel
'
,
width
:
80
,
align
:
"
center
"
},
{
title
:
'
扩展信息
'
,
field
:
'
MaterialOther
'
,
width
:
150
,
align
:
"
center
"
},
{
title
:
'
单位
'
,
field
:
'
MaterialUnit
'
,
width
:
80
,
align
:
"
center
"
},
{
title
:
'
销售数量
'
,
field
:
'
OutSum
'
,
width
:
60
,
align
:
"
center
"
},
{
title
:
'
销售金额
'
,
field
:
'
OutSumPrice
'
,
width
:
60
,
align
:
"
center
"
},
{
title
:
'
退货数量
'
,
field
:
'
InSum
'
,
width
:
60
,
align
:
"
center
"
},
{
title
:
'
退货金额
'
,
field
:
'
InSumPrice
'
,
width
:
60
,
align
:
"
center
"
},
{
title
:
'
实际销售金额
'
,
field
:
'
OutInSumPrice
'
,
width
:
80
,
align
:
"
center
"
}
]],
onLoadError
:
function
()
{
$
.
messager
.
alert
(
'
页面加载提示
'
,
'
页面加载异常,请稍后再试!
'
,
'
error
'
);
...
...
@@ -219,6 +221,13 @@
if
(
res
&&
res
.
code
===
200
&&
res
.
data
)
{
$
(
"
#tableData
"
).
datagrid
(
'
loadData
'
,
res
.
data
.
rows
);
}
var
total
=
0
;
res
.
data
.
rows
.
forEach
(
function
(
value
,
index
,
array
){
//执行某些操作
total
+=
value
.
OutInSumPrice
;
})
$
(
"
.first-total
"
).
text
(
total
);
//当前总余额
},
//此处添加错误处理
error
:
function
()
{
...
...
@@ -260,4 +269,4 @@
}
</script>
</body>
</html>
\ No newline at end of file
</html>
erp_web/pages/user/userHelp.html
0 → 100644
View file @
2f77dfbf
<!DOCTYPE html>
<html>
<head>
<title>
新手引导
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<!-- 指定以IE8的方式来渲染 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=EmulateIE8"
/>
<link
rel=
"shortcut icon"
href=
"/images/favicon.ico"
type=
"image/x-icon"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/js/easyui-1.3.5/themes/default/easyui.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/js/easyui-1.3.5/themes/icon.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/user_help.css"
/>
<script
type=
"text/javascript"
src=
"/js/jquery-1.8.0.min.js"
></script>
<script
type=
"text/javascript"
src=
"/js/easyui-1.3.5/jquery.easyui.min.js"
></script>
<script
type=
"text/javascript"
src=
"/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"
></script>
<script
type=
"text/javascript"
src=
"/js/common/common.js"
></script>
</head>
<body>
<div
id=
"tt"
class=
"easyui-tabs"
style=
"width:997px;height:466px;"
>
<div
class=
"init"
title=
"初始资料"
style=
"padding:20px;"
>
<p
class=
"title"
>
初始资料录入
</p>
<p
class=
"content"
>
及时准确的录入商品、客户、供应商、仓库信息与结算账户信息,能够有效的保障经营数据的完善以及后期账务的核算。
</p>
<hr/>
<div
class=
"list"
>
<div
class=
"row"
>
<ul>
<li
class=
"module goods"
>
商品信息
</li>
<li
class=
"remark"
>
管理商品信息及商品分类。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module customer"
>
客户信息
</li>
<li
class=
"remark"
>
维护您的客户信息及欠款,新增的客户需要分配给用户才能使用。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module vendor"
>
供应商信息
</li>
<li
class=
"remark"
>
维护您的供应商信息及欠款。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module depot"
>
仓库信息
</li>
<li
class=
"remark"
>
可以设置仓库负责人、设为默认仓库,新增的仓库需要分配给用户才能使用。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module account"
>
结算账户
</li>
<li
class=
"remark"
>
管理账户信息及初始余额。
</li>
</ul>
</div>
</div>
</div>
<div
class=
"purchase"
title=
"采购相关"
style=
"padding:20px;"
>
<p
class=
"title"
>
采购相关
</p>
<p
class=
"content"
>
包含采购订单、采购入库、采购退货、进货统计与入库明细等模块
</p>
<hr/>
<div
class=
"list"
>
<div
class=
"row"
>
<ul>
<li
class=
"module purchase_orders"
>
采购订单
</li>
<li
class=
"remark"
>
采购订单不涉及入库仓库和付款金额,采购订单可以转采购入库单,但需要先对采购订单进行审核。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module purchase_in"
>
采购入库
</li>
<li
class=
"remark"
>
采购入库单可以由采购订单转过来,也可以单独创建。采购入库单据中的仓库列表只显示当前用户有权限的仓库。采购入库单可以使用多账户付款。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module purchase_back"
>
采购退货
</li>
<li
class=
"remark"
>
用于采购入库单据的退货。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module buy_in"
>
进货统计
</li>
<li
class=
"remark"
>
以采购入库为统计依据,让我们可以清楚地知道,我们一共进了多少货,多少钱的货。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module in_detail"
>
入库明细
</li>
<li
class=
"remark"
>
入库信息列表,可以查看单条信息。
</li>
</ul>
</div>
</div>
</div>
<div
class=
"sale"
title=
"销售相关"
style=
"padding:20px;"
>
<p
class=
"title"
>
销售相关
</p>
<p
class=
"content"
>
包含销售订单、销售入库、销售退货、销售统计与出库明细等模块
</p>
<hr/>
<div
class=
"list"
>
<div
class=
"row"
>
<ul>
<li
class=
"module sale_orders"
>
销售订单
</li>
<li
class=
"remark"
>
销售订单不涉及出库仓库和收款金额,销售订单可以转销售出库单,但需要先对销售订单进行审核。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module sale_out"
>
销售出库
</li>
<li
class=
"remark"
>
销售出库单可以由销售订单转过来,也可以单独创建。销售出库单据中的仓库列表只显示当前用户有权限的仓库。销售出库单可以使用多账户收款。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module sale_back"
>
销售退货
</li>
<li
class=
"remark"
>
用于销售出库单据的退货。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module sale_out_report"
>
销售统计
</li>
<li
class=
"remark"
>
以销售出库为统计依据,让我们可以清楚地知道,我们一共卖了多少货,多少钱的货。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module out_detail"
>
出库明细
</li>
<li
class=
"remark"
>
出库信息列表,可以查看单条信息。
</li>
</ul>
</div>
</div>
</div>
<div
class=
"stock"
title=
"仓库管理"
style=
"padding:20px;"
>
<p
class=
"title"
>
仓库管理
</p>
<p
class=
"content"
>
包含其它入库、其它出库、调拨出库、组装单与拆卸单等模块
</p>
<hr/>
<div
class=
"list"
>
<div
class=
"row"
>
<ul>
<li
class=
"module other_in"
>
其它入库
</li>
<li
class=
"remark"
>
用于库存初始化、盘点库存等。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module other_out"
>
其它出库
</li>
<li
class=
"remark"
>
用于盘点库存、给商品报废等。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module allocation_out"
>
调拨出库
</li>
<li
class=
"remark"
>
用于两个仓库之间的商品调拨,调拨单会影响库存。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module assemble"
>
组装单
</li>
<li
class=
"remark"
>
用于将多种商品合并成一个商品,被合并的商品库存减少,合并后的商品库存增加。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module disassemble"
>
拆卸单
</li>
<li
class=
"remark"
>
用于将一个商品拆分成多种商品,被拆分的商品库存增加,拆分后的商品库存减少。
</li>
</ul>
</div>
</div>
</div>
<div
class=
"financial"
title=
"财务管理"
style=
"padding:20px;"
>
<p
class=
"title"
>
财务管理
</p>
<p
class=
"content"
>
包含收入单、支出单、收款单、付款单与转账单等模块
</p>
<hr/>
<div
class=
"list"
>
<div
class=
"row"
>
<ul>
<li
class=
"module item_in"
>
收入单
</li>
<li
class=
"remark"
>
收入单主要处理一些销售收入以外的收入如维修服务收入、利息收入、调账收入等。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module item_out"
>
支出单
</li>
<li
class=
"remark"
>
支出单主要处理一些进货支出以外的支出如水电支出、房租支出等。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module money_in"
>
收款单
</li>
<li
class=
"remark"
>
收款单所收金额只对付款单位的应收应付产生影响,可以在回款统计中进行查看。收款单的优惠金额会对利润产生影响,但不影响付款单位的应收应付。优惠金额计入收入类的收款优惠中。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module money_out"
>
付款单
</li>
<li
class=
"remark"
>
付款单的要素和录入原则与“收款单”相同。付款单中优惠金额计入支出类中的付款优惠中,为负值 (因优惠意味着实际少付款)。
</li>
</ul>
</div>
<div
class=
"row"
>
<ul>
<li
class=
"module giro"
>
转账单
</li>
<li
class=
"remark"
>
转账:本系统的转账是指从一个银行存款账户转入到另一个银行存款账户。
</li>
</ul>
</div>
</div>
</div>
</div>
<script
type=
"text/javascript"
>
var
parentDom
=
$
(
window
.
parent
.
document
);
function
showModule
(
appName
,
funName
)
{
parentDom
.
find
(
"
#desk .desktop-container span:contains(
"
+
appName
+
"
)
"
).
click
();
setTimeout
(
function
()
{
var
parentIframe
=
parentDom
.
find
(
"
iframe
"
);
var
funDom
=
parentIframe
.
contents
().
find
(
"
#tt li a:contains(
"
+
funName
+
"
)
"
);
funDom
.
click
();
},
1000
);
}
//初始资料
$
(
"
#tt .goods
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
基础数据
"
;
var
funName
=
"
商品信息
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .customer
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
基础数据
"
;
var
funName
=
"
客户信息
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .vendor
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
基础数据
"
;
var
funName
=
"
供应商信息
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .depot
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
基础数据
"
;
var
funName
=
"
仓库信息
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .account
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
基础数据
"
;
var
funName
=
"
结算账户
"
;
showModule
(
appName
,
funName
);
});
//采购
$
(
"
#tt .purchase_orders
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
采购管理
"
;
var
funName
=
"
采购订单
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .purchase_in
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
采购管理
"
;
var
funName
=
"
采购入库
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .purchase_back
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
采购管理
"
;
var
funName
=
"
采购退货
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .buy_in
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
报表查询
"
;
var
funName
=
"
进货统计
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .in_detail
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
报表查询
"
;
var
funName
=
"
入库明细
"
;
showModule
(
appName
,
funName
);
});
//销售
$
(
"
#tt .sale_orders
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
销售管理
"
;
var
funName
=
"
销售订单
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .sale_out
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
销售管理
"
;
var
funName
=
"
销售出库
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .sale_back
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
销售管理
"
;
var
funName
=
"
销售退货
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .sale_out_report
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
报表查询
"
;
var
funName
=
"
销售统计
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .out_detail
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
报表查询
"
;
var
funName
=
"
出库明细
"
;
showModule
(
appName
,
funName
);
});
//库存
$
(
"
#tt .other_in
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
仓库管理
"
;
var
funName
=
"
其它入库
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .other_out
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
仓库管理
"
;
var
funName
=
"
其它出库
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .allocation_out
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
仓库管理
"
;
var
funName
=
"
调拨出库
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .assemble
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
仓库管理
"
;
var
funName
=
"
组装单
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .disassemble
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
仓库管理
"
;
var
funName
=
"
拆卸单
"
;
showModule
(
appName
,
funName
);
});
//财务
$
(
"
#tt .item_in
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
财务管理
"
;
var
funName
=
"
收入单
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .item_out
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
财务管理
"
;
var
funName
=
"
支出单
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .money_in
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
财务管理
"
;
var
funName
=
"
收款单
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .money_out
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
财务管理
"
;
var
funName
=
"
付款单
"
;
showModule
(
appName
,
funName
);
});
$
(
"
#tt .giro
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
var
appName
=
"
财务管理
"
;
var
funName
=
"
转账单
"
;
showModule
(
appName
,
funName
);
});
</script>
</body>
</html>
\ No newline at end of file
Prev
1
2
3
Next
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