|
|
@@ -89,9 +89,9 @@ namespace UAS_MES.Make
|
|
|
sql.Append("select pa_makecode,pa_standardqty,pa_packageqty,pa_prodcode,pa_outboxcode,pa_totalqty,pa_currentqty,pa_custcode,pa_salecode ");
|
|
|
sql.Append("from package where pa_outboxcode='" + pa_outboxcode.Text + "' and pa_type =2");
|
|
|
DataTable dt = (DataTable)dh.ExecuteSql(sql.GetString(), "select");
|
|
|
- BaseUtil.SetFormValue(Controls, dt);
|
|
|
if (dt.Rows.Count > 0)
|
|
|
{
|
|
|
+ BaseUtil.SetFormValue(Controls, dt);
|
|
|
LoadGridData();
|
|
|
dt = dh.getFieldsDataByCondition("Package", new string[] { "pa_id", "pa_standardqty" }, "pa_outboxcode='" + pa_outboxcode.Text + "'");
|
|
|
pa_stanqty = int.Parse(dt.Rows[0]["pa_standardqty"].ToString());
|
|
|
@@ -388,7 +388,7 @@ namespace UAS_MES.Make
|
|
|
string Seal = MessageBox.Show(this.ParentForm, "是否确认封箱?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question).ToString();
|
|
|
if (Seal == "Yes")
|
|
|
{
|
|
|
- OperateResult.AppendText(">>大箱号" + pa_outboxcode.Text + "装大箱成功\n", Color.Green);
|
|
|
+ OperateResult.AppendText(">>大箱号" + pa_outboxcode.Text + "封大箱成功\n", Color.Green);
|
|
|
LogicHandler.DoCommandLog(Tag.ToString(), User.UserCode, pa_makecode.Text, User.UserLineCode, User.UserSourceCode, "大箱采集", "卡通箱装箱" + pa_outboxcode.Text + "成功", outboxcode.Text, "");
|
|
|
dh.ExecuteSql("update package set pa_status=1 where pa_outboxcode='" + pa_outboxcode.Text + "'", "update");
|
|
|
pa_status.Text = "1";
|