车辆竞价
This commit is contained in:
parent
4e128b311c
commit
3cc5562bff
@ -4,7 +4,7 @@
|
||||
Author: undefined 2017-09-11
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
*/
|
||||
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
||||
String framenumber = CurPage.getParameter("FRAME_NUMBER");
|
||||
String flowunid = CurPage.getParameter("FlowUnid");
|
||||
@ -12,12 +12,12 @@
|
||||
if(RightType == null) RightType = "";
|
||||
String ishistory=CurPage.getParameter("IsHistory");
|
||||
if(sPrevUrl == null) sPrevUrl = "/Tenwa/Lease/Flow/CarManage/CarBid/LcCarBidList.jsp";
|
||||
|
||||
|
||||
String sTempletNo = "LcCarBidDetail";//--模板号--
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
doTemp.setDefaultValue("FRAME_NUMBER", framenumber);
|
||||
doTemp.setDefaultValue("flowunid", flowunid);
|
||||
doTemp.setDefaultValue("BID_STATUS", "N");
|
||||
//doTemp.setDefaultValue("BID_STATUS", "N");
|
||||
if(null!=ishistory&&ishistory.equals("true") && "ReadOnly".equals(RightType)){
|
||||
doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataInfoHistory");//如果是历史则新显示历史数据
|
||||
}
|
||||
@ -34,11 +34,10 @@
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function save(){
|
||||
//setItemValue(0, getRow(0), "FRAME_NUMBER", framenumber);
|
||||
as_save(0,'returnList()');
|
||||
}
|
||||
function returnList(){
|
||||
AsControl.OpenView("<%=sPrevUrl%>", "FlowUnid="+getItemValue(0,0,"flowunid"),"_self","");
|
||||
AsControl.OpenView("<%=sPrevUrl%>", "FlowUnid="+getItemValue(0,0,"flowunid")+"&FRAME_NUMBER="+getItemValue(0,0,"FRAME_NUMBER"),"_self","");
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -33,7 +33,7 @@
|
||||
sButtons = new String[][]{
|
||||
{"true","","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
|
||||
{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
|
||||
{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
|
||||
{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""},
|
||||
};
|
||||
} else{
|
||||
sButtons = new String[][]{};
|
||||
@ -51,7 +51,7 @@
|
||||
alert("参数不能为空!");
|
||||
return ;
|
||||
}
|
||||
AsControl.OpenView(sUrl,'SerialNo=' +sPara ,'_self','');
|
||||
AsControl.OpenView(sUrl,'SerialNo=' +sPara +'&FRAME_NUMBER='+"<%=framenumber%>" ,'_self','');
|
||||
}
|
||||
|
||||
function changeRecord(){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user