...
|
...
|
@@ -25,16 +25,16 @@ var edit=require('../common/edit'); |
|
|
}
|
|
|
return true;
|
|
|
});
|
|
|
// e.on("validate",function(){
|
|
|
// //registeredCapital
|
|
|
// var registeredCapital=$.trim($("#registeredCapital").val());
|
|
|
// //+registeredCapital<999999999.99
|
|
|
// if(!/^(([0-9]{1,9})(\.[0-9]{1,2}){0,1})$/.test(registeredCapital)){
|
|
|
// return "注册资本格式无效(0~999999999.99)";
|
|
|
// }
|
|
|
// //phone
|
|
|
// return true;
|
|
|
// });
|
|
|
e.on("validate",function(){
|
|
|
//registeredCapital
|
|
|
var registeredCapital=$.trim($("#registeredCapital").val());
|
|
|
//+registeredCapital<999999999.99
|
|
|
if(!/^(([0-9]{1,9})(\.[0-9]{1,2}){0,1})$/.test(registeredCapital)){
|
|
|
return "注册资本格式无效(0~999999999.99)";
|
|
|
}
|
|
|
//phone
|
|
|
return true;
|
|
|
});
|
|
|
e.init();
|
|
|
var submit=function(callback,config){
|
|
|
e.submit($("#basicForm").attr("action"),function(option){
|
...
|
...
|
|