public STK_库存入库() { InitializeComponent(); // this.dbGridView.GridStr(AppServer.GetTableDef("STK_库存入库")); // this.dtp开始时间.Value = DateTime.Now.AddDays(-1); // this.DataBinding_cbx仓库编码(); }
public Man_UserMngr() { InitializeComponent(); //设置表格样式 //AppServer.SetGridViewStyle(this.dbGridView); // this.dbGridView.GridStr(AppServer.GetTableDef(this.GetType().Name)); // this.cbxUserState.SelectedIndex = 1; this.DataBinding_dbGridView(0); }
public STK_库存总账() { InitializeComponent(); // this.dbGridView.GridStr(AppServer.GetTableDef("STK_库存总账")); AppServer.SetGridViewStyle(this.dbGridView); this.dbGridView.Columns["计量单位"].Frozen = true; // this.DataBinding_dbTreeView(); this.DataBinding_cbx仓库编码(); }
public BAS_存货设置_选择仓库() { InitializeComponent(); // this.Text = "选择默认仓库"; // this.dbGridView.GridStr(AppServer.GetTableDef("BAS_存货设置_选择仓库")); AppServer.SetGridViewStyle(this.dbGridView); this.dbGridView.SelectionMode = DataGridViewSelectionMode.RowHeaderSelect; // this.DataBinding_dbGridView(0); }
public STK_期末结账() { InitializeComponent(); // this.lblTitle.Text = String.Format("期末会计期间列表({0})", this.dtp年份.Value.Year); this.dbGridView.GridStr(AppServer.GetTableDef("STK_期末结账")); AppServer.SetGridViewStyle(this.dbGridView); // this.DataBinding_cbx仓库编码(); // //this.btn查询.PerformClick(); }
public BAS_期初库存设置() { InitializeComponent(); // this.btnMod.Text = fg ? "完成期初录入(&S)" : "录入期初数据(&M)"; // AppServer.SetGridViewStyle(this.dbGridView); this.dbGridView.GridStr(AppServer.GetTableDef("BAS_期初库存设置")); this.dbGridView.SelectionMode = DataGridViewSelectionMode.RowHeaderSelect; // this.DataBinding_dbTreeView(); this.DataBinding_cbx仓库编码(); }
public STK_库存入库_Editor() { InitializeComponent(); this.dbGridView_CH.GridStr(AppServer.GetTableDef("STK_库存入库_CH")); AppServer.SetGridViewStyle(this.dbGridView_CH); // AppServer.SetGridViewStyle(this.dbGridView_RK); this.dbGridView_RK.GridStr(AppServer.GetTableDef("STK_库存入库_RK")); this.dbGridView_RK.SelectionMode = DataGridViewSelectionMode.RowHeaderSelect; // this.DataBinding_dbTreeView(); this.DataBinding_cbx供应商编码(); this.DataBinding_cbx仓库编码(); // this.dtp业务日期.Value = AppServer.LoginWorkDate; }
public void View_CK(string CKCode, string CKName, string CHCode, string CHName, string GGXH, string KJQJ) { this.Text = String.Format("查看出库信息一{0}", CHName); this.lblTitle.Text = "出库信息列表"; this.lbl仓库名称.Text = String.Format("查看仓库:{0}", CKName); this.lbl存货名称.Text = String.Format("查看存货:{0} {1}", CHName, GGXH); this.lbl会计期间.Text = String.Format("会计期间:{0}", KJQJ); // AppServer.SetGridViewStyle(this.dbGridView); this.dbGridView.GridStr(AppServer.GetTableDef("STK_库存总账_出库明细")); // var model = new Ref_WS_STK.DataType_库存管理(); model.ExAction = "CK_Dtl"; model.仓库编码 = CKCode; model.存货编码 = CHCode; model.会计期间 = KJQJ; AppServer.UsingWcf(() => { this.dbGridView.DataSource = AppServer.wcfClient.STK_库存总账_List(model).Tables[0]; }); }