/// <summary> /// 填充界面 /// </summary> private void SetRegistrationUI() { RegistrationViewEntity Result = m_Registration.GetRegistration(RegisterNo); if (Result == null) { return; } PersonID = Result.PersonID.Value; hDeptID.Value = Result.DeptID.Value + ""; hPackageID.Value = Result.PackageID + ""; txtRegisterNo.Text = Result.RegisterNo; txtPackageName.Text = Result.PackageName; txtRegisterDate.Text = EnvShowFormater.GetShortDate(Result.RegisterDate); txtCheckDate.Text = EnvShowFormater.GetShortDate(Result.CheckDate); txtDeptName.Text = Result.DeptName; txtName.Text = Result.Name; drpSex.SelectedValue = Result.Sex; txtIDNumber.Text = Result.IDNumber; txtBirthday.Text = EnvShowFormater.GetShortDate(Result.Birthday); txtAge.Text = EnvShowFormater.GetNumberString(Result.Age); drpMarriage.SelectedValue = Result.Marriage; txtJob.Text = Result.Job; drpEducation.SelectedValue = Result.Education; txtNation.Text = Result.Nation; txtLinkTel.Text = Result.LinkTel; txtAddress.Text = Result.Address; txtMobile.Text = Result.Mobile; txtEMail.Text = Result.EMail; hPhoto.Value = Result.Photo; BindCheckedGroups(RegisterNo); }
/// <summary> /// 填充界面 /// </summary> private void SetItemGroupUI() { ItemGroupViewEntity Result = m_ItemGroup.GetItemGroup(GroupID); if (Result == null) { return; } txtGroupName.Text = Result.GroupName; hDeptID.Value = Result.DeptID + ""; txtDeptName.Text = Result.DeptName; drpCheckCategory.SelectedValue = Result.CheckCategory; drpSex.SelectedValue = Result.Sex; txtPrice.Text = EnvShowFormater.GetNumberString(Result.Price); txtNotice.Text = Result.Notice; txtClinical.Text = Result.Clinical; txtNormalDesc.Text = Result.NormalDesc; drpSpecimen.SelectedValue = Result.Specimen; drpResultMode.SelectedValue = Result.ResultMode; chkHasBarCode.Checked = Result.HasBarCode; txtLisCode.Text = Result.LISCode; txtPacsCode.Text = Result.PACSCode; //txtDisplayOrder.Text = Result.DisplayOrder + ""; }
/// <summary> /// 填充界面 /// </summary> private void SetPackageUI() { PackageEntity Result = m_Package.GetPackage(PackageID); if (Result == null) { return; } txtPackageName.Text = Result.PackageName; txtPrice.Text = EnvShowFormater.GetNumberString(Result.Price); drpCategorys.SelectedValue = Result.Category; BindItemGroup(PackageID); }
/// <summary> /// 填充缴费信息界面 /// </summary> private void SetChargeUI() { ChargeViewEntity Result = m_Charge.GetCharge(BillNo); if (Result == null) { return; } hDeptID.Value = Result.ChargeDeptID + ""; txtPayer.Text = Result.Payer; hPackageID.Value = Result.PackageID + ""; txtPackageName.Text = Result.PackageName; txtCheckNum.Text = Result.CheckNum + ""; txtCharge.Text = EnvShowFormater.GetNumberString(Result.Charge); txtActualCharge.Text = EnvShowFormater.GetNumberString(Result.ActualCharge); drpPaymentMethod.SelectedValue = Result.PaymentMethod; txtPaymentDate.Text = EnvShowFormater.GetShortDate(Result.PaymentDate); txtChargePerson.Text = Result.ChargePerson; }