@@ -176,6 +176,9 @@ namespace UAS_MES.Make
private void PrintLabel_TextChanged(object sender, EventArgs e)
{
+ if (pr_code.Text=="") {
+ return;
+ }
if (fuselagel.Checked)
getlabel = "select pl_labelcode ||':'||pl_labelname pl_name,pl_labelname,pl_labelcode, pl_indate,pl_labelurl from productlabel where pl_prodcode='" + pr_code.Text + "'and PL_LABELTYPE='机身标' order by pl_isdefault desc";
@@ -414,6 +417,10 @@ namespace UAS_MES.Make
pr_code.Text = "";
pr_detail.Text = "";
TSN = "";
+ if (listA != null)
+ {
+ listA.Clear();
}