فهرست منبع

质量登记时间

张忠帅 1 سال پیش
والد
کامیت
8e66b3cc17
3فایلهای تغییر یافته به همراه22 افزوده شده و 0 حذف شده
  1. 10 0
      DK.Client/PMModule/F_PM_1201.Designer.cs
  2. 9 0
      DK.Client/PMModule/F_PM_1201.cs
  3. 3 0
      DK.Client/PMModule/F_PM_1201.resx

+ 10 - 0
DK.Client/PMModule/F_PM_1201.Designer.cs

@@ -106,6 +106,7 @@
 			this.IsPublicBody = new System.Windows.Forms.DataGridViewCheckBoxColumn();
 			this.SpecialRepairFlag = new System.Windows.Forms.DataGridViewCheckBoxColumn();
 			this.GroutingNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
+			this.CheckTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
 			this.CreateTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
 			this.ProcedureModel = new System.Windows.Forms.DataGridViewTextBoxColumn();
 			this.ModelType = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -590,6 +591,7 @@
             this.IsPublicBody,
             this.SpecialRepairFlag,
             this.GroutingNum,
+            this.CheckTime,
             this.CreateTime,
             this.ProcedureModel,
             this.ModelType,
@@ -951,6 +953,13 @@
 			this.GroutingNum.Name = "GroutingNum";
 			this.GroutingNum.ReadOnly = true;
 			// 
+			// CheckTime
+			// 
+			this.CheckTime.DataPropertyName = "CheckTime";
+			this.CheckTime.HeaderText = "质量登记时间";
+			this.CheckTime.Name = "CheckTime";
+			this.CheckTime.ReadOnly = true;
+			// 
 			// CreateTime
 			// 
 			this.CreateTime.DataPropertyName = "CreateTime";
@@ -1121,6 +1130,7 @@
 		private System.Windows.Forms.DataGridViewCheckBoxColumn IsPublicBody;
 		private System.Windows.Forms.DataGridViewCheckBoxColumn SpecialRepairFlag;
 		private System.Windows.Forms.DataGridViewTextBoxColumn GroutingNum;
+		private System.Windows.Forms.DataGridViewTextBoxColumn CheckTime;
 		private System.Windows.Forms.DataGridViewTextBoxColumn CreateTime;
 		private System.Windows.Forms.DataGridViewTextBoxColumn ProcedureModel;
 		private System.Windows.Forms.DataGridViewTextBoxColumn ModelType;

+ 9 - 0
DK.Client/PMModule/F_PM_1201.cs

@@ -37,6 +37,7 @@ namespace Dongke.IBOSS.PRD.Client.PMModule
 		// 窗体显示的Title
 		private string _fromTitle;
 
+
 		#endregion
 
 		#region 构造函数
@@ -106,6 +107,14 @@ namespace Dongke.IBOSS.PRD.Client.PMModule
 		{
 			try
 			{
+				if (_currentProcedureID == 16 || _currentProcedureID == 28)
+				{
+					this.dgvProduction.Columns["CheckTime"].Visible = false;
+				}
+				else {
+					this.dgvProduction.Columns["CheckTime"].Visible = true;
+				}
+					
 				// 加载权限
 				FormPermissionManager.FormPermissionControl(this.Name, this,
 					 LogInUserInfo.CurrentUser.CurrentUserEntity.UserRightData, LogInUserInfo.CurrentUser.CurrentUserEntity.FunctionData);

+ 3 - 0
DK.Client/PMModule/F_PM_1201.resx

@@ -248,6 +248,9 @@
   <metadata name="GroutingNum.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
+  <metadata name="CheckTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
   <metadata name="KilnName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>