Selaa lähdekoodia

调整附加信息关闭之后重新刷新数据

章政 6 vuotta sitten
vanhempi
commit
bc1e836709
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      UAS-出货标签管理(贸易版)/UAS_出货标签管理.cs

+ 6 - 0
UAS-出货标签管理(贸易版)/UAS_出货标签管理.cs

@@ -2208,6 +2208,7 @@ namespace UAS_LabelMachine
                     if (cu_code.Text != "")
                     {
                         附件内容打印 att = new 附件内容打印(cu_code.Text);
+                        att.FormClosed += Att_FormClosed;
                         att.ShowDialog();
                     }
                     else MessageBox.Show("请先获取出库单信息");
@@ -2321,6 +2322,11 @@ namespace UAS_LabelMachine
             }
         }
 
+        private void Att_FormClosed(object sender, FormClosedEventArgs e)
+        {
+            Attach = (DataTable)dh.ExecuteSql("select lap_param lp_name,lap_value lp_sql from LabelAttachPARAMETER where lap_custcode='" + cu_code.Text + "'", "select");
+        }
+
         //生成客户条码
         public string BarcodeMethod1(string Prefix, string Suffix, int Index, int Length, int radix)
         {