public 录入进货单_Excel导入(string text = "", InfoObjectBase infObj = null) { InitializeComponent(); this.Text = text == "" ? this.Text : text; this.connYF = infObj.connYF; this.userId = infObj.userId; this.userGroup = infObj.userGroup; createPurtg = new ERP_Create_Purtg(connYF); infObj.userPermission.GetPermUserDetail(infObj.userId, this.Text, out newFlag, out editFlag, out delFlag, out outFlag, out lockFlag, out printFlag); Init(); }
public 录入进货单(string text = "", InfoObjectBase infObj = null) { InitializeComponent(); this.Text = text == "" ? this.Text : text; this.connYF = infObj.connYF; this.userId = infObj.userId; this.userGroup = infObj.userGroup; createPurtg = new ERP_Create_Purtg(connYF); infObj.userPermission.GetPermUserDetail(infObj.userId, this.Text, out newFlag, out editFlag, out delFlag, out outFlag, out lockFlag, out printFlag); Init(); DgvOpt.SetRowBackColor(DataGridView_List); DgvOpt.SetColHeadMiddleCenter(DataGridView_List); }