|
@@ -1418,6 +1418,7 @@ namespace UAS_LabelMachine
|
|
|
sql = sql.Substring(0, sql.LastIndexOf("="));
|
|
sql = sql.Substring(0, sql.LastIndexOf("="));
|
|
|
sql = sql + " in (select distinct pib_outboxcode1 from PRODIOBARCODE where pib_inoutno='" + pi_inoutno.Text + "')" + " and pib_inoutno='" + pi_inoutno.Text + "' order by to_number(pib_outboxcode1)";
|
|
sql = sql + " in (select distinct pib_outboxcode1 from PRODIOBARCODE where pib_inoutno='" + pi_inoutno.Text + "')" + " and pib_inoutno='" + pi_inoutno.Text + "' order by to_number(pib_outboxcode1)";
|
|
|
}
|
|
}
|
|
|
|
|
+ Console.WriteLine(sql);
|
|
|
DataTable temp = dh.getFieldsDatasByCondition(sql);
|
|
DataTable temp = dh.getFieldsDatasByCondition(sql);
|
|
|
temp.Columns[0].ColumnName = MidDoc.Variables.FreeVariables.Item(j + 1).Name;
|
|
temp.Columns[0].ColumnName = MidDoc.Variables.FreeVariables.Item(j + 1).Name;
|
|
|
AllMidBoxCacheData.Add(temp);
|
|
AllMidBoxCacheData.Add(temp);
|
|
@@ -1478,7 +1479,7 @@ namespace UAS_LabelMachine
|
|
|
GetMidBoxData();
|
|
GetMidBoxData();
|
|
|
for (int i = 0; i < MidOutBoxCodeIndex.Count; i++)
|
|
for (int i = 0; i < MidOutBoxCodeIndex.Count; i++)
|
|
|
{
|
|
{
|
|
|
- MidBoxCodePrint(la_id, MidOutBoxCodeIndex[i], "HanlePrint");
|
|
|
|
|
|
|
+ MidBoxCodePrint(la_id, MidOutBoxCodeIndex[i]);
|
|
|
}
|
|
}
|
|
|
MidBoxArgument.Clear();
|
|
MidBoxArgument.Clear();
|
|
|
MidBoxCacheData.Clear();
|
|
MidBoxCacheData.Clear();
|
|
@@ -1506,7 +1507,7 @@ namespace UAS_LabelMachine
|
|
|
}
|
|
}
|
|
|
//找到了指定的盒号
|
|
//找到了指定的盒号
|
|
|
if (FindMidLabel)
|
|
if (FindMidLabel)
|
|
|
- MidBoxCodePrint(la_id, MidLabelRowIndex, "HandPrint");
|
|
|
|
|
|
|
+ MidBoxCodePrint(la_id, MidLabelRowIndex);
|
|
|
else
|
|
else
|
|
|
MessageBox.Show("该出入库单未找到该中盒号!");
|
|
MessageBox.Show("该出入库单未找到该中盒号!");
|
|
|
}
|
|
}
|