public Hashtable PartHTable = new Hashtable(); //存放开单主键ID与对应的配件编号 #endregion #region 窗体初始化 public UCImportSaleReturnBilling(string WhName) { InitializeComponent(); this.WareHosueName = WhName; //获取出入库单据类型 dateTimeStart.Value = DateTime.Now.ToShortDateString(); //开始时间 dateTimeEnd.Value = DateTime.Now.ToShortDateString(); //结束时间 CommonFuncCall.BindUnit(unit); //从码表中获取单位名称 string com_id = GlobalStaticObj.CurrUserCom_Id; //公司ID CommonFuncCall.BindDepartment(ddlorg_id, com_id, DefaultValue); //部门名称 CommonFuncCall.BindHandle(ddlhandle, "", DefaultValue); //经手人 CommonFuncCall.BindHandle(ddloperator, "", DefaultValue); //操作人 }
public Hashtable PartHTable = new Hashtable(); //存放开单主键ID与对应的配件编号 #endregion #region 窗体初始化 public UCImportStockBill(string Bill_Type, string Billing_Type) { InitializeComponent(); this.Text = PrefixCaption + Billing_Type; //获取主窗体标题内容 this.BillType = Bill_Type; //获取出入库单据类型 this.BillingType = Billing_Type; //获取开单类型 dateTimeStart.Value = DateTime.Now.ToShortDateString(); //开始时间 dateTimeEnd.Value = DateTime.Now.ToShortDateString(); //结束时间 CommonFuncCall.BindUnit(unit); //从码表中获取单位名称 string com_id = GlobalStaticObj.CurrUserCom_Id; //公司ID CommonFuncCall.BindDepartment(ddlorg_id, com_id, DefaultValue); //部门名称 CommonFuncCall.BindHandle(ddlhandle, "", DefaultValue); //经手人 CommonFuncCall.BindHandle(ddloperator, "", DefaultValue); //操作人 }