private LL.Main.HY_System.OperateAndValidate valid; //实例化数据验证类

        #endregion Fields

        #region Constructors

        public HY_SupplierPrice()
        {
            InitializeComponent();
            supbll = new HY_SupplierPriceBLL();
            valid = new LL.Main.HY_System.OperateAndValidate();
            hyNO = new LL.Main.HY_System.HY_NO();
        }
Example #2
0
 /// <summary>
 /// 自定义绑定品号
 /// </summary>
 private void f_PID()
 {
     string P = "PH";
     LL.Main.HY_System.HY_NO hyNO = new LL.Main.HY_System.HY_NO();
     this.s_PID.Text = hyNO.JhGoodsID(P);
 }
Example #3
0
 /// <summary>
 /// 自定义绑定入库单
 /// </summary>
 private void f_CID()
 {
     string C = "CK";
     LL.Main.HY_System.HY_NO hyNO = new LL.Main.HY_System.HY_NO();
     this.s_DID.Text = hyNO.JhGoodsID(C);
 }
 /// <summary>
 /// 自定义绑定领料单号
 /// </summary>
 private void f_DID()
 {
     string D = "L";
     LL.Main.HY_System.HY_NO hyNO = new LL.Main.HY_System.HY_NO();
     this.label1.Text = hyNO.JhGoodsID(D);
 }
 /// <summary>
 /// 返回品号
 /// </summary>
 public void q_PID()
 {
     string q = "P";
     LL.Main.HY_System.HY_NO hyNO = new LL.Main.HY_System.HY_NO();
     this.r_NameID.Text = hyNO.JhGoodsID(q);
 }
 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 = "CG";
     LL.Main.HY_System.HY_NO hyNO = new LL.Main.HY_System.HY_NO();
     //this.r_ID.Text = hyNO.JhGoodsID(P);
     q_PID();
     intFalg = 1;
 }
Example #7
0
 /// <summary>
 /// 自定义物料单号
 /// </summary>
 private void b_BOMID()
 {
     string P = "B";
     LL.Main.HY_System.HY_NO hyNO = new LL.Main.HY_System.HY_NO();
     this.b_SKID.Text = hyNO.JhGoodsID(P);
 }
 /// <summary>
 /// 自定义生成销售单号
 /// </summary>
 private void b_BOMID()
 {
     string P = "S";
     LL.Main.HY_System.HY_NO hyNO = new LL.Main.HY_System.HY_NO();
     this.label6.Text = hyNO.JhGoodsID(P);
 }