コード例 #1
0
        /// <summary>
        /// 取药房的领药科室
        /// </summary>
        private void GetDeptByStore( )
        {
            try
            {
                this.Clear();

                //如果部门编号为空返回
                if (this.currentDept.ID == "")
                {
                    return;
                }

                //获得取药科室列表
                ArrayList al = phaConstant.QueryReciveDrugDept(this.currentDept.ID);

                //数据填充添加到DataSet
                this.AddToDataSet(al);
            }
            catch (Exception ex)
            {
                MessageBox.Show("请选择药房/药库编号!" + ex.Message);
                return;
            }
        }