Explorar o código

添加记录长宽高

callm hai 1 día
pai
achega
d252ac2ff2

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

@@ -494,6 +494,7 @@ namespace UAS_MES_NEW.Packing
                         pa_outboxcode.Focus();
                         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);
                     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))
                     {