Beispiel #1
0
        // 保存药品出库单
        public bool SaveMedicineOutStock(CommContracts.MedicineOutStore medicineOutStore, bool bIsAutoCheck = false)
        {
            CommClient.MedicineOutStore myd = new CommClient.MedicineOutStore();
            if (myd.SaveMedicineOutStock(medicineOutStore))
            {
                return(true);
            }

            return(false);
        }
Beispiel #2
0
 // 得到所有的药品出库单
 public List <CommContracts.MedicineOutStore> getAllMedicineOutStore(CommContracts.
                                                                     OutStoreEnum outStoreEnum,
                                                                     DateTime StartInStoreTime,
                                                                     DateTime EndInStoreTime,
                                                                     string InStoreNo = "")
 {
     if (CurrentStoreRoom == null)
     {
         return(null);
     }
     CommClient.MedicineOutStore myd = new CommClient.MedicineOutStore();
     return(myd.getAllMedicineOutStore(CurrentStoreRoom.ID, outStoreEnum, StartInStoreTime, EndInStoreTime, InStoreNo));
 }
Beispiel #3
0
        // 药品出库单的审核出库
        public bool ReCheckMedicineOutStore()
        {
            CommClient.StoreRoomMedicineNum myd = new CommClient.StoreRoomMedicineNum();

            if (myd.RecheckMedicineOutStore(CurrentMedicineOutStore))
            {
                CommClient.MedicineOutStore mInStore = new CommClient.MedicineOutStore();
                CurrentMedicineOutStore.ReCheckUserID     = CurrentUser.ID;
                CurrentMedicineOutStore.ReCheckStatusEnum = CommContracts.ReCheckStatusEnum.已审核;

                if (mInStore.RecheckMedicineOutStock(CurrentMedicineOutStore))
                {
                    return(true);
                }
            }
            return(false);
        }