车辆评估和合同制作权限
This commit is contained in:
parent
456599f967
commit
0b977e3e3e
@ -12,12 +12,17 @@ function newApply()
|
||||
}
|
||||
sReturn = sReturn.split("@");
|
||||
var framenumber=sReturn[0];
|
||||
var contractnumber=sReturn[2];
|
||||
var contractid=sReturn[1];
|
||||
var contractnumber=sReturn[2];
|
||||
var customerid=sReturn[3];
|
||||
var customername=sReturn[4];
|
||||
var plate_number=sReturn[6];
|
||||
var platetime=sReturn[7];
|
||||
var park_place=sReturn[8];
|
||||
var having_key=sReturn[9];
|
||||
var ProjectName=framenumber+"-"+customername;
|
||||
var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>";
|
||||
sParams =sParams+",ProjectName="+ProjectName+",ContractId="+contractid+",FlowKey="+contractnumber+",ApplyType=<%=sApplyType%>";
|
||||
sParams =sParams+",ProjectName="+ProjectName+",ContractId="+contractid+",customerid="+customerid+",customername="+customername+",plate_number="+plate_number+",platetime="+platetime+",park_place="+park_place+",having_key="+having_key+",FlowKey="+contractnumber+",ApplyType=<%=sApplyType%>";
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.carmanage.carevaluate.CarEvaluateStartAction","initFLow",sParams);
|
||||
|
||||
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_") return;
|
||||
|
||||
@ -9,6 +9,18 @@
|
||||
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
||||
String ishistory=CurPage.getParameter("IsHistory");
|
||||
String RightType= CurPage.getParameter("RightType");
|
||||
|
||||
String contractId= CurPage.getParameter("ContractId");
|
||||
String contractNumber= CurPage.getParameter("FlowKey");
|
||||
String customerid = CurPage.getParameter("customerid");
|
||||
String customername = CurPage.getParameter("customername");
|
||||
String platetime = CurPage.getParameter("platetime");
|
||||
String parkplace = CurPage.getParameter("park_place");
|
||||
|
||||
String havingkey = CurPage.getParameter("having_key");
|
||||
|
||||
System.out.print(contractId+"==="+contractNumber+"==="+customerid+"===="+customername);
|
||||
|
||||
if(RightType == null) RightType = "";
|
||||
if(sPrevUrl == null) sPrevUrl = "";
|
||||
String framenumber = Sqlca.getString("select proj_name from FLOW_BUSSINESS_OBJECT where flow_unid ='"+flowunid+"'");
|
||||
@ -25,16 +37,31 @@
|
||||
dwTemp.genHTMLObjectWindow(flowunid);
|
||||
|
||||
String sButtons[][] = {
|
||||
{"true","All","Button","保存","保存所有修改","save()","","","",""},
|
||||
{"true","All","Button","±£´æ","±£´æËùÓÐÐÞ¸Ä","save()","","","",""}
|
||||
};
|
||||
|
||||
sButtonPosition = "north";
|
||||
CurPage.getCurComp().setAttribute("RightType", RightType);
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function returnList(){
|
||||
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
|
||||
window.onload=function(){
|
||||
setItemValue(0, getRow(0), "FRAME_NUMBER", '<%=framenumber%>');
|
||||
setItemValue(0, getRow(0), "CONTRACT_ID", '<%=contractId%>');
|
||||
setItemValue(0, getRow(0), "CUSTOMER_ID", '<%=customerid%>');
|
||||
setItemValue(0, getRow(0), "CONTRACT_NUMBER", '<%=contractNumber%>');
|
||||
setItemValue(0, getRow(0), "CUSTOMER_NAME", '<%=customername%>');
|
||||
|
||||
setItemValue(0, getRow(0), "PARK_PLACE", '<%=parkplace%>');
|
||||
setItemValue(0, getRow(0), "HAVING_KEY", '<%=havingkey%>');
|
||||
setItemValue(0, getRow(0), "PLATETIME", '<%=platetime%>');
|
||||
|
||||
}
|
||||
function selectFramNumb(){
|
||||
|
||||
|
||||
function returnList(){
|
||||
AsControl.OpenView("", "","_self","");
|
||||
}
|
||||
<%-- function selectFramNumb(){
|
||||
debugger;
|
||||
var userid="<%=CurUser.getUserID()%>";
|
||||
AsDialog.OpenSelector("SelectCarMessage","userid,"+userid+",FRAME_NUMBER,"+"<%=framenumber%>","dialogWidth=" + parseInt(window.screen.width * 0.43) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
|
||||
@ -59,7 +86,7 @@
|
||||
setItemValue(0, getRow(0), "HAVING_KEY", havingkey);
|
||||
setItemValue(0, getRow(0), "PLATETIME", platetime);
|
||||
},"ÇëÑ¡Ôñ¿Í»§");
|
||||
}
|
||||
} --%>
|
||||
|
||||
function selectRegional(){
|
||||
newRecord();
|
||||
|
||||
@ -25,7 +25,9 @@
|
||||
|
||||
String sButtons[][] = {
|
||||
{"true","All","Button","保存","保存所有修改","save()","","","",""},
|
||||
{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","·µ»Ø","·µ»ØÁбí","returnList()","","","",""}
|
||||
/* {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","·µ»Ø","·µ»ØÁбí","returnList()","","","",""}
|
||||
}; */
|
||||
{"true","All","Button","·µ»Ø","·µ»ØÁбí","returnList()","","","","btn_icon_return"}
|
||||
};
|
||||
sButtonPosition = "north";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
@ -68,8 +70,11 @@ function selectCar(){
|
||||
reloadSelf();
|
||||
},"上传报告");
|
||||
} */
|
||||
function returnList(){
|
||||
<%-- function returnList(){
|
||||
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
|
||||
} --%>
|
||||
function returnList(){
|
||||
AsControl.OpenView("/Tenwa/Lease/Flow/CarManage/CarRegister/CarRegisterList.jsp", "","_self","");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -9,14 +9,15 @@
|
||||
})
|
||||
|
||||
function newApply()
|
||||
{ var flowno="<%=CurPage.getParameter("ApplyType")%>";
|
||||
{ var userid="<%=CurUser.getUserID()%>";
|
||||
var flowno="<%=CurPage.getParameter("ApplyType")%>";
|
||||
var selname="";
|
||||
if(flowno=="BContractApproveApply"){
|
||||
selname="SelectProjectForContract_Car";
|
||||
}else{
|
||||
selname="SelectProjectForContract";
|
||||
}
|
||||
AsDialog.OpenSelector(selname,"","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
AsDialog.OpenSelector(selname,"userid,"+userid,"dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="_NONE_"){
|
||||
//alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user