2020-08-17 13:31:13 +08:00

41 lines
1.7 KiB
Plaintext

<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2020-08-16
Content: 示例详情页面
History Log:
*/
String sPrevUrl = CurPage.getParameter("PrevUrl");
if(sPrevUrl == null) sPrevUrl = "";
String sTempletNo = "CompanyLoanBatchInfo";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.setColTips("", "测试");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//只读模式
dwTemp.genHTMLObjectWindow(CurPage.getParameter("SerialNo"));
String sButtons[][] = {
{"true","All","Button","保存","保存所有修改","save()","","","",""},
{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""}
};
sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function returnList(){
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
}
function save(){
if(!iV_all('myiframe0'))return;
var data = {};
data["car_money_had"] = getItemValue(0,getRow(0),"car_money_had");
data["handling_charge_money_had"] = getItemValue(0,getRow(0),"handling_charge_money_had");
data["purchase_tax_had"] = getItemValue(0,getRow(0),"purchase_tax_had");
data["insurance_premium_had"] = getItemValue(0,getRow(0),"insurance_premium_had");
data["incidental_had"] = getItemValue(0,getRow(0),"incidental_had");
AsDialog.ClosePage(data);
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>