|
|
@@ -1284,6 +1284,7 @@ namespace UAS_LabelMachine
|
|
|
|
|
|
private void OutBoxNum_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
+ string OutBox=OutBoxNum.Text;
|
|
|
OutBoxNum.Items.Clear();
|
|
|
DataTable dt = (DataTable)dh.ExecuteSql("select distinct pib_outboxcode2 from prodiobarcode where pib_inoutno='" + pi_inoutno.Text + "' order by to_number(pib_outboxcode2)", "select");
|
|
|
ItemObject io = new ItemObject("新增", "新增");
|
|
|
@@ -1296,6 +1297,8 @@ namespace UAS_LabelMachine
|
|
|
}
|
|
|
if (OutBoxNum.Text == "新增" || OutBoxNum.Text == "")
|
|
|
OutBoxNum.SelectedIndex = OutBoxNum.Items.Count - 1;
|
|
|
+ if (OutBox != "新增" && OutBox != "")
|
|
|
+ OutBoxNum.Text = OutBox;
|
|
|
}
|
|
|
|
|
|
/// <summary>
|