internal void m_mthGetQueryMedicineDetail() { clsMS_QueryMedicineDetailVO clsQuerVO = new clsMS_QueryMedicineDetailVO(); long lngRes = m_objDomain.m_lngGetQueryMedicineDetail(Convert.ToDateTime(m_objViewer.m_dtpSearchBeginDate.Text + " 00:00:00"), Convert.ToDateTime(m_objViewer.m_dtpSearchEndDate.Text + " 23:59:59"), m_objViewer.m_strStorageID, m_objViewer.m_txtMedicine.Tag.ToString(), out m_objViewer.m_dtbMedicint, out clsQuerVO); m_objViewer.datWindow.LibraryList = clsPublic.PBLPath; m_objViewer.datWindow.Modify("t_date.text='" + m_objViewer.m_dtpSearchBeginDate.Text + " ~ " + m_objViewer.m_dtpSearchEndDate.Text + "'"); m_objViewer.datWindow.Modify("m_dblInAmount.text='" + clsQuerVO.m_dblInAmount.ToString() + "'"); m_objViewer.datWindow.Modify("m_dblOutAmount.text='" + clsQuerVO.m_dblOutAmount.ToString() + "'"); m_objViewer.datWindow.Modify("m_dblOutStorageAmount.text='" + clsQuerVO.m_dblOutStorageAmount.ToString() + "'"); m_objViewer.datWindow.Modify("m_dblInStorageAmount.text='" + clsQuerVO.m_dblInStorageAmount.ToString() + "'"); m_objViewer.datWindow.Modify("m_dblRejectAmount.text='" + clsQuerVO.m_dblRejectAmount.ToString() + "'"); m_objViewer.datWindow.Modify("m_dblCheckAmount.text='" + clsQuerVO.m_dblCheckAmount.ToString() + "'"); m_objViewer.datWindow.Modify("m_dblNewGross.text='" + clsQuerVO.m_dblNewGross.ToString() + "'"); m_objViewer.datWindow.Modify("m_dblOldGross2.text='" + clsQuerVO.m_dblOldGross.ToString() + "'"); if (clsQuerVO.m_dblQcAmount != 0) { m_objViewer.datWindow.Modify("m_dblBeginAmount.text='期初数量:" + clsQuerVO.m_dblQcAmount.ToString() + "'"); } else { m_objViewer.datWindow.Modify("m_dblBeginAmount.text=''"); } m_objViewer.datWindow.Modify("m_dblRetailPriceAmount.text='" + clsQuerVO.m_dblRetailPriceAmount.ToString() + "'"); //m_dtbMedicint.defaultview.Sort = m_objViewer.datWindow.SetRedrawOff(); m_objViewer.datWindow.Retrieve(m_objViewer.m_dtbMedicint); m_objViewer.datWindow.SetRedrawOn(); m_objViewer.datWindow.Refresh(); }
public long m_lngGetQueryMedicineDetail(DateTime p_dtmBegin, DateTime p_dtmEnd, string p_strStorageID, string p_strMedicine, out DataTable p_dtbMedicineDetail, out clsMS_QueryMedicineDetailVO clsQuerVO) { long lngRes = 0; com.digitalwave.iCare.middletier.MedicineStoreService.clsQueryMedicineDetailSVC objSvc = (com.digitalwave.iCare.middletier.MedicineStoreService.clsQueryMedicineDetailSVC)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.MedicineStoreService.clsQueryMedicineDetailSVC)); lngRes = objSvc.m_lngGetQueryMedicineDetail_NoLotno(objPrincipal, p_dtmBegin, p_dtmEnd, p_strStorageID, p_strMedicine, out p_dtbMedicineDetail, out clsQuerVO); return(lngRes); }