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
23a486c5
"vscode:/vscode.git/clone" did not exist on "c1e9aec97ed6675fa06953c88d41b88db15d98bd"
Commit
23a486c5
authored
Aug 20, 2019
by
季圣华
Browse files
引入模板引擎,优化单据模块录入供应商数据的功能
parent
14cf4038
Changes
17
Expand all
Hide whitespace changes
Inline
Side-by-side
erp_web/js/handlebars.js
0 → 100644
View file @
23a486c5
This diff is collapsed.
Click to expand it.
erp_web/js/pages/materials/add_temp.js
0 → 100644
View file @
23a486c5
$
.
get
(
"
../../pages/template/base.html
"
,
function
(
tem
)
{
if
(
tem
)
{
var
template
=
Handlebars
.
compile
(
tem
);
/**
* 加载供应商、客户模块
*/
$
(
"
body
"
).
append
(
template
({
supplierSelect
:
true
}));
$
(
'
#supplierDlg
'
).
dialog
({
closed
:
true
,
modal
:
true
,
collapsible
:
false
,
closable
:
true
});
$
(
"
#supplierDlg #supplier
"
).
validatebox
({
required
:
true
,
validType
:
'
length[2,30]
'
});
$
(
"
#supplierDlg #email
"
).
validatebox
({
validType
:
'
email
'
});
$
(
"
#BeginNeedGet,#BeginNeedPay,#AllNeedGet,#AllNeedPay
"
).
numberbox
({
min
:
0
,
precision
:
2
});
$
(
"
#saveSupplier
"
).
linkbutton
({
iconCls
:
'
icon-ok
'
});
$
(
"
#cancelSupplier
"
).
linkbutton
({
iconCls
:
'
icon-cancel
'
});
}
});
\ No newline at end of file
erp_web/js/pages/materials/in_out.js
View file @
23a486c5
...
...
@@ -1096,31 +1096,44 @@
toolbar
:[
{
id
:
'
append
'
,
text
:
'
新增
'
,
text
:
'
新增
行
'
,
iconCls
:
'
icon-add
'
,
handler
:
function
()
{
append
();
//新增
handler
:
function
()
{
append
();
//新增行
}
},
{
id
:
'
delete
'
,
text
:
'
删除
'
,
text
:
'
删除
行
'
,
iconCls
:
'
icon-remove
'
,
handler
:
function
()
{
batchDel
();
//删除
handler
:
function
()
{
batchDel
();
//删除行
}
},
{
id
:
'
reject
'
,
text
:
'
撤销
'
,
iconCls
:
'
icon-undo
'
,
handler
:
function
()
{
handler
:
function
()
{
reject
();
//撤销
}
}
},
{
id
:
'
appendDepot
'
,
text
:
'
新增仓库
'
,
iconCls
:
'
icon-add
'
,
handler
:
function
()
{
appendDepot
();
//新增仓库
}
},
{
id
:
'
appendMaterial
'
,
text
:
'
新增商品
'
,
iconCls
:
'
icon-add
'
,
handler
:
function
()
{
appendMaterial
();
//新增商品
}
}
],
onLoadError
:
function
()
{
...
...
@@ -1586,18 +1599,19 @@
depotHeadID
=
0
;
initTableData_material
(
"
add
"
);
//商品列表
reject
();
//撤销下、刷新商品列表
$
(
"
#addOrgan
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加
供应商
信息
'
);
function
supplierDlgFun
(
type
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加
'
+
type
+
'
信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
bindSupplierEvent
();
}
$
(
"
#addOrgan
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
(){
supplierDlgFun
(
"
供应商
"
);
});
$
(
"
#addMember
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
(){
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加会员信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
supplierDlgFun
(
"
会员
"
);
});
$
(
"
#addCustomer
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
(){
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加客户信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
supplierDlgFun
(
"
客户
"
);
});
url
=
'
/depotHead/addDepotHeadAndDetail
'
;
...
...
@@ -2585,31 +2599,38 @@
$
(
"
#otherMoneyTotalDlg
"
).
text
(
$
(
"
#OtherMoney
"
).
val
());
});
if
(
listTitle
===
"
采购入库列表
"
||
listTitle
===
"
其它入库列表
"
||
listTitle
===
"
采购订单列表
"
||
listTitle
===
"
零售出库列表
"
||
listTitle
===
"
销售出库列表
"
||
listTitle
===
"
销售订单列表
"
){
var
supplierType
=
"
供应商
"
;
if
(
listTitle
===
"
零售出库列表
"
){
}
/**
* 绑定供应商、客户事件
*/
function
bindSupplierEvent
()
{
if
(
listTitle
===
"
采购入库列表
"
||
listTitle
===
"
其它入库列表
"
||
listTitle
===
"
采购订单列表
"
||
listTitle
===
"
零售出库列表
"
||
listTitle
===
"
销售出库列表
"
||
listTitle
===
"
销售订单列表
"
){
var
supplierType
=
"
供应商
"
;
if
(
listTitle
===
"
零售出库列表
"
){
supplierType
=
"
会员
"
;
}
else
if
(
listTitle
===
"
销售出库列表
"
||
listTitle
===
"
销售订单列表
"
){
supplierType
=
"
客户
"
;
}
//检查单位名称是否存在 ++ 重名无法提示问题需要跟进
function
checkSupplierName
()
{
var
supplierName
=
$
.
trim
(
$
(
"
#supplier
"
).
val
());
var
orgSupplier
=
""
;
//表示是否存在 true == 存在 false = 不存在
var
flag
=
false
;
//开始ajax名称检验,不能重名
if
(
supplierName
.
length
>
0
&&
(
orgSupplier
.
length
==
0
||
supplierName
!=
orgSupplier
))
{
$
.
ajax
({
type
:
"
get
"
,
url
:
"
/supplier/checkIsNameExist
"
,
dataType
:
"
json
"
,
async
:
false
,
data
:
({
}
else
if
(
listTitle
===
"
销售出库列表
"
||
listTitle
===
"
销售订单列表
"
){
supplierType
=
"
客户
"
;
}
//检查单位名称是否存在 ++ 重名无法提示问题需要跟进
function
checkSupplierName
()
{
var
supplierName
=
$
.
trim
(
$
(
"
#supplier
"
).
val
());
var
orgSupplier
=
""
;
//表示是否存在 true == 存在 false = 不存在
var
flag
=
false
;
//开始ajax名称检验,不能重名
if
(
supplierName
.
length
>
0
&&
(
orgSupplier
.
length
==
0
||
supplierName
!=
orgSupplier
))
{
$
.
ajax
({
type
:
"
get
"
,
url
:
"
/supplier/checkIsNameExist
"
,
dataType
:
"
json
"
,
async
:
false
,
data
:
({
id
:
0
,
name
:
supplierName
}),
}),
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
)
{
if
(
res
.
data
&&
res
.
data
.
status
)
{
...
...
@@ -2621,59 +2642,59 @@
}
}
},
//此处添加错误处理
error
:
function
()
{
$
.
messager
.
alert
(
'
提示
'
,
'
检查单位名称是否存在异常,请稍后再试!
'
,
'
error
'
);
return
;
}
});
}
return
flag
;
}
//此处添加错误处理
error
:
function
()
{
$
.
messager
.
alert
(
'
提示
'
,
'
检查单位名称是否存在异常,请稍后再试!
'
,
'
error
'
);
return
;
}
});
}
return
flag
;
}
//保存供应商信息
$
(
"
#saveSupplier
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
//保存供应商信息
$
(
"
#saveSupplier
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
()
{
if
(
validateForm
(
"
supplierFM
"
))
{
return
;
}
if
(
checkSupplierName
()){
return
;
}
var
reg
=
/^
([
0-9
])
+$/
;
var
phonenum
=
$
.
trim
(
$
(
"
#phonenum
"
).
val
());
if
(
phonenum
.
length
>
0
&&
!
reg
.
test
(
phonenum
))
{
$
.
messager
.
alert
(
'
提示
'
,
'
电话号码只能是数字
'
,
'
info
'
);
$
(
"
#phonenum
"
).
val
(
""
).
focus
();
return
;
}
var
beginNeedGet
=
$
.
trim
(
$
(
"
#BeginNeedGet
"
).
val
());
var
beginNeedPay
=
$
.
trim
(
$
(
"
#BeginNeedPay
"
).
val
());
if
(
beginNeedGet
&&
beginNeedPay
)
{
$
.
messager
.
alert
(
'
提示
'
,
'
期初应收和期初应付不能同时输入
'
,
'
info
'
);
return
;
}
var
url
=
'
/supplier/add
'
;
if
(
checkSupplierName
()){
return
;
}
var
reg
=
/^
([
0-9
])
+$/
;
var
phonenum
=
$
.
trim
(
$
(
"
#phonenum
"
).
val
());
if
(
phonenum
.
length
>
0
&&
!
reg
.
test
(
phonenum
))
{
$
.
messager
.
alert
(
'
提示
'
,
'
电话号码只能是数字
'
,
'
info
'
);
$
(
"
#phonenum
"
).
val
(
""
).
focus
();
return
;
}
var
beginNeedGet
=
$
.
trim
(
$
(
"
#BeginNeedGet
"
).
val
());
var
beginNeedPay
=
$
.
trim
(
$
(
"
#BeginNeedPay
"
).
val
());
if
(
beginNeedGet
&&
beginNeedPay
)
{
$
.
messager
.
alert
(
'
提示
'
,
'
期初应收和期初应付不能同时输入
'
,
'
info
'
);
return
;
}
var
url
=
'
/supplier/add
'
;
var
supObj
=
$
(
"
#supplierFM
"
).
serializeObject
();
supObj
.
type
=
supplierType
;
supObj
.
enabled
=
1
;
$
.
ajax
({
url
:
url
,
type
:
"
post
"
,
dataType
:
"
json
"
,
data
:{
$
.
ajax
({
url
:
url
,
type
:
"
post
"
,
dataType
:
"
json
"
,
data
:{
info
:
JSON
.
stringify
(
supObj
)
},
success
:
function
(
res
)
{
if
(
res
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
close
'
);
initSupplier
();
//刷新供应商
}
}
});
});
}
}
},
success
:
function
(
res
)
{
if
(
res
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
close
'
);
initSupplier
();
//刷新供应商
}
}
});
});
}
}
function
showDepotHeadDetails
(
pageNo
,
pageSize
){
var
materialParam
=
$
.
trim
(
$
(
"
#searchMaterial
"
).
val
());
...
...
@@ -2989,6 +3010,14 @@
$
(
'
#materialData
'
).
datagrid
(
'
rejectChanges
'
);
editIndex
=
undefined
;
}
//新增仓库
function
appendDepot
()
{
alert
(
"
新增仓库
"
);
}
//新增商品
function
appendMaterial
()
{
alert
(
"
新增商品
"
);
}
//判断
function
CheckData
(
type
)
{
append
();
...
...
erp_web/pages/materials/allocation_out_list.html
View file @
23a486c5
...
...
@@ -13,8 +13,10 @@
<script
src=
"/js/jquery-1.8.0.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/jquery.easyui.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"/js/handlebars.js"
></script>
<script
src=
"/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/common/common.js"
></script>
<script
src=
"/js/pages/materials/add_temp.js"
></script>
<script
src=
"/js/pages/materials/in_out.js"
></script>
</head>
<body>
...
...
erp_web/pages/materials/assemble_list.html
View file @
23a486c5
...
...
@@ -13,8 +13,10 @@
<script
src=
"/js/jquery-1.8.0.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/jquery.easyui.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"/js/handlebars.js"
></script>
<script
src=
"/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/common/common.js"
></script>
<script
src=
"/js/pages/materials/add_temp.js"
></script>
<script
src=
"/js/pages/materials/in_out.js"
></script>
</head>
<body>
...
...
erp_web/pages/materials/disassemble_list.html
View file @
23a486c5
...
...
@@ -13,14 +13,11 @@
<script
src=
"/js/jquery-1.8.0.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/jquery.easyui.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"/js/handlebars.js"
></script>
<script
src=
"/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/common/common.js"
></script>
<script
src=
"/js/pages/materials/add_temp.js"
></script>
<script
src=
"/js/pages/materials/in_out.js"
></script>
<script>
var
kid
=
$
{
sessionScope
.
user
.
id
};
var
path
=
"
<%=path%>
"
;
var
clientIp
=
"
<%=clientIp%>
"
;
</script>
</head>
<body>
<!-- 查询 -->
...
...
erp_web/pages/materials/other_in_list.html
View file @
23a486c5
...
...
@@ -13,8 +13,10 @@
<script
src=
"/js/jquery-1.8.0.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/jquery.easyui.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"/js/handlebars.js"
></script>
<script
src=
"/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/common/common.js"
></script>
<script
src=
"/js/pages/materials/add_temp.js"
></script>
<script
src=
"/js/pages/materials/in_out.js"
></script>
</head>
<body>
...
...
@@ -146,107 +148,5 @@
<a
href=
"javascript:void(0)"
id=
"cancelDepotHeadShow"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#depotHeadDlgShow').dialog('close')"
>
取消
</a>
</div>
<div
id=
"supplierDlg"
class=
"easyui-dialog"
style=
"width:580px;padding:10px 20px"
closed=
"true"
buttons=
"#supplierDlgBtn"
modal=
"true"
collapsible=
"false"
closable=
"true"
>
<form
id=
"supplierFM"
>
<table>
<tr>
<td
style=
"width: 80px;height: 20px"
>
名称
</td>
<td
style=
"width: 180px;padding:1px"
>
<input
name=
"supplier"
id=
"supplier"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 160px;height: 20px"
/>
</td>
<td
style=
"width: 60px;height: 20px"
>
联系人
</td>
<td
style=
"width:180px;padding:1px;"
>
<input
name=
"contacts"
id=
"contacts"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
手机号码
</td>
<td
style=
"padding:1px;"
>
<input
name=
"telephone"
id=
"telephone"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
电子邮箱
</td>
<td
style=
"padding:1px"
>
<input
name=
"email"
id=
"email"
class=
"easyui-validatebox"
validType=
"email"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
联系电话
</td>
<td
style=
"padding:1px;"
>
<input
name=
"phonenum"
id=
"phonenum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
传真
</td>
<td
style=
"padding:1px"
>
<input
name=
"fax"
id=
"fax"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
期初应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedGet"
id=
"BeginNeedGet"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
></input>
</td>
<td>
期初应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedPay"
id=
"BeginNeedPay"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
></input>
</td>
</tr>
<tr>
<td>
累计应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedGet"
id=
"AllNeedGet"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
disabled=
"true"
></input>
</td>
<td>
累计应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedPay"
id=
"AllNeedPay"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
disabled=
"true"
></input>
</td>
</tr>
<tr>
<td>
纳税人识别号
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxNum"
id=
"taxNum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
税率
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxRate"
id=
"taxRate"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
开户行
</td>
<td
style=
"padding:1px"
>
<input
name=
"bankName"
id=
"bankName"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
账号
</td>
<td
style=
"padding:1px"
>
<input
name=
"accountNumber"
id=
"accountNumber"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
地址
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<input
name=
"address"
id=
"address"
class=
"easyui-validatebox"
style=
"width: 408px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
备注
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<textarea
name=
"description"
id=
"description"
rows=
"2"
cols=
"2"
style=
"width: 408px;"
></textarea>
</td>
</tr>
</table>
</form>
</div>
<div
id=
"supplierDlgBtn"
>
<a
href=
"javascript:void(0)"
id=
"saveSupplier"
class=
"easyui-linkbutton"
iconCls=
"icon-ok"
>
保存
</a>
<a
href=
"javascript:void(0)"
id=
"cancelSupplier"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#supplierDlg').dialog('close')"
>
取消
</a>
</div>
</body>
</html>
erp_web/pages/materials/other_out_list.html
View file @
23a486c5
...
...
@@ -13,8 +13,10 @@
<script
src=
"/js/jquery-1.8.0.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/jquery.easyui.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"/js/handlebars.js"
></script>
<script
src=
"/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/common/common.js"
></script>
<script
src=
"/js/pages/materials/add_temp.js"
></script>
<script
src=
"/js/pages/materials/in_out.js"
></script>
</head>
<body>
...
...
erp_web/pages/materials/purchase_back_list.html
View file @
23a486c5
...
...
@@ -13,8 +13,10 @@
<script
src=
"/js/jquery-1.8.0.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/jquery.easyui.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"/js/handlebars.js"
></script>
<script
src=
"/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/common/common.js"
></script>
<script
src=
"/js/pages/materials/add_temp.js"
></script>
<script
src=
"/js/pages/materials/in_out.js"
></script>
</head>
<body>
...
...
@@ -63,13 +65,7 @@
<tr>
<td
style=
"width:70px;"
>
供应商:
</td>
<td
style=
"padding:5px;width:170px;"
>
<div
class=
"org-list"
>
<input
id=
"OrganId"
name=
"OrganId"
style=
"width:130px;"
/>
</div>
<div
class=
"add-org-btn"
>
<img
id=
"addOrgan"
src=
"/js/easyui-1.3.5/themes/icons/edit_add.png"
style=
"cursor: pointer;"
alt=
"增加供应商"
title=
"增加供应商"
/>
</div>
<input
id=
"OrganId"
name=
"OrganId"
style=
"width:130px;"
/>
</td>
<td
style=
"width:70px;"
>
单据日期:
</td>
<td
style=
"padding:5px"
>
...
...
@@ -278,107 +274,5 @@
<a
href=
"javascript:void(0)"
id=
"saveOtherMoneyDlg"
class=
"easyui-linkbutton"
iconCls=
"icon-ok"
>
保存
</a>
<a
href=
"javascript:void(0)"
id=
"cancelOtherMoneyDlg"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
>
取消
</a>
</div>
<div
id=
"supplierDlg"
class=
"easyui-dialog"
style=
"width:580px;padding:10px 20px"
closed=
"true"
buttons=
"#supplierDlgBtn"
modal=
"true"
collapsible=
"false"
closable=
"true"
>
<form
id=
"supplierFM"
>
<table>
<tr>
<td
style=
"width: 80px;height: 20px"
>
名称
</td>
<td
style=
"width: 180px;padding:1px"
>
<input
name=
"supplier"
id=
"supplier"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 160px;height: 20px"
/>
</td>
<td
style=
"width: 60px;height: 20px"
>
联系人
</td>
<td
style=
"width:180px;padding:1px;"
>
<input
name=
"contacts"
id=
"contacts"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
联系电话
</td>
<td
style=
"padding:1px;"
>
<input
name=
"phonenum"
id=
"phonenum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
手机
</td>
<td
style=
"padding:1px;"
>
<input
name=
"telephone"
id=
"telephone"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
电子邮箱
</td>
<td
style=
"padding:1px"
>
<input
name=
"email"
id=
"email"
class=
"easyui-validatebox"
validType=
"email"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
传真
</td>
<td
style=
"padding:1px"
>
<input
name=
"fax"
id=
"fax"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
期初应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedGet"
id=
"BeginNeedGet"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
></input>
</td>
<td>
期初应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedPay"
id=
"BeginNeedPay"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
></input>
</td>
</tr>
<tr>
<td>
累计应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedGet"
id=
"AllNeedGet"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
disabled=
"true"
></input>
</td>
<td>
累计应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedPay"
id=
"AllNeedPay"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
disabled=
"true"
></input>
</td>
</tr>
<tr>
<td>
纳税人识别号
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxNum"
id=
"taxNum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
税率(%)
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxRate"
id=
"taxRate"
class=
"easyui-numberbox"
data-options=
"validType:'length[1,2]'"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
开户行
</td>
<td
style=
"padding:1px"
>
<input
name=
"bankName"
id=
"bankName"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
账号
</td>
<td
style=
"padding:1px"
>
<input
name=
"accountNumber"
id=
"accountNumber"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
地址
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<input
name=
"address"
id=
"address"
class=
"easyui-validatebox"
style=
"width: 408px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
备注
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<textarea
name=
"description"
id=
"description"
rows=
"2"
cols=
"2"
style=
"width: 408px;"
></textarea>
</td>
</tr>
</table>
</form>
</div>
<div
id=
"supplierDlgBtn"
>
<a
href=
"javascript:void(0)"
id=
"saveSupplier"
class=
"easyui-linkbutton"
iconCls=
"icon-ok"
>
保存
</a>
<a
href=
"javascript:void(0)"
id=
"cancelSupplier"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#supplierDlg').dialog('close')"
>
取消
</a>
</div>
</body>
</html>
erp_web/pages/materials/purchase_in_list.html
View file @
23a486c5
...
...
@@ -13,8 +13,10 @@
<script
src=
"/js/jquery-1.8.0.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/jquery.easyui.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"/js/handlebars.js"
></script>
<script
src=
"/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/common/common.js"
></script>
<script
src=
"/js/pages/materials/add_temp.js"
></script>
<script
src=
"/js/pages/materials/in_out.js"
></script>
</head>
<body>
...
...
@@ -280,107 +282,5 @@
<a
href=
"javascript:void(0)"
id=
"saveOtherMoneyDlg"
class=
"easyui-linkbutton"
iconCls=
"icon-ok"
>
保存
</a>
<a
href=
"javascript:void(0)"
id=
"cancelOtherMoneyDlg"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
>
取消
</a>
</div>
<div
id=
"supplierDlg"
class=
"easyui-dialog"
style=
"width:580px;padding:10px 20px"
closed=
"true"
buttons=
"#supplierDlgBtn"
modal=
"true"
collapsible=
"false"
closable=
"true"
>
<form
id=
"supplierFM"
>
<table>
<tr>
<td
style=
"width: 80px;height: 20px"
>
名称
</td>
<td
style=
"width: 180px;padding:1px"
>
<input
name=
"supplier"
id=
"supplier"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 160px;height: 20px"
/>
</td>
<td
style=
"width: 60px;height: 20px"
>
联系人
</td>
<td
style=
"width:180px;padding:1px;"
>
<input
name=
"contacts"
id=
"contacts"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
手机号码
</td>
<td
style=
"padding:1px;"
>
<input
name=
"telephone"
id=
"telephone"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
电子邮箱
</td>
<td
style=
"padding:1px"
>
<input
name=
"email"
id=
"email"
class=
"easyui-validatebox"
validType=
"email"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
联系电话
</td>
<td
style=
"padding:1px;"
>
<input
name=
"phonenum"
id=
"phonenum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
传真
</td>
<td
style=
"padding:1px"
>
<input
name=
"fax"
id=
"fax"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
期初应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedGet"
id=
"BeginNeedGet"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
></input>
</td>
<td>
期初应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedPay"
id=
"BeginNeedPay"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
></input>
</td>
</tr>
<tr>
<td>
累计应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedGet"
id=
"AllNeedGet"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
disabled=
"true"
></input>
</td>
<td>
累计应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedPay"
id=
"AllNeedPay"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
disabled=
"true"
></input>
</td>
</tr>
<tr>
<td>
纳税人识别号
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxNum"
id=
"taxNum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
税率(%)
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxRate"
id=
"taxRate"
class=
"easyui-numberbox"
data-options=
"validType:'length[1,2]'"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
开户行
</td>
<td
style=
"padding:1px"
>
<input
name=
"bankName"
id=
"bankName"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
账号
</td>
<td
style=
"padding:1px"
>
<input
name=
"accountNumber"
id=
"accountNumber"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
地址
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<input
name=
"address"
id=
"address"
class=
"easyui-validatebox"
style=
"width: 408px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
备注
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<textarea
name=
"description"
id=
"description"
rows=
"2"
cols=
"2"
style=
"width: 408px;"
></textarea>
</td>
</tr>
</table>
</form>
</div>
<div
id=
"supplierDlgBtn"
>
<a
href=
"javascript:void(0)"
id=
"saveSupplier"
class=
"easyui-linkbutton"
iconCls=
"icon-ok"
>
保存
</a>
<a
href=
"javascript:void(0)"
id=
"cancelSupplier"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#supplierDlg').dialog('close')"
>
取消
</a>
</div>
</body>
</html>
erp_web/pages/materials/purchase_orders_list.html
View file @
23a486c5
...
...
@@ -13,8 +13,10 @@
<script
src=
"/js/jquery-1.8.0.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/jquery.easyui.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"/js/handlebars.js"
></script>
<script
src=
"/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/common/common.js"
></script>
<script
src=
"/js/pages/materials/add_temp.js"
></script>
<script
src=
"/js/pages/materials/in_out.js"
></script>
</head>
<body>
...
...
@@ -199,107 +201,5 @@
<a
href=
"javascript:void(0)"
id=
"saveOtherMoneyDlg"
class=
"easyui-linkbutton"
iconCls=
"icon-ok"
>
保存
</a>
<a
href=
"javascript:void(0)"
id=
"cancelOtherMoneyDlg"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
>
取消
</a>
</div>
<div
id=
"supplierDlg"
class=
"easyui-dialog"
style=
"width:580px;padding:10px 20px"
closed=
"true"
buttons=
"#supplierDlgBtn"
modal=
"true"
collapsible=
"false"
closable=
"true"
>
<form
id=
"supplierFM"
>
<table>
<tr>
<td
style=
"width: 80px;height: 20px"
>
名称
</td>
<td
style=
"width: 180px;padding:1px"
>
<input
name=
"supplier"
id=
"supplier"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 160px;height: 20px"
/>
</td>
<td
style=
"width: 60px;height: 20px"
>
联系人
</td>
<td
style=
"width:180px;padding:1px;"
>
<input
name=
"contacts"
id=
"contacts"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
手机号码
</td>
<td
style=
"padding:1px;"
>
<input
name=
"telephone"
id=
"telephone"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
电子邮箱
</td>
<td
style=
"padding:1px"
>
<input
name=
"email"
id=
"email"
class=
"easyui-validatebox"
validType=
"email"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
联系电话
</td>
<td
style=
"padding:1px;"
>
<input
name=
"phonenum"
id=
"phonenum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
传真
</td>
<td
style=
"padding:1px"
>
<input
name=
"fax"
id=
"fax"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
期初应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedGet"
id=
"BeginNeedGet"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
></input>
</td>
<td>
期初应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedPay"
id=
"BeginNeedPay"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
></input>
</td>
</tr>
<tr>
<td>
累计应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedGet"
id=
"AllNeedGet"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
disabled=
"true"
></input>
</td>
<td>
累计应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedPay"
id=
"AllNeedPay"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
disabled=
"true"
></input>
</td>
</tr>
<tr>
<td>
纳税人识别号
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxNum"
id=
"taxNum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
税率(%)
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxRate"
id=
"taxRate"
class=
"easyui-numberbox"
data-options=
"validType:'length[1,2]'"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
开户行
</td>
<td
style=
"padding:1px"
>
<input
name=
"bankName"
id=
"bankName"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
账号
</td>
<td
style=
"padding:1px"
>
<input
name=
"accountNumber"
id=
"accountNumber"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
地址
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<input
name=
"address"
id=
"address"
class=
"easyui-validatebox"
style=
"width: 408px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
备注
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<textarea
name=
"description"
id=
"description"
rows=
"2"
cols=
"2"
style=
"width: 408px;"
></textarea>
</td>
</tr>
</table>
</form>
</div>
<div
id=
"supplierDlgBtn"
>
<a
href=
"javascript:void(0)"
id=
"saveSupplier"
class=
"easyui-linkbutton"
iconCls=
"icon-ok"
>
保存
</a>
<a
href=
"javascript:void(0)"
id=
"cancelSupplier"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#supplierDlg').dialog('close')"
>
取消
</a>
</div>
</body>
</html>
erp_web/pages/materials/retail_back_list.html
View file @
23a486c5
...
...
@@ -13,8 +13,10 @@
<script
src=
"/js/jquery-1.8.0.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/jquery.easyui.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"/js/handlebars.js"
></script>
<script
src=
"/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/common/common.js"
></script>
<script
src=
"/js/pages/materials/add_temp.js"
></script>
<script
src=
"/js/pages/materials/in_out.js"
></script>
</head>
<body>
...
...
erp_web/pages/materials/retail_out_list.html
View file @
23a486c5
...
...
@@ -13,8 +13,10 @@
<script
src=
"/js/jquery-1.8.0.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/jquery.easyui.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"/js/handlebars.js"
></script>
<script
src=
"/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/common/common.js"
></script>
<script
src=
"/js/pages/materials/add_temp.js"
></script>
<script
src=
"/js/pages/materials/in_out.js"
></script>
</head>
<body>
...
...
@@ -249,107 +251,5 @@
<a
href=
"javascript:void(0)"
id=
"saveDepotHeadAccountDlg"
class=
"easyui-linkbutton"
iconCls=
"icon-ok"
>
保存
</a>
<a
href=
"javascript:void(0)"
id=
"cancelDepotHeadAccountDlg"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
>
取消
</a>
</div>
<div
id=
"supplierDlg"
class=
"easyui-dialog"
style=
"width:580px;padding:10px 20px"
closed=
"true"
buttons=
"#supplierDlgBtn"
modal=
"true"
collapsible=
"false"
closable=
"true"
>
<form
id=
"supplierFM"
>
<table>
<tr>
<td
style=
"width: 80px;height: 20px"
>
名称
</td>
<td
style=
"width: 180px;padding:1px"
>
<input
name=
"supplier"
id=
"supplier"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 160px;height: 20px"
/>
</td>
<td
style=
"width: 60px;height: 20px"
>
联系人
</td>
<td
style=
"width:180px;padding:1px;"
>
<input
name=
"contacts"
id=
"contacts"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
联系电话
</td>
<td
style=
"padding:1px;"
>
<input
name=
"phonenum"
id=
"phonenum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
手机
</td>
<td
style=
"padding:1px;"
>
<input
name=
"telephone"
id=
"telephone"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
电子邮箱
</td>
<td
style=
"padding:1px"
>
<input
name=
"email"
id=
"email"
class=
"easyui-validatebox"
validType=
"email"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
传真
</td>
<td
style=
"padding:1px"
>
<input
name=
"fax"
id=
"fax"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
期初应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedGet"
id=
"BeginNeedGet"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
></input>
</td>
<td>
期初应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedPay"
id=
"BeginNeedPay"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
></input>
</td>
</tr>
<tr>
<td>
累计应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedGet"
id=
"AllNeedGet"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
disabled=
"true"
></input>
</td>
<td>
累计应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedPay"
id=
"AllNeedPay"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
disabled=
"true"
></input>
</td>
</tr>
<tr>
<td>
纳税人识别号
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxNum"
id=
"taxNum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
税率
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxRate"
id=
"taxRate"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
开户行
</td>
<td
style=
"padding:1px"
>
<input
name=
"bankName"
id=
"bankName"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
账号
</td>
<td
style=
"padding:1px"
>
<input
name=
"accountNumber"
id=
"accountNumber"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
地址
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<input
name=
"address"
id=
"address"
class=
"easyui-validatebox"
style=
"width: 408px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
备注
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<textarea
name=
"description"
id=
"description"
rows=
"2"
cols=
"2"
style=
"width: 408px;"
></textarea>
</td>
</tr>
</table>
</form>
</div>
<div
id=
"supplierDlgBtn"
>
<a
href=
"javascript:void(0)"
id=
"saveSupplier"
class=
"easyui-linkbutton"
iconCls=
"icon-ok"
>
保存
</a>
<a
href=
"javascript:void(0)"
id=
"cancelSupplier"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#supplierDlg').dialog('close')"
>
取消
</a>
</div>
</body>
</html>
erp_web/pages/materials/sale_back_list.html
View file @
23a486c5
...
...
@@ -13,8 +13,10 @@
<script
src=
"/js/jquery-1.8.0.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/jquery.easyui.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"/js/handlebars.js"
></script>
<script
src=
"/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/common/common.js"
></script>
<script
src=
"/js/pages/materials/add_temp.js"
></script>
<script
src=
"/js/pages/materials/in_out.js"
></script>
</head>
<body>
...
...
@@ -63,7 +65,7 @@
<tr>
<td>
客户:
</td>
<td
style=
"padding:5px"
>
<input
id=
"OrganId"
name=
"OrganId"
style=
"width:1
1
0px;"
/>
<input
id=
"OrganId"
name=
"OrganId"
style=
"width:1
3
0px;"
/>
</td>
<td>
单据日期:
</td>
<td
style=
"padding:5px"
>
...
...
erp_web/pages/materials/sale_orders_list.html
View file @
23a486c5
...
...
@@ -13,8 +13,10 @@
<script
src=
"/js/jquery-1.8.0.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/jquery.easyui.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"/js/handlebars.js"
></script>
<script
src=
"/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/common/common.js"
></script>
<script
src=
"/js/pages/materials/add_temp.js"
></script>
<script
src=
"/js/pages/materials/in_out.js"
></script>
</head>
<body>
...
...
@@ -201,107 +203,5 @@
<a
href=
"javascript:void(0)"
id=
"saveOtherMoneyDlg"
class=
"easyui-linkbutton"
iconCls=
"icon-ok"
>
保存
</a>
<a
href=
"javascript:void(0)"
id=
"cancelOtherMoneyDlg"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
>
取消
</a>
</div>
<div
id=
"supplierDlg"
class=
"easyui-dialog"
style=
"width:580px;padding:10px 20px"
closed=
"true"
buttons=
"#supplierDlgBtn"
modal=
"true"
collapsible=
"false"
closable=
"true"
>
<form
id=
"supplierFM"
>
<table>
<tr>
<td
style=
"width: 80px;height: 20px"
>
名称
</td>
<td
style=
"width: 180px;padding:1px"
>
<input
name=
"supplier"
id=
"supplier"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 160px;height: 20px"
/>
</td>
<td
style=
"width: 60px;height: 20px"
>
联系人
</td>
<td
style=
"width:180px;padding:1px;"
>
<input
name=
"contacts"
id=
"contacts"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
联系电话
</td>
<td
style=
"padding:1px;"
>
<input
name=
"phonenum"
id=
"phonenum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
手机
</td>
<td
style=
"padding:1px;"
>
<input
name=
"telephone"
id=
"telephone"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
电子邮箱
</td>
<td
style=
"padding:1px"
>
<input
name=
"email"
id=
"email"
class=
"easyui-validatebox"
validType=
"email"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
传真
</td>
<td
style=
"padding:1px"
>
<input
name=
"fax"
id=
"fax"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
期初应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedGet"
id=
"BeginNeedGet"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
></input>
</td>
<td>
期初应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedPay"
id=
"BeginNeedPay"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
></input>
</td>
</tr>
<tr>
<td>
累计应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedGet"
id=
"AllNeedGet"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
disabled=
"true"
></input>
</td>
<td>
累计应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedPay"
id=
"AllNeedPay"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
disabled=
"true"
></input>
</td>
</tr>
<tr>
<td>
纳税人识别号
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxNum"
id=
"taxNum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
税率(%)
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxRate"
id=
"taxRate"
class=
"easyui-numberbox"
data-options=
"validType:'length[1,2]'"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
开户行
</td>
<td
style=
"padding:1px"
>
<input
name=
"bankName"
id=
"bankName"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
账号
</td>
<td
style=
"padding:1px"
>
<input
name=
"accountNumber"
id=
"accountNumber"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
地址
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<input
name=
"address"
id=
"address"
class=
"easyui-validatebox"
style=
"width: 408px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
备注
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<textarea
name=
"description"
id=
"description"
rows=
"2"
cols=
"2"
style=
"width: 408px;"
></textarea>
</td>
</tr>
</table>
</form>
</div>
<div
id=
"supplierDlgBtn"
>
<a
href=
"javascript:void(0)"
id=
"saveSupplier"
class=
"easyui-linkbutton"
iconCls=
"icon-ok"
>
保存
</a>
<a
href=
"javascript:void(0)"
id=
"cancelSupplier"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#supplierDlg').dialog('close')"
>
取消
</a>
</div>
</body>
</html>
erp_web/pages/materials/sale_out_list.html
View file @
23a486c5
...
...
@@ -13,8 +13,10 @@
<script
src=
"/js/jquery-1.8.0.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/jquery.easyui.min.js"
></script>
<script
src=
"/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"/js/handlebars.js"
></script>
<script
src=
"/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/common/common.js"
></script>
<script
src=
"/js/pages/materials/add_temp.js"
></script>
<script
src=
"/js/pages/materials/in_out.js"
></script>
</head>
<body>
...
...
@@ -282,107 +284,5 @@
<a
href=
"javascript:void(0)"
id=
"saveOtherMoneyDlg"
class=
"easyui-linkbutton"
iconCls=
"icon-ok"
>
保存
</a>
<a
href=
"javascript:void(0)"
id=
"cancelOtherMoneyDlg"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
>
取消
</a>
</div>
<div
id=
"supplierDlg"
class=
"easyui-dialog"
style=
"width:580px;padding:10px 20px"
closed=
"true"
buttons=
"#supplierDlgBtn"
modal=
"true"
collapsible=
"false"
closable=
"true"
>
<form
id=
"supplierFM"
>
<table>
<tr>
<td
style=
"width: 80px;height: 20px"
>
名称
</td>
<td
style=
"width: 180px;padding:1px"
>
<input
name=
"supplier"
id=
"supplier"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 160px;height: 20px"
/>
</td>
<td
style=
"width: 60px;height: 20px"
>
联系人
</td>
<td
style=
"width:180px;padding:1px;"
>
<input
name=
"contacts"
id=
"contacts"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
联系电话
</td>
<td
style=
"padding:1px;"
>
<input
name=
"phonenum"
id=
"phonenum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
手机
</td>
<td
style=
"padding:1px;"
>
<input
name=
"telephone"
id=
"telephone"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
电子邮箱
</td>
<td
style=
"padding:1px"
>
<input
name=
"email"
id=
"email"
class=
"easyui-validatebox"
validType=
"email"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
传真
</td>
<td
style=
"padding:1px"
>
<input
name=
"fax"
id=
"fax"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
期初应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedGet"
id=
"BeginNeedGet"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
></input>
</td>
<td>
期初应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedPay"
id=
"BeginNeedPay"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
></input>
</td>
</tr>
<tr>
<td>
累计应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedGet"
id=
"AllNeedGet"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
disabled=
"true"
></input>
</td>
<td>
累计应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedPay"
id=
"AllNeedPay"
type=
"text"
class=
"easyui-numberbox"
data-options=
"min:0,precision:2"
style=
"width: 160px;height: 20px"
disabled=
"true"
></input>
</td>
</tr>
<tr>
<td>
纳税人识别号
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxNum"
id=
"taxNum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
税率(%)
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxRate"
id=
"taxRate"
class=
"easyui-numberbox"
data-options=
"validType:'length[1,2]'"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
开户行
</td>
<td
style=
"padding:1px"
>
<input
name=
"bankName"
id=
"bankName"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
账号
</td>
<td
style=
"padding:1px"
>
<input
name=
"accountNumber"
id=
"accountNumber"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
地址
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<input
name=
"address"
id=
"address"
class=
"easyui-validatebox"
style=
"width: 408px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
备注
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<textarea
name=
"description"
id=
"description"
rows=
"2"
cols=
"2"
style=
"width: 408px;"
></textarea>
</td>
</tr>
</table>
</form>
</div>
<div
id=
"supplierDlgBtn"
>
<a
href=
"javascript:void(0)"
id=
"saveSupplier"
class=
"easyui-linkbutton"
iconCls=
"icon-ok"
>
保存
</a>
<a
href=
"javascript:void(0)"
id=
"cancelSupplier"
class=
"easyui-linkbutton"
iconCls=
"icon-cancel"
onclick=
"javascript:$('#supplierDlg').dialog('close')"
>
取消
</a>
</div>
</body>
</html>
erp_web/pages/template/base.html
0 → 100644
View file @
23a486c5
{{#if supplierSelect}}
<div
id=
"supplierDlg"
style=
"width:580px;padding:10px 20px"
buttons=
"#supplierDlgBtn"
>
<form
id=
"supplierFM"
>
<table>
<tr>
<td
style=
"width: 80px;height: 20px"
>
名称
</td>
<td
style=
"width: 180px;padding:1px"
>
<input
name=
"supplier"
id=
"supplier"
style=
"width: 160px;height: 20px"
/>
</td>
<td
style=
"width: 60px;height: 20px"
>
联系人
</td>
<td
style=
"width:180px;padding:1px;"
>
<input
name=
"contacts"
id=
"contacts"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
手机号码
</td>
<td
style=
"padding:1px;"
>
<input
name=
"telephone"
id=
"telephone"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
电子邮箱
</td>
<td
style=
"padding:1px"
>
<input
name=
"email"
id=
"email"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
联系电话
</td>
<td
style=
"padding:1px;"
>
<input
name=
"phonenum"
id=
"phonenum"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
传真
</td>
<td
style=
"padding:1px"
>
<input
name=
"fax"
id=
"fax"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
期初应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedGet"
id=
"BeginNeedGet"
type=
"text"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
期初应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"BeginNeedPay"
id=
"BeginNeedPay"
type=
"text"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
累计应收
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedGet"
id=
"AllNeedGet"
type=
"text"
style=
"width: 160px;height: 20px"
disabled=
"true"
/>
</td>
<td>
累计应付
</td>
<td
style=
"padding:1px"
>
<input
name=
"AllNeedPay"
id=
"AllNeedPay"
type=
"text"
style=
"width: 160px;height: 20px"
disabled=
"true"
/>
</td>
</tr>
<tr>
<td>
纳税人识别号
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxNum"
id=
"taxNum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
税率(%)
</td>
<td
style=
"padding:1px"
>
<input
name=
"taxRate"
id=
"taxRate"
class=
"easyui-numberbox"
data-options=
"validType:'length[1,2]'"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
开户行
</td>
<td
style=
"padding:1px"
>
<input
name=
"bankName"
id=
"bankName"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
账号
</td>
<td
style=
"padding:1px"
>
<input
name=
"accountNumber"
id=
"accountNumber"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
地址
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<input
name=
"address"
id=
"address"
class=
"easyui-validatebox"
style=
"width: 408px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
备注
</td>
<td
style=
"padding:1px"
colspan=
"3"
>
<textarea
name=
"description"
id=
"description"
rows=
"2"
cols=
"2"
style=
"width: 408px;"
></textarea>
</td>
</tr>
</table>
</form>
</div>
<div
id=
"supplierDlgBtn"
>
<a
href=
"javascript:void(0)"
id=
"saveSupplier"
>
保存
</a>
<a
href=
"javascript:void(0)"
id=
"cancelSupplier"
onclick=
"javascript:$('#supplierDlg').dialog('close')"
>
取消
</a>
</div>
{{/if}}
\ No newline at end of file
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