Exemplo n.º 1
0
        private void textBox_jym_TextChanged(object sender, EventArgs e)
        {
            RestockingData rt = FolloTaskService.RestockingByDx(textBox_jym.Text);

            if (rt != null)
            {
                textBox_jym.Text  = rt.bigbox_bar;
                textBox_jybm.Text = rt.cid;
                textBox_jymc.Text = rt.cname;
                textBox_dx.Text   = rt.dxtype;
            }
            else
            {
                textBox_jybm.Text = "";
                textBox_jymc.Text = "";
                textBox_dx.Text   = "";
            }
        }
Exemplo n.º 2
0
        public void bindtext(TroughNumList list)
        {
            RestockingData rt = FolloTaskService.RestockingOrDefult(list.Cid);

            if (rt != null)
            {
                textBox_jym.Text  = rt.bigbox_bar;
                textBox_jybm.Text = rt.cid;
                textBox_jymc.Text = rt.cname;
                textBox_dx.Text   = rt.dxtype;
            }
            else
            {
                textBox_jym.Text  = "";
                textBox_jybm.Text = "";
                textBox_jymc.Text = "";
                textBox_dx.Text   = "";
            }
        }