浏览代码

补打标签调整

callm 1 年之前
父节点
当前提交
6bd4ca1092
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      UAS_MES_YD/FunctionCode/Make/Make_RePrintLabel.cs

+ 2 - 2
UAS_MES_YD/FunctionCode/Make/Make_RePrintLabel.cs

@@ -150,10 +150,10 @@ namespace UAS_MES_NEW.Make
                     //    return;
                     //    return;
                     //}
                     //}
                     //界面赋值
                     //界面赋值
-                    formValue = (DataTable)dh.ExecuteSql("select ms_makecode,pr_code,pr_detail from makeserial left join product on MS_PRODCODE=pr_code where ms_id='" + ms_id + "'", "select");
+                    formValue = (DataTable)dh.ExecuteSql("select ms_sncode,ms_makecode,pr_code,pr_detail from makeserial left join product on MS_PRODCODE=pr_code where ms_id='" + ms_id + "'", "select");
                     BaseUtil.SetFormValue(this.Controls, formValue);
                     BaseUtil.SetFormValue(this.Controls, formValue);
                     //无值,可补打
                     //无值,可补打
-                    inputValue.Text = inputText.Text;
+                    inputValue.Text = formValue.Rows[0]["ms_sncode"].ToString();
                     inputText.Text = "";
                     inputText.Text = "";
                 }
                 }
                 //打印类型为卡通箱
                 //打印类型为卡通箱