소스 검색

去除多余代码

章政 9 년 전
부모
커밋
0edf7fc784
2개의 변경된 파일과 0개의 추가작업 그리고 8개의 파일을 삭제
  1. 0 4
      UAS-MES/FunctionCode/Make/Make_PackageCollectionWeigh.cs
  2. 0 4
      UAS-MES/FunctionCode/Make/Make_SpecialCartonPack.cs

+ 0 - 4
UAS-MES/FunctionCode/Make/Make_PackageCollectionWeigh.cs

@@ -163,10 +163,6 @@ namespace UAS_MES.Make
             dt = (DataTable)dh.ExecuteSql(sql.GetString(), "select");
             if (dt.Rows.Count > 0)
             {
-                if (pr_code.Text != "")
-                {
-                    dt.Columns.Remove(dt.Columns["pa_standardqty"]);
-                }
                 //重量的临时变量
                 string _weight = dt.Rows[0]["pr_cartongw"].ToString();
                 string _maxweight = dt.Rows[0]["pr_cartonmaxw"].ToString();

+ 0 - 4
UAS-MES/FunctionCode/Make/Make_SpecialCartonPack.cs

@@ -162,10 +162,6 @@ namespace UAS_MES.Make
             dt = (DataTable)dh.ExecuteSql(sql.GetString(), "select");
             if (dt.Rows.Count > 0)
             {
-                if (pr_code.Text != "")
-                {
-                    dt.Columns.Remove(dt.Columns["pa_standardqty"]);
-                }
                 //重量的临时变量
                 string _weight = dt.Rows[0]["pr_cartongw"].ToString();
                 string _maxweight = dt.Rows[0]["pr_cartonmaxw"].ToString();