业务申请,租赁物车辆信息List修改,info页面车架号字段校验修改

This commit is contained in:
user 2018-06-19 16:05:30 +08:00
parent b0d9cc632e
commit 7ea77cf252
2 changed files with 11 additions and 11 deletions

View File

@ -101,12 +101,12 @@ if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.
}else{
sButtons=new String[][]{
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
{"true","","Button","新增","新增租赁物信息","newRecord()","","","","btn_icon_add",""},
//{"true","","Button","新增","新增租赁物信息","newRecord()","","","","btn_icon_add",""},
{"true","","Button","修改","修改租赁物信息","viewAndEdit()","","","","btn_icon_edit"},
{"true","","Button","删除","删除租赁物信息","deleteRecord()","","","","btn_icon_delete",""},
{"true","","Button","导入Excel","导入租赁物信息Excel","inExcel()","","","","btn_icon_import",""},
{"true","","Button","导出Excel","导出租赁物信息Excel","exportPage('"+sWebRootPath+"',0,'excel','"+dwTemp.getArgsValue()+"')","","","","btn_icon_export",""},
{"true","","Button","下载模板","下载租赁物信息模板","downLoad()","","","","btn_icon_down",""}
//{"true","","Button","删除","删除租赁物信息","deleteRecord()","","","","btn_icon_delete",""},
//{"true","","Button","导入Excel","导入租赁物信息Excel","inExcel()","","","","btn_icon_import",""},
//{"true","","Button","导出Excel","导出租赁物信息Excel","exportPage('"+sWebRootPath+"',0,'excel','"+dwTemp.getArgsValue()+"')","","","","btn_icon_export",""},
//{"true","","Button","下载模板","下载租赁物信息模板","downLoad()","","","","btn_icon_down",""}
};
}
%>

View File

@ -237,12 +237,12 @@
function checkFrameNumber(){
var vin = getItemValue(0,getRow(0),"FRAME_NUMBER");
if (!getCheckCode(vin)){
setErrorTips("FRAME_NUMBER","车架号格式有误!");
return false;
}else{
setErrorTips("FRAME_NUMBER","");
}
// if (!getCheckCode(vin)){
// setErrorTips("FRAME_NUMBER","车架号格式有误!");
// return false;
// }else{
// setErrorTips("FRAME_NUMBER","");
// }
return true;
}