浏览代码

git-svn-id: https://192.168.57.71/svn/jsgkj@881 931142cf-59ea-a443-aa0e-51397b428577

xt_xuhao 8 年之前
父节点
当前提交
266605810a

+ 5 - 3
gkaq/yjpt-flex/trunk/src/com/jtgh/yjpt/view/zysqbp/ZysqbpView.mxml

@@ -301,7 +301,8 @@
 				//审核
 				param.setParameter("SHR",shr.text);
 				param.setParameter("SHYJ",shyj.text);
-				param.setParameter("SHSJ",shsj.selectedDate);
+				//param.setParameter("SHSJ",shsj.selectedDate);
+				param.setParameter("SHSJ",shsj.dateTime);
 				param.setParameter("SHJG",shjg.text);
 				param.format="pdf";
 				PrintUtil.doPrint(param,"_blank");
@@ -558,8 +559,9 @@
 								  includeInLayout="{zysqbp.recordStatus==2 || zysqbp.recordStatus == 8|| zysqbp.recordStatus ==4}">
 							<cus:QLabel text="审批人" width="120" textAlign="right"/>
 							<cus:QTextInput id="shr" width="200"  editable="false" text="{zysqbp.xsscTask==null?zysqbp.zdspTask.auditUsername:zysqbp.xsscTask.auditUsername}"/>	
-							<cus:QLabel text="审批时间" width="120" textAlign="right"/>
-							<ui:DateField id="shsj" width="200"  enabled="false" selectedDate="{zysqbp.xsscTask==null?zysqbp.zdspTask.auditTime:zysqbp.xsscTask.auditTime}"/>
+							<cus:QLabel text="审批时间" width="120" textAlign="right"/> 
+							<!--<ui:DateField id="shsj" width="200" formatString="YYYY-MM-DD" enabled="false" selectedDate="{zysqbp.xsscTask==null?zysqbp.zdspTask.auditTime:zysqbp.xsscTask.auditTime}"/>-->
+							<ui:DateTime id="shsj" width="200" hasTime="true" enabled="{enable}" dateTime="{zysqbp.xsscTask==null?zysqbp.zdspTask.auditTime:zysqbp.xsscTask.auditTime}" /> 
 						</s:HGroup>	 
 					</s:VGroup>
 				</s:BorderContainer>

+ 1 - 1
gkaq/yjpt-flex/trunk/src/com/jtgh/yjpt/vo/common/TaskInfoVo.as

@@ -71,7 +71,7 @@ package com.jtgh.yjpt.vo.common
 		public function get auditTimedf():String
 		{
 			var df:DateFormatter = new DateFormatter();
-			df.formatString="YYYY-MM-DD";
+			df.formatString="YYYY-MM-DD JJ:NN:SS";
 			return  df.format(auditTime); 
 		}