|
|
@@ -2409,7 +2409,7 @@ namespace UAS_LabelMachine
|
|
|
for (int i = 0; i < dt.Rows.Count; i++)
|
|
|
{
|
|
|
string pr_spec = dt.Rows[i]["规格型号"].ToString();
|
|
|
- if (pr_spec == "")
|
|
|
+ if (pr_spec.Trim() == "")
|
|
|
{
|
|
|
break;
|
|
|
}
|
|
|
@@ -2442,7 +2442,7 @@ namespace UAS_LabelMachine
|
|
|
for (int i = 0; i < dt.Rows.Count; i++)
|
|
|
{
|
|
|
string pr_spec = dt.Rows[i]["规格型号"].ToString();
|
|
|
- if (pr_spec == "")
|
|
|
+ if (pr_spec.Trim() == "")
|
|
|
{
|
|
|
break;
|
|
|
}
|