Pārlūkot izejas kodu

时间提示

git-svn-id: https://192.168.57.71/svn/jsgkj@65 931142cf-59ea-a443-aa0e-51397b428577
ld_liufl 9 gadi atpakaļ
vecāks
revīzija
c7e51e72b4

+ 10 - 1
gkaq/yjpt-flex/trunk/src/com/jtgh/yjpt/vo/jyrxxgl/RyjbxxVo.as

@@ -1,10 +1,11 @@
 package com.jtgh.yjpt.vo.jyrxxgl
 {
-	import com.jtgh.yjpt.common.util.Constants;
 	import com.jtgh.yjpt.vo.BaseVo;
 	import com.jtgh.yjpt.vo.common.CodeVo;
 	import com.jtgh.yjpt.vo.gkgq.GqVo;
 	import com.jtgh.yjpt.vo.jyr.JyrVo;
+	
+	import mx.formatters.DateFormatter;
 
 	[Bindable]
 	[RemoteClass(alias="com.jtgh.yjpt.entity.jyrxxgl.RyjbxxEntity")]
@@ -66,6 +67,14 @@ package com.jtgh.yjpt.vo.jyrxxgl
 		public function get yxqName():Date{
 			return  firstZs==null?null:firstZs.yxq;
 		}
+		public function get yxqString():String{
+			var df:DateFormatter = new DateFormatter;
+			df.formatString="YYYY-MM-DD";
+			if(firstZs!=null){
+				df.format(firstZs.yxq);
+			}
+			return  "";
+		}
 		public function get zszlName():String{
 			return firstZs==null?"":firstZs.zszl;
 		}