Exemplo n.º 1
0
        private void dropidtxt_Leave(object sender, EventArgs e)
        {
            if ((this.dropidtxt.Text.Length > 1))
            {
                ReloadCheckResult();
                checker.loadcacheTable(this.orderkeytxt.Text, this.dropidtxt.Text);
            }


            //if ((this.dropidtxt.Text.Length>1) && checker.checkingDropId(this.orderkeytxt.Text, this.dropidtxt.Text))
            //{
            //    ReloadCheckResult();
            //    checker.loadcacheTable(this.orderkeytxt.Text, this.dropidtxt.Text);
            //}

            //else if(this.dropidtxt.Text.Length>1)
            //{
            //    MessageBox.Show("找到该落放ID,请重新输入");
            //    //this.stxqrcode.Enabled = false;

            //    int subtotalcheckqty = 0;
            //    int subtotalpickqty = 0;
            //    this.subtotalcheckqtytxt.Text = subtotalcheckqty.ToString();
            //    this.subtotalpickedqtytxt.Text = subtotalpickqty.ToString();
            //    this.subtotaldiffqtytxt.Text = (subtotalcheckqty - subtotalpickqty).ToString();
            //    checker.PlayAlarm();
            //}
        }