Explorar o código

调整打印问题

章政 %!s(int64=7) %!d(string=hai) anos
pai
achega
26ca18f256
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      UAS-出货标签管理(泽天)/UAS_出货标签管理.cs

+ 1 - 1
UAS-出货标签管理(泽天)/UAS_出货标签管理.cs

@@ -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");
                 }