1.佣金比例动态显示百分比。
This commit is contained in:
parent
1709847e46
commit
9e8ddbe048
@ -1,3 +1,7 @@
|
||||
<%@page import="com.amarsoft.are.jbo.BizObject"%>
|
||||
<%@page import="com.amarsoft.are.jbo.JBOException"%>
|
||||
<%@page import="com.amarsoft.are.jbo.JBOFactory"%>
|
||||
<%@page import="jbo.app.AWE_DO_LIBRARY"%>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
|
||||
/*
|
||||
@ -11,21 +15,29 @@
|
||||
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,'getRowCount(0)')","","","","btn_icon_delete",""},
|
||||
{"true","All","Button","²âÊÔ","²âÊÔ","unit()","","","","btn_icon_add",""},
|
||||
};
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
debugger;
|
||||
var dis_ratio = getItemValue(0,0,"dis_ratio");
|
||||
if(dis_ratio==""){
|
||||
setItemUnit(0, 0, "dis_ratio", "");
|
||||
$().ready(function(){
|
||||
unit();
|
||||
});
|
||||
function unit(){
|
||||
var count = getRowCount(0);
|
||||
for(var i=0;i<count;i++){
|
||||
var dis_ratio = getItemValue(0,i,"dis_ratio");
|
||||
if(dis_ratio==""){
|
||||
$("#DIV_Data_myiframe0_"+i+"_3").text("");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function newRecord(){
|
||||
var sUrl = "/Tenwa/Lease/App/Interface/CarInfo/LbProductSalvageInfo.jsp";
|
||||
AsControl.OpenView(sUrl,'','_self','');
|
||||
@ -39,5 +51,6 @@
|
||||
}
|
||||
AsControl.OpenView(sUrl,'id=' +sPara ,'_self','');
|
||||
}
|
||||
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
Loading…
x
Reference in New Issue
Block a user