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

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

            if (frm.ShowDialog() == DialogResult.Cancel)
            {
                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  = "CustmerID";
            Title = "客户编号";
            //Title = "供应商编号|简称";
            录入销退单_获取单据信息 frm = new 录入销退单_获取单据信息();

            if (frm.ShowDialog() == DialogResult.Cancel)
            {
                if (GetMain != null)
                {
                    客户.Text    = GetMain + "-" + GetOther;
                    SupplierID = GetMain;
                    GetMain    = null;
                    GetOther   = null;
                }
                frm.Dispose();
                MsgFlag = true;
            }
        }