Пример #1
0
        private void 供应商L_MouseClick(object sender, MouseEventArgs e)
        {
            Mode  = "SupplierID";
            Title = "供应商编号";
            //Title = "供应商编号|简称";
            录入退货单_获取单据信息 frm = new 录入退货单_获取单据信息(connYF, Title, Mode);

            if (frm.ShowDialog() == DialogResult.Cancel)
            {
                GetMain  = frm.GetMain;
                GetOther = frm.GetOther;

                if (GetMain != null)
                {
                    供应商.Text   = GetMain + "-" + GetOther;
                    SupplierID = GetMain;
                    GetMain    = null;
                    GetOther   = null;
                }
                frm.Dispose();
                MsgFlag = true;
                条码T.Select();
                条码T.SelectAll();
            }
        }
Пример #2
0
        private void 入库仓库L_MouseClick(object sender, MouseEventArgs e)
        {
            Mode  = "PositionID";
            Title = "仓库编号";
            //Title = "仓库编号|仓库名称";
            录入退货单_获取单据信息 frm = new 录入退货单_获取单据信息(connYF, Title, Mode);

            if (frm.ShowDialog() == DialogResult.Cancel)
            {
                GetMain  = frm.GetMain;
                GetOther = frm.GetOther;

                if (GetMain != null)
                {
                    入库仓库.Text  = GetMain + "-" + GetOther;
                    PositionID = GetMain;
                    GetMain    = null;
                    GetOther   = null;
                }
                frm.Dispose();
            }
        }
Пример #3
0
        private void 入库单别L_MouseClick(object sender, MouseEventArgs e)
        {
            Mode  = "TypeID";
            Title = "单别";
            //Title = "单别|单据简称";
            录入退货单_获取单据信息 frm = new 录入退货单_获取单据信息(connYF, Title, Mode);

            if (frm.ShowDialog() == DialogResult.Cancel)
            {
                GetMain  = frm.GetMain;
                GetOther = frm.GetOther;

                if (GetMain != null)
                {
                    入库单别.Text = GetMain + "-" + GetOther;
                    TypeID    = GetMain;
                    GetMain   = null;
                    GetOther  = null;
                }
                frm.Dispose();
            }
        }