Quellcode durchsuchen

添加记录长宽高

callm vor 1 Tag
Ursprung
Commit
d252ac2ff2
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      UAS_MES_YDCY/FunctionCode/Packing/Packing_PalletWightCollection.cs

+ 1 - 0
UAS_MES_YDCY/FunctionCode/Packing/Packing_PalletWightCollection.cs

@@ -494,6 +494,7 @@ namespace UAS_MES_NEW.Packing
                         pa_outboxcode.Focus();
                         pa_outboxcode.Focus();
                         pa_outboxcode.SelectAll();
                         pa_outboxcode.SelectAll();
                     }
                     }
+                    dh.ExecuteSql("update package set PA_WEIGHT='" + weight.Text + "',PA_WIDTH='" + pa_width.Text + "', PA_HEIGTH='" + pa_heigth.Text + "', PA_LENGTH='" + pa_length.Text + "',pa_printcount=pa_printcount+1,pa_remark='" + PrintLabel.Text + "' where pa_outboxcode='" + pa_outboxcode.Text + "'", "update");
                     //doc = lbl.Documents.Open(PrintLabel.Text);
                     //doc = lbl.Documents.Open(PrintLabel.Text);
                     if (Print.BarTender(Tag.ToString(), ref engine, PrintLabel.Text, PrintLabel.SelectedValue.ToString(), PrinterList.Text, pa_outboxcode.Text, int.Parse(PrintNum.Text), pa_makecode.Text, pa_prodcode.Text, "栈板标", "0", out ErrorMessage))
                     if (Print.BarTender(Tag.ToString(), ref engine, PrintLabel.Text, PrintLabel.SelectedValue.ToString(), PrinterList.Text, pa_outboxcode.Text, int.Parse(PrintNum.Text), pa_makecode.Text, pa_prodcode.Text, "栈板标", "0", out ErrorMessage))
                     {
                     {