租赁物修改车架号
This commit is contained in:
parent
e5e58d79c9
commit
40120b5ecb
@ -32,13 +32,14 @@
|
||||
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%>
|
||||
<%
|
||||
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
|
||||
String ProjectNo = CurPage.getParameter("ProjectNo");
|
||||
String projectId = CurPage.getParameter("ProjectId");
|
||||
String ApplyType = CurPage.getParameter("ApplyType");
|
||||
String flowName = CurPage.getParameter("FlowName");//流程名称
|
||||
String contractid = CurPage.getParameter("ContractId");
|
||||
String showtype = CurPage.getParameter("ShowType");
|
||||
String operationType = CurPage.getParameter("operationType");
|
||||
|
||||
String status = Sqlca.getString("select STATUS from LM_GPS_ORDER_TEMP where APPLY_NO='"+ProjectNo+"'");
|
||||
BizObject boLPI= JBOFactory.createBizObjectQuery(LB_PROJECT_INFO.CLASS_NAME,"ID='"+projectId+"'").getSingleResult(false);
|
||||
//String carType=boLPI.getAttribute("CAR_TYPE").toString();
|
||||
String carType="new_car";
|
||||
@ -444,6 +445,13 @@
|
||||
}
|
||||
|
||||
function checkFrameNumber(){
|
||||
|
||||
if("1"=='<%=status%>'||"8"=='<%=status%>'){
|
||||
alert("车架号改变后请修改GPS工单!");
|
||||
}else if("2"=='<%=status%>'||"3"=='<%=status%>'||"4"=='<%=status%>'||"5"=='<%=status%>'){
|
||||
alert("GPS工单当前状态无法线上修改工单,请线下操作!");
|
||||
}
|
||||
|
||||
var vin = getItemValue(0,getRow(0),"FRAME_NUMBER");
|
||||
if((typeof(vin) == "undefined" || vin == "")){
|
||||
setErrorTips("FRAME_NUMBER","");
|
||||
@ -575,6 +583,7 @@
|
||||
}
|
||||
},"选择车辆");
|
||||
}
|
||||
|
||||
</script>
|
||||
<%/*~END~*/%>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user