rushfee/build/classes/html/rush/mianzhengAdd.html

46 lines
1.3 KiB
HTML

<html login="false">
<head>
<meta charset="UTF-8">
<title>新增免收户</title>
</head>
<body>
<div widget="toolbar">
<a widget="button" iconCls="icon-save" onclick="save" linkToState="editold,editnew">保存</a>
<a widget="button" iconCls="icon-exit" onclick="CloseWindow()">退出</a>
</div>
<input widget="edit" name="cust_name" label="客户名称" required="true" style="margin-top:5px;"/>
<input widget="edit" name="cust_tax_code" label="客户税号" required="true" style="margin-top:5px;"/>
<script type="text/javascript">
function save(){
if(!FORM.validate())
{
return;
}
aos.post({
url:"mianzheng/addCust",
data:aos.getForm().getData(),
success:function(data, textStatus, jqXHR){
if(data.isOk == 1){
aos.tip('保存成功');
CloseWindow();
}
else{
aos.tip(data.msg);
}
}
});
}
function conCloseClick (e){
var obj =e.sender;
obj.setText("");
obj.setValue("");
}
</script>
</body>
</html>