Browse Source

更换检验方案时保持勾选和数量

章政 8 years ago
parent
commit
d35a04785e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      UAS-MES/FunctionCode/OQC/OQC_PlanMaintain.cs

+ 2 - 0
UAS-MES/FunctionCode/OQC/OQC_PlanMaintain.cs

@@ -280,9 +280,11 @@ namespace UAS_MES.OQC
 
         private void CheckTypeDGV_DataSourceChanged(object sender, EventArgs e)
         {
+            //更换抽检方案后保持抽选状态和检验数量
             for (int i = 0; i < CheckTypeDGV.Rows.Count; i++)
             {
                 CheckTypeDGV.Rows[i].Cells["Choose"].Value = true;
+                CheckTypeDGV.Rows[i].Cells["oi_sampleqty"].Value = ob_sampleqty.Text;
             }
         }
     }