|
@@ -226,9 +226,9 @@ package com.jtgh.yjpt.model.jyr
|
|
|
public function doSave():void{
|
|
|
//总资总额
|
|
|
if(thisView.tzze.text!="")
|
|
|
- vo.tzze=new Number(thisView.tzze.text);
|
|
|
+ vo.tzze=new Number(thisView.tzze.text);
|
|
|
if(thisView.zczb.text!="")
|
|
|
- vo.zczb=new Number(thisView.zczb.text);
|
|
|
+ vo.zczb=new Number(thisView.zczb.text);
|
|
|
vo.szd=thisView.szd.selectedVO as CodeVo;
|
|
|
vo.zs = thisView.zs.selectedVO as CodeVo;
|
|
|
vo.szgq=thisView.szgq.selectedVO as GqVo;
|
|
@@ -237,9 +237,9 @@ package com.jtgh.yjpt.model.jyr
|
|
|
vo.qylx=thisView.qylx.textValue as String;
|
|
|
vo.sfwhqy=thisView.sfwhqy.textValue as String;
|
|
|
if(thisView.rs.text!="")
|
|
|
- vo.rs=new Number(thisView.rs.text);
|
|
|
+ vo.rs=new Number(thisView.rs.text);
|
|
|
if(thisView.zzagrysl.text!="")
|
|
|
- vo.zzagrysl=new Number(thisView.zzagrysl.text);
|
|
|
+ vo.zzagrysl=new Number(thisView.zzagrysl.text);
|
|
|
vo.sshydl=thisView.sshydl.selectedVO as CodeVo;
|
|
|
vo.sshyz=thisView.sshyz.selectedVO as CodeVo;
|
|
|
vo.xzqh=thisView.xzqh.selectedVO as CodeVo;
|
|
@@ -325,12 +325,7 @@ package com.jtgh.yjpt.model.jyr
|
|
|
Utils.showInfoMessage("jyr.gkjyr.empty",null,"jlrxxgl");
|
|
|
return false;
|
|
|
}
|
|
|
-// if(vo.qyxz == null)
|
|
|
-// {
|
|
|
-// Utils.showInfoMessage("jyr.qyxz.empty",null,"jlrxxgl");
|
|
|
-// return false;
|
|
|
-// }
|
|
|
-
|
|
|
+
|
|
|
if(vo.gkjyxkzh == null||vo.gkjyxkzh.length==0 )
|
|
|
{
|
|
|
Utils.showInfoMessage("jyr.gkjyxkzh.empty",null,"jlrxxgl");
|
|
@@ -409,6 +404,9 @@ package com.jtgh.yjpt.model.jyr
|
|
|
Utils.showInfoMessage("jyr.gjjgdm.empty",null,"jlrxxgl");
|
|
|
return false;
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ //是否危货企业及其连带值判断
|
|
|
if(vo.sfwhqy == null||vo.sfwhqy.length==0)
|
|
|
{
|
|
|
Utils.showInfoMessage("jyr.sfwhqy.empty",null,"jlrxxgl");
|
|
@@ -447,6 +445,8 @@ package com.jtgh.yjpt.model.jyr
|
|
|
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
return true;
|
|
|
}
|
|
|
|