@@ -939,7 +939,7 @@ namespace UAS_LabelMachine
}
//名称相等的时候,取SQL进行值的查询
DataTable dt;
- if (MidLabelAutoPrint.Checked)
+ if (MidLabelAutoPrint.Checked || SelectRowIndex > 0)
{
dt = (DataTable)dh.ExecuteSql("select * from prodiomidinfo_view where 出货单号='" + pi_inoutno.Text + "' and 中盒号 in(" + pib_outboxcode1 + ")", "select");