凭证内部客商接口更新记录页面

This commit is contained in:
xiezhiwen 2018-12-25 18:20:30 +08:00
parent 3f2384056c
commit 4b307f0ec8
2 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,39 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2018-12-25
Content:
History Log:
*/
ASObjectModel doTemp = new ASObjectModel("CUSTOMER_LOG");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.MultiSelect = true; //多选
// dwTemp.ShowSummary="1"; //汇总
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow("");
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
/* {"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""}, */
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord(){
var sUrl = "";
AsControl.OpenView(sUrl,'','_self','');
}
function viewAndEdit(){
var sUrl = "";
var sPara = getItemValue(0,getRow(0),'SerialNo');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsControl.OpenView(sUrl,'SerialNo=' +sPara ,'_self','');
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -152,6 +152,29 @@
</managerProperties>
</manager>
</class>
<class name="CUSTOMER_LOG" label="内部客商接口服务端记录日志表" keyAttributes="ID">
<attributes>
<attribute name="ID" label="ID" type="STRING" length="32"/>
<attribute name="CUST_NO" label="纳税人识别号" type="STRING" length="52"/>
<attribute name="CUST_TYPE" label="分类" type="STRING" length="32"/>
<attribute name="OLD_CUST_ID" label="原客商编码" type="STRING" length="32"/>
<attribute name="OLD_CUST_NAME" label="原客商名称" type="STRING" length="100"/>
<attribute name="NEW_CUST_ID" label="用友传入客商编码" type="STRING" length="32"/>
<attribute name="NEW_CUST_NAME" label="用友传入客商名称" type="STRING" length="100"/>
<attribute name="RECORD_DATE" label="记录日期" type="DATE" length="19"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="32"/>
<attribute name="inputorgid" label="登记机构" type="STRING" length="32"/>
<attribute name="inputtime" label="登记时间" type="DATE" length="19"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="32"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="32"/>
<attribute name="updatetime" label="更新时间" type="DATE" length="19"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="customer_log" />
</managerProperties>
</manager>
</class>
</package>
</jbo>