Эх сурвалжийг харах

卡通箱装箱以及装箱称重界面修改

Hcsy 8 жил өмнө
parent
commit
ac76ff5d2e

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

@@ -53,7 +53,6 @@ namespace UAS_MES.Make
 
         private void 包装采集_Load(object sender, EventArgs e)
         {
-            pa_outboxcode.ShowClickIcon = false;
             //设置DbFind的必须的数据
             PrintNum.Value = 1;
             pr_outboxinnerqty.Controls[0].Visible = false;
@@ -324,9 +323,6 @@ namespace UAS_MES.Make
         private void pr_code_TextChanged(object sender, EventArgs e)
         {
             LoadCheckQTY();
-            pa_outboxcode.MakeCode = pa_makecode.Text;
-            pa_outboxcode.ProdCode = pr_code.Text;
-            pa_outboxcode.Caller = "PACKAGE";
             dt = (DataTable)dh.ExecuteSql("select la_id,substr(la_url,instr(la_url,'\\',-1)+1)la_name,la_url,la_isdefault from label where la_prodcode='" + pr_code.Text + "' and la_templatetype='卡通箱标' and la_statuscode='AUDITED' order by la_isdefault", "select");
             PrintLabel.DataSource = dt;
             PrintLabel.DisplayMember = "la_name";

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

@@ -406,9 +406,6 @@ namespace UAS_MES.Make
         private void pr_code_TextChanged(object sender, EventArgs e)
         {
             LoadCheckQTY();
-            pa_outboxcode.MakeCode = pa_makecode.Text;
-            pa_outboxcode.ProdCode = pr_code.Text;
-            pa_outboxcode.Caller = "PACKAGE";
             dt = (DataTable)dh.ExecuteSql("select la_id,substr(la_url,instr(la_url,'\\',-1)+1)la_name,la_url,la_isdefault from label where la_prodcode='" + pr_code.Text + "' and la_templatetype='卡通箱标' and la_statuscode='AUDITED' order by la_isdefault", "select");
             PrintLabel.DataSource = dt;
             PrintLabel.DisplayMember = "la_name";
@@ -452,7 +449,7 @@ namespace UAS_MES.Make
                         float weigh = float.Parse(weight.Text.Replace("kg", "").Trim());
                         if (!(weigh > MinWeight && weigh < MaxWeight))
                         {
-                            OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "重量不符合标准重量\n", Color.Red);
+                            OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "重量不符合标准重量,不能完成工序过站\n", Color.Red);
                             return;
                         }
                     }