批量打印处方单
This commit is contained in:
parent
771099cc94
commit
6f9078ba79
@ -99,13 +99,13 @@ namespace AIMS.PublicUI.UI
|
||||
int index = _dataGridView.Rows.Add();
|
||||
_dataGridView.Rows[index].Tag = item;
|
||||
_dataGridView.Rows[index].Cells[0].Value = item.Id;
|
||||
Drugs drug = BDrugs.SelectSingle(int.Parse(item.FeeId));
|
||||
_dataGridView.Rows[index].Cells[1].Value = drug.DrugKind;//药品编号
|
||||
_dataGridView.Rows[index].Cells[2].Value = drug.Code;//药品编号
|
||||
_dataGridView.Rows[index].Cells[3].Value = drug.Name;//药品名称
|
||||
_dataGridView.Rows[index].Cells[3].Tag = drug;
|
||||
_dataGridView.Rows[index].Cells[4].Value = drug.Stand;
|
||||
_dataGridView.Rows[index].Cells[6].Value = drug.Unit;
|
||||
//Drugs drug = BDrugs.SelectSingle(int.Parse(item.FeeId));
|
||||
//_dataGridView.Rows[index].Cells[3].Tag = drug;
|
||||
_dataGridView.Rows[index].Cells[1].Value = item.FeeTypeId;//药品编号
|
||||
_dataGridView.Rows[index].Cells[2].Value = item.FeeCode;//药品编号
|
||||
_dataGridView.Rows[index].Cells[3].Value = item.ChargName;//药品名称
|
||||
_dataGridView.Rows[index].Cells[4].Value = item.ChargSpec;
|
||||
_dataGridView.Rows[index].Cells[6].Value = item.Unit;
|
||||
_dataGridView.Rows[index].Cells[5].Value = item.UnitPrice;
|
||||
_dataGridView.Rows[index].Cells[7].Value = item.FeeNum;
|
||||
_dataGridView.Rows[index].Cells[8].Value = item.ChargePrice;
|
||||
@ -129,20 +129,20 @@ namespace AIMS.PublicUI.UI
|
||||
int index = dgvChargsRecord.Rows.Add();
|
||||
dgvChargsRecord.Rows[index].Tag = item;
|
||||
dgvChargsRecord.Rows[index].Cells[0].Value = item.Id;
|
||||
Charges drug = BCharges.SelectSingle(int.Parse(item.FeeId));
|
||||
dgvChargsRecord.Rows[index].Cells[1].Value = drug.Class;
|
||||
dgvChargsRecord.Rows[index].Cells[2].Value = drug.Code;
|
||||
dgvChargsRecord.Rows[index].Cells[3].Tag = drug;
|
||||
dgvChargsRecord.Rows[index].Cells[3].Value = drug.Name;
|
||||
dgvChargsRecord.Rows[index].Cells[4].Value = drug.Bill;
|
||||
dgvChargsRecord.Rows[index].Cells[6].Value = drug.Unit;
|
||||
//Charges drug = BCharges.SelectSingle(int.Parse(item.FeeId));
|
||||
//dgvChargsRecord.Rows[index].Cells[3].Tag = drug;
|
||||
dgvChargsRecord.Rows[index].Cells[1].Value = item.FeeTypeId;
|
||||
dgvChargsRecord.Rows[index].Cells[2].Value = item.FeeCode;
|
||||
dgvChargsRecord.Rows[index].Cells[3].Value = item.ChargName;
|
||||
dgvChargsRecord.Rows[index].Cells[4].Value = item.ChargSpec;
|
||||
dgvChargsRecord.Rows[index].Cells[6].Value = item.Unit;
|
||||
dgvChargsRecord.Rows[index].Cells[5].Value = item.UnitPrice;
|
||||
dgvChargsRecord.Rows[index].Cells[7].Value = item.FeeNum;
|
||||
dgvChargsRecord.Rows[index].Cells[8].Value = item.ChargePrice;
|
||||
|
||||
_dataGridView.Rows[index].Cells[5].Tag = item.Extend3;
|
||||
_dataGridView.Rows[index].Cells[6].Tag = item.Extend1;
|
||||
_dataGridView.Rows[index].Cells[7].Tag = item.Extend2;
|
||||
//dgvChargsRecord.Rows[index].Cells[5].Tag = item.Extend3;
|
||||
//dgvChargsRecord.Rows[index].Cells[6].Tag = item.Extend1;
|
||||
//dgvChargsRecord.Rows[index].Cells[7].Tag = item.Extend2;
|
||||
}
|
||||
if (item.BillingWorkId != null && item.BillingWorkId != "")
|
||||
{
|
||||
@ -398,10 +398,11 @@ namespace AIMS.PublicUI.UI
|
||||
{
|
||||
lblDrugs.Text += "在室时长:" + Math.Round(((TimeSpan)(_record.OutRoomTime - _record.InRoomTime)).TotalHours, 2) + " h ";
|
||||
}
|
||||
if (_record.AnesthesiaBeginTime != null && _record.AnesthesiaEndTime != null)
|
||||
{
|
||||
lblDrugs.Text += "麻醉时长:" + Math.Round(((TimeSpan)(_record.AnesthesiaEndTime - _record.AnesthesiaBeginTime)).TotalHours, 2) + " h";
|
||||
}
|
||||
if (FeeType != "护士")
|
||||
if (_record.AnesthesiaBeginTime != null && _record.AnesthesiaEndTime != null)
|
||||
{
|
||||
lblDrugs.Text += "麻醉时长:" + Math.Round(((TimeSpan)(_record.AnesthesiaEndTime - _record.AnesthesiaBeginTime)).TotalHours, 2) + " h";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -599,7 +600,7 @@ namespace AIMS.PublicUI.UI
|
||||
{
|
||||
feesR = dr.Tag as FeesRecord;
|
||||
}
|
||||
feesR.PatientId = _record.PatientId;
|
||||
feesR.PatientId = _record.PatientId;
|
||||
feesR.ApplyId = _record.OperationApplyId;
|
||||
feesR.OperationRecordId = _record.Id;
|
||||
feesR.ApplyOrderNo = "";
|
||||
@ -610,19 +611,25 @@ namespace AIMS.PublicUI.UI
|
||||
if (index == 1)
|
||||
{
|
||||
Drugs drug = dr.Cells[3].Tag as Drugs;
|
||||
feesR.FeeId = drug.Id.ToString();
|
||||
feesR.DrugType = drug.DrugKind;
|
||||
feesR.Extend1 = dr.Cells[6].Tag.ToString();//剂量
|
||||
feesR.Extend2 = dr.Cells[7].Tag.ToString();//途径
|
||||
feesR.Extend3 = dr.Cells[5].Tag.ToString();//是否打印处方单
|
||||
if (drug != null)
|
||||
{
|
||||
feesR.FeeId = drug.Id.ToString();
|
||||
feesR.DrugType = drug.DrugKind;
|
||||
feesR.Extend1 = dr.Cells[6].Tag.ToString();//剂量
|
||||
feesR.Extend2 = dr.Cells[7].Tag.ToString();//途径
|
||||
feesR.Extend3 = dr.Cells[5].Tag.ToString();//是否打印处方单
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Charges drug = dr.Cells[3].Tag as Charges;
|
||||
feesR.FeeId = drug.Id.ToString();
|
||||
feesR.Extend1 = "";//剂量
|
||||
feesR.Extend2 = "";//途径
|
||||
feesR.Extend3 = "";//是否打印处方单
|
||||
if (drug != null)
|
||||
{
|
||||
feesR.FeeId = drug.Id.ToString();
|
||||
feesR.Extend1 = "";//剂量
|
||||
feesR.Extend2 = "";//途径
|
||||
feesR.Extend3 = "";//是否打印处方单
|
||||
}
|
||||
}
|
||||
feesR.FeeCode = dr.Cells[2].EditedFormattedValue.ToString();
|
||||
feesR.FeeSerial = dr.Cells[2].EditedFormattedValue.ToString();
|
||||
@ -715,13 +722,16 @@ namespace AIMS.PublicUI.UI
|
||||
{
|
||||
FeesRecord record = _dataGridView.CurrentRow.Tag as FeesRecord;
|
||||
|
||||
PrintDocument DModel = DocumentDAL.GetDocumentbyName("第二类精神药品处方笺", _record.PatientId.Value, record.Id.Value);
|
||||
if (DModel != null && DModel.Id > 0)
|
||||
if (tabDrugs.SelectedTab.Name != "P3")
|
||||
{
|
||||
DialogResult dialogResult = MessageBox.Show("该药品已存在处方单 是否删除?", "系统提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
if (dialogResult == DialogResult.No) return;
|
||||
else
|
||||
DocumentDAL.DeletePrintDocument2(DModel);
|
||||
PrintDocument DModel = DocumentDAL.GetDocumentbyName("第二类精神药品处方笺", _record.PatientId.Value, record.Id.Value);
|
||||
if (DModel != null && DModel.Id > 0)
|
||||
{
|
||||
DialogResult dialogResult = MessageBox.Show("该药品已存在处方单 是否删除?", "系统提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
if (dialogResult == DialogResult.No) return;
|
||||
else
|
||||
DocumentDAL.DeletePrintDocument2(DModel);
|
||||
}
|
||||
}
|
||||
BFeesRecord.Delete(record);
|
||||
_dataGridView.Rows.Remove(_dataGridView.CurrentRow);
|
||||
@ -777,6 +787,7 @@ namespace AIMS.PublicUI.UI
|
||||
private void SetDGVEvent(DataGridView dgv)
|
||||
{
|
||||
dgv.CellClick -= new DataGridViewCellEventHandler(dgvDrugs_CellClick);
|
||||
dgv.CellClick += new DataGridViewCellEventHandler(dgvDrugs_CellClick);
|
||||
dgv.CellContentClick -= new DataGridViewCellEventHandler(dgvDrugs_CellContentClick);
|
||||
dgv.CellValueChanged -= new DataGridViewCellEventHandler(dgvDrugs_CellValueChanged);
|
||||
dgv.CurrentCellDirtyStateChanged -= new EventHandler(dgvDrugs_CurrentCellDirtyStateChanged);
|
||||
@ -801,12 +812,17 @@ namespace AIMS.PublicUI.UI
|
||||
{
|
||||
_dataGridView.BeginEdit(true);
|
||||
}
|
||||
if (e.ColumnIndex != 3 && dgvYP.Visible == true)
|
||||
{
|
||||
dgvYP.Visible = false;
|
||||
}
|
||||
}
|
||||
private void dgvDrugs_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.RowIndex >= 0)
|
||||
{
|
||||
}
|
||||
//if (e.ColumnIndex != 3 && dgvYP.Visible == true)
|
||||
//{
|
||||
// dgvYP.Visible = false;
|
||||
//}
|
||||
}
|
||||
private void dgvDrugs_CellValueChanged(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
@ -852,14 +868,6 @@ namespace AIMS.PublicUI.UI
|
||||
dgvTextYP.KeyPress -= new KeyPressEventHandler(dgvTxtName_KeyPress);
|
||||
}
|
||||
}
|
||||
//剂量失去焦点时注销剂量单元格的事件
|
||||
if (e.ColumnIndex == 10)
|
||||
{
|
||||
if (dgvTxt != null)
|
||||
{
|
||||
dgvTxt.KeyPress -= new KeyPressEventHandler(dgvTxt_KeyPress);
|
||||
}
|
||||
}
|
||||
}
|
||||
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
|
||||
{
|
||||
@ -910,15 +918,15 @@ namespace AIMS.PublicUI.UI
|
||||
if (_dataGridView.CurrentCell.ColumnIndex == 3)
|
||||
{
|
||||
dgvTextYP = (DataGridViewTextBoxEditingControl)e.Control; // 得到单元格
|
||||
dgvTextYP.KeyPress -= new KeyPressEventHandler(dgvTxtName_KeyPress); // 绑定事件
|
||||
dgvTextYP.KeyPress += new KeyPressEventHandler(dgvTxtName_KeyPress); // 绑定事件
|
||||
//dgvTextYP.KeyPress -= new KeyPressEventHandler(dgvTxtName_KeyPress); // 绑定事件
|
||||
//dgvTextYP.KeyPress += new KeyPressEventHandler(dgvTxtName_KeyPress); // 绑定事件
|
||||
dgvTextYP.TextChanged -= new EventHandler(dgvTextYP_TextChanged);
|
||||
dgvTextYP.TextChanged += new EventHandler(dgvTextYP_TextChanged);
|
||||
dgvTextYP.PreviewKeyDown -= new PreviewKeyDownEventHandler(dgvTextYP_PreviewKeyDownEvent);
|
||||
dgvTextYP.PreviewKeyDown += new PreviewKeyDownEventHandler(dgvTextYP_PreviewKeyDownEvent);
|
||||
//SetChargDrugPrice();
|
||||
}
|
||||
if (_dataGridView.CurrentCell.ColumnIndex == 7)
|
||||
if (_dataGridView.CurrentCell.ColumnIndex == 5 || _dataGridView.CurrentCell.ColumnIndex == 6 || _dataGridView.CurrentCell.ColumnIndex == 7 || _dataGridView.CurrentCell.ColumnIndex == 7)
|
||||
{
|
||||
dgvTxt = (DataGridViewTextBoxEditingControl)e.Control; // 得到单元格
|
||||
dgvTxt.KeyPress -= new KeyPressEventHandler(dgvTxt_KeyPress); // 绑定事件
|
||||
@ -1043,9 +1051,11 @@ namespace AIMS.PublicUI.UI
|
||||
{
|
||||
TabSelDrugs.Tabs.RemoveAt(i);
|
||||
}
|
||||
string IsAutomatic = "4";
|
||||
if (FeeType == "护士") IsAutomatic = "5";
|
||||
string Remark = "药品";
|
||||
if (tabDrugs.SelectedTab.Name == "P3") Remark = "耗材";
|
||||
List<AnaesthesiaEvents> AnaesthesiaList = BAnaesthesiaEvents.Select(" IsAutomatic=4 and Remark = '" + Remark + "' and IsValid=1 ", null, RecursiveType.None, 0);
|
||||
List<AnaesthesiaEvents> AnaesthesiaList = BAnaesthesiaEvents.Select(" IsAutomatic=" + IsAutomatic + " and Remark = '" + Remark + "' and IsValid=1 ", null, RecursiveType.None, 0);
|
||||
foreach (AnaesthesiaEvents item in AnaesthesiaList)
|
||||
{
|
||||
SuperTabItem spt = stc.CreateTab(item.Name);
|
||||
@ -1109,7 +1119,7 @@ namespace AIMS.PublicUI.UI
|
||||
}
|
||||
SetDGVEvent(_dataGridView);
|
||||
_dataGridView.Columns[1].ReadOnly = true;
|
||||
_dataGridView.Columns[2].ReadOnly = true;
|
||||
//_dataGridView.Columns[2].ReadOnly = true;
|
||||
|
||||
AddNewNullRows();
|
||||
SetChargDrugPrice();
|
||||
|
||||
@ -35,12 +35,15 @@
|
||||
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.tsbExit = new System.Windows.Forms.ToolStripButton();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.myEditControl = new DCSoft.Writer.Controls.WriterControl();
|
||||
this.writerCommandControler1 = new DCSoft.Writer.Commands.WriterCommandControler(this.components);
|
||||
this.panelDrug = new System.Windows.Forms.Panel();
|
||||
this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.myEditControl = new DCSoft.Writer.Controls.WriterControl();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).BeginInit();
|
||||
this.panelDrug.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// toolStrip1
|
||||
@ -102,21 +105,43 @@
|
||||
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
||||
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
|
||||
//
|
||||
// panel1
|
||||
// panelDrug
|
||||
//
|
||||
this.panel1.Controls.Add(this.myEditControl);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 49);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(624, 832);
|
||||
this.panel1.TabIndex = 10;
|
||||
this.panelDrug.Controls.Add(this.buttonX1);
|
||||
this.panelDrug.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panelDrug.Location = new System.Drawing.Point(0, 49);
|
||||
this.panelDrug.Name = "panelDrug";
|
||||
this.panelDrug.Size = new System.Drawing.Size(624, 72);
|
||||
this.panelDrug.TabIndex = 10;
|
||||
this.panelDrug.Visible = false;
|
||||
//
|
||||
// buttonX1
|
||||
//
|
||||
this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.buttonX1.Location = new System.Drawing.Point(544, 5);
|
||||
this.buttonX1.Name = "buttonX1";
|
||||
this.buttonX1.Size = new System.Drawing.Size(75, 61);
|
||||
this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.buttonX1.TabIndex = 0;
|
||||
this.buttonX1.Text = "打印";
|
||||
this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.myEditControl);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 121);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(624, 760);
|
||||
this.panel2.TabIndex = 11;
|
||||
//
|
||||
// myEditControl
|
||||
//
|
||||
this.myEditControl.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.myEditControl.Location = new System.Drawing.Point(0, 0);
|
||||
this.myEditControl.Name = "myEditControl";
|
||||
this.myEditControl.Size = new System.Drawing.Size(624, 832);
|
||||
this.myEditControl.Size = new System.Drawing.Size(624, 760);
|
||||
this.myEditControl.TabIndex = 7;
|
||||
//
|
||||
// frmPrescriptionDocument
|
||||
@ -124,7 +149,8 @@
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(624, 881);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panelDrug);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Name = "frmPrescriptionDocument";
|
||||
this.ShowIcon = false;
|
||||
@ -133,8 +159,9 @@
|
||||
this.Load += new System.EventHandler(this.frmPrescriptionDocument_Load);
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
this.panel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).EndInit();
|
||||
this.panelDrug.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@ -148,8 +175,10 @@
|
||||
private System.Windows.Forms.ToolStripButton tsbAdd;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
|
||||
public System.Windows.Forms.ToolStripButton tsbExit;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private DCSoft.Writer.Controls.WriterControl myEditControl;
|
||||
private DCSoft.Writer.Commands.WriterCommandControler writerCommandControler1;
|
||||
private System.Windows.Forms.Panel panelDrug;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private DCSoft.Writer.Controls.WriterControl myEditControl;
|
||||
private DevComponents.DotNetBar.ButtonX buttonX1;
|
||||
}
|
||||
}
|
||||
@ -14,6 +14,7 @@ using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows.Forms;
|
||||
using System.Xml;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace AIMS.OperationAanesthesia
|
||||
{
|
||||
@ -21,6 +22,7 @@ namespace AIMS.OperationAanesthesia
|
||||
{
|
||||
public int PatientId;
|
||||
public FeesRecord fee;
|
||||
public List<int> RecordIds;
|
||||
//模板Model
|
||||
private PrintTemplate TModel = new PrintTemplate();
|
||||
//文档Model
|
||||
@ -66,10 +68,105 @@ namespace AIMS.OperationAanesthesia
|
||||
myEditControl.Document.Options.SecurityOptions.ShowPermissionTip = true;
|
||||
|
||||
|
||||
if (fee != null)
|
||||
{
|
||||
panelDrug.Visible = false;
|
||||
toolStrip1.Visible = true;
|
||||
Patient = PatientRecord.GetPatientRecord(PatientId);
|
||||
DModel = DocumentDAL.GetDocumentbyName("第二类精神药品处方笺", Patient.PatientId, fee.Id.Value);
|
||||
LoadDocument();
|
||||
}
|
||||
else
|
||||
{
|
||||
panelDrug.Visible = true;
|
||||
toolStrip1.Visible = false;
|
||||
|
||||
Patient = PatientRecord.GetPatientRecord(PatientId);
|
||||
DModel = DocumentDAL.GetDocumentbyName("第二类精神药品处方笺", Patient.PatientId, fee.Id.Value);
|
||||
LoadDocument();
|
||||
string applianceId = string.Join(",", RecordIds.ToArray());
|
||||
feesRecords = BFeesRecord.Select(" Extend4<>'' and OperationRecordId in(" + applianceId + ") ", null);
|
||||
foreach (var item in feesRecords)
|
||||
{
|
||||
if (!chargName.Contains(item.ChargName))
|
||||
{
|
||||
chargName.Add(item.ChargName);
|
||||
}
|
||||
}
|
||||
if (chargName.Count > 0)
|
||||
{
|
||||
FullPanel(panelDrug, chargName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 加载相应的不良质控控件(同时赋值)
|
||||
/// </summary>
|
||||
/// <param name="panel"></param>
|
||||
/// <param name="list"></param>
|
||||
/// <param name="rList"></param>
|
||||
private void FullPanel(Panel panel, List<string> list)
|
||||
{
|
||||
//panel.Controls.Clear();
|
||||
int rows = 0;
|
||||
int cols = 0;
|
||||
int x = 0;
|
||||
//循环加载CheckBox控件
|
||||
foreach (string ade in list)
|
||||
{
|
||||
x = cols * 150 + 20;
|
||||
CheckBox chkYes = new CheckBox();
|
||||
chkYes.AutoSize = true;
|
||||
chkYes.Text = ade.Length > 14 ? ade.Substring(0, 13) : ade;
|
||||
chkYes.UseVisualStyleBackColor = true;
|
||||
chkYes.Tag = ade;
|
||||
chkYes.CheckedChanged += new EventHandler(cb_CheckedChanged);
|
||||
chkYes.Location = new Point(x, rows * (chkYes.Height + 2) + 4);
|
||||
panel.Controls.Add(chkYes);
|
||||
rows++;
|
||||
if (rows == 3)
|
||||
{
|
||||
rows = 0;
|
||||
cols++;
|
||||
if (cols == 2)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void cb_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
CheckBox ck = sender as CheckBox;
|
||||
//判断CheckBox被选中时
|
||||
if (ck.Checked)
|
||||
{
|
||||
if (!SelChargName.Contains(ck.Tag.ToString()))
|
||||
{
|
||||
SelChargName.Add(ck.Tag.ToString());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (SelChargName.Contains(ck.Tag.ToString()))
|
||||
{
|
||||
SelChargName.Remove(ck.Tag.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
public List<string> chargName = new List<string>();
|
||||
public List<string> SelChargName = new List<string>();
|
||||
public List<FeesRecord> feesRecords;
|
||||
|
||||
private void buttonX1_Click(object sender, EventArgs e)
|
||||
{
|
||||
foreach (var item in feesRecords)
|
||||
{
|
||||
if (!SelChargName.Contains(item.ChargName)) continue;
|
||||
Patient = PatientRecord.GetPatientRecord(item.PatientId.Value);
|
||||
DModel = DocumentDAL.GetDocumentbyName("第二类精神药品处方笺", Patient.PatientId, item.Id.Value);
|
||||
LoadDocument();
|
||||
myEditControl.ExecuteCommand("FilePrint", false, null);
|
||||
}
|
||||
}
|
||||
|
||||
#region 文书控件事件
|
||||
|
||||
@ -10,6 +10,7 @@ using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Security.Cryptography;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
@ -57,42 +58,8 @@ namespace AIMS.OperationAfter.UI
|
||||
LoadSelectDate();
|
||||
dgvtEMPOperationInfos.Rows.Clear();
|
||||
|
||||
//Task.Factory.StartNew(() =>
|
||||
//{
|
||||
// BindtHisDrugOrdersSDYToDgv(sql);
|
||||
//});
|
||||
}
|
||||
|
||||
//private void BindtHisDrugOrdersSDYToDgv(string sql)
|
||||
//{
|
||||
// try
|
||||
// {
|
||||
// DataTable data = BOperationRecord.GetAllOperationRecordInfoChagesState(sql);
|
||||
// for (int i = 0; i < dgvOperation.Rows.Count; i++)
|
||||
// {
|
||||
// DataGridViewRow item = dgvOperation.Rows[i];
|
||||
// int OpeID = 0;
|
||||
// OpeID = Convert.ToInt32(item.Cells[0].Value.ToString());
|
||||
// if (OpeID == 0) return;
|
||||
// foreach (DataRow item1 in data.Rows)
|
||||
// {
|
||||
// if (item1[0] != null && item1[0].ToString() != "")
|
||||
// {
|
||||
// if (item1[0].ToString() == OpeID.ToString())
|
||||
// {
|
||||
// item.Cells["chagestate"].Value = item1["chagestate"].ToString();
|
||||
// item.Cells["chargstatenurse"].Value = item1["chargstatenurse"].ToString();
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// catch (Exception ex)
|
||||
// {
|
||||
// PublicMethod.WriteLog(ex);
|
||||
// }
|
||||
//}
|
||||
private void Initial()
|
||||
{
|
||||
btnOK_Click(null, null);
|
||||
@ -116,48 +83,12 @@ namespace AIMS.OperationAfter.UI
|
||||
if (OpeID == 0) return;
|
||||
}
|
||||
|
||||
private void tsbChangeRecoveOpe_Click(object sender, EventArgs e)
|
||||
{
|
||||
int OpeID = 0;
|
||||
if (dgvOperation.SelectedRows.Count > 0)
|
||||
{
|
||||
OpeID = Convert.ToInt32(dgvOperation.SelectedRows[0].Cells[0].Value.ToString());
|
||||
}
|
||||
if (OpeID == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
OperationRecord _operationRecord = BOperationRecord.SelectSingle(OpeID, RecursiveType.None, 0);
|
||||
|
||||
|
||||
//frmChargRecordPrintSDY frmchargRecord = new frmChargRecordPrintSDY(_operationRecord);
|
||||
//frmchargRecord.TemplateType = "麻醉";
|
||||
//frmchargRecord.Show();
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton10_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private bool compareTime(DateTime time1, DateTime time2)
|
||||
{
|
||||
int y1 = time1.Year;
|
||||
int y2 = time2.Year;
|
||||
int M1 = time1.Month;
|
||||
int M2 = time2.Month;
|
||||
int d1 = time1.Day;
|
||||
int d2 = time2.Day;
|
||||
if (y1 == y2 && M1 == M2 && d1 == d2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 表格配置
|
||||
/// </summary>
|
||||
@ -165,8 +96,6 @@ namespace AIMS.OperationAfter.UI
|
||||
/// <param name="e"></param>
|
||||
private void tsbSettingDGV_Click(object sender, EventArgs e)
|
||||
{
|
||||
//DataGridViewSettingManager.GetInstance().ShowConfigUI(dgvOperation);
|
||||
//dgvOperation.AllowUserToAddRows = false;
|
||||
}
|
||||
|
||||
private void dgvOperation_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
|
||||
@ -197,23 +126,17 @@ namespace AIMS.OperationAfter.UI
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
//if (dgvOperation.Rows.Count < 0 || dgvOperation.Rows.Count < 1)
|
||||
//{
|
||||
// MessageBox.Show("没有记录,请查询到数据后再导出数据到Excel");
|
||||
// return;
|
||||
//}
|
||||
//DataGridViewToExcel.DataToExcel(dgvOperation);
|
||||
//frmOperationCharg4 charg4 = new frmOperationCharg4();
|
||||
//charg4.ShowDialog();
|
||||
|
||||
if (dgvOperation.CurrentRow == null)//药品名称
|
||||
return;
|
||||
return;
|
||||
int PatientId = int.Parse(dgvOperation.CurrentRow.Cells[2].Value.ToString());
|
||||
OperationRecord _record = new OperationRecord();
|
||||
BOperationRecord.getRecord(_record, PatientId, 1);
|
||||
frmFeesRecord frmchargRecord = new frmFeesRecord(_record, rdoZQ.Checked == true ? "麻醉" : "护士");
|
||||
frmchargRecord.Show();
|
||||
frmchargRecord.BringToFront();
|
||||
|
||||
dgvtEMPOperationInfos.Rows.Clear();
|
||||
SetChargDetalie(_record.Id.Value);
|
||||
}
|
||||
|
||||
private void cboRoom_SelectedIndexChanged(object sender, EventArgs e)
|
||||
@ -232,31 +155,32 @@ namespace AIMS.OperationAfter.UI
|
||||
{
|
||||
return;
|
||||
}
|
||||
dgvtEMPOperationInfos.Rows.Clear();
|
||||
OperationRecord _operationRecord = BOperationRecord.SelectSingle(OpeID, RecursiveType.None, 0);
|
||||
SetChargDetalie(_operationRecord);
|
||||
dgvtEMPOperationInfos.Rows.Clear();
|
||||
SetChargDetalie(OpeID );
|
||||
|
||||
}
|
||||
|
||||
private void SetChargDetalie(OperationRecord _operationRecord)
|
||||
private void SetChargDetalie(int _operationRecord)
|
||||
{
|
||||
List<FeesRecord> tEMPOperationInfoBackupss = BFeesRecord.Select("OperationRecordId='" + _operationRecord.Id + "' and FeeType='" + TemplateType + "' ", null);
|
||||
List<FeesRecord> tEMPOperationInfoBackupss = BFeesRecord.Select("OperationRecordId='" + _operationRecord + "' and FeeType='" + TemplateType + "' ", null);
|
||||
if (tEMPOperationInfoBackupss != null && tEMPOperationInfoBackupss.Count > 0)
|
||||
{
|
||||
foreach (var item in tEMPOperationInfoBackupss)
|
||||
{
|
||||
int index = dgvtEMPOperationInfos.Rows.Add();
|
||||
dgvtEMPOperationInfos.Rows[index].Tag = item;
|
||||
dgvtEMPOperationInfos.Rows[index].Cells[0].Value = item.Id;// 编号
|
||||
dgvtEMPOperationInfos.Rows[index].Cells[1].Value = item.BillCode;
|
||||
dgvtEMPOperationInfos.Rows[index].Cells[2].Value = item.ChargName += " " + item.ChargSpec;
|
||||
dgvtEMPOperationInfos.Rows[index].Cells[2].Value = item.ChargName + " " + item.ChargSpec;
|
||||
dgvtEMPOperationInfos.Rows[index].Cells[3].Value = item.Unit;
|
||||
dgvtEMPOperationInfos.Rows[index].Cells[4].Value = item.FeeNum;
|
||||
dgvtEMPOperationInfos.Rows[index].Cells[5].Value = item.UnitPrice;
|
||||
dgvtEMPOperationInfos.Rows[index].Cells[6].Value = item.ChargePrice;
|
||||
dgvtEMPOperationInfos.Rows[index].Cells[7].Value = item.ExecWork;
|
||||
dgvtEMPOperationInfos.Rows[index].Cells[8].Value = item.ExecTime;
|
||||
//dgvtEMPOperationInfos.Rows[index].Cells["type"].Value = item.FeeTypeId;
|
||||
|
||||
if (item.Extend4 != null && item.Extend4 != "")
|
||||
dgvtEMPOperationInfos.Rows[index].Cells[9].Value = "000" + item.Extend4;
|
||||
//dgvtEMPOperationInfos.Rows[index].Cells["type"].Value = item.FeeTypeId;
|
||||
}
|
||||
}
|
||||
|
||||
@ -306,8 +230,7 @@ namespace AIMS.OperationAfter.UI
|
||||
{
|
||||
if (dgvtEMPOperationInfos.CurrentRow == null)//药品名称
|
||||
return;
|
||||
int FeesRecordId = int.Parse(dgvtEMPOperationInfos.CurrentRow.Cells[0].Value.ToString());
|
||||
FeesRecord drug = BFeesRecord.SelectSingle(FeesRecordId);
|
||||
FeesRecord drug = dgvtEMPOperationInfos.CurrentRow.Tag as FeesRecord;
|
||||
if (drug == null)
|
||||
{
|
||||
return;
|
||||
@ -316,6 +239,48 @@ namespace AIMS.OperationAfter.UI
|
||||
document.PatientId = drug.PatientId.Value;
|
||||
document.fee = drug;
|
||||
document.ShowDialog();
|
||||
|
||||
dgvtEMPOperationInfos.Rows.Clear();
|
||||
SetChargDetalie(drug.OperationRecordId.Value );
|
||||
}
|
||||
|
||||
private void checkBoxX1_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBoxX1.Checked == true)
|
||||
{
|
||||
foreach (DataGridViewRow item in dgvOperation.Rows)
|
||||
{
|
||||
item.Cells[6].Value = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (DataGridViewRow item in dgvOperation.Rows)
|
||||
{
|
||||
item.Cells[6].Value = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
List<int> list = new List<int>();
|
||||
foreach (DataGridViewRow item in dgvOperation.Rows)
|
||||
{
|
||||
bool isChoose = bool.Parse(item.Cells[6].EditedFormattedValue.ToString());
|
||||
if (isChoose)
|
||||
{
|
||||
string SelectId = item.Cells[0].Value.ToString();// as string;
|
||||
if (SelectId != "")
|
||||
list.Add(Convert.ToInt32(SelectId));
|
||||
}
|
||||
}
|
||||
if (list.Count > 0)
|
||||
{
|
||||
frmPrescriptionDocument document = new frmPrescriptionDocument();
|
||||
document.RecordIds = list ;
|
||||
document.ShowDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
514
AIMS/OperationAfter/frmOperationCharg2.designer.cs
generated
514
AIMS/OperationAfter/frmOperationCharg2.designer.cs
generated
@ -28,10 +28,11 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.cboRoom = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
this.label22 = new System.Windows.Forms.Label();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
@ -55,28 +56,8 @@
|
||||
this.label53 = new System.Windows.Forms.Label();
|
||||
this.txtPatCaseNO = new System.Windows.Forms.TextBox();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.checkBoxX1 = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.dgvOperation = new System.Windows.Forms.DataGridView();
|
||||
this.OpeationId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.OperationApplyId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.PatientId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.OperationType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.PatientDept = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.OperationRoom = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.InHospitalNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.PatientName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Sex = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.FullBed = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.OperationName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.AnaesthesiaMethodName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.OperationDoctor = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.AnesthesiaDoctor = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Inroomtime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.anesBegintime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Anesendtime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.outroomtime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.chagestate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.chargstatenurse = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dgvtEMPOperationInfos = new System.Windows.Forms.DataGridView();
|
||||
this.DId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@ -91,7 +72,6 @@
|
||||
this.hisOrdersn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Hiscount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.hisState = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.drugsstate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@ -119,6 +99,28 @@
|
||||
this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.OpeationId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.OperationApplyId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.PatientId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.OperationType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.PatientDept = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.check = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.OperationRoom = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.InHospitalNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.PatientName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Sex = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.FullBed = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.OperationName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.AnaesthesiaMethodName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.OperationDoctor = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.AnesthesiaDoctor = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Inroomtime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.anesBegintime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Anesendtime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.outroomtime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.chagestate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.chargstatenurse = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
@ -133,6 +135,7 @@
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.panel1.Controls.Add(this.button2);
|
||||
this.panel1.Controls.Add(this.cboRoom);
|
||||
this.panel1.Controls.Add(this.label22);
|
||||
this.panel1.Controls.Add(this.button1);
|
||||
@ -145,6 +148,21 @@
|
||||
this.panel1.Size = new System.Drawing.Size(1428, 45);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.button2.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.button2.FlatAppearance.BorderSize = 0;
|
||||
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.button2.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.button2.Location = new System.Drawing.Point(112, 0);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(131, 45);
|
||||
this.button2.TabIndex = 33;
|
||||
this.button2.Text = "批量打印处方单";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// cboRoom
|
||||
//
|
||||
this.cboRoom.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@ -458,6 +476,7 @@
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.checkBoxX1);
|
||||
this.groupBox1.Controls.Add(this.dgvOperation);
|
||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
@ -468,22 +487,37 @@
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "患者列表";
|
||||
//
|
||||
// checkBoxX1
|
||||
//
|
||||
this.checkBoxX1.BackColor = System.Drawing.Color.White;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.checkBoxX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.checkBoxX1.Location = new System.Drawing.Point(51, 31);
|
||||
this.checkBoxX1.Name = "checkBoxX1";
|
||||
this.checkBoxX1.Size = new System.Drawing.Size(21, 23);
|
||||
this.checkBoxX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.checkBoxX1.TabIndex = 387;
|
||||
this.checkBoxX1.CheckedChanged += new System.EventHandler(this.checkBoxX1_CheckedChanged);
|
||||
//
|
||||
// dgvOperation
|
||||
//
|
||||
this.dgvOperation.AllowUserToAddRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(247)))), ((int)(((byte)(255)))));
|
||||
this.dgvOperation.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dgvOperation.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(247)))), ((int)(((byte)(255)))));
|
||||
this.dgvOperation.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dgvOperation.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||
this.dgvOperation.BackgroundColor = System.Drawing.Color.Snow;
|
||||
this.dgvOperation.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dgvOperation.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dgvOperation.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.dgvOperation.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvOperation.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.OpeationId,
|
||||
@ -492,6 +526,7 @@
|
||||
this.Index,
|
||||
this.OperationType,
|
||||
this.PatientDept,
|
||||
this.check,
|
||||
this.OperationRoom,
|
||||
this.InHospitalNo,
|
||||
this.PatientName,
|
||||
@ -511,7 +546,6 @@
|
||||
this.dgvOperation.Location = new System.Drawing.Point(3, 21);
|
||||
this.dgvOperation.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.dgvOperation.Name = "dgvOperation";
|
||||
this.dgvOperation.ReadOnly = true;
|
||||
this.dgvOperation.RowTemplate.Height = 27;
|
||||
this.dgvOperation.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dgvOperation.Size = new System.Drawing.Size(374, 407);
|
||||
@ -519,184 +553,6 @@
|
||||
this.dgvOperation.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvOperation_CellDoubleClick);
|
||||
this.dgvOperation.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvOperation_RowPostPaint);
|
||||
//
|
||||
// OpeationId
|
||||
//
|
||||
this.OpeationId.DataPropertyName = "RecoredId";
|
||||
this.OpeationId.HeaderText = "手术ID";
|
||||
this.OpeationId.Name = "OpeationId";
|
||||
this.OpeationId.ReadOnly = true;
|
||||
this.OpeationId.Visible = false;
|
||||
//
|
||||
// OperationApplyId
|
||||
//
|
||||
this.OperationApplyId.DataPropertyName = "ApplyId";
|
||||
this.OperationApplyId.HeaderText = "申请ID";
|
||||
this.OperationApplyId.Name = "OperationApplyId";
|
||||
this.OperationApplyId.ReadOnly = true;
|
||||
this.OperationApplyId.Visible = false;
|
||||
//
|
||||
// PatientId
|
||||
//
|
||||
this.PatientId.DataPropertyName = "PatientId";
|
||||
this.PatientId.HeaderText = "病人ID";
|
||||
this.PatientId.Name = "PatientId";
|
||||
this.PatientId.ReadOnly = true;
|
||||
this.PatientId.Visible = false;
|
||||
//
|
||||
// Index
|
||||
//
|
||||
this.Index.HeaderText = "序号";
|
||||
this.Index.Name = "Index";
|
||||
this.Index.ReadOnly = true;
|
||||
this.Index.Visible = false;
|
||||
//
|
||||
// OperationType
|
||||
//
|
||||
this.OperationType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.OperationType.DataPropertyName = "OperationType";
|
||||
this.OperationType.FillWeight = 609.1371F;
|
||||
this.OperationType.HeaderText = "类别";
|
||||
this.OperationType.Name = "OperationType";
|
||||
this.OperationType.ReadOnly = true;
|
||||
this.OperationType.Visible = false;
|
||||
this.OperationType.Width = 65;
|
||||
//
|
||||
// PatientDept
|
||||
//
|
||||
this.PatientDept.DataPropertyName = "PatientDept";
|
||||
this.PatientDept.FillWeight = 52.36969F;
|
||||
this.PatientDept.HeaderText = "科室";
|
||||
this.PatientDept.Name = "PatientDept";
|
||||
this.PatientDept.ReadOnly = true;
|
||||
this.PatientDept.Visible = false;
|
||||
//
|
||||
// OperationRoom
|
||||
//
|
||||
this.OperationRoom.DataPropertyName = "OperationRoom";
|
||||
this.OperationRoom.FillWeight = 65.36763F;
|
||||
this.OperationRoom.HeaderText = "手术间";
|
||||
this.OperationRoom.Name = "OperationRoom";
|
||||
this.OperationRoom.ReadOnly = true;
|
||||
//
|
||||
// InHospitalNo
|
||||
//
|
||||
this.InHospitalNo.DataPropertyName = "MdrecNo";
|
||||
this.InHospitalNo.FillWeight = 61.41668F;
|
||||
this.InHospitalNo.HeaderText = "住院号";
|
||||
this.InHospitalNo.Name = "InHospitalNo";
|
||||
this.InHospitalNo.ReadOnly = true;
|
||||
//
|
||||
// PatientName
|
||||
//
|
||||
this.PatientName.DataPropertyName = "PatientName";
|
||||
this.PatientName.FillWeight = 48.05807F;
|
||||
this.PatientName.HeaderText = "姓名";
|
||||
this.PatientName.Name = "PatientName";
|
||||
this.PatientName.ReadOnly = true;
|
||||
//
|
||||
// Sex
|
||||
//
|
||||
this.Sex.DataPropertyName = "Sex";
|
||||
this.Sex.FillWeight = 48.17831F;
|
||||
this.Sex.HeaderText = "性别";
|
||||
this.Sex.Name = "Sex";
|
||||
this.Sex.ReadOnly = true;
|
||||
this.Sex.Visible = false;
|
||||
//
|
||||
// FullBed
|
||||
//
|
||||
this.FullBed.DataPropertyName = "SickBed";
|
||||
this.FullBed.FillWeight = 47.85236F;
|
||||
this.FullBed.HeaderText = "床号";
|
||||
this.FullBed.Name = "FullBed";
|
||||
this.FullBed.ReadOnly = true;
|
||||
this.FullBed.Visible = false;
|
||||
//
|
||||
// OperationName
|
||||
//
|
||||
this.OperationName.DataPropertyName = "OperationInfoName";
|
||||
this.OperationName.FillWeight = 86.09029F;
|
||||
this.OperationName.HeaderText = "实施手术";
|
||||
this.OperationName.Name = "OperationName";
|
||||
this.OperationName.ReadOnly = true;
|
||||
this.OperationName.Visible = false;
|
||||
//
|
||||
// AnaesthesiaMethodName
|
||||
//
|
||||
this.AnaesthesiaMethodName.DataPropertyName = "AnaesthesiaMethodName";
|
||||
this.AnaesthesiaMethodName.FillWeight = 83.9493F;
|
||||
this.AnaesthesiaMethodName.HeaderText = "麻醉方式";
|
||||
this.AnaesthesiaMethodName.Name = "AnaesthesiaMethodName";
|
||||
this.AnaesthesiaMethodName.ReadOnly = true;
|
||||
this.AnaesthesiaMethodName.Visible = false;
|
||||
//
|
||||
// OperationDoctor
|
||||
//
|
||||
this.OperationDoctor.DataPropertyName = "OperationDoctor";
|
||||
this.OperationDoctor.FillWeight = 53.07917F;
|
||||
this.OperationDoctor.HeaderText = "术者";
|
||||
this.OperationDoctor.Name = "OperationDoctor";
|
||||
this.OperationDoctor.ReadOnly = true;
|
||||
this.OperationDoctor.Visible = false;
|
||||
//
|
||||
// AnesthesiaDoctor
|
||||
//
|
||||
this.AnesthesiaDoctor.DataPropertyName = "AnesthesiaDoctor";
|
||||
this.AnesthesiaDoctor.FillWeight = 65.36763F;
|
||||
this.AnesthesiaDoctor.HeaderText = "麻醉医生";
|
||||
this.AnesthesiaDoctor.Name = "AnesthesiaDoctor";
|
||||
this.AnesthesiaDoctor.ReadOnly = true;
|
||||
//
|
||||
// Inroomtime
|
||||
//
|
||||
this.Inroomtime.DataPropertyName = "InRoomTime";
|
||||
this.Inroomtime.FillWeight = 65.36763F;
|
||||
this.Inroomtime.HeaderText = "入室时间";
|
||||
this.Inroomtime.Name = "Inroomtime";
|
||||
this.Inroomtime.ReadOnly = true;
|
||||
this.Inroomtime.Visible = false;
|
||||
//
|
||||
// anesBegintime
|
||||
//
|
||||
this.anesBegintime.DataPropertyName = "AnesthesiaBeginTime";
|
||||
this.anesBegintime.HeaderText = "麻醉开始";
|
||||
this.anesBegintime.Name = "anesBegintime";
|
||||
this.anesBegintime.ReadOnly = true;
|
||||
this.anesBegintime.Visible = false;
|
||||
//
|
||||
// Anesendtime
|
||||
//
|
||||
this.Anesendtime.DataPropertyName = "AnesthesiaEndTime";
|
||||
this.Anesendtime.HeaderText = "麻醉结束";
|
||||
this.Anesendtime.Name = "Anesendtime";
|
||||
this.Anesendtime.ReadOnly = true;
|
||||
this.Anesendtime.Visible = false;
|
||||
//
|
||||
// outroomtime
|
||||
//
|
||||
this.outroomtime.DataPropertyName = "OutRoomTime";
|
||||
this.outroomtime.HeaderText = "出室时间";
|
||||
this.outroomtime.Name = "outroomtime";
|
||||
this.outroomtime.ReadOnly = true;
|
||||
this.outroomtime.Visible = false;
|
||||
//
|
||||
// chagestate
|
||||
//
|
||||
this.chagestate.DataPropertyName = "chagestate";
|
||||
this.chagestate.FillWeight = 65.36763F;
|
||||
this.chagestate.HeaderText = "收费状态";
|
||||
this.chagestate.Name = "chagestate";
|
||||
this.chagestate.ReadOnly = true;
|
||||
this.chagestate.Visible = false;
|
||||
//
|
||||
// chargstatenurse
|
||||
//
|
||||
this.chargstatenurse.DataPropertyName = "chargstatenurse";
|
||||
this.chargstatenurse.HeaderText = "收费状态";
|
||||
this.chargstatenurse.Name = "chargstatenurse";
|
||||
this.chargstatenurse.ReadOnly = true;
|
||||
this.chargstatenurse.Visible = false;
|
||||
//
|
||||
// dgvtEMPOperationInfos
|
||||
//
|
||||
this.dgvtEMPOperationInfos.AllowUserToAddRows = false;
|
||||
@ -719,16 +575,15 @@
|
||||
this.ordersn,
|
||||
this.hisOrdersn,
|
||||
this.Hiscount,
|
||||
this.hisState,
|
||||
this.drugsstate});
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 10.5F);
|
||||
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvtEMPOperationInfos.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.hisState});
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 10.5F);
|
||||
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvtEMPOperationInfos.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.dgvtEMPOperationInfos.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvtEMPOperationInfos.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
|
||||
this.dgvtEMPOperationInfos.GridColor = System.Drawing.Color.Black;
|
||||
@ -820,10 +675,9 @@
|
||||
// ordersn
|
||||
//
|
||||
this.ordersn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.ordersn.HeaderText = "医嘱号";
|
||||
this.ordersn.HeaderText = "处方单号";
|
||||
this.ordersn.Name = "ordersn";
|
||||
this.ordersn.ReadOnly = true;
|
||||
this.ordersn.Visible = false;
|
||||
this.ordersn.Width = 80;
|
||||
//
|
||||
// hisOrdersn
|
||||
@ -853,15 +707,6 @@
|
||||
this.hisState.Visible = false;
|
||||
this.hisState.Width = 70;
|
||||
//
|
||||
// drugsstate
|
||||
//
|
||||
this.drugsstate.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.drugsstate.HeaderText = "药单";
|
||||
this.drugsstate.Name = "drugsstate";
|
||||
this.drugsstate.ReadOnly = true;
|
||||
this.drugsstate.Visible = false;
|
||||
this.drugsstate.Width = 70;
|
||||
//
|
||||
// dataGridViewTextBoxColumn1
|
||||
//
|
||||
this.dataGridViewTextBoxColumn1.DataPropertyName = "OperationRecordId";
|
||||
@ -1066,6 +911,171 @@
|
||||
this.dataGridViewTextBoxColumn31.HeaderText = "收费状态";
|
||||
this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31";
|
||||
//
|
||||
// OpeationId
|
||||
//
|
||||
this.OpeationId.DataPropertyName = "RecoredId";
|
||||
this.OpeationId.HeaderText = "手术ID";
|
||||
this.OpeationId.Name = "OpeationId";
|
||||
this.OpeationId.Visible = false;
|
||||
//
|
||||
// OperationApplyId
|
||||
//
|
||||
this.OperationApplyId.DataPropertyName = "ApplyId";
|
||||
this.OperationApplyId.HeaderText = "申请ID";
|
||||
this.OperationApplyId.Name = "OperationApplyId";
|
||||
this.OperationApplyId.Visible = false;
|
||||
//
|
||||
// PatientId
|
||||
//
|
||||
this.PatientId.DataPropertyName = "PatientId";
|
||||
this.PatientId.HeaderText = "病人ID";
|
||||
this.PatientId.Name = "PatientId";
|
||||
this.PatientId.Visible = false;
|
||||
//
|
||||
// Index
|
||||
//
|
||||
this.Index.HeaderText = "序号";
|
||||
this.Index.Name = "Index";
|
||||
this.Index.Visible = false;
|
||||
//
|
||||
// OperationType
|
||||
//
|
||||
this.OperationType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.OperationType.DataPropertyName = "OperationType";
|
||||
this.OperationType.FillWeight = 609.1371F;
|
||||
this.OperationType.HeaderText = "类别";
|
||||
this.OperationType.Name = "OperationType";
|
||||
this.OperationType.Visible = false;
|
||||
this.OperationType.Width = 65;
|
||||
//
|
||||
// PatientDept
|
||||
//
|
||||
this.PatientDept.DataPropertyName = "PatientDept";
|
||||
this.PatientDept.FillWeight = 52.36969F;
|
||||
this.PatientDept.HeaderText = "科室";
|
||||
this.PatientDept.Name = "PatientDept";
|
||||
this.PatientDept.Visible = false;
|
||||
//
|
||||
// check
|
||||
//
|
||||
this.check.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.check.FillWeight = 69.07817F;
|
||||
this.check.HeaderText = "";
|
||||
this.check.Name = "check";
|
||||
this.check.Width = 30;
|
||||
//
|
||||
// OperationRoom
|
||||
//
|
||||
this.OperationRoom.DataPropertyName = "OperationRoom";
|
||||
this.OperationRoom.FillWeight = 73.7823F;
|
||||
this.OperationRoom.HeaderText = "手术间";
|
||||
this.OperationRoom.Name = "OperationRoom";
|
||||
//
|
||||
// InHospitalNo
|
||||
//
|
||||
this.InHospitalNo.DataPropertyName = "MdrecNo";
|
||||
this.InHospitalNo.FillWeight = 69.32275F;
|
||||
this.InHospitalNo.HeaderText = "住院号";
|
||||
this.InHospitalNo.Name = "InHospitalNo";
|
||||
//
|
||||
// PatientName
|
||||
//
|
||||
this.PatientName.DataPropertyName = "PatientName";
|
||||
this.PatientName.FillWeight = 54.2445F;
|
||||
this.PatientName.HeaderText = "姓名";
|
||||
this.PatientName.Name = "PatientName";
|
||||
//
|
||||
// Sex
|
||||
//
|
||||
this.Sex.DataPropertyName = "Sex";
|
||||
this.Sex.FillWeight = 48.17831F;
|
||||
this.Sex.HeaderText = "性别";
|
||||
this.Sex.Name = "Sex";
|
||||
this.Sex.Visible = false;
|
||||
//
|
||||
// FullBed
|
||||
//
|
||||
this.FullBed.DataPropertyName = "SickBed";
|
||||
this.FullBed.FillWeight = 47.85236F;
|
||||
this.FullBed.HeaderText = "床号";
|
||||
this.FullBed.Name = "FullBed";
|
||||
this.FullBed.Visible = false;
|
||||
//
|
||||
// OperationName
|
||||
//
|
||||
this.OperationName.DataPropertyName = "OperationInfoName";
|
||||
this.OperationName.FillWeight = 86.09029F;
|
||||
this.OperationName.HeaderText = "实施手术";
|
||||
this.OperationName.Name = "OperationName";
|
||||
this.OperationName.Visible = false;
|
||||
//
|
||||
// AnaesthesiaMethodName
|
||||
//
|
||||
this.AnaesthesiaMethodName.DataPropertyName = "AnaesthesiaMethodName";
|
||||
this.AnaesthesiaMethodName.FillWeight = 83.9493F;
|
||||
this.AnaesthesiaMethodName.HeaderText = "麻醉方式";
|
||||
this.AnaesthesiaMethodName.Name = "AnaesthesiaMethodName";
|
||||
this.AnaesthesiaMethodName.Visible = false;
|
||||
//
|
||||
// OperationDoctor
|
||||
//
|
||||
this.OperationDoctor.DataPropertyName = "OperationDoctor";
|
||||
this.OperationDoctor.FillWeight = 53.07917F;
|
||||
this.OperationDoctor.HeaderText = "术者";
|
||||
this.OperationDoctor.Name = "OperationDoctor";
|
||||
this.OperationDoctor.Visible = false;
|
||||
//
|
||||
// AnesthesiaDoctor
|
||||
//
|
||||
this.AnesthesiaDoctor.DataPropertyName = "AnesthesiaDoctor";
|
||||
this.AnesthesiaDoctor.FillWeight = 73.7823F;
|
||||
this.AnesthesiaDoctor.HeaderText = "麻醉医生";
|
||||
this.AnesthesiaDoctor.Name = "AnesthesiaDoctor";
|
||||
//
|
||||
// Inroomtime
|
||||
//
|
||||
this.Inroomtime.DataPropertyName = "InRoomTime";
|
||||
this.Inroomtime.FillWeight = 65.36763F;
|
||||
this.Inroomtime.HeaderText = "入室时间";
|
||||
this.Inroomtime.Name = "Inroomtime";
|
||||
this.Inroomtime.Visible = false;
|
||||
//
|
||||
// anesBegintime
|
||||
//
|
||||
this.anesBegintime.DataPropertyName = "AnesthesiaBeginTime";
|
||||
this.anesBegintime.HeaderText = "麻醉开始";
|
||||
this.anesBegintime.Name = "anesBegintime";
|
||||
this.anesBegintime.Visible = false;
|
||||
//
|
||||
// Anesendtime
|
||||
//
|
||||
this.Anesendtime.DataPropertyName = "AnesthesiaEndTime";
|
||||
this.Anesendtime.HeaderText = "麻醉结束";
|
||||
this.Anesendtime.Name = "Anesendtime";
|
||||
this.Anesendtime.Visible = false;
|
||||
//
|
||||
// outroomtime
|
||||
//
|
||||
this.outroomtime.DataPropertyName = "OutRoomTime";
|
||||
this.outroomtime.HeaderText = "出室时间";
|
||||
this.outroomtime.Name = "outroomtime";
|
||||
this.outroomtime.Visible = false;
|
||||
//
|
||||
// chagestate
|
||||
//
|
||||
this.chagestate.DataPropertyName = "chagestate";
|
||||
this.chagestate.FillWeight = 65.36763F;
|
||||
this.chagestate.HeaderText = "收费状态";
|
||||
this.chagestate.Name = "chagestate";
|
||||
this.chagestate.Visible = false;
|
||||
//
|
||||
// chargstatenurse
|
||||
//
|
||||
this.chargstatenurse.DataPropertyName = "chargstatenurse";
|
||||
this.chargstatenurse.HeaderText = "收费状态";
|
||||
this.chargstatenurse.Name = "chargstatenurse";
|
||||
this.chargstatenurse.Visible = false;
|
||||
//
|
||||
// frmOperationCharg2
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
@ -1146,14 +1156,30 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn30;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn31;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.RadioButton rdoJZ;
|
||||
private System.Windows.Forms.RadioButton rdoZQ;
|
||||
private System.Windows.Forms.RadioButton rdoJZ;
|
||||
private System.Windows.Forms.RadioButton rdoZQ;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn DId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn22;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn DUnit;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn23;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn24;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn groupno;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn execwork;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn exectime;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ordersn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn hisOrdersn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Hiscount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn hisState;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX checkBoxX1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn OpeationId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn OperationApplyId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn PatientId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Index;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn OperationType;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn PatientDept;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn check;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn OperationRoom;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn InHospitalNo;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn PatientName;
|
||||
@ -1169,19 +1195,5 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn outroomtime;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn chagestate;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn chargstatenurse;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn DId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn22;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn DUnit;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn23;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn24;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn groupno;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn execwork;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn exectime;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ordersn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn hisOrdersn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Hiscount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn hisState;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn drugsstate;
|
||||
}
|
||||
}
|
||||
@ -135,6 +135,9 @@
|
||||
<metadata name="PatientDept.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="check.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="OperationRoom.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@ -219,7 +222,4 @@
|
||||
<metadata name="hisState.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="drugsstate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
Loading…
x
Reference in New Issue
Block a user