Пример #1
0
        private void toolStripAdd_Click(object sender, EventArgs e)
        {
            this.toolStripEdit.Enabled = false;
            this.toolStripAdd.Enabled  = false;
            this.toolStripSave.Enabled = true;
            this.toolStripCEL.Enabled  = true;
            this.groupA.Enabled        = true;
            this.groupB.Enabled        = true;
            string d = "DH";

            this.p_ID.Text = hyNO.JhGoodsID(d);
            intFalg        = 1;

            //绑定供应商信息
            HY_BLL.HY_SupplierBLL hysup = new HY_SupplierBLL();
            this.p_gyName.DataSource    = hysup.back_Supplier();
            this.p_gyName.DisplayMember = "s_gyName";
            this.p_gyName.ValueMember   = "s_ID";

            //绑定用户信息
            HY_BLL.HY_UserListBLL hyul = new HY_UserListBLL();
            this.p_rPerson.DataSource    = hyul.back_SupplierPrice();
            this.p_rPerson.DisplayMember = "h_UserName";
            this.p_rPerson.ValueMember   = "h_ID";
        }
Пример #2
0
        /// <summary>
        /// 自定义绑定入库单
        /// </summary>
        private void f_CID()
        {
            string C = "CK";

            HYWJ.HY_System.HY_NO hyNO = new HYWJ.HY_System.HY_NO();
            this.s_DID.Text = hyNO.JhGoodsID(C);
        }
Пример #3
0
        /// <summary>
        /// 自定义绑定品号
        /// </summary>
        private void b_PID()
        {
            string P = "P";

            HYWJ.HY_System.HY_NO hyNO = new HYWJ.HY_System.HY_NO();
            this.d_PID.Text = hyNO.JhGoodsID(P);
        }
Пример #4
0
        /// <summary>
        /// 返回品号
        /// </summary>
        public void q_PID()
        {
            string q = "P";

            HYWJ.HY_System.HY_NO hyNO = new HYWJ.HY_System.HY_NO();
            this.r_NameID.Text = hyNO.JhGoodsID(q);
        }
        /// <summary>
        /// 自定义生成销售单号
        /// </summary>
        private void b_BOMID()
        {
            string P = "S";

            HYWJ.HY_System.HY_NO hyNO = new HYWJ.HY_System.HY_NO();
            this.label6.Text = hyNO.JhGoodsID(P);
        }
Пример #6
0
        /// <summary>
        /// 自定义绑定领料单号
        /// </summary>
        private void f_DID()
        {
            string D = "L";

            HYWJ.HY_System.HY_NO hyNO = new HYWJ.HY_System.HY_NO();
            this.label1.Text = hyNO.JhGoodsID(D);
        }
Пример #7
0
        /// <summary>
        /// 自定义物料单号
        /// </summary>
        private void b_BOMID()
        {
            string P = "B";

            HYWJ.HY_System.HY_NO hyNO = new HYWJ.HY_System.HY_NO();
            this.b_SKID.Text = hyNO.JhGoodsID(P);
        }
Пример #8
0
        //新增请购信息
        private void toolStripADD_Click(object sender, EventArgs e)
        {
            this.groupA.Enabled        = true;
            this.groupB.Enabled        = true;
            this.groupPaneA.Enabled    = false;
            this.groupPaneB.Enabled    = false;
            this.groupPaneC.Enabled    = false;
            this.toolStripADD.Enabled  = false;
            this.toolStripCEL.Enabled  = true;
            this.toolStripSave.Enabled = true;
            string P = "QG";

            HYWJ.HY_System.HY_NO hyNO = new HYWJ.HY_System.HY_NO();
            this.r_ID.Text = hyNO.JhGoodsID(P);
            q_PID();
            intFalg = 1;
        }