|
|
@@ -139,7 +139,7 @@ namespace UAS_MES_NEW.Special
|
|
|
if (ReSN(sb[i].ToString()))
|
|
|
OperatResult.AppendText("SN:" + sb[i].ToString() + "切换到工单" + ma_code.Text + "完成\n", Color.Green);
|
|
|
}
|
|
|
- WeighRecord.Clear();
|
|
|
+ WeighRecord.Items.Clear();
|
|
|
sb.Clear();
|
|
|
}
|
|
|
}
|
|
|
@@ -206,7 +206,7 @@ namespace UAS_MES_NEW.Special
|
|
|
{
|
|
|
ExcelHandler eh = new ExcelHandler();
|
|
|
sql.Clear();
|
|
|
- sql.Append("select ''箱号,'' SN from dual ");
|
|
|
+ sql.Append("select '' SN from dual ");
|
|
|
dt = (DataTable)dh.ExecuteSql(sql.GetString(), "select");
|
|
|
eh.ExportExcel(dt, ExportFileDialog.SelectedPath + "\\导出模板.xls");
|
|
|
//string close = MessageBox.Show(this.ParentForm, "导出成功,是否打开文件", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question).ToString();
|