示例#1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public clsCtl_AskForMedManage()
 {
     m_objDomain           = new clsDcl_AskForMedicine();
     m_objDomainDetail     = new clsDcl_AskForMedDetail();
     m_objDomainOutStorage = new clsDcl_MakeOutStorageOrder();
     objDomainInStorage    = new clsDcl_Instorage();
 }
示例#2
0
        private void frmMakeOutStorageOrder_Load(object sender, EventArgs e)
        {
            try
            {
                m_datMakeOrder.Value = clsPub.CurrentDateTimeNow;
                timer1.Start();

                this.m_dgvMedicineOutInfo.AlternatingRowsDefaultCellStyle.BackColor = clsPublic.CustomBackColor;
                this.m_cboStatus.Enter -= new EventHandler(m_cboStatus_Enter);
                if (m_blnNew)
                {
                    DataTable             m_dtRequestDetail = new DataTable();
                    clsDcl_AskForMedicine objDomain         = new clsDcl_AskForMedicine();
                    objDomain.m_lngCheckIsHospital(m_txtApplyDept.AccessibleName, out m_blnIsHospital);
                    objDomain.m_lngGetAskDetailInfoByid(m_blnIsHospital, Convert.ToInt64(m_lngAskSeq), out m_dtRequestDetail);
                    ((clsCtl_MakeOutStorageOrder)objController).m_mthLoadMedicineData(m_lngAskSeq, m_dtRequestDetail, ref m_dtbOutMedicine);
                    this.m_mthShowRetailMoney();
                    this.m_cboStatus.Enter += new EventHandler(m_cboStatus_Enter);
                }
                if (m_dtbOutMedicine != null && m_dtbOutMedicine.Rows.Count == 0)
                {
                    ((clsCtl_MakeOutStorageOrder)objController).m_mthInsertNewMedicineData();
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
示例#3
0
        /// <summary>
        /// 初始化借调部门信息
        /// </summary>
        public static long m_mthBorrowDeptInfo(out DataTable m_dtDept)
        {
            long lngRes = -1;

            m_dtDept = new DataTable();
            clsDcl_AskForMedicine m_objDomain = new clsDcl_AskForMedicine();

            lngRes = m_objDomain.m_lngGetApplyDept(out m_dtDept);
            return(lngRes);
        }
示例#4
0
        /// <summary>
        /// 是否住院药房
        /// </summary>
        /// <param name="p_strStorageid"></param>
        /// <param name="p_blnIsHospital"></param>
        internal long m_lngCheckIsHospital(string p_strStorageid, out bool p_blnIsHospital)
        {
            clsDcl_AskForMedicine objDom = new clsDcl_AskForMedicine();

            return(objDom.m_lngCheckIsHospital(p_strStorageid, out p_blnIsHospital));
        }
示例#5
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public clsCtl_AskQuery()
 {
     m_objDomain       = new clsDcl_AskForMedicine();
     m_objDomainDetail = new clsDcl_AskForMedDetail();
 }