|
|
@@ -669,12 +669,12 @@ namespace UAS_MES_NEW.Packing
|
|
|
|
|
|
private void Packing_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
+ HttpServer.GetOutBoxInfo(pa_outboxcode.Text);
|
|
|
if (dh.CheckExist("package", "pa_outboxcode='" + pa_outboxcode.Text + "' and nvl(pa_status,0)=0"))
|
|
|
{
|
|
|
string Seal = MessageBox.Show(this.ParentForm, "是否确认封箱?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question).ToString();
|
|
|
if (Seal == "Yes")
|
|
|
{
|
|
|
- HttpServer.GetOutBoxInfo(pa_outboxcode.Text);
|
|
|
OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "采集完成,手动封箱成功\n", Color.Green);
|
|
|
dh.UpdateByCondition("package", "pa_status=1,pa_totalqty=pa_currentqty,pa_packageqty=pa_currentqty", "pa_outboxcode='" + pa_outboxcode.Text + "'");
|
|
|
pa_status.Text = "1";
|