Procházet zdrojové kódy

大箱号尾数不限制装箱重量

callm před 1 dnem
rodič
revize
6161608a2e

+ 2 - 2
UAS_MES_YD/FunctionCode/Packing/Packing_BigBoxWeight.cs

@@ -133,7 +133,7 @@ namespace UAS_MES_NEW.Packing
                     string _minweight = dt.Rows[0]["pr_bigboxminw"].ToString();
                     string pa_weight = dt.Rows[0]["pa_weight"].ToString();
                     string PA_STANDARDQTY = dt.Rows[0]["PA_STANDARDQTY"].ToString();
-                    string PA_CURRENTQTY = dt.Rows[0]["PA_CURRENTQTY"].ToString();
+                    string PA_TOTALQTY = dt.Rows[0]["PA_TOTALQTY"].ToString();
                     if (pa_weight != "")
                     {
                         OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "已经称重\n", Color.Red);
@@ -149,7 +149,7 @@ namespace UAS_MES_NEW.Packing
                     else
                         pr_colorboxgw.Text = MinWeight + "-" + MaxWeight;
 
-                    if (PA_STANDARDQTY == PA_CURRENTQTY)
+                    if (PA_STANDARDQTY == PA_TOTALQTY)
                     {
                         if ((ActualWeight >= MinWeight) && (ActualWeight <= MaxWeight))
                         {