837390164@qq.com 11 ماه پیش
والد
کامیت
3505127842

+ 1 - 1
Business/InsuServices.cs

@@ -166,7 +166,7 @@ namespace PTMedicalInsurance.Business
             return invoker.invokeInsuService(joSettlQuery.ToString(), "查询指定字典信息");
         }
         /// 获取指定字典编码值信息
-        public JObject getSpecDictionaryValue(string interfaceDr, string dicType,string code)
+        public JObject getSpecDictionaryValue(string interfaceDr, string dicType, string code)        
         {
             string sqlStr = " select '' Code,'' Name,'' PinyinSearchCode union all ";
             sqlStr = sqlStr + " SELECT B.Code,B.Descripts AS Name,'' PinyinSearchCode FROM HB_Dictionary A JOIN HB_DictionaryDataDetail B ON A.ID = B.HBDictionary_Dr " +

+ 47 - 0
Business/IrisServices.cs

@@ -43,6 +43,30 @@ namespace PTMedicalInsurance.Business
     {
         private InvokeHelper invoker = new InvokeHelper();
 
+        /// <summary>
+        /// 获取HIS就诊信息
+        /// </summary>
+        /// <param name="joParam"></param>
+        /// <param name="outParam"></param>
+        /// <returns></returns>
+        public JObject GetHISRegInfo(JObject joParam)
+        {
+            //string errMsg;
+            try
+            {
+                string serviceCode = "09030048";
+                string inpar = JsonHelper.setIrisInpar(serviceCode, joParam).ToString();
+                JObject joRtn = invoker.invokeHISService(inpar, "获取HIS就诊信息");
+
+                return joRtn;
+            }
+            catch (Exception ex)
+            {
+                return JsonHelper.setExceptionJson(-1, "获取HIS就诊信息异常:", ex.Message);
+            }
+        }
+
+
         /// <summary>
         /// 获取患者基本信息
         /// </summary>
@@ -410,6 +434,29 @@ namespace PTMedicalInsurance.Business
 
         }
 
+        /// <summary>
+        /// 获取HIS处方明细信息
+        /// </summary>
+        /// <param name="joParam"></param>
+        /// <param name="outParam"></param>
+        /// <returns></returns>
+        public JObject GetHISPrescFeeInfo(JObject joParam)
+        {
+            //string errMsg;
+            try
+            {
+                string serviceCode = "09030049";
+                string inpar = JsonHelper.setIrisInpar(serviceCode, joParam).ToString();
+                JObject joRtn = invoker.invokeHISService(inpar, "获取HIS处方信息");
+
+                return joRtn;
+            }
+            catch (Exception ex)
+            {
+                return JsonHelper.setExceptionJson(-1, "获取HIS处方信息异常:", ex.Message);
+            }
+        }
+
 
         /// <summary>
         /// 返回门诊结算信息给HIS

+ 8 - 21
Business/MobilePay.cs

@@ -360,14 +360,14 @@ namespace PTMedicalInsurance.Business
                 outPar = ECTokenReader.ECQuery("1");
                 JObject jo1161Rtn = JObject.Parse(outPar);
 
-                if (string.IsNullOrEmpty(Global.pat.ecToken))
+                if (JsonHelper.parseCenterRtnValue(jo1161Rtn, out errMsg) != 0)
                 {
                     outPar = errMsg;
                     return -1;
                 }
                 else
                 {
-                    JObject joOutput = JObject.Parse(JsonHelper.getDestValue(jo1161Rtn, "data"));
+                    JObject joOutput = JObject.Parse(JsonHelper.getDestValue(jo1161Rtn, "output"));
                     outPar = joOutput.ToString();
                     setPatientByEc(joOutput);
                     return 0;
@@ -392,6 +392,7 @@ namespace PTMedicalInsurance.Business
             MPat.gend = JsonHelper.getDestValue(jo, "gender");
             MPat.brdy = JsonHelper.getDestValue(jo, "birthday");
             MPat.naty = JsonHelper.getDestValue(jo, "nationality");
+            MPat.payOrdId = "";
         }
         #endregion
 
@@ -804,25 +805,11 @@ namespace PTMedicalInsurance.Business
                     return -1;
                 }
                 JObject joRtn = JObject.Parse(errMsg);
-                String settlInfo = JsonHelper.getDestValue(joRtn, "result.data[0]");
-                if (string.IsNullOrEmpty(settlInfo))
-                {
-                    outparam = "没有查询到结算信息,请检查参数";
-                    return -1;
-                }
-
-                JObject joSettl = JObject.Parse(settlInfo);
+                JObject joSettl = JObject.Parse(JsonHelper.getDestValue(joRtn, "data"));
 
-                MPat.settlID = JsonHelper.getDestValue(joSettl, "SettlementID");
-                //入参
-                joInpar.Add("payOrdId", JsonHelper.getDestValue(joSettl, "PayOrdID"));//支付订单号
+                joInpar.Add("payOrdId", JsonHelper.getDestValue(joSettl, "SettlementID"));//支付订单号
                 joInpar.Add("appRefdSn", Utils.GetTradeNo());//应用退款流水号
-                string appRefdTime = JsonHelper.getDestValue(joInsuAdmObj, "appRefdTime");
-                if (string.IsNullOrEmpty(appRefdTime))
-                {
-                    appRefdTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
-                }
-                joInpar.Add("appRefdTime", appRefdTime);//应用退费时间
+                joInpar.Add("appRefdTime", JsonHelper.getDestValue(joInsuAdmObj, "appRefdTime"));//应用退费时间
                 joInpar.Add("totlRefdAmt", JsonHelper.getDestValue(joSettl, "Sumamt"));//总退费金额
                 joInpar.Add("psnAcctRefdAmt", JsonHelper.getDestValue(joSettl, "AccountPaySumamt"));//医保个人账户支付
                 joInpar.Add("fundRefdAmt", JsonHelper.getDestValue(joSettl, "FundPaySumamt"));//基金支付
@@ -1226,7 +1213,7 @@ namespace PTMedicalInsurance.Business
             try
             {
                 string sqlStr = "SELECT * FROM BS_MedInsuSettlement WHERE Hospital_Dr=  " + Global.inf.hospitalDr;
-                sqlStr = sqlStr + " and AdmType = 3 and Adm_Dr= " + MPat.adm_Dr + " and PayOrdID = '" + MPat.payOrdId + "'";
+                sqlStr = sqlStr + " and AdmType = 3 and Adm_Dr= " + MPat.adm_Dr + " and SettlementID= '" + MPat.payOrdId + "'";
                 JObject joSqlstr = new JObject();
                 joSqlstr.Add("sqlStr", sqlStr);
                 JObject joRtn = mIS.DynamicQuerySettlInfo(joSqlstr);
@@ -1489,7 +1476,7 @@ namespace PTMedicalInsurance.Business
                 joSetlinfo.Add("AdmDr", MPat.adm_Dr);
                 joSetlinfo.Add("MdtrtID", MPat.mdtrtID);
                 joSetlinfo.Add("SettlementID", MSettl.settlID);//
-                joSetlinfo.Add("PayOrdID", MSettl.settlID);
+                joSetlinfo.Add("PayOrdID", MSettl.payOrdId);
                 joSetlinfo.Add("PersonnelNO", MPat.psn_no);
                 joSetlinfo.Add("PatientName", MPat.name);
                 //joSetlinfo.Add("CertificateType", JsonHelper.getDestValue(joRtnSetlinfo, "mdtrt_cert_type"));

+ 6 - 0
Common/Common.cs

@@ -39,6 +39,12 @@ namespace PTMedicalInsurance.Common
     //一些常用方法的封装
     class ComputerInfo
     {
+        public string getFunNoInsuURL(String FunNo)
+        {
+            IniFile ini = new IniFile(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + @"\INSUConfigure.ini");
+            return ini.ReadValue("FunURL", FunNo);
+        }
+
         public string GetMAC()
         {
             try

+ 0 - 1
Common/Utils.cs

@@ -65,7 +65,6 @@ namespace AnHuiMI.Common
                 joObject[key] = datetime;
                 Global.writeLog(string.Format("转换后的日期为:{0}",datetime));
             }
-
         }
 
         public static JObject Wrapper(JObject jsonInParam)

+ 179 - 0
FormSetter/GridViewSetter.cs

@@ -218,7 +218,57 @@ namespace PTMedicalInsurance.FormSetter
 
         #endregion
 
+        /// <summary>
+        /// 设置医保病人在院信息
+        /// </summary>
+        public void SetHeaderTextOfMedInsuHosPerInfo(DataGridView dgv)
+        {
+            dgv.Columns.Clear();
+            dgv.AutoGenerateColumns = false;
+            AddDGVColumn(dgv, "HIS住院号", "InHospNo");
+            AddDGVColumn(dgv, "HIS就诊号", "Adm_Dr");
+            AddDGVColumn(dgv, "医保住院号", "MdtrtID");
+            AddDGVColumn(dgv, "姓名", "PatientName");
+            AddDGVColumn(dgv, "年龄", "Age");
+            AddDGVColumn(dgv, "性别", "Gend");
+            AddDGVColumn(dgv, "参保地", "insuplcAdmdvs");
+            AddDGVColumn(dgv, "身份证号", "PsnCertNO", 350);
+            AddDGVColumn(dgv, "现住址", "Address", 500);
+            AddDGVColumn(dgv, "单位或地址", "EmpName", 500);
+            AddDGVColumn(dgv, "医保类型", "PsnType", 300);
+            AddDGVColumn(dgv, "病人部门名称", "AdmInDepName", 350);
+            AddDGVColumn(dgv, "床号", "AdmBed", 120);
+            AddDGVColumn(dgv, "入院诊断", "MainDiagName", 400);
+            AddDGVColumn(dgv, "床位医生", "AttendDoctorNO", 350);
+            AddDGVColumn(dgv, "门诊医生", "ChiefPhyDocName", 350);
+            AddDGVColumn(dgv, "入院登记人姓名", "OpertName", 350);
+            AddDGVColumn(dgv, "入院登记时间", "RegDate", 350);
+            AddDGVColumn(dgv, "状态", "sZTSM", 350);
+        }
 
+        /// <summary>
+        /// 查询医保结算费用明细信息
+        /// </summary>
+        public void SetHeaderTextOfSettltMentFeelDetailInfo(DataGridView dgv)
+        {
+            dgv.Columns.Clear();
+            dgv.AutoGenerateColumns = false;
+            AddDGVColumn(dgv, "HIS就诊号", "AdmDr");
+            AddDGVColumn(dgv, "名称", "Name");
+            AddDGVColumn(dgv, "HIS目录编码", "HISCode");
+            AddDGVColumn(dgv, "医保目录编码", "MedInsuNO");
+            AddDGVColumn(dgv, "超限价金额", "OverLimitAmount", 350);
+            AddDGVColumn(dgv, "全自费金额", "FullOwnPayAmount", 400);
+            AddDGVColumn(dgv, "单价", "Price");
+            AddDGVColumn(dgv, "总金额", "Sumamt");
+            //AddDGVColumn(dgv, "目录等级", "ChargeItemLevel", 350);
+            AddDGVColumn(dgv, "目录等级名称", "ChargeItemLevelName", 500);
+            AddDGVColumn(dgv, "自付比例", "SelfPayProp", 500);
+            AddDGVColumn(dgv, "定价上限金额", "UpLimitAmount", 300);
+            AddDGVColumn(dgv, "符合政策范围金额", "InScopeAmount", 120);
+            AddDGVColumn(dgv, "先行自付金额", "PreSelfPayAmount", 350);
+            AddDGVColumn(dgv, "限制使用标志", "LimitUsedFlag", 350);
+        }
 
         #region 设置目录下载表格
 
@@ -719,6 +769,9 @@ namespace PTMedicalInsurance.FormSetter
             AddDGVColumn(dgv, "MSGID", "MSGID");
             AddDGVColumn(dgv, "HIS就诊号", "AdmID");
 
+            AddDGVColumn(dgv, "HIS账单ID", "BillID");
+            AddDGVColumn(dgv, "HIS记录ID", "RecordID");
+
         }
 
         /// <summary>
@@ -971,6 +1024,132 @@ namespace PTMedicalInsurance.FormSetter
             dgv.RowHeadersVisible = false;
         }
         #endregion
+
+        /// <summary>
+        /// 参保人员信息表
+        /// </summary>
+        /// <param name="dgv"></param>
+        public void SetHeaderTextOfMIPatCurrentInsuInfo(DataGridView dgv)
+        {
+            dgv.Columns.Clear();
+            AddDGVColumn(dgv, "医院编号", "HospitalDr", 50);
+            AddDGVColumn(dgv, "接口编号", "InterfaceDr", 200);
+            AddDGVColumn(dgv, "患者医院ID", "AdmID", 200);
+            AddDGVColumn(dgv, "患者姓名", "PatientName", 200);
+            AddDGVColumn(dgv, "患者医保编号", "PersonalNO", 200);
+            AddDGVColumn(dgv, "医保登记号", "MdtrtID", 50);
+            AddDGVColumn(dgv, "医保凭证类型", "PsnCertType");
+            AddDGVColumn(dgv, "医保凭证编码", "PsnCertNO", 200);
+            AddDGVColumn(dgv, "性别", "Gend");
+            AddDGVColumn(dgv, "民族", "Naty");
+            AddDGVColumn(dgv, "出生日期", "Brdy");
+
+            AddDGVColumn(dgv, "年龄", "Age");
+            AddDGVColumn(dgv, "余额", "Balc");
+            AddDGVColumn(dgv, "险种类型", "Insutype");
+            AddDGVColumn(dgv, "人员类别", "PsnType");
+            AddDGVColumn(dgv, "人员参保状态", "PsnInsuStas");
+            AddDGVColumn(dgv, "人员参保日期", "PsnInsuDate");
+            AddDGVColumn(dgv, "暂停参保日期", "PausInsuDate");
+            AddDGVColumn(dgv, "公务员标志", "Cvlservflag");
+            AddDGVColumn(dgv, "人员参保区划", "insuplcAdmdvs");
+
+            AddDGVColumn(dgv, "单位名称", "EmpName");
+            AddDGVColumn(dgv, "人员身份类别", "PsnIdettype");
+            AddDGVColumn(dgv, "人员类别等级", "PsnTypeLv");
+            AddDGVColumn(dgv, "人员身份开始时间", "IdetBegntime");
+            AddDGVColumn(dgv, "人员身份结束时间", "IdetEndtime");
+            AddDGVColumn(dgv, "扩展字段1", "ExtField1");
+           
+        }
+
+        /// <summary>
+        /// 设置HIS就诊信息列标题
+        /// </summary>
+        public void SetHeaderTextOfHISRegister(DataGridView dgv)
+        {
+            dgv.AutoGenerateColumns = false;
+            dgv.Columns.Clear();
+            AddDGVColumn(dgv, "ID", "id", 80);
+            AddDGVColumn(dgv, "就诊PatID", "patID", 300);
+            AddDGVColumn(dgv, "就诊AdmID", "admID", 300);
+            AddDGVColumn(dgv, "姓名", "patName", 80);
+            AddDGVColumn(dgv, "性别", "patSex", 300);
+            AddDGVColumn(dgv, "接诊科室", "loc", 250);
+            AddDGVColumn(dgv, "接诊医生", "doc", 250);
+            AddDGVColumn(dgv, "接诊时间", "dateTime", 250);
+            AddDGVColumn(dgv, "处方编号", "prescNo", 250);
+        }
+
+        /// <summary>
+        /// 设置HIS就诊信息列标题
+        /// </summary>
+        public void SetHeaderTextOfHISPrescFee(DataGridView dgv)
+        {
+            dgv.AutoGenerateColumns = false;
+            dgv.Columns.Clear();
+            AddDGVColumn(dgv, "名称", "medDesc", 80);
+            AddDGVColumn(dgv, "药品类别", "medCat", 300);
+            AddDGVColumn(dgv, "通用名", "drugGenname", 300);
+            AddDGVColumn(dgv, "剂型名称", "drugDosform", 80);
+            AddDGVColumn(dgv, "规格", "drugSpec", 300);
+            AddDGVColumn(dgv, "用法编码", "medcWayCodg", 250);
+            AddDGVColumn(dgv, "用法名称", "medcWayDscr", 250);
+            AddDGVColumn(dgv, "数量", "drugCnt", 250);
+            AddDGVColumn(dgv, "药品剂量单位", "drugDosunt", 250);
+            AddDGVColumn(dgv, "总量", "drugTotlcnt", 250);
+            AddDGVColumn(dgv, "总量单位", "drugTotlcntEmp", 250);
+            AddDGVColumn(dgv, "剂量", "sinDoscnt", 250);
+            AddDGVColumn(dgv, "剂量单位", "sinDosunt", 250);
+            AddDGVColumn(dgv, "给药方法编码", "usedFrquCodg", 250);
+            AddDGVColumn(dgv, "给药方法名称", "usedFrquName", 250);
+            AddDGVColumn(dgv, "医院审批标志", "hospApprFlag", 250);
+        }
+
+        /// <summary>
+        /// 设置单据信息标题
+        /// </summary>
+        public void SetHeaderTextOfBillInfo(DataGridView dgv)
+        {
+            dgv.AutoGenerateColumns = false;
+            dgv.Columns.Clear();
+            AddDGVColumn(dgv, "机构编码", "entId", 80);
+            AddDGVColumn(dgv, "单据编号", "billCode", 300);
+            AddDGVColumn(dgv, "单据时间", "billTime", 300);
+            AddDGVColumn(dgv, "险种类型", "participateType", 200);
+            AddDGVColumn(dgv, "医疗类别", "personnelType", 200);
+            AddDGVColumn(dgv, "就诊ID", "admID", 200);
+        }
+
+        /// <summary>
+        /// 设置单据明细信息标题
+        /// </summary>
+        public void SetHeaderTextOfBillDetailInfo(DataGridView dgv)
+        {
+            dgv.AutoGenerateColumns = false;
+            dgv.Columns.Clear();
+            AddDGVColumn(dgv, "单据编号", "billID", 300);
+            AddDGVColumn(dgv, "医保药品编号", "medicalDrugId", 300);
+            AddDGVColumn(dgv, "机构药品编号", "orgDrugId", 300);
+            AddDGVColumn(dgv, "生产企业名称", "productEntName", 200);
+            AddDGVColumn(dgv, "单据物品分类", "itemType", 200);
+            AddDGVColumn(dgv, "药品通用名", "physicName", 80);
+            AddDGVColumn(dgv, "剂型", "prepnType", 300);
+            AddDGVColumn(dgv, "制剂规格", "prepnSpec", 300);
+            AddDGVColumn(dgv, "包装规格", "pkgSpec", 200);
+            AddDGVColumn(dgv, "生产批号", "batchNo", 200);
+            AddDGVColumn(dgv, "批准文号", "approvalNo", 80);
+            AddDGVColumn(dgv, "本位码", "sdcCode", 300);
+            AddDGVColumn(dgv, "拆零标识", "salePkg", 300);
+            AddDGVColumn(dgv, "拆零销售数量", "unpackCount", 200);
+            AddDGVColumn(dgv, "追溯码", "codes", 200);
+            AddDGVColumn(dgv, "无码销量", "noCodeSaleCount", 80);
+            AddDGVColumn(dgv, "药品零售价格", "drugSalePrice", 300);
+            AddDGVColumn(dgv, "药品进价", "drugPurchasePrice", 300);
+            AddDGVColumn(dgv, "第三方明细id", "orgDetailId", 200);
+            AddDGVColumn(dgv, "支付方式", "toPay", 80);
+        }
+
     }
 
 }

+ 1249 - 0
Forms/MedInsuQuery.cs

@@ -0,0 +1,1249 @@
+using Newtonsoft.Json.Linq;
+using System;
+using System.IO;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using PTMedicalInsurance.Common;
+using PTMedicalInsurance.Helper;
+using PTMedicalInsurance.FormSetter;
+using PTMedicalInsurance.Business;
+using PTMedicalInsurance.Variables;
+
+
+
+namespace PTMedicalInsurance.Forms
+{
+    public partial class MedInsuQuery : Form
+    {
+        DataTable dtExport;
+        JObject joRtn10001 = new JObject();
+        JObject joInput20002 = new JObject();
+        public string patInfo = "", ReadCardOutParam = "", CertNo = "";
+        public string presAdmLoc = "", presAdmDoc = "", presAdmID = "", presNo = "", hiRxno = "";
+        public string DrCode = "", DrName = "", DrInsuCode = "", DrCertNo = "";
+
+        //1.声明自适应类实例
+        AutoResizeForm asc = new AutoResizeForm();
+        private InvokeHelper invoker = new InvokeHelper();
+        private HisIrisServices hIS = new HisIrisServices();
+        private MIIrisServices mIS = new MIIrisServices();
+
+        public MedInsuQuery()
+        {
+            InitializeComponent();
+
+            asc.controllInitializeSize(this);
+            asc.controlAutoSize(this);
+        }
+
+        private void btnClose_Click(object sender, EventArgs e)
+        {            
+            this.Close();
+        }
+
+        private void MedInsuQuery_Load(object sender, EventArgs e)
+        {
+            //this.WindowState = FormWindowState.Maximized;
+
+            tbcMain.SelectedIndex = 1;
+
+            dpST.Text = DateTime.Now.ToString("yyyy-MM-dd 00:00:00");
+            dpED.Text = DateTime.Now.ToString("yyyy-MM-dd 23:59:59");
+
+            dt_ST.Text = DateTime.Now.ToString("yyyy-MM-01 00:00:00");
+            dt_ET.Text = DateTime.Now.ToString("yyyy-MM-dd 23:59:59");
+
+            date_st.Text = DateTime.Now.ToString("yyyy-MM-dd 00:00:00");
+            date_et.Text = DateTime.Now.ToString("yyyy-MM-dd 00:00:00");
+
+            dtp_st.Text = DateTime.Now.ToString("yyyy-MM-dd 00:00:00");
+            dtp_et.Text = DateTime.Now.ToString("yyyy-MM-dd 23:59:59");
+
+            dpt_ST.Text = DateTime.Now.ToString("yyyy-MM-dd 00:00:00");
+            dpt_ET.Text = DateTime.Now.ToString("yyyy-MM-dd 23:59:59");
+
+            DT_ST1.Text = DateTime.Now.ToString("yyyy-MM-dd 00:00:00");
+            DT_ET1.Text = DateTime.Now.ToString("yyyy-MM-dd 23:59:59");
+
+            dtTHSJ.Text = DateTime.Now.ToString();
+
+            // dgvSettlRecord.AutoGenerateColumns = false;
+            cbbLevel.SelectedIndex = 0;
+            cbbOverPrice.SelectedIndex = 0;
+
+            GridViewSetter grdSetter = new GridViewSetter();
+            grdSetter.SetHeaderTextOfMedInsuHosPerInfo(dgvSettlRecord);
+            grdSetter.SetHeaderTextOfSettltMentFeelDetailInfo(dgvInsuFeeUpload);
+            grdSetter.DatagridviewColumnWidthAdaptation(dgvInsuFeeUpload);
+            grdSetter.SetHeaderTextOfMIPatCurrentInsuInfo(dgv_4001);
+
+            grdSetter.SetHeaderTextOfSettlList(dgvSettleData);
+            grdSetter.SetHeaderTextOfSettltMentFeelDetailInfo(dgvFeeInfo);
+            
+            grdSetter.SetHeaderTextOfHISRegister(dgv_HISRegInfo);
+            grdSetter.SetHeaderTextOfHISPrescFee(dgv_PrescriptionInfo);
+            grdSetter.SetHeaderTextOfBillInfo(dgv_BillInfo);
+            grdSetter.SetHeaderTextOfBillDetailInfo(dgv_BillDetailInfo);
+
+            grdSetter.DatagridviewColumnWidthAdaptation(dgv_HISRegInfo);
+            grdSetter.DatagridviewColumnWidthAdaptation(dgv_PrescriptionInfo);
+            grdSetter.DatagridviewColumnWidthAdaptation(dgv_BillInfo);
+            grdSetter.DatagridviewColumnWidthAdaptation(dgv_BillDetailInfo);
+
+            rbg_Type.SelectedIndex = 0;
+            tbJGBM.Text = Global.inf.hospitalNO;
+            dtTHSJ.Text= DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
+        }
+
+        private void btnQuery_Click(object sender, EventArgs e)
+        {
+            btnPrint.Enabled = false;
+            string sCZYXM = Global.user.name;
+
+            string SqlHeard = " Adm_Dr,MdtrtID,Name as PatientName,Age,PsnCertNO,Gend,PsnType,EmpName,AdmInDepName,insuplcAdmdvs,sZYZT AS sZTSM, "
+                            + " AdmBed,RegDate,MainDiagName,AttendDoctorNO,ChiefPhyDocName,'"+ sCZYXM+ "' as OpertName,'' as InHospNo,''Address ";                           
+
+            string SqlStrMain = " SELECT a.*,b.*,a.PatientName AS Name,a.PsnType AS PsnTypeCode,'在院' sZYZT FROM BS_MIPatCurrentInsuInfo a LEFT JOIN BS_MedInsuRegisterInfo b "
+                              + " ON a.MdtrtID=b.InsuRegID AND a.Interface_Dr=b.Interface_Dr AND a.Hospital_Dr=b.Hospital_Dr "
+                              + " WHERE b.Type=1 AND b.ValidFlag=1 AND b.Hospital_Dr= " + Global.inf.hospitalDr + " AND b.Interface_Dr= " + Global.inf.interfaceDr
+                              + " AND b.InsuRegID NOT IN (SELECT MdtrtID FROM BS_MedInsuSettlement WHERE MdtrtID=b.InsuRegID AND BillType=1 AND ValidFlag=1 AND AdmType=2) "
+                              + " AND b.RegDate<='" + dpED.Text + "' AND b.RegDate>'" + dpST.Text + "' "  //
+                              + " UNION ALL "
+                              + " SELECT a.*,b.*,a.PatientName AS Name,a.PsnType AS PsnTypeCode,'已结算' AS sZYZT "
+                              + " FROM BS_MIPatCurrentInsuInfo a LEFT JOIN BS_MedInsuRegisterInfo b "
+                              + " ON a.MdtrtID=b.InsuRegID AND a.Interface_Dr=b.Interface_Dr AND a.Hospital_Dr=b.Hospital_Dr "
+                              + " LEFT JOIN BS_MedInsuSettlement c ON a.MdtrtID=b.InsuRegID AND b.InsuRegID=c.MdtrtID AND a.Interface_Dr=b.Interface_Dr AND b.Interface_Dr=c.Interface_Dr "
+                              + " WHERE b.Type=1 AND b.ValidFlag=1 AND c.BillType=1 AND b.Hospital_Dr= " + Global.inf.hospitalDr + " AND b.Interface_Dr= " + Global.inf.interfaceDr                    
+                              + " AND c.AdmType=2 AND c.SettlementDateTime<='" + dpED.Text + "' AND c.SettlementDateTime>'" + dpST.Text + "' ";  //
+
+            string sqlStr = " SELECT "+ SqlHeard + " FROM ("+ SqlStrMain +") M ";
+
+            //MessageBox.Show(sqlStr);
+
+            JObject joSqlstr = new JObject();
+            joSqlstr.Add("sqlStr", sqlStr);
+            joSqlstr.Add("Type", "MedInsuHosPInfo");
+            joSqlstr.Add("hospID", Global.inf.hisHospitalDr);
+            JArray jaParam = new JArray();
+            jaParam.Add(joSqlstr);
+            JObject joSettlQuery = new JObject();
+            joSettlQuery.Add("params", jaParam);
+            joSettlQuery.Add("code", "09010059");
+
+            InvokeHelper invoker = new InvokeHelper();
+            JObject joRtn = invoker.invokeInsuService(joSettlQuery.ToString(), "查询结算信息");
+
+            //MessageBox.Show(joRtn.ToString());
+
+            if (joRtn["result"]["data"].ToString() == "[]")
+            {
+                MessageBox.Show("查询结果为空!");
+                return;
+            }
+
+            DataTable dt = (DataTable)joRtn["result"]["data"].ToObject(typeof(DataTable));
+            dgvSettlRecord.DataSource = dt;
+
+            if (dt.Rows.Count != 0)
+            {
+                btnPrint.Enabled = true;
+                dtExport = dt;
+
+                //从HIS获取患者的床号(分床前医保登记的病人床号没有写入医保平台登记表)
+                for (int i = 0; i < dt.Rows.Count; i++)
+                {
+                    string BedNo, BedDocName, InHospNo, Address;
+                    JObject joTmp = new JObject();
+                    joTmp.Add("admID", dt.Rows[i]["Adm_Dr"].ToString());               
+                    JObject joRtn2 = invoker.invokeHISService(JsonHelper.setIrisInpar("05110014", joTmp).ToString(), "获取患者就诊信息");
+                    if (JsonHelper.parseIrisRtnValue(joRtn2, out string errMsg) == 0)
+                    {
+                        BedNo = JsonHelper.getDestValue(JObject.Parse(joRtn2.ToString()), "mdtrtinfo.adm_bed");
+                        BedDocName = JsonHelper.getDestValue(JObject.Parse(joRtn2.ToString()), "mdtrtinfo.chfpdr_name");
+                        InHospNo = JsonHelper.getDestValue(JObject.Parse(joRtn2.ToString()), "mdtrtinfo.medrcdno");
+                        Address = JsonHelper.getDestValue(JObject.Parse(joRtn2.ToString()), "mdtrtinfo.Address");
+                        dt.Rows[i]["AdmBed"] = BedNo;
+                        dt.Rows[i]["AttendDoctorNO"] = BedDocName;
+                        dt.Rows[i]["InHospNo"] = InHospNo;
+                        dt.Rows[i]["Address"] = Address;
+                    }  
+                    else
+                    {
+                        if (errMsg.IndexOf("请重新登录") > 0)                        
+                        {
+                            MessageBox.Show("获取患者信息失败,请重新登录系统!");
+                            break;
+                        }
+                    }
+                }
+            }
+        }
+
+        private void btnPrint_Click(object sender, EventArgs e)
+        {
+            string LSH = DateTime.Now.ToString("yyyy-MM-dd"); //DateTime.Now.ToString("MMddHHmmssffff");
+            string sFliePathName = @"C:\Users\Administrator\Desktop\" + LSH + "医保在院患者登记或结算信息.xls";  
+            string ReturnFileName = ExportToExcel.DataTabletoExcel(dtExport, sFliePathName);
+            if (ReturnFileName != "")
+            {
+                MessageBox.Show("导出成功,文件保存路径:【" + ReturnFileName + "】");
+                System.Diagnostics.Process.Start(ReturnFileName); //打开excel文件                
+            }
+            else
+            {
+                MessageBox.Show("导出失败!");
+            }
+        }
+
+        private void btnOK_Click(object sender, EventArgs e)
+        {
+            string sqlStr;
+            sqlStr = " SELECT a.Adm_Dr,c.Name, b.HISCode, b.MedInsuNO, b.Price,b.Sumamt,b.ChargeItemLevel,c.ChargeItemLevelName,b.SelfPayProp, ";
+            sqlStr = sqlStr + " b.UpLimitAmount,b.OverLimitAmount,b.InScopeAmount,b.FullOwnPayAmount,b.PreSelfPayAmount,b.LimitUsedFlag ";
+            sqlStr = sqlStr + " FROM BS_MedInsuSettlement a LEFT JOIN BS_MedInsuFeeUploadRecord b ";
+            sqlStr = sqlStr + " ON a.Hospital_Dr=b.Hospital_Dr AND a.MdtrtID=b.MdtrtID AND a.PersonnelNO=b.PersonnelNO ";
+            sqlStr = sqlStr + " LEFT JOIN HB_MedInsuDirectory c ON b.MedInsuNO=c.Code AND a.Interface_Dr=c.Interface_Dr AND a.Hospital_Dr=c.Hospital_Dr ";
+            sqlStr = sqlStr + " WHERE b.MedInsuNO<>'' and a.ValidFlag=1 AND a.BillType=1 AND a.AdmType=2 ";
+            sqlStr = sqlStr + " AND a.Interface_Dr=" + Global.inf.interfaceDr;
+            sqlStr = sqlStr + " AND a.Hospital_Dr= " + Global.inf.hospitalDr;
+            sqlStr = sqlStr + " AND a.OccurTime>'" + dt_ST.Text + "'";
+            sqlStr = sqlStr + " AND a.OccurTime<'" + dt_ET.Text + "'";
+
+            if (tb_InHospNo.Text != "")
+            {
+                sqlStr = sqlStr + " and a.BillID='" + tb_InHospNo.Text + "'";
+            }
+            if (tb_SettleID.Text != "")
+            {
+                sqlStr = sqlStr + " and a.SettlementID='" + tb_SettleID.Text + "'";
+            }
+
+            if (cbbOverPrice.Text == "是")
+            {
+                sqlStr = sqlStr + " AND b.OverLimitAmount>0 ";
+            }
+            else if (cbbOverPrice.Text == "否")
+            {
+                sqlStr = sqlStr + " AND b.OverLimitAmount<=0 ";
+            }
+
+            if (cbbLevel.Text == "甲类")
+            {
+                sqlStr = sqlStr + " AND b.ChargeItemLevel='01' ";
+            }
+            else if (cbbLevel.Text == "乙类")
+            {
+                sqlStr = sqlStr + " AND b.ChargeItemLevel='02' ";
+            }
+            else if (cbbLevel.Text == "丙类")
+            {
+                sqlStr = sqlStr + " AND b.ChargeItemLevel='03' ";
+            }
+
+            JObject joSqlstr = new JObject();
+            joSqlstr.Add("sqlStr", sqlStr);
+            JArray jaParam = new JArray();
+            jaParam.Add(joSqlstr);
+            JObject joSettlQuery = new JObject();
+            joSettlQuery.Add("params", jaParam);
+            joSettlQuery.Add("code", "09010118");
+            JObject joRtn = invoker.invokeInsuService(joSettlQuery.ToString(), "查询医保结算费用信息");
+
+            DataTable dt = (DataTable)joRtn["result"]["data"].ToObject(typeof(DataTable));
+            dgvInsuFeeUpload.DataSource = dt;
+        }
+
+        private void uiButton3_Click(object sender, EventArgs e)
+        {
+            //string sqlStr = " SELECT * FROM  BS_MedInsuSettlement WHERE Hospital_Dr=" + Global.inf.hospitalDr;
+            //sqlStr = sqlStr + " and OccurTime>'" + DT_ST1.Text + "'";
+            //sqlStr = sqlStr + " and OccurTime<'" + DT_ET1.Text + "'";
+            //sqlStr = sqlStr + " and Interface_Dr=" + Global.inf.interfaceDr + "";
+            //sqlStr = sqlStr + " and CertificateNO= " + tb_CertNo.Text;
+            //sqlStr = sqlStr + " and BillType=1 and ValidFlag=1 ";
+
+            string sqlstr = " SELECT a.InsuranceAreaCode, b.* FROM BS_MedInsuSettlement a LEFT JOIN BS_MIPatCurrentInsuInfo b ";
+            sqlstr = sqlstr + " ON a.PersonnelNO=b.PersonalNO AND a.Interface_Dr=b.Interface_Dr ";
+            sqlstr = sqlstr + " WHERE a.ValidFlag=1 AND a.BillType=1 ";
+            sqlstr = sqlstr + " and a.OccurTime>'" + DT_ST1.Text + "'";
+            sqlstr = sqlstr + " and a.OccurTime<'" + DT_ET1.Text + "'";
+            sqlstr = sqlstr + " and a.Interface_Dr='" + Global.inf.interfaceDr + "'";
+
+            if (tb_CertNo.Text!="")
+                sqlstr = sqlstr + " and a.CertificateNO='" + tb_CertNo.Text + "'";
+
+            JObject joSqlstr = new JObject();
+            joSqlstr.Add("sqlStr", sqlstr);
+            joSqlstr.Add("Type", "4001");
+            JArray jaParam = new JArray();
+            jaParam.Add(joSqlstr);
+            JObject joSettlQuery = new JObject();
+            joSettlQuery.Add("params", jaParam);
+            joSettlQuery.Add("code", "09010059");
+            JObject joRtn = invoker.invokeInsuService(joSettlQuery.ToString(), "查询结算信息");
+
+            DataTable dt = (DataTable)joRtn["result"]["data"].ToObject(typeof(DataTable));
+            dgv_4001.DataSource = dt;
+        }
+
+        private void uiButton4_Click(object sender, EventArgs e)
+        {
+            string errorMsg = "";
+            if (dgv_4001.CurrentRow == null)
+            {
+                MessageBox.Show("请查询患者参保信息");
+                return;
+            }
+
+            int iCenter = dgv_4001.CurrentRow.Index;
+            string psn_no = dgv_4001.Rows[iCenter].Cells["PersonalNO"].Value.ToString();
+            string psn_cert_type = dgv_4001.Rows[iCenter].Cells["PsnCertType"].Value.ToString();
+            string certno = dgv_4001.Rows[iCenter].Cells["PsnCertNO"].Value.ToString();
+            string psn_name = dgv_4001.Rows[iCenter].Cells["PatientName"].Value.ToString();
+            string gend = dgv_4001.Rows[iCenter].Cells["Gend"].Value.ToString();
+            string naty = dgv_4001.Rows[iCenter].Cells["Naty"].Value.ToString();
+            string brdy = dgv_4001.Rows[iCenter].Cells["Brdy"].Value.ToString();
+            string age = dgv_4001.Rows[iCenter].Cells["Age"].Value.ToString();
+            string balc = dgv_4001.Rows[iCenter].Cells["Balc"].Value.ToString();
+            string insutype = dgv_4001.Rows[iCenter].Cells["Insutype"].Value.ToString();
+            string psn_type = dgv_4001.Rows[iCenter].Cells["PsnType"].Value.ToString();
+            string psn_insu_stas = dgv_4001.Rows[iCenter].Cells["PsnInsuStas"].Value.ToString();
+            string psn_insu_date = dgv_4001.Rows[iCenter].Cells["PsnInsuDate"].Value.ToString();
+            string paus_insu_date = dgv_4001.Rows[iCenter].Cells["PausInsuDate"].Value.ToString();
+            string cvlserv_flag = dgv_4001.Rows[iCenter].Cells["Cvlservflag"].Value.ToString();
+            string insuplc_admdvs = dgv_4001.Rows[iCenter].Cells["insuplcAdmdvs"].Value.ToString();
+            string emp_name = dgv_4001.Rows[iCenter].Cells["EmpName"].Value.ToString();
+
+            JObject joInput = new JObject();
+            JObject joData = new JObject();
+            joData.Add("psn_no", psn_no);
+            joData.Add("psn_cert_type", psn_cert_type);
+            joData.Add("certno", certno);
+            joData.Add("psn_name", psn_name);
+            joData.Add("gend", gend);
+            joData.Add("naty", naty); 
+            joData.Add("brdy", brdy);
+            joData.Add("age", age);
+            joData.Add("balc", balc);
+            joData.Add("insutype", insutype);
+            joData.Add("psn_type", psn_type);
+            joData.Add("psn_insu_stas", psn_insu_stas);
+            joData.Add("psn_insu_date", psn_insu_date);
+            joData.Add("paus_insu_date", paus_insu_date);
+            joData.Add("cvlserv_flag", cvlserv_flag);
+            joData.Add("insuplc_admdvs", insuplc_admdvs);
+            joData.Add("emp_name", emp_name);
+
+            joInput.Add("data", joData);
+
+            JObject joRtn = invoker.invokeCenterServiceF("4001", JsonHelper.setCenterInparF("4001", joInput));
+            if (JsonHelper.parseCenterRtnValue(joRtn, out errorMsg) != 0)
+            {
+                MessageBox.Show("患者信息上传失败:" + errorMsg);
+                return;
+            }
+
+            MessageBox.Show("患者信息上传成功");
+
+        }
+
+        private void uiButton7_Click(object sender, EventArgs e)
+        {
+            string sqlStr = " SELECT * FROM  BS_MedInsuSettlement WHERE Hospital_Dr=" + Global.inf.hospitalDr;
+            sqlStr = sqlStr + " and OccurTime>'" + dpt_ST.Text + "'";
+            sqlStr = sqlStr + " and OccurTime<'" + dpt_ET.Text + "'";
+            sqlStr = sqlStr + " and Interface_Dr=" + Global.inf.interfaceDr + "";
+            sqlStr = sqlStr + " and BillType=1 and ValidFlag=1 ";
+
+            if ((rbg_Type.SelectedIndex == 0) || (rbg_Type.SelectedIndex == 3))
+                sqlStr = sqlStr + "and AdmType=1";
+            else if ((rbg_Type.SelectedIndex == 1) || (rbg_Type.SelectedIndex == 2))
+                sqlStr = sqlStr + "and AdmType=2";
+
+            if (tb_CertNo2.Text != "")
+                sqlStr = sqlStr + " and CertificateNO= " + tb_CertNo2.Text;
+
+            JObject joSqlstr = new JObject();
+            joSqlstr.Add("sqlStr", sqlStr);
+ 
+            JArray jaParam = new JArray();
+            jaParam.Add(joSqlstr);
+            JObject joSettlQuery = new JObject();
+            joSettlQuery.Add("params", jaParam);
+            joSettlQuery.Add("code", "09010059");
+            JObject joRtn = invoker.invokeInsuService(joSettlQuery.ToString(), "查询结算信息");
+
+            DataTable dt = (DataTable)joRtn["result"]["data"].ToObject(typeof(DataTable));
+            dgvSettleData.DataSource = dt;
+        }
+
+        private void dgvSettleData_DoubleClick(object sender, EventArgs e)
+        {
+            if (dgvSettleData.CurrentRow == null)
+            {
+                MessageBox.Show("请先查询医保结算信息");
+                return;
+            }
+
+            int iCenter = dgvSettleData.CurrentRow.Index;
+            string PersonnelNO = dgvSettleData.Rows[iCenter].Cells["PersonnelNO"].Value.ToString();  //MdtrtID
+            string SettlementID = dgvSettleData.Rows[iCenter].Cells["SettlementID"].Value.ToString();
+            string MdtrtID = dgvSettleData.Rows[iCenter].Cells["MdtrtID"].Value.ToString();
+
+            string sqlStr;
+            sqlStr = " SELECT a.Adm_Dr,c.Name, b.HISCode, b.MedInsuNO, b.Price,b.Sumamt,b.ChargeItemLevel,c.ChargeItemLevelName,b.SelfPayProp, ";
+            sqlStr = sqlStr + " b.UpLimitAmount,b.OverLimitAmount,b.InScopeAmount,b.FullOwnPayAmount,b.PreSelfPayAmount,b.LimitUsedFlag ";
+            sqlStr = sqlStr + " FROM BS_MedInsuSettlement a LEFT JOIN BS_MedInsuFeeUploadRecord b ";
+            sqlStr = sqlStr + " ON a.Hospital_Dr=b.Hospital_Dr AND a.MdtrtID=b.MdtrtID AND a.PersonnelNO=b.PersonnelNO ";
+            sqlStr = sqlStr + " LEFT JOIN HB_MedInsuDirectory c ON b.MedInsuNO=c.Code AND a.Interface_Dr=c.Interface_Dr AND a.Hospital_Dr=c.Hospital_Dr ";
+            sqlStr = sqlStr + " WHERE b.MedInsuNO<>'' and a.ValidFlag=1 AND a.BillType=1  "; //AND a.AdmType=2
+            sqlStr = sqlStr + " AND a.Interface_Dr=" + Global.inf.interfaceDr;
+            sqlStr = sqlStr + " AND a.Hospital_Dr= " + Global.inf.hospitalDr;
+            sqlStr = sqlStr + " AND a.OccurTime>'" + dpt_ST.Text + "'";
+            sqlStr = sqlStr + " AND a.OccurTime<'" + dpt_ET.Text + "'";
+            sqlStr = sqlStr + " AND a.PersonnelNO='" + PersonnelNO + "'";
+            sqlStr = sqlStr + " AND a.SettlementID='" + SettlementID + "'";
+            sqlStr = sqlStr + " AND a.MdtrtID='" + MdtrtID + "'";
+
+            if (tb_CertNo2.Text != "")
+                sqlStr = sqlStr + " And a.CertificateNO='" + tb_CertNo2.Text + "' ";
+
+            JObject joSqlstr = new JObject();
+            joSqlstr.Add("sqlStr", sqlStr);
+            JArray jaParam = new JArray();
+            jaParam.Add(joSqlstr);
+            JObject joSettlQuery = new JObject();
+            joSettlQuery.Add("params", jaParam);
+            joSettlQuery.Add("code", "09010118");
+            JObject joRtn = invoker.invokeInsuService(joSettlQuery.ToString(), "查询医保结算费用信息");
+
+            DataTable dt = (DataTable)joRtn["result"]["data"].ToObject(typeof(DataTable));
+            dgvFeeInfo.DataSource = dt;
+        }
+
+        /// <summary>
+        /// 上传费用明细
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void uiButton5_Click(object sender, EventArgs e)
+        {
+            string outParam = "成功", funNO = "";
+
+            if (rbg_Type.SelectedIndex == 0)
+                funNO = "4303";
+            else if (rbg_Type.SelectedIndex == 1)
+                funNO = "4403";
+            else if (rbg_Type.SelectedIndex == 2)
+                funNO = "4801";
+            else if (rbg_Type.SelectedIndex == 3)
+                funNO = "4802";
+
+            if (dgvSettleData.CurrentRow == null)
+            {
+                MessageBox.Show("请先查询患者结算信息");
+                return;
+            }
+
+            int iCenter = dgvSettleData.CurrentRow.Index;            
+            Global.pat.mdtrtID = dgvSettleData.Rows[iCenter].Cells["MdtrtID"].Value.ToString();
+            Global.pat.medType = dgvSettleData.Rows[iCenter].Cells["MedicalType"].Value.ToString();
+            Global.pat.psn_no = dgvSettleData.Rows[iCenter].Cells["PersonnelNO"].Value.ToString();
+            Global.pat.adm_Dr = int.Parse(dgvSettleData.Rows[iCenter].Cells["AdmID"].Value.ToString());
+            Global.pat.billID = dgvSettleData.Rows[iCenter].Cells["BillID"].Value.ToString();
+            Global.pat.recordID = dgvSettleData.Rows[iCenter].Cells["RecordID"].Value.ToString();
+    
+            //获取IS费用
+            if (hIS.getHisFee(Global.pat, out outParam) != 0)
+            {
+                MessageBox.Show("获取HIS费用信息失败:" + outParam);
+                return;
+            }
+
+            //调用医保平台转换HIS费用(转换医保编码等)
+            JObject joHisFee = JObject.Parse(outParam);
+            if (mIS.convertHisFeeWithInsuCode(joHisFee, out outParam) != 0)
+            {
+                MessageBox.Show("调用医保平台转换HIS费用(转换医保编码等)失败:" + outParam);
+                return;
+            }
+
+            JArray jaFeeDetail = JArray.Parse(JsonHelper.getDestValue(JObject.Parse(outParam), "data"));
+            //按指定条数分割后上传
+            if (uploadFeeToCenter(funNO, 50, jaFeeDetail, out outParam) != 0)
+            {
+                MessageBox.Show("按指定条数分割后上传失败:" + outParam);
+                return;
+            }
+            else
+            {
+                MessageBox.Show("上传成功!" + outParam);
+                return;
+            }
+
+        }
+
+        public int uploadFeeToCenter(string funNO, int singleCount, JArray jaFeeDetail, out string outParam)
+        {
+            outParam = "";
+            string errMsg, type = "feedetail";
+            try
+            {
+                if (rbg_Type.SelectedIndex == 0)
+                    type = "outfeedetail";
+                else if (rbg_Type.SelectedIndex == 1)
+                    type = "feedetail";
+                else if (rbg_Type.SelectedIndex == 2)
+                    type = "feedetail";
+                else if (rbg_Type.SelectedIndex == 3)
+                    type = "outfeedetail";
+
+                JArray jaTmp = new JArray();
+                for (int i = 0; i < jaFeeDetail.Count; i++)
+                {
+                    jaFeeDetail[i]["chrg_bchno"] = Global.pat.adm_Dr.ToString();
+                    jaFeeDetail[i]["med_type"] = Global.pat.medType;
+                    if (jaFeeDetail[i]["validFlag"].ToString() == "N") continue;
+                    jaTmp.Add(jaFeeDetail[i]);
+                    if (((i + 1) % singleCount == 0) || ((i + 1) == jaFeeDetail.Count))
+                    {
+                        JObject joFeeDetail = new JObject();
+                        joFeeDetail.Add(type, jaTmp);
+                        JObject joRtn = invoker.invokeCenterServiceF(funNO, JsonHelper.setCenterInparF(funNO, joFeeDetail));
+                        if (JsonHelper.parseCenterRtnValue(joRtn, out errMsg) != 0)
+                        {
+                            outParam = errMsg;
+                            return -1;
+                        }
+
+                        jaTmp = new JArray();
+                    }
+
+                }
+
+                return 0;
+            }
+            catch (Exception ex)
+            {
+                outParam = "uploadFee 异常:" + ex.Message;
+                return -1;
+            }
+        }
+
+        private void uiButton16_Click(object sender, EventArgs e)
+        {
+            string errorMsg;
+
+            if (dgv_HISRegInfo.DataSource == null)
+                return;
+
+            if (dgv_HISRegInfo.Rows[dgv_HISRegInfo.CurrentRow.Index].Cells["ID"].Value.ToString() == "")
+                return;
+
+            presNo = dgv_HISRegInfo.Rows[dgv_HISRegInfo.CurrentRow.Index].Cells["prescNo"].Value.ToString();
+
+            try
+            {
+                JObject joTmp = new JObject();
+                joTmp.Add("startDate", dtp_st.Text);
+                joTmp.Add("endDate", dtp_et.Text);
+                joTmp.Add("hospCode", JsonHelper.getDestValue((JObject)Global.curEvt.jaSession[0], "hospCode"));
+                joTmp.Add("prescNo", presNo); //处方号
+
+                JObject joRtn = invoker.invokeHISService(JsonHelper.setIrisInpar("05110038", joTmp).ToString(), "获取门诊处方风险提示参数");
+                if (JsonHelper.parseIrisRtnValue(joRtn, out errorMsg) != 0)
+                {
+                    MessageBox.Show("获取门诊处方风险提示参数失败,请联系管理员!" + errorMsg);
+                    return;
+                }
+                else
+                {
+                    if ((joRtn["result"].ToString() == "[]") || (joRtn["result"].ToString() == ""))
+                    {
+                        MessageBox.Show("调用HIS接口服务05110038获取门诊处方风险提示参数结果为空!");
+                        return;
+                    }
+
+                    //调用接口上传至中心
+                    JObject joInput = new JObject();
+                    joInput = JObject.Parse(joRtn["result"][0].ToString());
+                    //joInput["treatmentRecord"]["patientinfo"]["psn_no"] = Global.pat.mdtrtID;
+                    joInput["treatmentRecord"]["patientinfo"]["brdy"] = joInput["treatmentRecord"]["patientinfo"]["brdy"] + " 00:00:00";
+
+                    JObject joRtn10001 = invoker.invokeCenterServiceF("10001", JsonHelper.setCenterInparF("10001", joInput));
+                    if (JsonHelper.parseCenterRtnValue(joRtn10001, out errorMsg) != 0)
+                    {
+                        MessageBox.Show("门诊处方风险提示失败:" + errorMsg);
+                        return;
+                    }
+
+                    MessageBox.Show("门诊处方风险提示成功");
+                }
+
+            }
+            catch (Exception ex)
+            {
+                MessageBox.Show("异常:" + ex.Message);
+                return;
+            }
+        }
+
+        /// <summary>
+        /// 新华网人员类别与医保人员类别对照关系
+        /// </summary>
+        /// <param name="param"></param>
+        /// <returns></returns>
+        public string GetPsnType(string param)        
+        {
+            if ((param == "11") || (param == "11021") || (param == "11031") ||
+                (param == "1101") || (param == "1102") || (param == "1103") ||
+                (param == "1111") || (param == "1113") || (param == "116006") ||
+                (param == "116011") || (param == "116012") || (param == "116013") ||
+                (param == "116014") || (param == "116015") || (param == "116017") ||
+                (param == "136046") || (param == "136048") || (param == "136050") ||
+                (param == "116018") || (param == "116019") || (param == "116020") ||
+                (param == "116021") || (param == "136042") || (param == "136044") ||
+                (param == "5005") || (param == "5007") || (param == "5010") ||
+                (param == "5011") || (param == "5015") || (param == "5019") ||
+                (param == "5022") || (param == "5028") || (param == "5029") ||
+                (param == "5032") || (param == "5035") || (param == "5038") ||
+                (param == "5041") || (param == "5044") || (param == "5048") ||
+                (param == "5050") || (param == "1117") || (param == "1118") ||
+                (param == "116041") || (param == "116042") || (param == "116043") ||
+                (param == "116044") || (param == "116045") || (param == "116046") ||
+                (param == "11032") || (param == "11033") || (param == "11034") ||
+                (param == "116047") || (param == "116048") || (param == "116022") ||
+                (param == "116031") || (param == "116032") || (param == "116033") ||
+                (param == "5053") || (param == "5054") || (param == "5055") ||
+                (param == "5059") || (param == "116090") || (param == "116050") ||
+                (param == "116051") || (param == "995330"))
+                return "1025100"; //在职
+            else if ((param == "1105") || (param == "3601") || (param == "3602"))
+                return "1025200"; //农民工
+            else if ((param == "12") || (param == "1112") || (param == "1201") ||
+                (param == "1202") || (param == "1114") || (param == "1203") ||
+                (param == "12031") || (param == "136047") || (param == "1205") ||
+                (param == "995311") || (param == "136049") || (param == "126001") ||
+                (param == "136051") || (param == "126002") || (param == "136052") ||
+                (param == "126003") || (param == "126004") || (param == "126009") ||
+                (param == "995319") || (param == "126010") || (param == "995307") ||
+                (param == "126013") || (param == "126015") || (param == "126016") ||
+                (param == "126017") || (param == "126018") || (param == "126019") ||
+                (param == "126022") || (param == "136055") || (param == "126023") ||
+                (param == "126024") || (param == "126025") || (param == "126026") ||
+                (param == "126027") || (param == "136035") || (param == "136039") ||
+                (param == "136040") || (param == "136041") || (param == "136043") ||
+                (param == "136045") || (param == "126031") || (param == "126032") ||
+                (param == "126033") || (param == "5006") || (param == "5008") ||
+                (param == "5012") || (param == "5013") || (param == "5016") ||
+                (param == "5017") || (param == "5020") || (param == "5023") ||
+                (param == "5030") || (param == "5033") || (param == "5036") ||
+                (param == "5039") || (param == "5042") || (param == "5045") ||
+                (param == "5049") || (param == "5051") || (param == "120701") ||
+                (param == "120703") || (param == "120707") || (param == "120708") ||
+                (param == "120711") || (param == "120712") || (param == "120715") ||
+                (param == "120716") || (param == "120719") || (param == "120720") ||
+                (param == "120723") || (param == "120724") || (param == "120727") ||
+                (param == "120728") || (param == "120731") || (param == "120733") ||
+                (param == "120735") || (param == "120737") || (param == "126041") ||
+                (param == "126042") || (param == "126043") || (param == "126044") ||
+                (param == "126045") || (param == "126046") || (param == "12032") ||
+                (param == "12033") || (param == "12034") || (param == "12035") ||
+                (param == "126047") || (param == "126048") || (param == "116088") ||
+                (param == "126064") || (param == "126065") || (param == "126117") ||
+                (param == "126216") || (param == "126037") || (param == "126067") ||
+                (param == "126066") || (param == "126034") || (param == "5056") ||
+                (param == "5057") || (param == "5058") || (param == "126316") ||
+                (param == "126317") || (param == "5060") || (param == "126090") ||
+                (param == "995331"))
+                return "1025300"; //退休人员
+            else
+            if ((param == "13") || (param == "1300") || (param == "1300") ||
+                (param == "995309") || (param == "136053") || (param == "136001") ||
+                (param == "136002") || (param == "136004") || (param == "136005") ||
+                (param == "136006") || (param == "136007") || (param == "136008") ||
+                (param == "136009") || (param == "136010") || (param == "136011") ||
+                (param == "136012") || (param == "136014") || (param == "136015") ||
+
+                (param == "136016") || (param == "136017") || (param == "136018") ||
+                (param == "136019") || (param == "136020") || (param == "136021") ||
+                (param == "136022") || (param == "136023") || (param == "136024") ||
+                (param == "136090") || (param == "13031") || (param == "136026") ||
+                (param == "136029") || (param == "136030") || (param == "136031") ||
+                (param == "5001") || (param == "5002") || (param == "5003") ||
+                (param == "5004") || (param == "5009") || (param == "5018") ||
+                (param == "5021") || (param == "5024") || (param == "5031") ||
+                (param == "5034") || (param == "5037") || (param == "5040") ||
+                (param == "5043") || (param == "5046") || (param == "5047") ||
+                (param == "5052") || (param == "137001") || (param == "137002") ||
+                (param == "137003") || (param == "136054") || (param == "130102") ||
+                (param == "5088"))
+                return "1025400"; //离休
+            else
+            if ((param == "14") || (param == "1405") || (param == "156006") || (param == "156007"))
+                return "1025500"; //居民(未成年)
+            else
+            if ((param == "1401") || (param == "140101"))
+                return "1025600"; //新生儿
+            else
+            if ((param == "1402"))
+                return "1025700"; //学龄前儿童
+            else
+            if (param == "1403")
+                return "1025800"; //中小学生
+            else
+            if ((param == "1404") || (param == "140890") || (param == "140891") ||
+                (param == "156008") || (param == "140401") || (param == "140402") ||
+                (param == "140403"))
+                return "1025900"; //大学生
+            else
+            if ((param == "995301") || (param == "1405"))
+                return "1025110"; //未成年(未入学)
+            else
+            if (param == "15")
+                return "1025111"; //居民(成年)
+            else
+            if (param == "1501")
+                return "1025112"; //普通居民(成年)
+            else
+            if ((param == "16") || (param == "160104") || (param == "140805") ||
+                (param == "160100") || (param == "160101") || (param == "160102") ||
+                (param == "160103"))            
+                return "1025113"; //居民(老年)          
+            else
+                return "1025111"; //居民(成年)
+        }
+
+        /// <summary>
+        /// 根据HIS就诊ID查询患者参保信息
+        /// </summary>
+        /// <param name="admID"></param>
+        /// <param name="errorMsg"></param>
+        /// <returns></returns>
+        public int GetInsuPersonInfo(string admID, out JObject joRtn, out string errorMsg)
+        {
+            joRtn = null;
+            string sqlstr = " SELECT TOP 1 * FROM BS_MIPatCurrentInsuInfo WHERE AdmID='" + admID + "'";
+            sqlstr = sqlstr + " and Interface_Dr='" + Global.inf.interfaceDr + "' ORDER BY ID DESC";
+            JObject joSqlstr = new JObject();
+            joSqlstr.Add("sqlStr", sqlstr);
+            JArray jaParam = new JArray();
+            jaParam.Add(joSqlstr);
+            JObject joQuery = new JObject();
+            joQuery.Add("params", jaParam);
+            joQuery.Add("code", "09010082");
+            JObject joQueryRtn = invoker.invokeInsuService(joQuery.ToString(), "查询人员参保信息");
+            if (JsonHelper.parseIrisRtnValue(joQueryRtn, out errorMsg) != 0)
+            {
+                MessageBox.Show("查询人员参保信息失败,请联系管理员!" + errorMsg);
+                return -1;
+            }
+
+            joRtn = joQueryRtn;
+            return 0;
+        }
+
+        public string GetInsuFeeInfo(string admID, string InsuCode)        
+        {
+            string sqlStr;
+            sqlStr = " SELECT admID as Adm_Dr,'' as Name,''as HISCode,MedInsuNO,Price,Sumamt, ";
+            sqlStr = sqlStr + " ChargeItemLevel,SelfPayProp,UpLimitAmount,OverLimitAmount,InScopeAmount,";
+            sqlStr = sqlStr + " FullOwnPayAmount,PreSelfPayAmount,LimitUsedFlag From BS_MedInsuFeeUploadRecord ";
+            sqlStr = sqlStr + " WHERE Hospital_Dr= " + Global.inf.hospitalDr;
+            sqlStr = sqlStr + " AND admID='" + admID + "'";
+            sqlStr = sqlStr + " AND MedInsuNO='" + InsuCode + "'";
+
+            JObject joSqlstr = new JObject();
+            joSqlstr.Add("sqlStr", sqlStr);
+            JArray jaParam = new JArray();
+            jaParam.Add(joSqlstr);
+            JObject joSettlQuery = new JObject();
+            joSettlQuery.Add("params", jaParam);
+            joSettlQuery.Add("code", "09010118");
+            JObject joRtn = invoker.invokeInsuService(joSettlQuery.ToString(), "查询医保结算费用信息");
+
+            decimal SelfPayProp = decimal.Parse(JsonHelper.getDestValue(joRtn, "result.data[0].SelfPayProp"));
+
+            //1007100-医保个人,1007200-医保统筹,1007300-现金
+            if (SelfPayProp == 0)            
+                return "1007200"; 
+            else 
+                return "1007300";
+        }
+
+        private void uiButton13_Click(object sender, EventArgs e)
+        {
+            string errorMsg;
+            string participateType = "1024200", personnelType;
+
+            if ((dgv_BillInfo.DataSource == null) || (dgv_BillInfo.Rows[dgv_BillInfo.CurrentRow.Index].Cells["billCode"].Value.ToString() == ""))
+            {
+                MessageBox.Show("请先查询单据信息!");
+                return;
+            }
+
+            if ((dgv_BillDetailInfo.DataSource == null) || (dgv_BillDetailInfo.Rows[dgv_BillDetailInfo.CurrentRow.Index].Cells["billID"].Value.ToString() == ""))
+            {
+                MessageBox.Show("请先查询明细信息!");
+                return;
+            }
+
+            try
+            {
+                string entId = dgv_BillInfo.Rows[dgv_BillInfo.CurrentRow.Index].Cells["entId"].Value.ToString();
+                string billCode = dgv_BillInfo.Rows[dgv_BillInfo.CurrentRow.Index].Cells["billCode"].Value.ToString();
+                string billTime = dgv_BillInfo.Rows[dgv_BillInfo.CurrentRow.Index].Cells["billTime"].Value.ToString();
+                string InsuredType = dgv_BillInfo.Rows[dgv_BillInfo.CurrentRow.Index].Cells["participateType"].Value.ToString(); //险种类型
+                string admID = dgv_BillInfo.Rows[dgv_BillInfo.CurrentRow.Index].Cells["admID"].Value.ToString(); 
+
+                if (InsuredType.Substring(0, 2) == "31")
+                {
+                    participateType = "1024100"; //职工
+                }
+                else if (InsuredType.Substring(0, 2) == "39")
+                {
+                    participateType = "1024200"; //居民
+                }
+
+                //人员类别   
+                if (GetInsuPersonInfo(admID, out JObject joQueryRtn, out errorMsg) != 0)
+                {
+                    MessageBox.Show("查询参保人员信息失败!" + errorMsg);
+                    return;
+                }
+
+                personnelType = GetPsnType(JsonHelper.getDestValue(joQueryRtn, "result.rows[0].psnType").ToString());
+
+                JObject joData = JObject.Parse(JsonHelper.getDestValue(joInput20002, "result[0]").ToString());
+                joData["participateType"] = participateType;
+                joData["personnelType"] = personnelType;
+
+                JArray jaFeeDetail = JArray.Parse(JsonHelper.getDestValue(joInput20002, "result[0].detail"));                
+    
+                //for (int i = 0; i < jaFeeDetail.Count; i++)
+                //{
+                //    string InsuCode = jaFeeDetail[i]["medicalDrugId"].ToString();                    
+                //    if (InsuCode != "未对照")
+                //    {
+                //        string toPay = GetInsuFeeInfo(admID, InsuCode);
+                //    }                    
+                //}
+
+                JObject joInput = new JObject();
+                joInput.Add("data", joData);
+
+                JObject joRtn = invoker.invokeCenterServiceF("20002", JsonHelper.setCenterInparF("20002", joInput));
+                if (JsonHelper.parseCenterRtnValue(joRtn, out errorMsg) != 0)
+                {
+                    MessageBox.Show("事后单据鉴核信息提报失败,中心返回:" + errorMsg);
+                    return;
+                }
+
+                MessageBox.Show("事后单据鉴核信息提报成功!" + errorMsg);
+            }
+            catch (Exception ex)
+            {
+                MessageBox.Show("事后单据鉴核信息提报异常:" + ex.Message);
+                return;
+            }
+        }
+
+        private void dgv_BillInfo_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
+        {
+            string outParam = "";
+            DataTable dt = null;
+            string errMsg;
+
+            if (dgv_BillInfo.DataSource == null)
+                return;
+
+            if (dgv_BillInfo.Rows[dgv_BillInfo.CurrentRow.Index].Cells["billCode"].Value.ToString() == "")
+                return;
+
+            string billID = dgv_BillInfo.Rows[dgv_BillInfo.CurrentRow.Index].Cells["billCode"].Value.ToString();
+
+            try
+            {
+                JObject joTmp = new JObject();
+                joTmp.Add("startDate", date_st.Text.Substring(0, 10));
+                joTmp.Add("endDate", date_et.Text.Substring(0, 10));
+                joTmp.Add("hospCode", JsonHelper.getDestValue((JObject)Global.curEvt.jaSession[0], "hospCode"));
+                joTmp.Add("billID", billID);
+
+                JObject joRtn = invoker.invokeHISService(JsonHelper.setIrisInpar("05110039", joTmp).ToString(), "组织事后单据鉴核信息填报参数");
+                if (JsonHelper.parseIrisRtnValue(joRtn, out errMsg) != 0)
+                {
+                    MessageBox.Show("组织事后单据鉴核信息填报参数失败,请联系管理员!" + errMsg);
+                    return;
+                }
+                else
+                {
+                    joInput20002 = joRtn;
+                    JObject detail = new JObject();
+                    string result = JsonHelper.getDestValue(joRtn, "result[0]").ToString();
+                    detail = JObject.Parse(result);
+                    dt = (DataTable)detail["detail"].ToObject(typeof(DataTable));
+                    dgv_BillDetailInfo.DataSource = dt;                    
+                }
+            }
+            catch (Exception ex)
+            {
+                MessageBox.Show("组织事后单据鉴核信息填报参数异常:" + ex.Message);
+                return;
+            }
+        }
+
+        public int queryHISDirectory(out string errMsg)        
+        {
+            errMsg = "";
+            string pageSize = "500";
+            string flag = "Maped";
+            JObject joHISRtn = new JObject();
+            JObject joRtn = new JObject();
+            JArray jaPagination = new JArray();
+            JArray jaParams = new JArray();
+            dynamic joParam = new JObject();
+            joParam.alias = "";
+            joParam.HospitalDr = Global.inf.hospitalDr;
+            joParam.InterfaceDr = Global.inf.interfaceDr;
+            joParam.hisType = "drugs";
+            jaParams.Add(joParam);
+            dynamic joPagination = new JObject();
+            joPagination.pageSize = pageSize;
+            joPagination.currentPage = "1";
+            joPagination.sortColumn = "HisCode";
+            joPagination.sortOrder = "asc";
+            jaPagination.Add(joPagination);
+
+            JObject joMIRtn = mIS.GetMappedHISDir(jaPagination, jaParams);
+
+            if (JsonHelper.parseIrisRtnValue(joMIRtn, out errMsg) != 0)
+            {
+                return -1;
+            }
+
+            //传给HIS,进行匹配
+            joParam = new JObject();
+            joParam.TotalCount = joMIRtn["result"]["TotalCount"];
+            joParam.type = "drugs";
+            joParam.flag = flag;
+            joParam.hospID = Global.inf.hisHospitalDr;
+            joParam.interfaceDr = Global.inf.interfaceDr;
+            joParam.alias = "";
+            joParam.include = "Hosp";
+            joParam.groupID = "324";
+            joParam.specInput = "";//增加规格过滤
+            joParam.compareArr = joMIRtn["result"]["Data"];
+            jaParams = new JArray();
+            jaParams.Add(joParam);
+            if (hIS.getHISDir(jaPagination, jaParams, out joRtn, out errMsg) != 0)
+            {
+                return -1;
+            }
+
+            DataTable dt = (DataTable)joRtn["result"]["Data"].ToObject(typeof(DataTable));
+            dtExport = dt;
+            int totalCount = int.Parse(joRtn["result"]["TotalCount"].ToString());
+            //pgHISDirect.TotalCount = totalCount;
+
+            //pgHISDirect.PageSize = pageSize;
+            dgvMedInsuMapRelation.DataSource = null;
+            dgvMedInsuMapRelation.DataSource = dt;
+            dgvMedInsuMapRelation.Columns[0].ReadOnly = true;
+
+            GridViewSetter gridSetter = new GridViewSetter();
+            gridSetter.SetHeaderTextOfMapping_HisDirectory(dgvMedInsuMapRelation);
+            gridSetter.DatagridviewColumnWidthAdaptation(dgvMedInsuMapRelation);
+
+            return 0;
+        }
+
+        private void uiButton9_Click(object sender, EventArgs e)
+        {            
+            if (queryHISDirectory(out string errMsg) != 0)            
+            {
+                MessageBox.Show(errMsg);
+                return;
+            }
+        }
+
+        private void uiButton10_Click(object sender, EventArgs e)
+        {
+            string errorMsg;
+            if (dgvMedInsuMapRelation.CurrentRow == null)
+            {
+                MessageBox.Show("请先查询医保药品对照信息");
+                return;
+            }
+
+            int iCenter = dgvMedInsuMapRelation.CurrentRow.Index;
+            string insuCode = dgvMedInsuMapRelation.Rows[iCenter].Cells["insuCode"].Value.ToString();  //中心编码
+            string insuName = dgvMedInsuMapRelation.Rows[iCenter].Cells["insuName"].Value.ToString();  //中心编码
+            string itemCode = dgvMedInsuMapRelation.Rows[iCenter].Cells["itemCode"].Value.ToString();  //医院编码
+            string itemDesc = dgvMedInsuMapRelation.Rows[iCenter].Cells["itemDesc"].Value.ToString();  //医院名称
+
+            SaleBillInfo sbi = new SaleBillInfo(insuCode, insuName);
+            try
+            {
+                if (sbi.ShowDialog() == DialogResult.OK)
+                {            
+                    JObject joInput = new JObject();
+                    JObject joData = new JObject();
+                    joData.Add("entId", sbi.entId);
+                    joData.Add("code", sbi.code);
+                    joData.Add("medicalDrugId", sbi.medicalDrugId);
+                    joData.Add("queryTime", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
+                    joData.Add("salePkg", sbi.salePkg);
+                    joData.Add("unpackCount", sbi.unpackCount);
+                    joData.Add("drugSalePrice", sbi.drugSalePrice);
+                    joData.Add("batchNo", sbi.batchNo);
+
+                    joInput.Add("data", joData);
+
+                    JObject joRtn = invoker.invokeCenterServiceF("20001", JsonHelper.setCenterInparFT("20001", joInput));
+                    if (JsonHelper.parseCenterRtnValue(joRtn, out errorMsg) != 0)
+                    {
+                        MessageBox.Show("医保药品鉴核数据采集事前鉴核服务上传失败:" + errorMsg);
+                        return;
+                    }
+                    else
+                    {
+                        DataTable dtData = (DataTable)joRtn["output"]["data"].ToObject(typeof(DataTable));
+                        DataTable dtVerifyResult = (DataTable)joRtn["output"]["verifyResult"].ToObject(typeof(DataTable));
+                        DataTable dtTraceCodeVo = (DataTable)joRtn["output"]["traceCodeVo"].ToObject(typeof(DataTable));
+                        DataTable dtMedDrugInfo = (DataTable)joRtn["output"]["medDrugInfo"].ToObject(typeof(DataTable));
+
+                        dgvData.DataSource = dtData;
+                        dgvVerifyResult.DataSource = dtVerifyResult;
+                        dgvTraceCodeVo.DataSource = dtTraceCodeVo;
+                        dgvMedDrugInfo.DataSource = dtMedDrugInfo;
+
+                        MessageBox.Show("医保药品鉴核数据采集事前鉴核服务上传成功");
+                    }                    
+                }
+                else
+                {
+                    MessageBox.Show("操作员已取消!");
+                    return;
+                }
+            }
+            catch (Exception ex)
+            {
+                MessageBox.Show("异常:" + ex.Message);
+                return;
+            }
+        }
+
+        private void uiButton11_Click(object sender, EventArgs e)
+        {
+            string errorMsg;
+            JObject joInput = new JObject();
+            JObject joData = new JObject();
+            joData.Add("ent_id", tbJGBM.Text);
+            joData.Add("bill_code", tbDJBH.Text);            
+            joData.Add("bill_time", dtTHSJ.Text);
+
+            joInput.Add("data", joData);
+
+            JObject joRtn = invoker.invokeCenterServiceF("20003", JsonHelper.setCenterInparF("20003", joInput));
+            if (JsonHelper.parseCenterRtnValue(joRtn, out errorMsg) != 0)
+            {
+                MessageBox.Show("医保销售单据退货上传失败:" + errorMsg);
+                return;
+            }
+            else
+            {
+                MessageBox.Show("医保销售单据退货上传成功!" + errorMsg);
+            }
+        }
+
+        private void uiButton15_Click(object sender, EventArgs e)
+        {
+            string errMsg;
+            dgv_BillInfo.DataSource = null;
+            dgv_BillDetailInfo.DataSource = null;
+
+            try
+            {
+                JObject joTmp = new JObject();
+                joTmp.Add("startDate",date_st.Text.Substring(0,10));
+                joTmp.Add("endDate", date_et.Text.Substring(0, 10));
+                joTmp.Add("hospCode", JsonHelper.getDestValue((JObject)Global.curEvt.jaSession[0], "hospCode"));
+                joTmp.Add("billID", "");
+
+                JObject joRtn = invoker.invokeHISService(JsonHelper.setIrisInpar("05110039", joTmp).ToString(), "组织事后单据鉴核信息填报参数");
+                if (JsonHelper.parseIrisRtnValue(joRtn, out errMsg) != 0)
+                {
+                    MessageBox.Show("组织事后单据鉴核信息填报参数失败,请联系管理员!" + errMsg);
+                    return;
+                }
+                else
+                {
+                    DataTable dt = (DataTable)joRtn["result"].ToObject(typeof(DataTable));
+                    dgv_BillInfo.DataSource = dt;
+                }
+            }
+            catch (Exception ex)
+            {
+                MessageBox.Show("组织事后单据鉴核信息填报参数异常:" + ex.Message);
+                return;
+            }
+        }
+
+        /// <summary>
+        /// 获取HIS就诊信息
+        /// </summary>
+        /// <param name="dtST"></param>
+        /// <param name="dtED"></param>
+        /// <param name="PatInfo"></param>
+        /// <param name="errMsg"></param>
+        /// <param name="DT"></param>
+        /// <returns></returns>
+        private int GetHISRegInfo(string dtST, string dtED, string PatInfo, ref string errMsg, ref DataTable DT)
+        {
+            dynamic joTmp = new JObject();
+            joTmp.Add("stDate", dtST);
+            joTmp.Add("endDate", dtED);
+            joTmp.Add("patInfo", PatInfo);
+
+            JObject joRtnHISRegInfo = hIS.GetHISRegInfo(joTmp);
+
+            if (JsonHelper.parseIrisRtnValue(joRtnHISRegInfo, out errMsg) != 0)
+            {
+                errMsg = "获取HIS患者就诊信息失败,请联系管理员!" + errMsg;
+                return -1;
+            }
+            else
+            {
+                if ((joRtnHISRegInfo["result"]["rows"].ToString() == "[]"))
+                {
+                    errMsg = "查询HIS就诊信息结果为空!";
+                    return -1;
+                }
+                else
+                {
+                    DT = (DataTable)joRtnHISRegInfo["result"]["rows"].ToObject(typeof(DataTable));
+                    return 0;
+                }
+            }
+        }
+
+        private void uiButton18_Click(object sender, EventArgs e)
+        {            
+            string errMsg;
+
+            if (tb_SFZH.Text == "")
+            {
+                MessageBox.Show("请先输入患者身份证号进行查找患者未结算处方信息!");
+                return;
+            }
+            else
+            {
+                dgv_HISRegInfo.DataSource = null;
+                dgv_PrescriptionInfo.DataSource = null;
+
+                CertNo = tb_SFZH.Text;
+                Global.pat.certNO = tb_SFZH.Text;
+            }
+
+            #region【查询HIS就诊信息-用身份证号查询患者当日的就诊记录】
+            string outParam = "";
+            DataTable dt1 = null;
+            if (GetHISRegInfo(dtp_st.Text, dtp_et.Text, Global.pat.certNO, ref outParam, ref dt1) != 0)
+            {
+                MessageBox.Show(outParam);
+                return;
+            }
+
+            dgv_HISRegInfo.DataSource = dt1;
+            #endregion
+
+            #region【根据处方号查询处方明细信息】
+            presAdmDoc = dgv_HISRegInfo.Rows[0].Cells["doc"].Value.ToString();
+            presAdmLoc = dgv_HISRegInfo.Rows[0].Cells["loc"].Value.ToString();
+            presNo = dgv_HISRegInfo.Rows[0].Cells["prescNo"].Value.ToString();
+            presAdmID = dgv_HISRegInfo.Rows[0].Cells["admID"].Value.ToString();
+            Global.pat.adm_Dr = int.Parse(presAdmID);
+
+            if (presNo == "") return;
+            DataTable dt2 = null;
+            //获取HIS处方明细信息
+            if (GetHISPrescFeeInfo(presNo, ref outParam, ref dt2) != 0)
+            {
+                MessageBox.Show(outParam);
+                return;
+            }
+
+            dgv_PrescriptionInfo.DataSource = dt2;
+            #endregion
+        }
+
+        /// <summary>
+        /// 获取HIS费用明细信息
+        /// </summary>
+        /// <param name="PrescNo"></param>
+        /// <param name="errMsg"></param>
+        /// <param name="DT"></param>
+        /// <returns></returns>
+        private int GetHISPrescFeeInfo(string PrescNo, ref string errMsg, ref DataTable DT)
+        {
+            dynamic joTmp = new JObject();
+            joTmp.Add("prescNo", PrescNo);
+
+            JObject joRtnHISPrescFeeInfo = hIS.GetHISPrescFeeInfo(joTmp);
+
+            if (JsonHelper.parseIrisRtnValue(joRtnHISPrescFeeInfo, out errMsg) != 0)
+            {
+                errMsg = "获取HIS患者处方信息失败,请联系管理员!" + errMsg;
+                return -1;
+            }
+            else
+            {
+                if ((joRtnHISPrescFeeInfo["result"]["rows"].ToString() == "[]"))
+                {
+                    errMsg = "查询HIS处方信息结果为空!";
+                    return -1;
+                }
+                else
+                {
+                    DT = (DataTable)joRtnHISPrescFeeInfo["result"]["rows"].ToObject(typeof(DataTable));
+                    return 0;
+                }
+            }
+        }
+
+        private void dgv_HISRegInfo_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
+        {
+            if (dgv_HISRegInfo.DataSource == null)
+                return;
+
+            if (dgv_HISRegInfo.Rows[dgv_HISRegInfo.CurrentRow.Index].Cells["ID"].Value.ToString() == "")
+                return;
+
+            string outParam = "";
+            DataTable dt = null;
+            presAdmDoc = dgv_HISRegInfo.Rows[dgv_HISRegInfo.CurrentRow.Index].Cells["doc"].Value.ToString();
+            presAdmLoc = dgv_HISRegInfo.Rows[dgv_HISRegInfo.CurrentRow.Index].Cells["loc"].Value.ToString();
+            presNo = dgv_HISRegInfo.Rows[dgv_HISRegInfo.CurrentRow.Index].Cells["prescNo"].Value.ToString();
+            presAdmID = dgv_HISRegInfo.Rows[dgv_HISRegInfo.CurrentRow.Index].Cells["admID"].Value.ToString();
+            Global.pat.adm_Dr = int.Parse(presAdmID);
+
+            if (presNo == "") return;
+
+            //获取HIS处方明细信息
+            if (GetHISPrescFeeInfo(presNo, ref outParam, ref dt) != 0)
+            {
+                MessageBox.Show(outParam);
+                return;
+            }
+
+            dgv_PrescriptionInfo.DataSource = dt;
+        }
+    }
+}

+ 2748 - 0
Forms/MedInsuQuery.designer.cs

@@ -0,0 +1,2748 @@
+
+namespace PTMedicalInsurance.Forms
+{
+    partial class MedInsuQuery
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </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();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle46 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle47 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle48 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle49 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle50 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle51 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle52 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle53 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle54 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle55 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle56 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle57 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle58 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle59 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle60 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle61 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle62 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle63 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle64 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle65 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle66 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle67 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle68 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle69 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle70 = new System.Windows.Forms.DataGridViewCellStyle();
+            this.tbcMain = new Sunny.UI.UITabControl();
+            this.tabInHosPerInfoExport = new System.Windows.Forms.TabPage();
+            this.dgvSettlRecord = new Sunny.UI.UIDataGridView();
+            this.pgSettlRecod = new Sunny.UI.UIPagination();
+            this.uiPanel1 = new Sunny.UI.UIPanel();
+            this.btnClose = new Sunny.UI.UIButton();
+            this.btnQuery = new Sunny.UI.UIButton();
+            this.btnPrint = new Sunny.UI.UIButton();
+            this.gbDateTime = new Sunny.UI.UIGroupBox();
+            this.dpED = new Sunny.UI.UIDatetimePicker();
+            this.dpST = new Sunny.UI.UIDatetimePicker();
+            this.tP_InsuFeel = new System.Windows.Forms.TabPage();
+            this.dgvInsuFeeUpload = new Sunny.UI.UIDataGridView();
+            this.uiPanel2 = new Sunny.UI.UIPanel();
+            this.cbbOverPrice = new Sunny.UI.UIComboBox();
+            this.cbbLevel = new Sunny.UI.UIComboBox();
+            this.uiLabel4 = new Sunny.UI.UILabel();
+            this.uiLabel3 = new Sunny.UI.UILabel();
+            this.tb_SettleID = new Sunny.UI.UITextBox();
+            this.tb_InHospNo = new Sunny.UI.UITextBox();
+            this.uiLabel2 = new Sunny.UI.UILabel();
+            this.uiLabel1 = new Sunny.UI.UILabel();
+            this.uiButton1 = new Sunny.UI.UIButton();
+            this.btnOK = new Sunny.UI.UIButton();
+            this.uiGroupBox1 = new Sunny.UI.UIGroupBox();
+            this.dt_ET = new Sunny.UI.UIDatetimePicker();
+            this.dt_ST = new Sunny.UI.UIDatetimePicker();
+            this.tb_4001 = new System.Windows.Forms.TabPage();
+            this.uiTitlePanel1 = new Sunny.UI.UITitlePanel();
+            this.dgv_4001 = new Sunny.UI.UIDataGridView();
+            this.uiPanel3 = new Sunny.UI.UIPanel();
+            this.tb_CertNo = new Sunny.UI.UITextBox();
+            this.uiLabel5 = new Sunny.UI.UILabel();
+            this.uiButton4 = new Sunny.UI.UIButton();
+            this.uiButton2 = new Sunny.UI.UIButton();
+            this.uiButton3 = new Sunny.UI.UIButton();
+            this.uiGroupBox2 = new Sunny.UI.UIGroupBox();
+            this.DT_ET1 = new Sunny.UI.UIDatetimePicker();
+            this.DT_ST1 = new Sunny.UI.UIDatetimePicker();
+            this.tab_FeeInfo = new System.Windows.Forms.TabPage();
+            this.uiTitlePanel2 = new Sunny.UI.UITitlePanel();
+            this.dgvFeeInfo = new Sunny.UI.UIDataGridView();
+            this.tt = new Sunny.UI.UITitlePanel();
+            this.dgvSettleData = new Sunny.UI.UIDataGridView();
+            this.uiPanel4 = new Sunny.UI.UIPanel();
+            this.rbg_Type = new Sunny.UI.UIRadioButtonGroup();
+            this.tb_CertNo2 = new Sunny.UI.UITextBox();
+            this.uiLabel6 = new Sunny.UI.UILabel();
+            this.uiButton5 = new Sunny.UI.UIButton();
+            this.uiButton6 = new Sunny.UI.UIButton();
+            this.uiButton7 = new Sunny.UI.UIButton();
+            this.uiGroupBox3 = new Sunny.UI.UIGroupBox();
+            this.dpt_ET = new Sunny.UI.UIDatetimePicker();
+            this.dpt_ST = new Sunny.UI.UIDatetimePicker();
+            this.tabPage1 = new System.Windows.Forms.TabPage();
+            this.uiTabControl1 = new Sunny.UI.UITabControl();
+            this.tabPage2 = new System.Windows.Forms.TabPage();
+            this.uiTitlePanel4 = new Sunny.UI.UITitlePanel();
+            this.uiTabControl2 = new Sunny.UI.UITabControl();
+            this.tabPage5 = new System.Windows.Forms.TabPage();
+            this.dgvData = new Sunny.UI.UIDataGridView();
+            this.tabPage6 = new System.Windows.Forms.TabPage();
+            this.dgvVerifyResult = new Sunny.UI.UIDataGridView();
+            this.tabPage7 = new System.Windows.Forms.TabPage();
+            this.dgvTraceCodeVo = new Sunny.UI.UIDataGridView();
+            this.tabPage8 = new System.Windows.Forms.TabPage();
+            this.dgvMedDrugInfo = new Sunny.UI.UIDataGridView();
+            this.uiTitlePanel3 = new Sunny.UI.UITitlePanel();
+            this.dgvMedInsuMapRelation = new Sunny.UI.UIDataGridView();
+            this.uiPanel5 = new Sunny.UI.UIPanel();
+            this.uiButton10 = new Sunny.UI.UIButton();
+            this.uiButton8 = new Sunny.UI.UIButton();
+            this.uiButton9 = new Sunny.UI.UIButton();
+            this.tabPage3 = new System.Windows.Forms.TabPage();
+            this.uiTitlePanel6 = new Sunny.UI.UITitlePanel();
+            this.dgv_BillDetailInfo = new Sunny.UI.UIDataGridView();
+            this.uiTitlePanel5 = new Sunny.UI.UITitlePanel();
+            this.dgv_BillInfo = new Sunny.UI.UIDataGridView();
+            this.uiPanel7 = new Sunny.UI.UIPanel();
+            this.uiButton13 = new Sunny.UI.UIButton();
+            this.uiButton14 = new Sunny.UI.UIButton();
+            this.uiButton15 = new Sunny.UI.UIButton();
+            this.uiGroupBox4 = new Sunny.UI.UIGroupBox();
+            this.date_et = new Sunny.UI.UIDatetimePicker();
+            this.date_st = new Sunny.UI.UIDatetimePicker();
+            this.tabPage4 = new System.Windows.Forms.TabPage();
+            this.uiPanel9 = new Sunny.UI.UIPanel();
+            this.dtTHSJ = new Sunny.UI.UIDatetimePicker();
+            this.tbDJBH = new Sunny.UI.UITextBox();
+            this.tbJGBM = new Sunny.UI.UITextBox();
+            this.label3 = new System.Windows.Forms.Label();
+            this.label2 = new System.Windows.Forms.Label();
+            this.label1 = new System.Windows.Forms.Label();
+            this.uiPanel6 = new Sunny.UI.UIPanel();
+            this.uiButton11 = new Sunny.UI.UIButton();
+            this.uiButton12 = new Sunny.UI.UIButton();
+            this.tb_10001 = new System.Windows.Forms.TabPage();
+            this.uiTitlePanel8 = new Sunny.UI.UITitlePanel();
+            this.dgv_PrescriptionInfo = new Sunny.UI.UIDataGridView();
+            this.uiTitlePanel7 = new Sunny.UI.UITitlePanel();
+            this.dgv_HISRegInfo = new Sunny.UI.UIDataGridView();
+            this.uiPanel8 = new Sunny.UI.UIPanel();
+            this.tb_SFZH = new Sunny.UI.UITextBox();
+            this.uiLabel9 = new Sunny.UI.UILabel();
+            this.uiButton16 = new Sunny.UI.UIButton();
+            this.uiButton17 = new Sunny.UI.UIButton();
+            this.uiButton18 = new Sunny.UI.UIButton();
+            this.uiGroupBox7 = new Sunny.UI.UIGroupBox();
+            this.dtp_et = new Sunny.UI.UIDatetimePicker();
+            this.dtp_st = new Sunny.UI.UIDatetimePicker();
+            this.cbbRYCBLB = new Sunny.UI.UIComboBox();
+            this.cbbRYLB = new Sunny.UI.UIComboBox();
+            this.tbcMain.SuspendLayout();
+            this.tabInHosPerInfoExport.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvSettlRecord)).BeginInit();
+            this.uiPanel1.SuspendLayout();
+            this.gbDateTime.SuspendLayout();
+            this.tP_InsuFeel.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvInsuFeeUpload)).BeginInit();
+            this.uiPanel2.SuspendLayout();
+            this.uiGroupBox1.SuspendLayout();
+            this.tb_4001.SuspendLayout();
+            this.uiTitlePanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgv_4001)).BeginInit();
+            this.uiPanel3.SuspendLayout();
+            this.uiGroupBox2.SuspendLayout();
+            this.tab_FeeInfo.SuspendLayout();
+            this.uiTitlePanel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvFeeInfo)).BeginInit();
+            this.tt.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvSettleData)).BeginInit();
+            this.uiPanel4.SuspendLayout();
+            this.uiGroupBox3.SuspendLayout();
+            this.tabPage1.SuspendLayout();
+            this.uiTabControl1.SuspendLayout();
+            this.tabPage2.SuspendLayout();
+            this.uiTitlePanel4.SuspendLayout();
+            this.uiTabControl2.SuspendLayout();
+            this.tabPage5.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
+            this.tabPage6.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvVerifyResult)).BeginInit();
+            this.tabPage7.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvTraceCodeVo)).BeginInit();
+            this.tabPage8.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvMedDrugInfo)).BeginInit();
+            this.uiTitlePanel3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvMedInsuMapRelation)).BeginInit();
+            this.uiPanel5.SuspendLayout();
+            this.tabPage3.SuspendLayout();
+            this.uiTitlePanel6.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgv_BillDetailInfo)).BeginInit();
+            this.uiTitlePanel5.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgv_BillInfo)).BeginInit();
+            this.uiPanel7.SuspendLayout();
+            this.uiGroupBox4.SuspendLayout();
+            this.tabPage4.SuspendLayout();
+            this.uiPanel9.SuspendLayout();
+            this.uiPanel6.SuspendLayout();
+            this.tb_10001.SuspendLayout();
+            this.uiTitlePanel8.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgv_PrescriptionInfo)).BeginInit();
+            this.uiTitlePanel7.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgv_HISRegInfo)).BeginInit();
+            this.uiPanel8.SuspendLayout();
+            this.uiGroupBox7.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // tbcMain
+            // 
+            this.tbcMain.Controls.Add(this.tabInHosPerInfoExport);
+            this.tbcMain.Controls.Add(this.tP_InsuFeel);
+            this.tbcMain.Controls.Add(this.tb_4001);
+            this.tbcMain.Controls.Add(this.tab_FeeInfo);
+            this.tbcMain.Controls.Add(this.tabPage1);
+            this.tbcMain.Controls.Add(this.tb_10001);
+            this.tbcMain.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.tbcMain.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
+            this.tbcMain.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tbcMain.ItemSize = new System.Drawing.Size(220, 40);
+            this.tbcMain.Location = new System.Drawing.Point(0, 0);
+            this.tbcMain.MainPage = "";
+            this.tbcMain.Name = "tbcMain";
+            this.tbcMain.SelectedIndex = 0;
+            this.tbcMain.Size = new System.Drawing.Size(1368, 648);
+            this.tbcMain.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
+            this.tbcMain.TabIndex = 0;
+            this.tbcMain.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tbcMain.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tabInHosPerInfoExport
+            // 
+            this.tabInHosPerInfoExport.Controls.Add(this.dgvSettlRecord);
+            this.tabInHosPerInfoExport.Controls.Add(this.pgSettlRecod);
+            this.tabInHosPerInfoExport.Controls.Add(this.uiPanel1);
+            this.tabInHosPerInfoExport.Location = new System.Drawing.Point(0, 40);
+            this.tabInHosPerInfoExport.Name = "tabInHosPerInfoExport";
+            this.tabInHosPerInfoExport.Size = new System.Drawing.Size(1368, 608);
+            this.tabInHosPerInfoExport.TabIndex = 0;
+            this.tabInHosPerInfoExport.Text = "在院患者信息导出";
+            this.tabInHosPerInfoExport.UseVisualStyleBackColor = true;
+            // 
+            // dgvSettlRecord
+            // 
+            this.dgvSettlRecord.AllowUserToAddRows = false;
+            this.dgvSettlRecord.AllowUserToDeleteRows = false;
+            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
+            this.dgvSettlRecord.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
+            this.dgvSettlRecord.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
+            this.dgvSettlRecord.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
+            this.dgvSettlRecord.BackgroundColor = System.Drawing.Color.White;
+            this.dgvSettlRecord.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvSettlRecord.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
+            this.dgvSettlRecord.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
+            dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
+            dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvSettlRecord.DefaultCellStyle = dataGridViewCellStyle3;
+            this.dgvSettlRecord.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgvSettlRecord.EnableHeadersVisualStyles = false;
+            this.dgvSettlRecord.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgvSettlRecord.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            this.dgvSettlRecord.Location = new System.Drawing.Point(0, 0);
+            this.dgvSettlRecord.Name = "dgvSettlRecord";
+            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvSettlRecord.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
+            dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgvSettlRecord.RowsDefaultCellStyle = dataGridViewCellStyle5;
+            this.dgvSettlRecord.RowTemplate.Height = 23;
+            this.dgvSettlRecord.SelectedIndex = -1;
+            this.dgvSettlRecord.Size = new System.Drawing.Size(1368, 446);
+            this.dgvSettlRecord.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
+            this.dgvSettlRecord.TabIndex = 9;
+            this.dgvSettlRecord.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // pgSettlRecod
+            // 
+            this.pgSettlRecod.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.pgSettlRecod.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.pgSettlRecod.Location = new System.Drawing.Point(0, 446);
+            this.pgSettlRecod.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.pgSettlRecod.MinimumSize = new System.Drawing.Size(1, 1);
+            this.pgSettlRecod.Name = "pgSettlRecod";
+            this.pgSettlRecod.PagerCount = 13;
+            this.pgSettlRecod.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
+            this.pgSettlRecod.ShowJumpButton = false;
+            this.pgSettlRecod.ShowText = false;
+            this.pgSettlRecod.Size = new System.Drawing.Size(1368, 31);
+            this.pgSettlRecod.TabIndex = 8;
+            this.pgSettlRecod.Text = "uiPagination1";
+            this.pgSettlRecod.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.pgSettlRecod.Visible = false;
+            this.pgSettlRecod.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiPanel1
+            // 
+            this.uiPanel1.Controls.Add(this.btnClose);
+            this.uiPanel1.Controls.Add(this.btnQuery);
+            this.uiPanel1.Controls.Add(this.btnPrint);
+            this.uiPanel1.Controls.Add(this.gbDateTime);
+            this.uiPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiPanel1.Location = new System.Drawing.Point(0, 477);
+            this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiPanel1.Name = "uiPanel1";
+            this.uiPanel1.Size = new System.Drawing.Size(1368, 131);
+            this.uiPanel1.TabIndex = 10;
+            this.uiPanel1.Text = null;
+            this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiPanel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // btnClose
+            // 
+            this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnClose.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.btnClose.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btnClose.Location = new System.Drawing.Point(1227, 40);
+            this.btnClose.MinimumSize = new System.Drawing.Size(1, 1);
+            this.btnClose.Name = "btnClose";
+            this.btnClose.Size = new System.Drawing.Size(134, 67);
+            this.btnClose.TabIndex = 26;
+            this.btnClose.Text = "退  出";
+            this.btnClose.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btnClose.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
+            // 
+            // btnQuery
+            // 
+            this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btnQuery.Location = new System.Drawing.Point(955, 40);
+            this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
+            this.btnQuery.Name = "btnQuery";
+            this.btnQuery.Size = new System.Drawing.Size(134, 67);
+            this.btnQuery.TabIndex = 19;
+            this.btnQuery.Text = "查  询";
+            this.btnQuery.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btnQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
+            // 
+            // btnPrint
+            // 
+            this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnPrint.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.btnPrint.Enabled = false;
+            this.btnPrint.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btnPrint.Location = new System.Drawing.Point(1091, 40);
+            this.btnPrint.MinimumSize = new System.Drawing.Size(1, 1);
+            this.btnPrint.Name = "btnPrint";
+            this.btnPrint.Size = new System.Drawing.Size(134, 67);
+            this.btnPrint.TabIndex = 18;
+            this.btnPrint.Text = "导  出";
+            this.btnPrint.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btnPrint.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
+            // 
+            // gbDateTime
+            // 
+            this.gbDateTime.Controls.Add(this.dpED);
+            this.gbDateTime.Controls.Add(this.dpST);
+            this.gbDateTime.Dock = System.Windows.Forms.DockStyle.Left;
+            this.gbDateTime.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.gbDateTime.Location = new System.Drawing.Point(0, 0);
+            this.gbDateTime.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.gbDateTime.MinimumSize = new System.Drawing.Size(1, 1);
+            this.gbDateTime.Name = "gbDateTime";
+            this.gbDateTime.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
+            this.gbDateTime.Size = new System.Drawing.Size(260, 131);
+            this.gbDateTime.TabIndex = 20;
+            this.gbDateTime.Text = "起止时间";
+            this.gbDateTime.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.gbDateTime.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dpED
+            // 
+            this.dpED.FillColor = System.Drawing.Color.White;
+            this.dpED.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dpED.Location = new System.Drawing.Point(29, 79);
+            this.dpED.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.dpED.MaxLength = 19;
+            this.dpED.MinimumSize = new System.Drawing.Size(63, 0);
+            this.dpED.Name = "dpED";
+            this.dpED.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.dpED.Size = new System.Drawing.Size(211, 29);
+            this.dpED.SymbolDropDown = 61555;
+            this.dpED.SymbolNormal = 61555;
+            this.dpED.TabIndex = 1;
+            this.dpED.Text = "2022-05-22 14:03:13";
+            this.dpED.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.dpED.Value = new System.DateTime(2022, 5, 22, 14, 3, 13, 266);
+            this.dpED.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dpST
+            // 
+            this.dpST.FillColor = System.Drawing.Color.White;
+            this.dpST.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dpST.Location = new System.Drawing.Point(29, 40);
+            this.dpST.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.dpST.MaxLength = 19;
+            this.dpST.MinimumSize = new System.Drawing.Size(63, 0);
+            this.dpST.Name = "dpST";
+            this.dpST.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.dpST.Size = new System.Drawing.Size(211, 29);
+            this.dpST.SymbolDropDown = 61555;
+            this.dpST.SymbolNormal = 61555;
+            this.dpST.TabIndex = 0;
+            this.dpST.Text = "2022-05-22 14:03:13";
+            this.dpST.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.dpST.Value = new System.DateTime(2022, 5, 22, 14, 3, 13, 266);
+            this.dpST.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tP_InsuFeel
+            // 
+            this.tP_InsuFeel.Controls.Add(this.dgvInsuFeeUpload);
+            this.tP_InsuFeel.Controls.Add(this.uiPanel2);
+            this.tP_InsuFeel.Location = new System.Drawing.Point(0, 40);
+            this.tP_InsuFeel.Name = "tP_InsuFeel";
+            this.tP_InsuFeel.Size = new System.Drawing.Size(1368, 608);
+            this.tP_InsuFeel.TabIndex = 1;
+            this.tP_InsuFeel.Text = "医保患者费用明细信息查询";
+            this.tP_InsuFeel.UseVisualStyleBackColor = true;
+            // 
+            // dgvInsuFeeUpload
+            // 
+            this.dgvInsuFeeUpload.AllowUserToAddRows = false;
+            this.dgvInsuFeeUpload.AllowUserToDeleteRows = false;
+            dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
+            this.dgvInsuFeeUpload.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6;
+            this.dgvInsuFeeUpload.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
+            this.dgvInsuFeeUpload.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
+            this.dgvInsuFeeUpload.BackgroundColor = System.Drawing.Color.White;
+            this.dgvInsuFeeUpload.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle7.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvInsuFeeUpload.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
+            this.dgvInsuFeeUpload.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;
+            dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText;
+            dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvInsuFeeUpload.DefaultCellStyle = dataGridViewCellStyle8;
+            this.dgvInsuFeeUpload.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgvInsuFeeUpload.EnableHeadersVisualStyles = false;
+            this.dgvInsuFeeUpload.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgvInsuFeeUpload.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            this.dgvInsuFeeUpload.Location = new System.Drawing.Point(0, 0);
+            this.dgvInsuFeeUpload.Name = "dgvInsuFeeUpload";
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle9.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle9.SelectionForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvInsuFeeUpload.RowHeadersDefaultCellStyle = dataGridViewCellStyle9;
+            dataGridViewCellStyle10.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgvInsuFeeUpload.RowsDefaultCellStyle = dataGridViewCellStyle10;
+            this.dgvInsuFeeUpload.RowTemplate.Height = 23;
+            this.dgvInsuFeeUpload.SelectedIndex = -1;
+            this.dgvInsuFeeUpload.Size = new System.Drawing.Size(1368, 493);
+            this.dgvInsuFeeUpload.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
+            this.dgvInsuFeeUpload.TabIndex = 11;
+            this.dgvInsuFeeUpload.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiPanel2
+            // 
+            this.uiPanel2.Controls.Add(this.cbbOverPrice);
+            this.uiPanel2.Controls.Add(this.cbbLevel);
+            this.uiPanel2.Controls.Add(this.uiLabel4);
+            this.uiPanel2.Controls.Add(this.uiLabel3);
+            this.uiPanel2.Controls.Add(this.tb_SettleID);
+            this.uiPanel2.Controls.Add(this.tb_InHospNo);
+            this.uiPanel2.Controls.Add(this.uiLabel2);
+            this.uiPanel2.Controls.Add(this.uiLabel1);
+            this.uiPanel2.Controls.Add(this.uiButton1);
+            this.uiPanel2.Controls.Add(this.btnOK);
+            this.uiPanel2.Controls.Add(this.uiGroupBox1);
+            this.uiPanel2.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.uiPanel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiPanel2.Location = new System.Drawing.Point(0, 493);
+            this.uiPanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiPanel2.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiPanel2.Name = "uiPanel2";
+            this.uiPanel2.Size = new System.Drawing.Size(1368, 115);
+            this.uiPanel2.TabIndex = 12;
+            this.uiPanel2.Text = null;
+            this.uiPanel2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiPanel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // cbbOverPrice
+            // 
+            this.cbbOverPrice.DataSource = null;
+            this.cbbOverPrice.FillColor = System.Drawing.Color.White;
+            this.cbbOverPrice.FilterMaxCount = 50;
+            this.cbbOverPrice.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cbbOverPrice.Items.AddRange(new object[] {
+            "全部",
+            "是",
+            "否"});
+            this.cbbOverPrice.Location = new System.Drawing.Point(378, 66);
+            this.cbbOverPrice.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.cbbOverPrice.MinimumSize = new System.Drawing.Size(63, 0);
+            this.cbbOverPrice.Name = "cbbOverPrice";
+            this.cbbOverPrice.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.cbbOverPrice.Size = new System.Drawing.Size(196, 29);
+            this.cbbOverPrice.TabIndex = 34;
+            this.cbbOverPrice.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.cbbOverPrice.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // cbbLevel
+            // 
+            this.cbbLevel.DataSource = null;
+            this.cbbLevel.FillColor = System.Drawing.Color.White;
+            this.cbbLevel.FilterMaxCount = 50;
+            this.cbbLevel.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cbbLevel.Items.AddRange(new object[] {
+            "全部",
+            "甲类",
+            "乙类",
+            "丙类"});
+            this.cbbLevel.Location = new System.Drawing.Point(378, 27);
+            this.cbbLevel.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.cbbLevel.MinimumSize = new System.Drawing.Size(63, 0);
+            this.cbbLevel.Name = "cbbLevel";
+            this.cbbLevel.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.cbbLevel.Size = new System.Drawing.Size(196, 29);
+            this.cbbLevel.TabIndex = 33;
+            this.cbbLevel.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.cbbLevel.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel4
+            // 
+            this.uiLabel4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel4.Location = new System.Drawing.Point(285, 69);
+            this.uiLabel4.Name = "uiLabel4";
+            this.uiLabel4.Size = new System.Drawing.Size(86, 23);
+            this.uiLabel4.TabIndex = 32;
+            this.uiLabel4.Text = "超限价:";
+            this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel3
+            // 
+            this.uiLabel3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel3.Location = new System.Drawing.Point(285, 30);
+            this.uiLabel3.Name = "uiLabel3";
+            this.uiLabel3.Size = new System.Drawing.Size(86, 23);
+            this.uiLabel3.TabIndex = 31;
+            this.uiLabel3.Text = "目录等级:";
+            this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tb_SettleID
+            // 
+            this.tb_SettleID.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.tb_SettleID.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.tb_SettleID.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tb_SettleID.Location = new System.Drawing.Point(707, 66);
+            this.tb_SettleID.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.tb_SettleID.MinimumSize = new System.Drawing.Size(1, 16);
+            this.tb_SettleID.Name = "tb_SettleID";
+            this.tb_SettleID.ShowText = false;
+            this.tb_SettleID.Size = new System.Drawing.Size(199, 29);
+            this.tb_SettleID.TabIndex = 30;
+            this.tb_SettleID.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.tb_SettleID.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tb_InHospNo
+            // 
+            this.tb_InHospNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.tb_InHospNo.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.tb_InHospNo.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tb_InHospNo.Location = new System.Drawing.Point(707, 27);
+            this.tb_InHospNo.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.tb_InHospNo.MinimumSize = new System.Drawing.Size(1, 16);
+            this.tb_InHospNo.Name = "tb_InHospNo";
+            this.tb_InHospNo.ShowText = false;
+            this.tb_InHospNo.Size = new System.Drawing.Size(199, 29);
+            this.tb_InHospNo.TabIndex = 29;
+            this.tb_InHospNo.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.tb_InHospNo.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel2
+            // 
+            this.uiLabel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel2.Location = new System.Drawing.Point(605, 69);
+            this.uiLabel2.Name = "uiLabel2";
+            this.uiLabel2.Size = new System.Drawing.Size(98, 23);
+            this.uiLabel2.TabIndex = 28;
+            this.uiLabel2.Text = "医保结算ID:";
+            this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel1
+            // 
+            this.uiLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel1.Location = new System.Drawing.Point(605, 30);
+            this.uiLabel1.Name = "uiLabel1";
+            this.uiLabel1.Size = new System.Drawing.Size(98, 23);
+            this.uiLabel1.TabIndex = 27;
+            this.uiLabel1.Text = "HIS住院号:";
+            this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiButton1
+            // 
+            this.uiButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton1.Location = new System.Drawing.Point(1226, 26);
+            this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton1.Name = "uiButton1";
+            this.uiButton1.Size = new System.Drawing.Size(134, 67);
+            this.uiButton1.TabIndex = 26;
+            this.uiButton1.Text = "退      出";
+            this.uiButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton1.Click += new System.EventHandler(this.btnClose_Click);
+            // 
+            // btnOK
+            // 
+            this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnOK.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.btnOK.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btnOK.Location = new System.Drawing.Point(1085, 26);
+            this.btnOK.MinimumSize = new System.Drawing.Size(1, 1);
+            this.btnOK.Name = "btnOK";
+            this.btnOK.Size = new System.Drawing.Size(134, 67);
+            this.btnOK.TabIndex = 19;
+            this.btnOK.Text = "查      询";
+            this.btnOK.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btnOK.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
+            // 
+            // uiGroupBox1
+            // 
+            this.uiGroupBox1.Controls.Add(this.dt_ET);
+            this.uiGroupBox1.Controls.Add(this.dt_ST);
+            this.uiGroupBox1.Dock = System.Windows.Forms.DockStyle.Left;
+            this.uiGroupBox1.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiGroupBox1.Location = new System.Drawing.Point(0, 0);
+            this.uiGroupBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiGroupBox1.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiGroupBox1.Name = "uiGroupBox1";
+            this.uiGroupBox1.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
+            this.uiGroupBox1.Size = new System.Drawing.Size(260, 115);
+            this.uiGroupBox1.TabIndex = 20;
+            this.uiGroupBox1.Text = "起止时间";
+            this.uiGroupBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiGroupBox1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dt_ET
+            // 
+            this.dt_ET.FillColor = System.Drawing.Color.White;
+            this.dt_ET.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dt_ET.Location = new System.Drawing.Point(29, 71);
+            this.dt_ET.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.dt_ET.MaxLength = 19;
+            this.dt_ET.MinimumSize = new System.Drawing.Size(63, 0);
+            this.dt_ET.Name = "dt_ET";
+            this.dt_ET.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.dt_ET.Size = new System.Drawing.Size(211, 29);
+            this.dt_ET.SymbolDropDown = 61555;
+            this.dt_ET.SymbolNormal = 61555;
+            this.dt_ET.TabIndex = 1;
+            this.dt_ET.Text = "2022-05-22 14:03:13";
+            this.dt_ET.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.dt_ET.Value = new System.DateTime(2022, 5, 22, 14, 3, 13, 266);
+            this.dt_ET.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dt_ST
+            // 
+            this.dt_ST.FillColor = System.Drawing.Color.White;
+            this.dt_ST.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dt_ST.Location = new System.Drawing.Point(29, 32);
+            this.dt_ST.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.dt_ST.MaxLength = 19;
+            this.dt_ST.MinimumSize = new System.Drawing.Size(63, 0);
+            this.dt_ST.Name = "dt_ST";
+            this.dt_ST.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.dt_ST.Size = new System.Drawing.Size(211, 29);
+            this.dt_ST.SymbolDropDown = 61555;
+            this.dt_ST.SymbolNormal = 61555;
+            this.dt_ST.TabIndex = 0;
+            this.dt_ST.Text = "2022-05-22 14:03:13";
+            this.dt_ST.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.dt_ST.Value = new System.DateTime(2022, 5, 22, 14, 3, 13, 266);
+            this.dt_ST.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tb_4001
+            // 
+            this.tb_4001.Controls.Add(this.uiTitlePanel1);
+            this.tb_4001.Controls.Add(this.uiPanel3);
+            this.tb_4001.Location = new System.Drawing.Point(0, 40);
+            this.tb_4001.Name = "tb_4001";
+            this.tb_4001.Size = new System.Drawing.Size(1368, 608);
+            this.tb_4001.TabIndex = 2;
+            this.tb_4001.Text = "患者参保信息上传";
+            this.tb_4001.UseVisualStyleBackColor = true;
+            // 
+            // uiTitlePanel1
+            // 
+            this.uiTitlePanel1.Controls.Add(this.dgv_4001);
+            this.uiTitlePanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.uiTitlePanel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTitlePanel1.Location = new System.Drawing.Point(0, 0);
+            this.uiTitlePanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiTitlePanel1.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiTitlePanel1.Name = "uiTitlePanel1";
+            this.uiTitlePanel1.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
+            this.uiTitlePanel1.ShowText = false;
+            this.uiTitlePanel1.Size = new System.Drawing.Size(1368, 493);
+            this.uiTitlePanel1.TabIndex = 15;
+            this.uiTitlePanel1.Text = "4001-患者参保信息";
+            this.uiTitlePanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiTitlePanel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dgv_4001
+            // 
+            this.dgv_4001.AllowUserToAddRows = false;
+            this.dgv_4001.AllowUserToDeleteRows = false;
+            dataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgv_4001.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11;
+            this.dgv_4001.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
+            this.dgv_4001.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
+            this.dgv_4001.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgv_4001.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle12.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle12.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgv_4001.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
+            this.dgv_4001.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle13.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle13.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle13.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle13.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgv_4001.DefaultCellStyle = dataGridViewCellStyle13;
+            this.dgv_4001.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgv_4001.EnableHeadersVisualStyles = false;
+            this.dgv_4001.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgv_4001.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
+            this.dgv_4001.Location = new System.Drawing.Point(0, 35);
+            this.dgv_4001.Name = "dgv_4001";
+            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle14.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle14.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle14.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgv_4001.RowHeadersDefaultCellStyle = dataGridViewCellStyle14;
+            dataGridViewCellStyle15.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle15.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle15.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle15.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            this.dgv_4001.RowsDefaultCellStyle = dataGridViewCellStyle15;
+            this.dgv_4001.RowTemplate.Height = 23;
+            this.dgv_4001.SelectedIndex = -1;
+            this.dgv_4001.Size = new System.Drawing.Size(1368, 458);
+            this.dgv_4001.TabIndex = 14;
+            this.dgv_4001.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiPanel3
+            // 
+            this.uiPanel3.Controls.Add(this.tb_CertNo);
+            this.uiPanel3.Controls.Add(this.uiLabel5);
+            this.uiPanel3.Controls.Add(this.uiButton4);
+            this.uiPanel3.Controls.Add(this.uiButton2);
+            this.uiPanel3.Controls.Add(this.uiButton3);
+            this.uiPanel3.Controls.Add(this.uiGroupBox2);
+            this.uiPanel3.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.uiPanel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiPanel3.Location = new System.Drawing.Point(0, 493);
+            this.uiPanel3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiPanel3.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiPanel3.Name = "uiPanel3";
+            this.uiPanel3.Size = new System.Drawing.Size(1368, 115);
+            this.uiPanel3.TabIndex = 14;
+            this.uiPanel3.Text = null;
+            this.uiPanel3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiPanel3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tb_CertNo
+            // 
+            this.tb_CertNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.tb_CertNo.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.tb_CertNo.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tb_CertNo.Location = new System.Drawing.Point(295, 58);
+            this.tb_CertNo.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.tb_CertNo.MinimumSize = new System.Drawing.Size(1, 16);
+            this.tb_CertNo.Name = "tb_CertNo";
+            this.tb_CertNo.ShowText = false;
+            this.tb_CertNo.Size = new System.Drawing.Size(199, 29);
+            this.tb_CertNo.TabIndex = 32;
+            this.tb_CertNo.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.tb_CertNo.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel5
+            // 
+            this.uiLabel5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel5.Location = new System.Drawing.Point(295, 22);
+            this.uiLabel5.Name = "uiLabel5";
+            this.uiLabel5.Size = new System.Drawing.Size(82, 23);
+            this.uiLabel5.TabIndex = 31;
+            this.uiLabel5.Text = "身份证号:";
+            this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel5.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiButton4
+            // 
+            this.uiButton4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton4.Location = new System.Drawing.Point(1132, 26);
+            this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton4.Name = "uiButton4";
+            this.uiButton4.Size = new System.Drawing.Size(110, 67);
+            this.uiButton4.TabIndex = 27;
+            this.uiButton4.Text = "上    传";
+            this.uiButton4.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton4.Click += new System.EventHandler(this.uiButton4_Click);
+            // 
+            // uiButton2
+            // 
+            this.uiButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton2.Location = new System.Drawing.Point(1247, 26);
+            this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton2.Name = "uiButton2";
+            this.uiButton2.Size = new System.Drawing.Size(110, 67);
+            this.uiButton2.TabIndex = 26;
+            this.uiButton2.Text = "退    出";
+            this.uiButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton2.Click += new System.EventHandler(this.btnClose_Click);
+            // 
+            // uiButton3
+            // 
+            this.uiButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton3.Location = new System.Drawing.Point(1017, 26);
+            this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton3.Name = "uiButton3";
+            this.uiButton3.Size = new System.Drawing.Size(110, 67);
+            this.uiButton3.TabIndex = 19;
+            this.uiButton3.Text = "查    询";
+            this.uiButton3.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton3.Click += new System.EventHandler(this.uiButton3_Click);
+            // 
+            // uiGroupBox2
+            // 
+            this.uiGroupBox2.Controls.Add(this.DT_ET1);
+            this.uiGroupBox2.Controls.Add(this.DT_ST1);
+            this.uiGroupBox2.Dock = System.Windows.Forms.DockStyle.Left;
+            this.uiGroupBox2.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiGroupBox2.Location = new System.Drawing.Point(0, 0);
+            this.uiGroupBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiGroupBox2.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiGroupBox2.Name = "uiGroupBox2";
+            this.uiGroupBox2.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
+            this.uiGroupBox2.Size = new System.Drawing.Size(269, 115);
+            this.uiGroupBox2.TabIndex = 20;
+            this.uiGroupBox2.Text = "起止时间";
+            this.uiGroupBox2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiGroupBox2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // DT_ET1
+            // 
+            this.DT_ET1.FillColor = System.Drawing.Color.White;
+            this.DT_ET1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.DT_ET1.Location = new System.Drawing.Point(25, 71);
+            this.DT_ET1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.DT_ET1.MaxLength = 19;
+            this.DT_ET1.MinimumSize = new System.Drawing.Size(63, 0);
+            this.DT_ET1.Name = "DT_ET1";
+            this.DT_ET1.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.DT_ET1.Size = new System.Drawing.Size(224, 29);
+            this.DT_ET1.SymbolDropDown = 61555;
+            this.DT_ET1.SymbolNormal = 61555;
+            this.DT_ET1.TabIndex = 1;
+            this.DT_ET1.Text = "2022-05-22 14:03:13";
+            this.DT_ET1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.DT_ET1.Value = new System.DateTime(2022, 5, 22, 14, 3, 13, 266);
+            this.DT_ET1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // DT_ST1
+            // 
+            this.DT_ST1.FillColor = System.Drawing.Color.White;
+            this.DT_ST1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.DT_ST1.Location = new System.Drawing.Point(25, 32);
+            this.DT_ST1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.DT_ST1.MaxLength = 19;
+            this.DT_ST1.MinimumSize = new System.Drawing.Size(63, 0);
+            this.DT_ST1.Name = "DT_ST1";
+            this.DT_ST1.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.DT_ST1.Size = new System.Drawing.Size(224, 29);
+            this.DT_ST1.SymbolDropDown = 61555;
+            this.DT_ST1.SymbolNormal = 61555;
+            this.DT_ST1.TabIndex = 0;
+            this.DT_ST1.Text = "2022-05-22 14:03:13";
+            this.DT_ST1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.DT_ST1.Value = new System.DateTime(2022, 5, 22, 14, 3, 13, 266);
+            this.DT_ST1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tab_FeeInfo
+            // 
+            this.tab_FeeInfo.Controls.Add(this.uiTitlePanel2);
+            this.tab_FeeInfo.Controls.Add(this.tt);
+            this.tab_FeeInfo.Controls.Add(this.uiPanel4);
+            this.tab_FeeInfo.Location = new System.Drawing.Point(0, 40);
+            this.tab_FeeInfo.Name = "tab_FeeInfo";
+            this.tab_FeeInfo.Size = new System.Drawing.Size(1368, 608);
+            this.tab_FeeInfo.TabIndex = 3;
+            this.tab_FeeInfo.Text = "患者费用信息上传";
+            this.tab_FeeInfo.UseVisualStyleBackColor = true;
+            // 
+            // uiTitlePanel2
+            // 
+            this.uiTitlePanel2.Controls.Add(this.dgvFeeInfo);
+            this.uiTitlePanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.uiTitlePanel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTitlePanel2.Location = new System.Drawing.Point(0, 240);
+            this.uiTitlePanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiTitlePanel2.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiTitlePanel2.Name = "uiTitlePanel2";
+            this.uiTitlePanel2.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
+            this.uiTitlePanel2.ShowText = false;
+            this.uiTitlePanel2.Size = new System.Drawing.Size(1368, 256);
+            this.uiTitlePanel2.TabIndex = 18;
+            this.uiTitlePanel2.Text = "结算费用明细信息(4303、4403、4801、4802)";
+            this.uiTitlePanel2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiTitlePanel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dgvFeeInfo
+            // 
+            this.dgvFeeInfo.AllowUserToAddRows = false;
+            this.dgvFeeInfo.AllowUserToDeleteRows = false;
+            dataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvFeeInfo.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle16;
+            this.dgvFeeInfo.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
+            this.dgvFeeInfo.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
+            this.dgvFeeInfo.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvFeeInfo.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle17.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle17.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle17.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvFeeInfo.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle17;
+            this.dgvFeeInfo.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle18.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle18.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle18.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle18.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvFeeInfo.DefaultCellStyle = dataGridViewCellStyle18;
+            this.dgvFeeInfo.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgvFeeInfo.EnableHeadersVisualStyles = false;
+            this.dgvFeeInfo.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgvFeeInfo.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
+            this.dgvFeeInfo.Location = new System.Drawing.Point(0, 35);
+            this.dgvFeeInfo.Name = "dgvFeeInfo";
+            dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle19.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle19.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle19.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvFeeInfo.RowHeadersDefaultCellStyle = dataGridViewCellStyle19;
+            dataGridViewCellStyle20.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle20.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle20.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle20.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            this.dgvFeeInfo.RowsDefaultCellStyle = dataGridViewCellStyle20;
+            this.dgvFeeInfo.RowTemplate.Height = 23;
+            this.dgvFeeInfo.SelectedIndex = -1;
+            this.dgvFeeInfo.Size = new System.Drawing.Size(1368, 221);
+            this.dgvFeeInfo.TabIndex = 17;
+            this.dgvFeeInfo.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tt
+            // 
+            this.tt.Controls.Add(this.dgvSettleData);
+            this.tt.Dock = System.Windows.Forms.DockStyle.Top;
+            this.tt.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tt.Location = new System.Drawing.Point(0, 0);
+            this.tt.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.tt.MinimumSize = new System.Drawing.Size(1, 1);
+            this.tt.Name = "tt";
+            this.tt.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
+            this.tt.ShowText = false;
+            this.tt.Size = new System.Drawing.Size(1368, 240);
+            this.tt.TabIndex = 17;
+            this.tt.Text = "医保结算信息(双击查看费用明细)";
+            this.tt.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.tt.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dgvSettleData
+            // 
+            this.dgvSettleData.AllowUserToAddRows = false;
+            this.dgvSettleData.AllowUserToDeleteRows = false;
+            dataGridViewCellStyle21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvSettleData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle21;
+            this.dgvSettleData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
+            this.dgvSettleData.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
+            this.dgvSettleData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvSettleData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle22.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle22.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle22.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle22.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvSettleData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle22;
+            this.dgvSettleData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle23.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle23.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle23.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle23.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle23.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvSettleData.DefaultCellStyle = dataGridViewCellStyle23;
+            this.dgvSettleData.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgvSettleData.EnableHeadersVisualStyles = false;
+            this.dgvSettleData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgvSettleData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
+            this.dgvSettleData.Location = new System.Drawing.Point(0, 35);
+            this.dgvSettleData.Name = "dgvSettleData";
+            dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle24.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle24.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle24.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle24.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvSettleData.RowHeadersDefaultCellStyle = dataGridViewCellStyle24;
+            dataGridViewCellStyle25.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle25.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle25.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle25.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle25.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            this.dgvSettleData.RowsDefaultCellStyle = dataGridViewCellStyle25;
+            this.dgvSettleData.RowTemplate.Height = 23;
+            this.dgvSettleData.SelectedIndex = -1;
+            this.dgvSettleData.Size = new System.Drawing.Size(1368, 205);
+            this.dgvSettleData.TabIndex = 17;
+            this.dgvSettleData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.dgvSettleData.DoubleClick += new System.EventHandler(this.dgvSettleData_DoubleClick);
+            // 
+            // uiPanel4
+            // 
+            this.uiPanel4.Controls.Add(this.rbg_Type);
+            this.uiPanel4.Controls.Add(this.tb_CertNo2);
+            this.uiPanel4.Controls.Add(this.uiLabel6);
+            this.uiPanel4.Controls.Add(this.uiButton5);
+            this.uiPanel4.Controls.Add(this.uiButton6);
+            this.uiPanel4.Controls.Add(this.uiButton7);
+            this.uiPanel4.Controls.Add(this.uiGroupBox3);
+            this.uiPanel4.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.uiPanel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiPanel4.Location = new System.Drawing.Point(0, 496);
+            this.uiPanel4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiPanel4.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiPanel4.Name = "uiPanel4";
+            this.uiPanel4.Size = new System.Drawing.Size(1368, 112);
+            this.uiPanel4.TabIndex = 15;
+            this.uiPanel4.Text = null;
+            this.uiPanel4.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiPanel4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // rbg_Type
+            // 
+            this.rbg_Type.ColumnCount = 2;
+            this.rbg_Type.Dock = System.Windows.Forms.DockStyle.Left;
+            this.rbg_Type.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.rbg_Type.Items.AddRange(new object[] {
+            "4303-门诊费用明细",
+            "4403-住院费用明细",
+            "4801-住院结算费用明细",
+            "4802-门诊结算费用明细"});
+            this.rbg_Type.ItemSize = new System.Drawing.Size(210, 35);
+            this.rbg_Type.Location = new System.Drawing.Point(269, 0);
+            this.rbg_Type.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.rbg_Type.MinimumSize = new System.Drawing.Size(1, 1);
+            this.rbg_Type.Name = "rbg_Type";
+            this.rbg_Type.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
+            this.rbg_Type.Size = new System.Drawing.Size(428, 112);
+            this.rbg_Type.TabIndex = 33;
+            this.rbg_Type.Text = "业务类型";
+            this.rbg_Type.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.rbg_Type.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tb_CertNo2
+            // 
+            this.tb_CertNo2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.tb_CertNo2.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.tb_CertNo2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tb_CertNo2.Location = new System.Drawing.Point(705, 47);
+            this.tb_CertNo2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.tb_CertNo2.MinimumSize = new System.Drawing.Size(1, 16);
+            this.tb_CertNo2.Name = "tb_CertNo2";
+            this.tb_CertNo2.ShowText = false;
+            this.tb_CertNo2.Size = new System.Drawing.Size(207, 29);
+            this.tb_CertNo2.TabIndex = 32;
+            this.tb_CertNo2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.tb_CertNo2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel6
+            // 
+            this.uiLabel6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel6.Location = new System.Drawing.Point(705, 19);
+            this.uiLabel6.Name = "uiLabel6";
+            this.uiLabel6.Size = new System.Drawing.Size(82, 23);
+            this.uiLabel6.TabIndex = 31;
+            this.uiLabel6.Text = "身份证号:";
+            this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel6.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiButton5
+            // 
+            this.uiButton5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton5.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton5.Location = new System.Drawing.Point(1139, 24);
+            this.uiButton5.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton5.Name = "uiButton5";
+            this.uiButton5.Size = new System.Drawing.Size(110, 67);
+            this.uiButton5.TabIndex = 27;
+            this.uiButton5.Text = "上    传";
+            this.uiButton5.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton5.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton5.Click += new System.EventHandler(this.uiButton5_Click);
+            // 
+            // uiButton6
+            // 
+            this.uiButton6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton6.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton6.Location = new System.Drawing.Point(1251, 24);
+            this.uiButton6.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton6.Name = "uiButton6";
+            this.uiButton6.Size = new System.Drawing.Size(110, 67);
+            this.uiButton6.TabIndex = 26;
+            this.uiButton6.Text = "退    出";
+            this.uiButton6.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton6.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton6.Click += new System.EventHandler(this.btnClose_Click);
+            // 
+            // uiButton7
+            // 
+            this.uiButton7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton7.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton7.Location = new System.Drawing.Point(1027, 24);
+            this.uiButton7.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton7.Name = "uiButton7";
+            this.uiButton7.Size = new System.Drawing.Size(110, 67);
+            this.uiButton7.TabIndex = 19;
+            this.uiButton7.Text = "查    询";
+            this.uiButton7.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton7.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton7.Click += new System.EventHandler(this.uiButton7_Click);
+            // 
+            // uiGroupBox3
+            // 
+            this.uiGroupBox3.Controls.Add(this.dpt_ET);
+            this.uiGroupBox3.Controls.Add(this.dpt_ST);
+            this.uiGroupBox3.Dock = System.Windows.Forms.DockStyle.Left;
+            this.uiGroupBox3.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiGroupBox3.Location = new System.Drawing.Point(0, 0);
+            this.uiGroupBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiGroupBox3.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiGroupBox3.Name = "uiGroupBox3";
+            this.uiGroupBox3.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
+            this.uiGroupBox3.Size = new System.Drawing.Size(269, 112);
+            this.uiGroupBox3.TabIndex = 20;
+            this.uiGroupBox3.Text = "起止时间";
+            this.uiGroupBox3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiGroupBox3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dpt_ET
+            // 
+            this.dpt_ET.FillColor = System.Drawing.Color.White;
+            this.dpt_ET.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dpt_ET.Location = new System.Drawing.Point(24, 69);
+            this.dpt_ET.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.dpt_ET.MaxLength = 19;
+            this.dpt_ET.MinimumSize = new System.Drawing.Size(63, 0);
+            this.dpt_ET.Name = "dpt_ET";
+            this.dpt_ET.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.dpt_ET.Size = new System.Drawing.Size(224, 29);
+            this.dpt_ET.SymbolDropDown = 61555;
+            this.dpt_ET.SymbolNormal = 61555;
+            this.dpt_ET.TabIndex = 1;
+            this.dpt_ET.Text = "2022-05-22 14:03:13";
+            this.dpt_ET.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.dpt_ET.Value = new System.DateTime(2022, 5, 22, 14, 3, 13, 266);
+            this.dpt_ET.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dpt_ST
+            // 
+            this.dpt_ST.FillColor = System.Drawing.Color.White;
+            this.dpt_ST.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dpt_ST.Location = new System.Drawing.Point(24, 30);
+            this.dpt_ST.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.dpt_ST.MaxLength = 19;
+            this.dpt_ST.MinimumSize = new System.Drawing.Size(63, 0);
+            this.dpt_ST.Name = "dpt_ST";
+            this.dpt_ST.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.dpt_ST.Size = new System.Drawing.Size(224, 29);
+            this.dpt_ST.SymbolDropDown = 61555;
+            this.dpt_ST.SymbolNormal = 61555;
+            this.dpt_ST.TabIndex = 0;
+            this.dpt_ST.Text = "2022-05-22 14:03:13";
+            this.dpt_ST.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.dpt_ST.Value = new System.DateTime(2022, 5, 22, 14, 3, 13, 266);
+            this.dpt_ST.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tabPage1
+            // 
+            this.tabPage1.Controls.Add(this.uiTabControl1);
+            this.tabPage1.Location = new System.Drawing.Point(0, 40);
+            this.tabPage1.Name = "tabPage1";
+            this.tabPage1.Size = new System.Drawing.Size(1368, 608);
+            this.tabPage1.TabIndex = 4;
+            this.tabPage1.Text = "医保药品鉴核数据采集上传";
+            this.tabPage1.UseVisualStyleBackColor = true;
+            // 
+            // uiTabControl1
+            // 
+            this.uiTabControl1.Controls.Add(this.tabPage2);
+            this.uiTabControl1.Controls.Add(this.tabPage3);
+            this.uiTabControl1.Controls.Add(this.tabPage4);
+            this.uiTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.uiTabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
+            this.uiTabControl1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTabControl1.ItemSize = new System.Drawing.Size(270, 40);
+            this.uiTabControl1.Location = new System.Drawing.Point(0, 0);
+            this.uiTabControl1.MainPage = "";
+            this.uiTabControl1.Name = "uiTabControl1";
+            this.uiTabControl1.SelectedIndex = 0;
+            this.uiTabControl1.Size = new System.Drawing.Size(1368, 608);
+            this.uiTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
+            this.uiTabControl1.TabIndex = 0;
+            this.uiTabControl1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTabControl1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tabPage2
+            // 
+            this.tabPage2.Controls.Add(this.uiTitlePanel4);
+            this.tabPage2.Controls.Add(this.uiTitlePanel3);
+            this.tabPage2.Controls.Add(this.uiPanel5);
+            this.tabPage2.Location = new System.Drawing.Point(0, 40);
+            this.tabPage2.Name = "tabPage2";
+            this.tabPage2.Size = new System.Drawing.Size(1368, 568);
+            this.tabPage2.TabIndex = 0;
+            this.tabPage2.Text = "【20001】事前鉴核服务";
+            this.tabPage2.UseVisualStyleBackColor = true;
+            // 
+            // uiTitlePanel4
+            // 
+            this.uiTitlePanel4.Controls.Add(this.uiTabControl2);
+            this.uiTitlePanel4.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.uiTitlePanel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTitlePanel4.Location = new System.Drawing.Point(0, 228);
+            this.uiTitlePanel4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiTitlePanel4.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiTitlePanel4.Name = "uiTitlePanel4";
+            this.uiTitlePanel4.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
+            this.uiTitlePanel4.ShowText = false;
+            this.uiTitlePanel4.Size = new System.Drawing.Size(1368, 267);
+            this.uiTitlePanel4.TabIndex = 17;
+            this.uiTitlePanel4.Text = "返回值信息";
+            this.uiTitlePanel4.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiTitlePanel4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiTabControl2
+            // 
+            this.uiTabControl2.Controls.Add(this.tabPage5);
+            this.uiTabControl2.Controls.Add(this.tabPage6);
+            this.uiTabControl2.Controls.Add(this.tabPage7);
+            this.uiTabControl2.Controls.Add(this.tabPage8);
+            this.uiTabControl2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.uiTabControl2.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
+            this.uiTabControl2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTabControl2.ItemSize = new System.Drawing.Size(210, 40);
+            this.uiTabControl2.Location = new System.Drawing.Point(0, 35);
+            this.uiTabControl2.MainPage = "";
+            this.uiTabControl2.Name = "uiTabControl2";
+            this.uiTabControl2.SelectedIndex = 0;
+            this.uiTabControl2.Size = new System.Drawing.Size(1368, 232);
+            this.uiTabControl2.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
+            this.uiTabControl2.TabIndex = 0;
+            this.uiTabControl2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTabControl2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tabPage5
+            // 
+            this.tabPage5.Controls.Add(this.dgvData);
+            this.tabPage5.Location = new System.Drawing.Point(0, 40);
+            this.tabPage5.Name = "tabPage5";
+            this.tabPage5.Size = new System.Drawing.Size(1368, 192);
+            this.tabPage5.TabIndex = 0;
+            this.tabPage5.Text = "提示信息-data";
+            this.tabPage5.UseVisualStyleBackColor = true;
+            // 
+            // dgvData
+            // 
+            this.dgvData.AllowUserToAddRows = false;
+            this.dgvData.AllowUserToDeleteRows = false;
+            dataGridViewCellStyle26.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle26;
+            this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
+            this.dgvData.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
+            this.dgvData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle27.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle27.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle27.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle27.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle27.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle27;
+            this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle28.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle28.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle28.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle28.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle28.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle28.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvData.DefaultCellStyle = dataGridViewCellStyle28;
+            this.dgvData.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgvData.EnableHeadersVisualStyles = false;
+            this.dgvData.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgvData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
+            this.dgvData.Location = new System.Drawing.Point(0, 0);
+            this.dgvData.Name = "dgvData";
+            dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle29.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle29.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle29.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle29.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle29.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle29.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvData.RowHeadersDefaultCellStyle = dataGridViewCellStyle29;
+            dataGridViewCellStyle30.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle30.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle30.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle30.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle30.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            this.dgvData.RowsDefaultCellStyle = dataGridViewCellStyle30;
+            this.dgvData.RowTemplate.Height = 23;
+            this.dgvData.SelectedIndex = -1;
+            this.dgvData.Size = new System.Drawing.Size(1368, 192);
+            this.dgvData.TabIndex = 15;
+            this.dgvData.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tabPage6
+            // 
+            this.tabPage6.Controls.Add(this.dgvVerifyResult);
+            this.tabPage6.Location = new System.Drawing.Point(0, 40);
+            this.tabPage6.Name = "tabPage6";
+            this.tabPage6.Size = new System.Drawing.Size(200, 0);
+            this.tabPage6.TabIndex = 1;
+            this.tabPage6.Text = "提示信息-verifyResult";
+            this.tabPage6.UseVisualStyleBackColor = true;
+            // 
+            // dgvVerifyResult
+            // 
+            this.dgvVerifyResult.AllowUserToAddRows = false;
+            this.dgvVerifyResult.AllowUserToDeleteRows = false;
+            dataGridViewCellStyle31.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvVerifyResult.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle31;
+            this.dgvVerifyResult.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
+            this.dgvVerifyResult.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
+            this.dgvVerifyResult.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvVerifyResult.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle32.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle32.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle32.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle32.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle32.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle32.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvVerifyResult.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle32;
+            this.dgvVerifyResult.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle33.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle33.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle33.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle33.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle33.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle33.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvVerifyResult.DefaultCellStyle = dataGridViewCellStyle33;
+            this.dgvVerifyResult.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgvVerifyResult.EnableHeadersVisualStyles = false;
+            this.dgvVerifyResult.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgvVerifyResult.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
+            this.dgvVerifyResult.Location = new System.Drawing.Point(0, 0);
+            this.dgvVerifyResult.Name = "dgvVerifyResult";
+            dataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle34.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle34.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle34.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle34.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle34.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle34.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvVerifyResult.RowHeadersDefaultCellStyle = dataGridViewCellStyle34;
+            dataGridViewCellStyle35.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle35.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle35.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle35.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle35.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            this.dgvVerifyResult.RowsDefaultCellStyle = dataGridViewCellStyle35;
+            this.dgvVerifyResult.RowTemplate.Height = 23;
+            this.dgvVerifyResult.SelectedIndex = -1;
+            this.dgvVerifyResult.Size = new System.Drawing.Size(200, 0);
+            this.dgvVerifyResult.TabIndex = 15;
+            this.dgvVerifyResult.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tabPage7
+            // 
+            this.tabPage7.Controls.Add(this.dgvTraceCodeVo);
+            this.tabPage7.Location = new System.Drawing.Point(0, 40);
+            this.tabPage7.Name = "tabPage7";
+            this.tabPage7.Size = new System.Drawing.Size(200, 0);
+            this.tabPage7.TabIndex = 2;
+            this.tabPage7.Text = "提示信息-traceCodeVo";
+            this.tabPage7.UseVisualStyleBackColor = true;
+            // 
+            // dgvTraceCodeVo
+            // 
+            this.dgvTraceCodeVo.AllowUserToAddRows = false;
+            this.dgvTraceCodeVo.AllowUserToDeleteRows = false;
+            dataGridViewCellStyle36.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvTraceCodeVo.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle36;
+            this.dgvTraceCodeVo.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
+            this.dgvTraceCodeVo.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
+            this.dgvTraceCodeVo.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvTraceCodeVo.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle37.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle37.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle37.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle37.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle37.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle37.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle37.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvTraceCodeVo.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle37;
+            this.dgvTraceCodeVo.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle38.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle38.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle38.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle38.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle38.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle38.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvTraceCodeVo.DefaultCellStyle = dataGridViewCellStyle38;
+            this.dgvTraceCodeVo.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgvTraceCodeVo.EnableHeadersVisualStyles = false;
+            this.dgvTraceCodeVo.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgvTraceCodeVo.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
+            this.dgvTraceCodeVo.Location = new System.Drawing.Point(0, 0);
+            this.dgvTraceCodeVo.Name = "dgvTraceCodeVo";
+            dataGridViewCellStyle39.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle39.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle39.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle39.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle39.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle39.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle39.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvTraceCodeVo.RowHeadersDefaultCellStyle = dataGridViewCellStyle39;
+            dataGridViewCellStyle40.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle40.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle40.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle40.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle40.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            this.dgvTraceCodeVo.RowsDefaultCellStyle = dataGridViewCellStyle40;
+            this.dgvTraceCodeVo.RowTemplate.Height = 23;
+            this.dgvTraceCodeVo.SelectedIndex = -1;
+            this.dgvTraceCodeVo.Size = new System.Drawing.Size(200, 0);
+            this.dgvTraceCodeVo.TabIndex = 15;
+            this.dgvTraceCodeVo.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tabPage8
+            // 
+            this.tabPage8.Controls.Add(this.dgvMedDrugInfo);
+            this.tabPage8.Location = new System.Drawing.Point(0, 40);
+            this.tabPage8.Name = "tabPage8";
+            this.tabPage8.Size = new System.Drawing.Size(200, 0);
+            this.tabPage8.TabIndex = 3;
+            this.tabPage8.Text = "提示信息-medDrugInfo";
+            this.tabPage8.UseVisualStyleBackColor = true;
+            // 
+            // dgvMedDrugInfo
+            // 
+            this.dgvMedDrugInfo.AllowUserToAddRows = false;
+            this.dgvMedDrugInfo.AllowUserToDeleteRows = false;
+            dataGridViewCellStyle41.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvMedDrugInfo.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle41;
+            this.dgvMedDrugInfo.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
+            this.dgvMedDrugInfo.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
+            this.dgvMedDrugInfo.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvMedDrugInfo.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle42.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle42.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle42.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle42.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle42.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle42.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvMedDrugInfo.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle42;
+            this.dgvMedDrugInfo.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle43.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle43.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle43.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle43.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle43.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle43.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvMedDrugInfo.DefaultCellStyle = dataGridViewCellStyle43;
+            this.dgvMedDrugInfo.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgvMedDrugInfo.EnableHeadersVisualStyles = false;
+            this.dgvMedDrugInfo.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgvMedDrugInfo.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
+            this.dgvMedDrugInfo.Location = new System.Drawing.Point(0, 0);
+            this.dgvMedDrugInfo.Name = "dgvMedDrugInfo";
+            dataGridViewCellStyle44.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle44.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle44.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle44.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle44.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle44.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle44.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvMedDrugInfo.RowHeadersDefaultCellStyle = dataGridViewCellStyle44;
+            dataGridViewCellStyle45.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle45.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle45.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle45.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle45.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            this.dgvMedDrugInfo.RowsDefaultCellStyle = dataGridViewCellStyle45;
+            this.dgvMedDrugInfo.RowTemplate.Height = 23;
+            this.dgvMedDrugInfo.SelectedIndex = -1;
+            this.dgvMedDrugInfo.Size = new System.Drawing.Size(200, 0);
+            this.dgvMedDrugInfo.TabIndex = 15;
+            this.dgvMedDrugInfo.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiTitlePanel3
+            // 
+            this.uiTitlePanel3.Controls.Add(this.dgvMedInsuMapRelation);
+            this.uiTitlePanel3.Dock = System.Windows.Forms.DockStyle.Top;
+            this.uiTitlePanel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTitlePanel3.Location = new System.Drawing.Point(0, 0);
+            this.uiTitlePanel3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiTitlePanel3.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiTitlePanel3.Name = "uiTitlePanel3";
+            this.uiTitlePanel3.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
+            this.uiTitlePanel3.ShowText = false;
+            this.uiTitlePanel3.Size = new System.Drawing.Size(1368, 228);
+            this.uiTitlePanel3.TabIndex = 16;
+            this.uiTitlePanel3.Text = "选中记录后点击上传按钮";
+            this.uiTitlePanel3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiTitlePanel3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dgvMedInsuMapRelation
+            // 
+            this.dgvMedInsuMapRelation.AllowUserToAddRows = false;
+            this.dgvMedInsuMapRelation.AllowUserToDeleteRows = false;
+            dataGridViewCellStyle46.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvMedInsuMapRelation.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle46;
+            this.dgvMedInsuMapRelation.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
+            this.dgvMedInsuMapRelation.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
+            this.dgvMedInsuMapRelation.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvMedInsuMapRelation.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle47.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle47.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle47.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle47.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle47.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle47.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle47.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvMedInsuMapRelation.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle47;
+            this.dgvMedInsuMapRelation.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle48.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle48.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle48.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle48.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle48.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle48.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle48.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvMedInsuMapRelation.DefaultCellStyle = dataGridViewCellStyle48;
+            this.dgvMedInsuMapRelation.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgvMedInsuMapRelation.EnableHeadersVisualStyles = false;
+            this.dgvMedInsuMapRelation.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgvMedInsuMapRelation.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
+            this.dgvMedInsuMapRelation.Location = new System.Drawing.Point(0, 35);
+            this.dgvMedInsuMapRelation.Name = "dgvMedInsuMapRelation";
+            dataGridViewCellStyle49.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle49.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle49.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle49.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle49.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle49.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle49.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvMedInsuMapRelation.RowHeadersDefaultCellStyle = dataGridViewCellStyle49;
+            dataGridViewCellStyle50.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle50.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle50.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle50.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle50.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            this.dgvMedInsuMapRelation.RowsDefaultCellStyle = dataGridViewCellStyle50;
+            this.dgvMedInsuMapRelation.RowTemplate.Height = 23;
+            this.dgvMedInsuMapRelation.SelectedIndex = -1;
+            this.dgvMedInsuMapRelation.Size = new System.Drawing.Size(1368, 193);
+            this.dgvMedInsuMapRelation.TabIndex = 14;
+            this.dgvMedInsuMapRelation.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiPanel5
+            // 
+            this.uiPanel5.Controls.Add(this.uiButton10);
+            this.uiPanel5.Controls.Add(this.uiButton8);
+            this.uiPanel5.Controls.Add(this.uiButton9);
+            this.uiPanel5.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.uiPanel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiPanel5.Location = new System.Drawing.Point(0, 495);
+            this.uiPanel5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiPanel5.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiPanel5.Name = "uiPanel5";
+            this.uiPanel5.Size = new System.Drawing.Size(1368, 73);
+            this.uiPanel5.TabIndex = 11;
+            this.uiPanel5.Text = null;
+            this.uiPanel5.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiPanel5.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiButton10
+            // 
+            this.uiButton10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton10.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton10.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton10.Location = new System.Drawing.Point(1129, 5);
+            this.uiButton10.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton10.Name = "uiButton10";
+            this.uiButton10.Size = new System.Drawing.Size(117, 62);
+            this.uiButton10.TabIndex = 28;
+            this.uiButton10.Text = "上    传";
+            this.uiButton10.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton10.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton10.Click += new System.EventHandler(this.uiButton10_Click);
+            // 
+            // uiButton8
+            // 
+            this.uiButton8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton8.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton8.Location = new System.Drawing.Point(1248, 5);
+            this.uiButton8.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton8.Name = "uiButton8";
+            this.uiButton8.Size = new System.Drawing.Size(117, 62);
+            this.uiButton8.TabIndex = 26;
+            this.uiButton8.Text = "退  出";
+            this.uiButton8.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton8.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton8.Click += new System.EventHandler(this.btnClose_Click);
+            // 
+            // uiButton9
+            // 
+            this.uiButton9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton9.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton9.Location = new System.Drawing.Point(1010, 5);
+            this.uiButton9.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton9.Name = "uiButton9";
+            this.uiButton9.Size = new System.Drawing.Size(117, 62);
+            this.uiButton9.TabIndex = 19;
+            this.uiButton9.Text = "查  询";
+            this.uiButton9.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton9.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton9.Click += new System.EventHandler(this.uiButton9_Click);
+            // 
+            // tabPage3
+            // 
+            this.tabPage3.Controls.Add(this.uiTitlePanel6);
+            this.tabPage3.Controls.Add(this.uiTitlePanel5);
+            this.tabPage3.Controls.Add(this.uiPanel7);
+            this.tabPage3.Location = new System.Drawing.Point(0, 40);
+            this.tabPage3.Name = "tabPage3";
+            this.tabPage3.Size = new System.Drawing.Size(1368, 568);
+            this.tabPage3.TabIndex = 1;
+            this.tabPage3.Text = "【20002】事后单据鉴核信息提报";
+            this.tabPage3.UseVisualStyleBackColor = true;
+            // 
+            // uiTitlePanel6
+            // 
+            this.uiTitlePanel6.Controls.Add(this.dgv_BillDetailInfo);
+            this.uiTitlePanel6.Dock = System.Windows.Forms.DockStyle.Top;
+            this.uiTitlePanel6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTitlePanel6.Location = new System.Drawing.Point(0, 218);
+            this.uiTitlePanel6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiTitlePanel6.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiTitlePanel6.Name = "uiTitlePanel6";
+            this.uiTitlePanel6.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
+            this.uiTitlePanel6.ShowText = false;
+            this.uiTitlePanel6.Size = new System.Drawing.Size(1368, 228);
+            this.uiTitlePanel6.TabIndex = 18;
+            this.uiTitlePanel6.Text = "单据药品明细信息-detail";
+            this.uiTitlePanel6.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiTitlePanel6.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dgv_BillDetailInfo
+            // 
+            this.dgv_BillDetailInfo.AllowUserToAddRows = false;
+            this.dgv_BillDetailInfo.AllowUserToDeleteRows = false;
+            dataGridViewCellStyle51.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgv_BillDetailInfo.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle51;
+            this.dgv_BillDetailInfo.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
+            this.dgv_BillDetailInfo.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
+            this.dgv_BillDetailInfo.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgv_BillDetailInfo.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle52.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle52.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle52.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle52.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle52.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle52.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle52.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgv_BillDetailInfo.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle52;
+            this.dgv_BillDetailInfo.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle53.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle53.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle53.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle53.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle53.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle53.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle53.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgv_BillDetailInfo.DefaultCellStyle = dataGridViewCellStyle53;
+            this.dgv_BillDetailInfo.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgv_BillDetailInfo.EnableHeadersVisualStyles = false;
+            this.dgv_BillDetailInfo.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgv_BillDetailInfo.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
+            this.dgv_BillDetailInfo.Location = new System.Drawing.Point(0, 35);
+            this.dgv_BillDetailInfo.Name = "dgv_BillDetailInfo";
+            dataGridViewCellStyle54.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle54.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle54.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle54.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle54.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle54.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle54.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgv_BillDetailInfo.RowHeadersDefaultCellStyle = dataGridViewCellStyle54;
+            dataGridViewCellStyle55.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle55.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle55.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle55.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle55.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            this.dgv_BillDetailInfo.RowsDefaultCellStyle = dataGridViewCellStyle55;
+            this.dgv_BillDetailInfo.RowTemplate.Height = 23;
+            this.dgv_BillDetailInfo.SelectedIndex = -1;
+            this.dgv_BillDetailInfo.Size = new System.Drawing.Size(1368, 193);
+            this.dgv_BillDetailInfo.TabIndex = 14;
+            this.dgv_BillDetailInfo.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiTitlePanel5
+            // 
+            this.uiTitlePanel5.Controls.Add(this.dgv_BillInfo);
+            this.uiTitlePanel5.Dock = System.Windows.Forms.DockStyle.Top;
+            this.uiTitlePanel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTitlePanel5.Location = new System.Drawing.Point(0, 0);
+            this.uiTitlePanel5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiTitlePanel5.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiTitlePanel5.Name = "uiTitlePanel5";
+            this.uiTitlePanel5.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
+            this.uiTitlePanel5.ShowText = false;
+            this.uiTitlePanel5.Size = new System.Drawing.Size(1368, 218);
+            this.uiTitlePanel5.TabIndex = 17;
+            this.uiTitlePanel5.Text = "销售单据信息-data(双击查看明细)";
+            this.uiTitlePanel5.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiTitlePanel5.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dgv_BillInfo
+            // 
+            this.dgv_BillInfo.AllowUserToAddRows = false;
+            this.dgv_BillInfo.AllowUserToDeleteRows = false;
+            dataGridViewCellStyle56.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgv_BillInfo.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle56;
+            this.dgv_BillInfo.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
+            this.dgv_BillInfo.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
+            this.dgv_BillInfo.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgv_BillInfo.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle57.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle57.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle57.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle57.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle57.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle57.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle57.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgv_BillInfo.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle57;
+            this.dgv_BillInfo.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle58.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle58.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle58.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle58.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle58.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle58.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle58.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgv_BillInfo.DefaultCellStyle = dataGridViewCellStyle58;
+            this.dgv_BillInfo.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgv_BillInfo.EnableHeadersVisualStyles = false;
+            this.dgv_BillInfo.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgv_BillInfo.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
+            this.dgv_BillInfo.Location = new System.Drawing.Point(0, 35);
+            this.dgv_BillInfo.Name = "dgv_BillInfo";
+            dataGridViewCellStyle59.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle59.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle59.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle59.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle59.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle59.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle59.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgv_BillInfo.RowHeadersDefaultCellStyle = dataGridViewCellStyle59;
+            dataGridViewCellStyle60.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle60.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle60.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle60.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle60.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            this.dgv_BillInfo.RowsDefaultCellStyle = dataGridViewCellStyle60;
+            this.dgv_BillInfo.RowTemplate.Height = 23;
+            this.dgv_BillInfo.SelectedIndex = -1;
+            this.dgv_BillInfo.Size = new System.Drawing.Size(1368, 183);
+            this.dgv_BillInfo.TabIndex = 15;
+            this.dgv_BillInfo.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.dgv_BillInfo.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_BillInfo_CellDoubleClick);
+            // 
+            // uiPanel7
+            // 
+            this.uiPanel7.Controls.Add(this.uiButton13);
+            this.uiPanel7.Controls.Add(this.uiButton14);
+            this.uiPanel7.Controls.Add(this.uiButton15);
+            this.uiPanel7.Controls.Add(this.uiGroupBox4);
+            this.uiPanel7.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.uiPanel7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiPanel7.Location = new System.Drawing.Point(0, 464);
+            this.uiPanel7.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiPanel7.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiPanel7.Name = "uiPanel7";
+            this.uiPanel7.Size = new System.Drawing.Size(1368, 104);
+            this.uiPanel7.TabIndex = 15;
+            this.uiPanel7.Text = null;
+            this.uiPanel7.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiPanel7.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiButton13
+            // 
+            this.uiButton13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton13.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton13.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton13.Location = new System.Drawing.Point(1139, 19);
+            this.uiButton13.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton13.Name = "uiButton13";
+            this.uiButton13.Size = new System.Drawing.Size(110, 67);
+            this.uiButton13.TabIndex = 27;
+            this.uiButton13.Text = "上    传";
+            this.uiButton13.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton13.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton13.Click += new System.EventHandler(this.uiButton13_Click);
+            // 
+            // uiButton14
+            // 
+            this.uiButton14.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton14.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton14.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton14.Location = new System.Drawing.Point(1252, 19);
+            this.uiButton14.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton14.Name = "uiButton14";
+            this.uiButton14.Size = new System.Drawing.Size(110, 67);
+            this.uiButton14.TabIndex = 26;
+            this.uiButton14.Text = "退    出";
+            this.uiButton14.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton14.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton14.Click += new System.EventHandler(this.btnClose_Click);
+            // 
+            // uiButton15
+            // 
+            this.uiButton15.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton15.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton15.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton15.Location = new System.Drawing.Point(1026, 19);
+            this.uiButton15.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton15.Name = "uiButton15";
+            this.uiButton15.Size = new System.Drawing.Size(110, 67);
+            this.uiButton15.TabIndex = 19;
+            this.uiButton15.Text = "查    询";
+            this.uiButton15.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton15.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton15.Click += new System.EventHandler(this.uiButton15_Click);
+            // 
+            // uiGroupBox4
+            // 
+            this.uiGroupBox4.Controls.Add(this.date_et);
+            this.uiGroupBox4.Controls.Add(this.date_st);
+            this.uiGroupBox4.Dock = System.Windows.Forms.DockStyle.Left;
+            this.uiGroupBox4.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiGroupBox4.Location = new System.Drawing.Point(0, 0);
+            this.uiGroupBox4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiGroupBox4.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiGroupBox4.Name = "uiGroupBox4";
+            this.uiGroupBox4.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
+            this.uiGroupBox4.Size = new System.Drawing.Size(272, 104);
+            this.uiGroupBox4.TabIndex = 20;
+            this.uiGroupBox4.Text = "查询时间";
+            this.uiGroupBox4.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiGroupBox4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // date_et
+            // 
+            this.date_et.FillColor = System.Drawing.Color.White;
+            this.date_et.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.date_et.Location = new System.Drawing.Point(27, 63);
+            this.date_et.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.date_et.MaxLength = 19;
+            this.date_et.MinimumSize = new System.Drawing.Size(63, 0);
+            this.date_et.Name = "date_et";
+            this.date_et.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.date_et.Size = new System.Drawing.Size(224, 29);
+            this.date_et.SymbolDropDown = 61555;
+            this.date_et.SymbolNormal = 61555;
+            this.date_et.TabIndex = 1;
+            this.date_et.Text = "2024-07-05 00:00:00";
+            this.date_et.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.date_et.Value = new System.DateTime(2024, 7, 5, 0, 0, 0, 0);
+            this.date_et.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // date_st
+            // 
+            this.date_st.FillColor = System.Drawing.Color.White;
+            this.date_st.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.date_st.Location = new System.Drawing.Point(27, 30);
+            this.date_st.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.date_st.MaxLength = 19;
+            this.date_st.MinimumSize = new System.Drawing.Size(63, 0);
+            this.date_st.Name = "date_st";
+            this.date_st.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.date_st.Size = new System.Drawing.Size(224, 29);
+            this.date_st.SymbolDropDown = 61555;
+            this.date_st.SymbolNormal = 61555;
+            this.date_st.TabIndex = 0;
+            this.date_st.Text = "2024-07-05 00:00:00";
+            this.date_st.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.date_st.Value = new System.DateTime(2024, 7, 5, 0, 0, 0, 0);
+            this.date_st.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tabPage4
+            // 
+            this.tabPage4.Controls.Add(this.uiPanel9);
+            this.tabPage4.Controls.Add(this.uiPanel6);
+            this.tabPage4.Location = new System.Drawing.Point(0, 40);
+            this.tabPage4.Name = "tabPage4";
+            this.tabPage4.Size = new System.Drawing.Size(200, 20);
+            this.tabPage4.TabIndex = 2;
+            this.tabPage4.Text = "【20003】销售单据退货";
+            this.tabPage4.UseVisualStyleBackColor = true;
+            // 
+            // uiPanel9
+            // 
+            this.uiPanel9.Controls.Add(this.dtTHSJ);
+            this.uiPanel9.Controls.Add(this.tbDJBH);
+            this.uiPanel9.Controls.Add(this.tbJGBM);
+            this.uiPanel9.Controls.Add(this.label3);
+            this.uiPanel9.Controls.Add(this.label2);
+            this.uiPanel9.Controls.Add(this.label1);
+            this.uiPanel9.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.uiPanel9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiPanel9.Location = new System.Drawing.Point(0, 0);
+            this.uiPanel9.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiPanel9.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiPanel9.Name = "uiPanel9";
+            this.uiPanel9.Size = new System.Drawing.Size(200, 1);
+            this.uiPanel9.TabIndex = 13;
+            this.uiPanel9.Text = null;
+            this.uiPanel9.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiPanel9.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dtTHSJ
+            // 
+            this.dtTHSJ.FillColor = System.Drawing.Color.White;
+            this.dtTHSJ.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dtTHSJ.Location = new System.Drawing.Point(604, 316);
+            this.dtTHSJ.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.dtTHSJ.MaxLength = 19;
+            this.dtTHSJ.MinimumSize = new System.Drawing.Size(63, 0);
+            this.dtTHSJ.Name = "dtTHSJ";
+            this.dtTHSJ.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.dtTHSJ.Size = new System.Drawing.Size(260, 29);
+            this.dtTHSJ.SymbolDropDown = 61555;
+            this.dtTHSJ.SymbolNormal = 61555;
+            this.dtTHSJ.TabIndex = 24;
+            this.dtTHSJ.Text = "2024-06-26 21:16:20";
+            this.dtTHSJ.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.dtTHSJ.Value = new System.DateTime(2024, 6, 26, 21, 16, 20, 828);
+            this.dtTHSJ.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tbDJBH
+            // 
+            this.tbDJBH.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.tbDJBH.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tbDJBH.Location = new System.Drawing.Point(604, 233);
+            this.tbDJBH.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.tbDJBH.MinimumSize = new System.Drawing.Size(1, 16);
+            this.tbDJBH.Name = "tbDJBH";
+            this.tbDJBH.ShowText = false;
+            this.tbDJBH.Size = new System.Drawing.Size(260, 29);
+            this.tbDJBH.TabIndex = 23;
+            this.tbDJBH.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.tbDJBH.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tbJGBM
+            // 
+            this.tbJGBM.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.tbJGBM.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tbJGBM.Location = new System.Drawing.Point(604, 150);
+            this.tbJGBM.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.tbJGBM.MinimumSize = new System.Drawing.Size(1, 16);
+            this.tbJGBM.Name = "tbJGBM";
+            this.tbJGBM.ShowText = false;
+            this.tbJGBM.Size = new System.Drawing.Size(260, 29);
+            this.tbJGBM.TabIndex = 22;
+            this.tbJGBM.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.tbJGBM.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // label3
+            // 
+            this.label3.AutoSize = true;
+            this.label3.Location = new System.Drawing.Point(504, 316);
+            this.label3.Name = "label3";
+            this.label3.Size = new System.Drawing.Size(74, 21);
+            this.label3.TabIndex = 21;
+            this.label3.Text = "退货时间";
+            // 
+            // label2
+            // 
+            this.label2.AutoSize = true;
+            this.label2.Location = new System.Drawing.Point(504, 233);
+            this.label2.Name = "label2";
+            this.label2.Size = new System.Drawing.Size(74, 21);
+            this.label2.TabIndex = 20;
+            this.label2.Text = "单据编号";
+            // 
+            // label1
+            // 
+            this.label1.AutoSize = true;
+            this.label1.Location = new System.Drawing.Point(504, 150);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(74, 21);
+            this.label1.TabIndex = 19;
+            this.label1.Text = "机构编码";
+            // 
+            // uiPanel6
+            // 
+            this.uiPanel6.Controls.Add(this.uiButton11);
+            this.uiPanel6.Controls.Add(this.uiButton12);
+            this.uiPanel6.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.uiPanel6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiPanel6.Location = new System.Drawing.Point(0, -53);
+            this.uiPanel6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiPanel6.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiPanel6.Name = "uiPanel6";
+            this.uiPanel6.Size = new System.Drawing.Size(200, 73);
+            this.uiPanel6.TabIndex = 12;
+            this.uiPanel6.Text = null;
+            this.uiPanel6.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiPanel6.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiButton11
+            // 
+            this.uiButton11.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton11.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton11.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton11.Location = new System.Drawing.Point(-39, 5);
+            this.uiButton11.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton11.Name = "uiButton11";
+            this.uiButton11.Size = new System.Drawing.Size(117, 62);
+            this.uiButton11.TabIndex = 28;
+            this.uiButton11.Text = "上    传";
+            this.uiButton11.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton11.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton11.Click += new System.EventHandler(this.uiButton11_Click);
+            // 
+            // uiButton12
+            // 
+            this.uiButton12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton12.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton12.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton12.Location = new System.Drawing.Point(80, 5);
+            this.uiButton12.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton12.Name = "uiButton12";
+            this.uiButton12.Size = new System.Drawing.Size(117, 62);
+            this.uiButton12.TabIndex = 26;
+            this.uiButton12.Text = "退  出";
+            this.uiButton12.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton12.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton12.Click += new System.EventHandler(this.btnClose_Click);
+            // 
+            // tb_10001
+            // 
+            this.tb_10001.Controls.Add(this.uiTitlePanel8);
+            this.tb_10001.Controls.Add(this.uiTitlePanel7);
+            this.tb_10001.Controls.Add(this.uiPanel8);
+            this.tb_10001.Location = new System.Drawing.Point(0, 40);
+            this.tb_10001.Name = "tb_10001";
+            this.tb_10001.Size = new System.Drawing.Size(1368, 608);
+            this.tb_10001.TabIndex = 5;
+            this.tb_10001.Text = "门诊处方风险提示";
+            this.tb_10001.UseVisualStyleBackColor = true;
+            // 
+            // uiTitlePanel8
+            // 
+            this.uiTitlePanel8.Controls.Add(this.dgv_PrescriptionInfo);
+            this.uiTitlePanel8.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.uiTitlePanel8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTitlePanel8.Location = new System.Drawing.Point(0, 277);
+            this.uiTitlePanel8.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiTitlePanel8.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiTitlePanel8.Name = "uiTitlePanel8";
+            this.uiTitlePanel8.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
+            this.uiTitlePanel8.ShowText = false;
+            this.uiTitlePanel8.Size = new System.Drawing.Size(1368, 227);
+            this.uiTitlePanel8.TabIndex = 18;
+            this.uiTitlePanel8.Text = "处方明细信息";
+            this.uiTitlePanel8.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiTitlePanel8.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dgv_PrescriptionInfo
+            // 
+            this.dgv_PrescriptionInfo.AllowUserToAddRows = false;
+            dataGridViewCellStyle61.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgv_PrescriptionInfo.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle61;
+            this.dgv_PrescriptionInfo.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgv_PrescriptionInfo.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle62.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle62.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle62.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle62.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle62.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle62.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle62.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgv_PrescriptionInfo.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle62;
+            this.dgv_PrescriptionInfo.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle63.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle63.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle63.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle63.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle63.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle63.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle63.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgv_PrescriptionInfo.DefaultCellStyle = dataGridViewCellStyle63;
+            this.dgv_PrescriptionInfo.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgv_PrescriptionInfo.EnableHeadersVisualStyles = false;
+            this.dgv_PrescriptionInfo.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgv_PrescriptionInfo.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
+            this.dgv_PrescriptionInfo.Location = new System.Drawing.Point(0, 35);
+            this.dgv_PrescriptionInfo.Name = "dgv_PrescriptionInfo";
+            dataGridViewCellStyle64.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle64.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle64.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle64.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle64.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle64.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle64.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgv_PrescriptionInfo.RowHeadersDefaultCellStyle = dataGridViewCellStyle64;
+            dataGridViewCellStyle65.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle65.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle65.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle65.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle65.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            this.dgv_PrescriptionInfo.RowsDefaultCellStyle = dataGridViewCellStyle65;
+            this.dgv_PrescriptionInfo.RowTemplate.Height = 23;
+            this.dgv_PrescriptionInfo.SelectedIndex = -1;
+            this.dgv_PrescriptionInfo.Size = new System.Drawing.Size(1368, 192);
+            this.dgv_PrescriptionInfo.TabIndex = 6;
+            this.dgv_PrescriptionInfo.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiTitlePanel7
+            // 
+            this.uiTitlePanel7.Controls.Add(this.dgv_HISRegInfo);
+            this.uiTitlePanel7.Dock = System.Windows.Forms.DockStyle.Top;
+            this.uiTitlePanel7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTitlePanel7.Location = new System.Drawing.Point(0, 0);
+            this.uiTitlePanel7.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiTitlePanel7.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiTitlePanel7.Name = "uiTitlePanel7";
+            this.uiTitlePanel7.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
+            this.uiTitlePanel7.ShowText = false;
+            this.uiTitlePanel7.Size = new System.Drawing.Size(1368, 277);
+            this.uiTitlePanel7.TabIndex = 17;
+            this.uiTitlePanel7.Text = "患者处方信息列表(双击查看处方明细信息)";
+            this.uiTitlePanel7.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiTitlePanel7.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dgv_HISRegInfo
+            // 
+            this.dgv_HISRegInfo.AllowUserToAddRows = false;
+            dataGridViewCellStyle66.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgv_HISRegInfo.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle66;
+            this.dgv_HISRegInfo.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgv_HISRegInfo.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle67.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle67.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle67.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle67.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle67.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle67.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle67.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgv_HISRegInfo.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle67;
+            this.dgv_HISRegInfo.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle68.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle68.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle68.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle68.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle68.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle68.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle68.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgv_HISRegInfo.DefaultCellStyle = dataGridViewCellStyle68;
+            this.dgv_HISRegInfo.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgv_HISRegInfo.EnableHeadersVisualStyles = false;
+            this.dgv_HISRegInfo.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgv_HISRegInfo.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
+            this.dgv_HISRegInfo.Location = new System.Drawing.Point(0, 35);
+            this.dgv_HISRegInfo.Name = "dgv_HISRegInfo";
+            dataGridViewCellStyle69.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle69.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle69.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle69.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle69.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle69.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle69.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgv_HISRegInfo.RowHeadersDefaultCellStyle = dataGridViewCellStyle69;
+            dataGridViewCellStyle70.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle70.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle70.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle70.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle70.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            this.dgv_HISRegInfo.RowsDefaultCellStyle = dataGridViewCellStyle70;
+            this.dgv_HISRegInfo.RowTemplate.Height = 23;
+            this.dgv_HISRegInfo.SelectedIndex = -1;
+            this.dgv_HISRegInfo.Size = new System.Drawing.Size(1368, 242);
+            this.dgv_HISRegInfo.TabIndex = 5;
+            this.dgv_HISRegInfo.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.dgv_HISRegInfo.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_HISRegInfo_CellDoubleClick);
+            // 
+            // uiPanel8
+            // 
+            this.uiPanel8.Controls.Add(this.tb_SFZH);
+            this.uiPanel8.Controls.Add(this.uiLabel9);
+            this.uiPanel8.Controls.Add(this.uiButton16);
+            this.uiPanel8.Controls.Add(this.uiButton17);
+            this.uiPanel8.Controls.Add(this.uiButton18);
+            this.uiPanel8.Controls.Add(this.uiGroupBox7);
+            this.uiPanel8.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.uiPanel8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiPanel8.Location = new System.Drawing.Point(0, 504);
+            this.uiPanel8.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiPanel8.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiPanel8.Name = "uiPanel8";
+            this.uiPanel8.Size = new System.Drawing.Size(1368, 104);
+            this.uiPanel8.TabIndex = 16;
+            this.uiPanel8.Text = null;
+            this.uiPanel8.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiPanel8.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tb_SFZH
+            // 
+            this.tb_SFZH.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.tb_SFZH.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.tb_SFZH.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tb_SFZH.Location = new System.Drawing.Point(290, 51);
+            this.tb_SFZH.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.tb_SFZH.MinimumSize = new System.Drawing.Size(1, 16);
+            this.tb_SFZH.Name = "tb_SFZH";
+            this.tb_SFZH.ShowText = false;
+            this.tb_SFZH.Size = new System.Drawing.Size(207, 29);
+            this.tb_SFZH.TabIndex = 34;
+            this.tb_SFZH.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.tb_SFZH.Watermark = "请输入身份证号";
+            this.tb_SFZH.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel9
+            // 
+            this.uiLabel9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.uiLabel9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel9.Location = new System.Drawing.Point(290, 23);
+            this.uiLabel9.Name = "uiLabel9";
+            this.uiLabel9.Size = new System.Drawing.Size(82, 23);
+            this.uiLabel9.TabIndex = 33;
+            this.uiLabel9.Text = "身份证号:";
+            this.uiLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel9.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiButton16
+            // 
+            this.uiButton16.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton16.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton16.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton16.Location = new System.Drawing.Point(1141, 23);
+            this.uiButton16.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton16.Name = "uiButton16";
+            this.uiButton16.Size = new System.Drawing.Size(110, 67);
+            this.uiButton16.TabIndex = 27;
+            this.uiButton16.Text = "上    传";
+            this.uiButton16.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton16.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton16.Click += new System.EventHandler(this.uiButton16_Click);
+            // 
+            // uiButton17
+            // 
+            this.uiButton17.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton17.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton17.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton17.Location = new System.Drawing.Point(1252, 23);
+            this.uiButton17.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton17.Name = "uiButton17";
+            this.uiButton17.Size = new System.Drawing.Size(110, 67);
+            this.uiButton17.TabIndex = 26;
+            this.uiButton17.Text = "退    出";
+            this.uiButton17.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton17.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton17.Click += new System.EventHandler(this.btnClose_Click);
+            // 
+            // uiButton18
+            // 
+            this.uiButton18.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton18.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton18.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton18.Location = new System.Drawing.Point(1030, 23);
+            this.uiButton18.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton18.Name = "uiButton18";
+            this.uiButton18.Size = new System.Drawing.Size(110, 67);
+            this.uiButton18.TabIndex = 19;
+            this.uiButton18.Text = "查    询";
+            this.uiButton18.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton18.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton18.Click += new System.EventHandler(this.uiButton18_Click);
+            // 
+            // uiGroupBox7
+            // 
+            this.uiGroupBox7.Controls.Add(this.dtp_et);
+            this.uiGroupBox7.Controls.Add(this.dtp_st);
+            this.uiGroupBox7.Dock = System.Windows.Forms.DockStyle.Left;
+            this.uiGroupBox7.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiGroupBox7.Location = new System.Drawing.Point(0, 0);
+            this.uiGroupBox7.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiGroupBox7.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiGroupBox7.Name = "uiGroupBox7";
+            this.uiGroupBox7.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
+            this.uiGroupBox7.Size = new System.Drawing.Size(272, 104);
+            this.uiGroupBox7.TabIndex = 20;
+            this.uiGroupBox7.Text = "查询时间";
+            this.uiGroupBox7.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiGroupBox7.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dtp_et
+            // 
+            this.dtp_et.FillColor = System.Drawing.Color.White;
+            this.dtp_et.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dtp_et.Location = new System.Drawing.Point(27, 63);
+            this.dtp_et.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.dtp_et.MaxLength = 19;
+            this.dtp_et.MinimumSize = new System.Drawing.Size(63, 0);
+            this.dtp_et.Name = "dtp_et";
+            this.dtp_et.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.dtp_et.Size = new System.Drawing.Size(224, 29);
+            this.dtp_et.SymbolDropDown = 61555;
+            this.dtp_et.SymbolNormal = 61555;
+            this.dtp_et.TabIndex = 1;
+            this.dtp_et.Text = "2024-07-05 00:00:00";
+            this.dtp_et.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.dtp_et.Value = new System.DateTime(2024, 7, 5, 0, 0, 0, 0);
+            this.dtp_et.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // dtp_st
+            // 
+            this.dtp_st.FillColor = System.Drawing.Color.White;
+            this.dtp_st.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dtp_st.Location = new System.Drawing.Point(27, 30);
+            this.dtp_st.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.dtp_st.MaxLength = 19;
+            this.dtp_st.MinimumSize = new System.Drawing.Size(63, 0);
+            this.dtp_st.Name = "dtp_st";
+            this.dtp_st.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.dtp_st.Size = new System.Drawing.Size(224, 29);
+            this.dtp_st.SymbolDropDown = 61555;
+            this.dtp_st.SymbolNormal = 61555;
+            this.dtp_st.TabIndex = 0;
+            this.dtp_st.Text = "2024-07-05 00:00:00";
+            this.dtp_st.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.dtp_st.Value = new System.DateTime(2024, 7, 5, 0, 0, 0, 0);
+            this.dtp_st.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // cbbRYCBLB
+            // 
+            this.cbbRYCBLB.DataSource = null;
+            this.cbbRYCBLB.FillColor = System.Drawing.Color.White;
+            this.cbbRYCBLB.FilterMaxCount = 50;
+            this.cbbRYCBLB.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cbbRYCBLB.Items.AddRange(new object[] {
+            "1024100-职工",
+            "1024200-居民",
+            "1024300-学生",
+            "1024400-异地人员"});
+            this.cbbRYCBLB.Location = new System.Drawing.Point(127, 30);
+            this.cbbRYCBLB.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.cbbRYCBLB.MinimumSize = new System.Drawing.Size(63, 0);
+            this.cbbRYCBLB.Name = "cbbRYCBLB";
+            this.cbbRYCBLB.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.cbbRYCBLB.Size = new System.Drawing.Size(230, 29);
+            this.cbbRYCBLB.TabIndex = 1;
+            this.cbbRYCBLB.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.cbbRYCBLB.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // cbbRYLB
+            // 
+            this.cbbRYLB.DataSource = null;
+            this.cbbRYLB.FillColor = System.Drawing.Color.White;
+            this.cbbRYLB.FilterMaxCount = 50;
+            this.cbbRYLB.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cbbRYLB.Items.AddRange(new object[] {
+            "1025100\t在职",
+            "1025200\t农民工",
+            "1025300\t退休人员",
+            "1025400\t离休",
+            "1025500\t居民(未成年)",
+            "1025600\t新生儿",
+            "1025700\t学龄前儿童",
+            "1025800\t中小学生",
+            "1025900\t大学生",
+            "1025110\t未成年(未入学)",
+            "1025111\t居民(成年)",
+            "1025112\t普通居民(成年)",
+            "1025113\t居民(老年)"});
+            this.cbbRYLB.Location = new System.Drawing.Point(127, 65);
+            this.cbbRYLB.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.cbbRYLB.MinimumSize = new System.Drawing.Size(63, 0);
+            this.cbbRYLB.Name = "cbbRYLB";
+            this.cbbRYLB.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.cbbRYLB.Size = new System.Drawing.Size(230, 29);
+            this.cbbRYLB.TabIndex = 3;
+            this.cbbRYLB.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.cbbRYLB.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // MedInsuQuery
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(1368, 648);
+            this.Controls.Add(this.tbcMain);
+            this.Name = "MedInsuQuery";
+            this.Text = "医保业务相关";
+            this.Load += new System.EventHandler(this.MedInsuQuery_Load);
+            this.tbcMain.ResumeLayout(false);
+            this.tabInHosPerInfoExport.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvSettlRecord)).EndInit();
+            this.uiPanel1.ResumeLayout(false);
+            this.gbDateTime.ResumeLayout(false);
+            this.tP_InsuFeel.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvInsuFeeUpload)).EndInit();
+            this.uiPanel2.ResumeLayout(false);
+            this.uiGroupBox1.ResumeLayout(false);
+            this.tb_4001.ResumeLayout(false);
+            this.uiTitlePanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgv_4001)).EndInit();
+            this.uiPanel3.ResumeLayout(false);
+            this.uiGroupBox2.ResumeLayout(false);
+            this.tab_FeeInfo.ResumeLayout(false);
+            this.uiTitlePanel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvFeeInfo)).EndInit();
+            this.tt.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvSettleData)).EndInit();
+            this.uiPanel4.ResumeLayout(false);
+            this.uiGroupBox3.ResumeLayout(false);
+            this.tabPage1.ResumeLayout(false);
+            this.uiTabControl1.ResumeLayout(false);
+            this.tabPage2.ResumeLayout(false);
+            this.uiTitlePanel4.ResumeLayout(false);
+            this.uiTabControl2.ResumeLayout(false);
+            this.tabPage5.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
+            this.tabPage6.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvVerifyResult)).EndInit();
+            this.tabPage7.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvTraceCodeVo)).EndInit();
+            this.tabPage8.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvMedDrugInfo)).EndInit();
+            this.uiTitlePanel3.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgvMedInsuMapRelation)).EndInit();
+            this.uiPanel5.ResumeLayout(false);
+            this.tabPage3.ResumeLayout(false);
+            this.uiTitlePanel6.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgv_BillDetailInfo)).EndInit();
+            this.uiTitlePanel5.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgv_BillInfo)).EndInit();
+            this.uiPanel7.ResumeLayout(false);
+            this.uiGroupBox4.ResumeLayout(false);
+            this.tabPage4.ResumeLayout(false);
+            this.uiPanel9.ResumeLayout(false);
+            this.uiPanel9.PerformLayout();
+            this.uiPanel6.ResumeLayout(false);
+            this.tb_10001.ResumeLayout(false);
+            this.uiTitlePanel8.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgv_PrescriptionInfo)).EndInit();
+            this.uiTitlePanel7.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dgv_HISRegInfo)).EndInit();
+            this.uiPanel8.ResumeLayout(false);
+            this.uiGroupBox7.ResumeLayout(false);
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private Sunny.UI.UITabControl tbcMain;
+        private System.Windows.Forms.TabPage tabInHosPerInfoExport;
+        public Sunny.UI.UIDataGridView dgvSettlRecord;
+        private Sunny.UI.UIPagination pgSettlRecod;
+        private Sunny.UI.UIPanel uiPanel1;
+        private Sunny.UI.UIButton btnClose;
+        private Sunny.UI.UIButton btnQuery;
+        private Sunny.UI.UIButton btnPrint;
+        private Sunny.UI.UIGroupBox gbDateTime;
+        private Sunny.UI.UIDatetimePicker dpED;
+        private Sunny.UI.UIDatetimePicker dpST;
+        private System.Windows.Forms.TabPage tP_InsuFeel;
+        public Sunny.UI.UIDataGridView dgvInsuFeeUpload;
+        private Sunny.UI.UIPanel uiPanel2;
+        private Sunny.UI.UIButton uiButton1;
+        private Sunny.UI.UIButton btnOK;
+        private Sunny.UI.UIGroupBox uiGroupBox1;
+        private Sunny.UI.UIDatetimePicker dt_ET;
+        private Sunny.UI.UIDatetimePicker dt_ST;
+        private Sunny.UI.UITextBox tb_SettleID;
+        private Sunny.UI.UITextBox tb_InHospNo;
+        private Sunny.UI.UILabel uiLabel2;
+        private Sunny.UI.UILabel uiLabel1;
+        private Sunny.UI.UIComboBox cbbOverPrice;
+        private Sunny.UI.UIComboBox cbbLevel;
+        private Sunny.UI.UILabel uiLabel4;
+        private Sunny.UI.UILabel uiLabel3;
+        private System.Windows.Forms.TabPage tb_4001;
+        private Sunny.UI.UIPanel uiPanel3;
+        private Sunny.UI.UIButton uiButton4;
+        private Sunny.UI.UIButton uiButton2;
+        private Sunny.UI.UIButton uiButton3;
+        private Sunny.UI.UIGroupBox uiGroupBox2;
+        private Sunny.UI.UIDatetimePicker DT_ET1;
+        private Sunny.UI.UIDatetimePicker DT_ST1;
+        private Sunny.UI.UITextBox tb_CertNo;
+        private Sunny.UI.UILabel uiLabel5;
+        private System.Windows.Forms.TabPage tab_FeeInfo;
+        private Sunny.UI.UIPanel uiPanel4;
+        private Sunny.UI.UITextBox tb_CertNo2;
+        private Sunny.UI.UILabel uiLabel6;
+        private Sunny.UI.UIButton uiButton5;
+        private Sunny.UI.UIButton uiButton6;
+        private Sunny.UI.UIButton uiButton7;
+        private Sunny.UI.UIGroupBox uiGroupBox3;
+        private Sunny.UI.UIDatetimePicker dpt_ET;
+        private Sunny.UI.UIDatetimePicker dpt_ST;
+        private Sunny.UI.UITitlePanel uiTitlePanel2;
+        public Sunny.UI.UIDataGridView dgvFeeInfo;
+        private Sunny.UI.UITitlePanel tt;
+        public Sunny.UI.UIDataGridView dgvSettleData;
+        private Sunny.UI.UIRadioButtonGroup rbg_Type;
+        private Sunny.UI.UITitlePanel uiTitlePanel1;
+        public Sunny.UI.UIDataGridView dgv_4001;
+        private System.Windows.Forms.TabPage tabPage1;
+        private Sunny.UI.UITabControl uiTabControl1;
+        private System.Windows.Forms.TabPage tabPage2;
+        private System.Windows.Forms.TabPage tabPage3;
+        private System.Windows.Forms.TabPage tabPage4;
+        private Sunny.UI.UITitlePanel uiTitlePanel3;
+        public Sunny.UI.UIDataGridView dgvMedInsuMapRelation;
+        private Sunny.UI.UIPanel uiPanel5;
+        private Sunny.UI.UIButton uiButton8;
+        private Sunny.UI.UIButton uiButton9;
+        private Sunny.UI.UIButton uiButton10;
+        private Sunny.UI.UITitlePanel uiTitlePanel4;
+        private Sunny.UI.UITabControl uiTabControl2;
+        private System.Windows.Forms.TabPage tabPage5;
+        public Sunny.UI.UIDataGridView dgvData;
+        private System.Windows.Forms.TabPage tabPage6;
+        public Sunny.UI.UIDataGridView dgvVerifyResult;
+        private System.Windows.Forms.TabPage tabPage7;
+        public Sunny.UI.UIDataGridView dgvTraceCodeVo;
+        private System.Windows.Forms.TabPage tabPage8;
+        public Sunny.UI.UIDataGridView dgvMedDrugInfo;
+        private Sunny.UI.UIPanel uiPanel6;
+        private Sunny.UI.UIButton uiButton11;
+        private Sunny.UI.UIButton uiButton12;
+        private Sunny.UI.UIPanel uiPanel7;
+        private Sunny.UI.UIButton uiButton13;
+        private Sunny.UI.UIButton uiButton14;
+        private Sunny.UI.UIButton uiButton15;
+        private Sunny.UI.UIGroupBox uiGroupBox4;
+        private Sunny.UI.UIDatetimePicker date_et;
+        private Sunny.UI.UIDatetimePicker date_st;
+        private Sunny.UI.UITitlePanel uiTitlePanel6;
+        public Sunny.UI.UIDataGridView dgv_BillDetailInfo;
+        private Sunny.UI.UITitlePanel uiTitlePanel5;
+        private System.Windows.Forms.TabPage tb_10001;
+        private Sunny.UI.UIPanel uiPanel8;
+        private Sunny.UI.UIButton uiButton16;
+        private Sunny.UI.UIButton uiButton17;
+        private Sunny.UI.UIButton uiButton18;
+        private Sunny.UI.UIGroupBox uiGroupBox7;
+        private Sunny.UI.UIDatetimePicker dtp_et;
+        private Sunny.UI.UIDatetimePicker dtp_st;
+        private Sunny.UI.UITextBox tb_SFZH;
+        private Sunny.UI.UILabel uiLabel9;
+        private Sunny.UI.UITitlePanel uiTitlePanel8;
+        private Sunny.UI.UITitlePanel uiTitlePanel7;
+        private Sunny.UI.UIDataGridView dgv_HISRegInfo;
+        private Sunny.UI.UIDataGridView dgv_PrescriptionInfo;
+        public Sunny.UI.UIDataGridView dgv_BillInfo;
+        private Sunny.UI.UIPanel uiPanel9;
+        private Sunny.UI.UIDatetimePicker dtTHSJ;
+        private Sunny.UI.UITextBox tbDJBH;
+        private Sunny.UI.UITextBox tbJGBM;
+        private System.Windows.Forms.Label label3;
+        private System.Windows.Forms.Label label2;
+        private System.Windows.Forms.Label label1;
+        private Sunny.UI.UIComboBox cbbRYCBLB;
+        private Sunny.UI.UIComboBox cbbRYLB;
+    }
+}

+ 120 - 0
Forms/MedInsuQuery.resx

@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 381 - 0
Forms/SaleBillInfo.Designer.cs

@@ -0,0 +1,381 @@
+
+namespace PTMedicalInsurance.Forms
+{
+    partial class SaleBillInfo
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.uiTitlePanel1 = new Sunny.UI.UITitlePanel();
+            this.cbb_CLBS = new Sunny.UI.UIComboBox();
+            this.uiLabel8 = new Sunny.UI.UILabel();
+            this.tb_SCPC = new Sunny.UI.UITextBox();
+            this.uiLabel7 = new Sunny.UI.UILabel();
+            this.uiLabel6 = new Sunny.UI.UILabel();
+            this.tb_YPLSJG = new Sunny.UI.UITextBox();
+            this.uiLabel5 = new Sunny.UI.UILabel();
+            this.tb_CBXSSL = new Sunny.UI.UITextBox();
+            this.uiLabel4 = new Sunny.UI.UILabel();
+            this.uiLabel3 = new Sunny.UI.UILabel();
+            this.tb_YBYPMC = new Sunny.UI.UITextBox();
+            this.uiLabel2 = new Sunny.UI.UILabel();
+            this.tb_YBYPBM = new Sunny.UI.UITextBox();
+            this.tb_ZSM = new Sunny.UI.UITextBox();
+            this.uiLabel1 = new Sunny.UI.UILabel();
+            this.tb_JRZDBS = new Sunny.UI.UITextBox();
+            this.uiPanel1 = new Sunny.UI.UIPanel();
+            this.uiButton8 = new Sunny.UI.UIButton();
+            this.uiButton9 = new Sunny.UI.UIButton();
+            this.uiTitlePanel1.SuspendLayout();
+            this.uiPanel1.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // uiTitlePanel1
+            // 
+            this.uiTitlePanel1.Controls.Add(this.cbb_CLBS);
+            this.uiTitlePanel1.Controls.Add(this.uiLabel8);
+            this.uiTitlePanel1.Controls.Add(this.tb_SCPC);
+            this.uiTitlePanel1.Controls.Add(this.uiLabel7);
+            this.uiTitlePanel1.Controls.Add(this.uiLabel6);
+            this.uiTitlePanel1.Controls.Add(this.tb_YPLSJG);
+            this.uiTitlePanel1.Controls.Add(this.uiLabel5);
+            this.uiTitlePanel1.Controls.Add(this.tb_CBXSSL);
+            this.uiTitlePanel1.Controls.Add(this.uiLabel4);
+            this.uiTitlePanel1.Controls.Add(this.uiLabel3);
+            this.uiTitlePanel1.Controls.Add(this.tb_YBYPMC);
+            this.uiTitlePanel1.Controls.Add(this.uiLabel2);
+            this.uiTitlePanel1.Controls.Add(this.tb_YBYPBM);
+            this.uiTitlePanel1.Controls.Add(this.tb_ZSM);
+            this.uiTitlePanel1.Controls.Add(this.uiLabel1);
+            this.uiTitlePanel1.Controls.Add(this.tb_JRZDBS);
+            this.uiTitlePanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.uiTitlePanel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTitlePanel1.Location = new System.Drawing.Point(0, 0);
+            this.uiTitlePanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiTitlePanel1.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiTitlePanel1.Name = "uiTitlePanel1";
+            this.uiTitlePanel1.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
+            this.uiTitlePanel1.ShowText = false;
+            this.uiTitlePanel1.Size = new System.Drawing.Size(510, 450);
+            this.uiTitlePanel1.TabIndex = 0;
+            this.uiTitlePanel1.Text = "销售单据信息";
+            this.uiTitlePanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiTitlePanel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // cbb_CLBS
+            // 
+            this.cbb_CLBS.DataSource = null;
+            this.cbb_CLBS.FillColor = System.Drawing.Color.White;
+            this.cbb_CLBS.FilterMaxCount = 50;
+            this.cbb_CLBS.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cbb_CLBS.Items.AddRange(new object[] {
+            "1008100-整包",
+            "1008200-拆包"});
+            this.cbb_CLBS.Location = new System.Drawing.Point(168, 212);
+            this.cbb_CLBS.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.cbb_CLBS.MinimumSize = new System.Drawing.Size(63, 0);
+            this.cbb_CLBS.Name = "cbb_CLBS";
+            this.cbb_CLBS.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.cbb_CLBS.Size = new System.Drawing.Size(305, 29);
+            this.cbb_CLBS.TabIndex = 8;
+            this.cbb_CLBS.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.cbb_CLBS.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.cbb_CLBS.SelectedIndexChanged += new System.EventHandler(this.cbb_CLBS_SelectedIndexChanged);
+            // 
+            // uiLabel8
+            // 
+            this.uiLabel8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel8.Location = new System.Drawing.Point(39, 329);
+            this.uiLabel8.Name = "uiLabel8";
+            this.uiLabel8.Size = new System.Drawing.Size(108, 23);
+            this.uiLabel8.TabIndex = 7;
+            this.uiLabel8.Text = "生产批次";
+            this.uiLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel8.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tb_SCPC
+            // 
+            this.tb_SCPC.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.tb_SCPC.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tb_SCPC.Location = new System.Drawing.Point(168, 329);
+            this.tb_SCPC.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.tb_SCPC.MinimumSize = new System.Drawing.Size(1, 16);
+            this.tb_SCPC.Name = "tb_SCPC";
+            this.tb_SCPC.ShowText = false;
+            this.tb_SCPC.Size = new System.Drawing.Size(305, 29);
+            this.tb_SCPC.TabIndex = 6;
+            this.tb_SCPC.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.tb_SCPC.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel7
+            // 
+            this.uiLabel7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel7.Location = new System.Drawing.Point(39, 290);
+            this.uiLabel7.Name = "uiLabel7";
+            this.uiLabel7.Size = new System.Drawing.Size(108, 23);
+            this.uiLabel7.TabIndex = 5;
+            this.uiLabel7.Text = "药品零售价格";
+            this.uiLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel7.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel6
+            // 
+            this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel6.Location = new System.Drawing.Point(39, 251);
+            this.uiLabel6.Name = "uiLabel6";
+            this.uiLabel6.Size = new System.Drawing.Size(108, 23);
+            this.uiLabel6.TabIndex = 5;
+            this.uiLabel6.Text = "拆包销售数量";
+            this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel6.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tb_YPLSJG
+            // 
+            this.tb_YPLSJG.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.tb_YPLSJG.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tb_YPLSJG.Location = new System.Drawing.Point(168, 290);
+            this.tb_YPLSJG.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.tb_YPLSJG.MinimumSize = new System.Drawing.Size(1, 16);
+            this.tb_YPLSJG.Name = "tb_YPLSJG";
+            this.tb_YPLSJG.ShowText = false;
+            this.tb_YPLSJG.Size = new System.Drawing.Size(305, 29);
+            this.tb_YPLSJG.TabIndex = 4;
+            this.tb_YPLSJG.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.tb_YPLSJG.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel5
+            // 
+            this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel5.Location = new System.Drawing.Point(39, 212);
+            this.uiLabel5.Name = "uiLabel5";
+            this.uiLabel5.Size = new System.Drawing.Size(108, 23);
+            this.uiLabel5.TabIndex = 5;
+            this.uiLabel5.Text = "拆零标识";
+            this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel5.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tb_CBXSSL
+            // 
+            this.tb_CBXSSL.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.tb_CBXSSL.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tb_CBXSSL.Location = new System.Drawing.Point(168, 251);
+            this.tb_CBXSSL.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.tb_CBXSSL.MinimumSize = new System.Drawing.Size(1, 16);
+            this.tb_CBXSSL.Name = "tb_CBXSSL";
+            this.tb_CBXSSL.ShowText = false;
+            this.tb_CBXSSL.Size = new System.Drawing.Size(305, 29);
+            this.tb_CBXSSL.TabIndex = 4;
+            this.tb_CBXSSL.Text = "0";
+            this.tb_CBXSSL.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.tb_CBXSSL.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel4
+            // 
+            this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel4.Location = new System.Drawing.Point(39, 173);
+            this.uiLabel4.Name = "uiLabel4";
+            this.uiLabel4.Size = new System.Drawing.Size(108, 23);
+            this.uiLabel4.TabIndex = 5;
+            this.uiLabel4.Text = "医保药品名称";
+            this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel3
+            // 
+            this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel3.Location = new System.Drawing.Point(39, 134);
+            this.uiLabel3.Name = "uiLabel3";
+            this.uiLabel3.Size = new System.Drawing.Size(108, 23);
+            this.uiLabel3.TabIndex = 5;
+            this.uiLabel3.Text = "医保药品编号";
+            this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tb_YBYPMC
+            // 
+            this.tb_YBYPMC.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.tb_YBYPMC.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tb_YBYPMC.Location = new System.Drawing.Point(168, 173);
+            this.tb_YBYPMC.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.tb_YBYPMC.MinimumSize = new System.Drawing.Size(1, 16);
+            this.tb_YBYPMC.Name = "tb_YBYPMC";
+            this.tb_YBYPMC.ShowText = false;
+            this.tb_YBYPMC.Size = new System.Drawing.Size(305, 29);
+            this.tb_YBYPMC.TabIndex = 4;
+            this.tb_YBYPMC.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.tb_YBYPMC.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel2
+            // 
+            this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel2.Location = new System.Drawing.Point(39, 95);
+            this.uiLabel2.Name = "uiLabel2";
+            this.uiLabel2.Size = new System.Drawing.Size(108, 23);
+            this.uiLabel2.TabIndex = 5;
+            this.uiLabel2.Text = "追溯码";
+            this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tb_YBYPBM
+            // 
+            this.tb_YBYPBM.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.tb_YBYPBM.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tb_YBYPBM.Location = new System.Drawing.Point(168, 134);
+            this.tb_YBYPBM.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.tb_YBYPBM.MinimumSize = new System.Drawing.Size(1, 16);
+            this.tb_YBYPBM.Name = "tb_YBYPBM";
+            this.tb_YBYPBM.ShowText = false;
+            this.tb_YBYPBM.Size = new System.Drawing.Size(305, 29);
+            this.tb_YBYPBM.TabIndex = 4;
+            this.tb_YBYPBM.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.tb_YBYPBM.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tb_ZSM
+            // 
+            this.tb_ZSM.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.tb_ZSM.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tb_ZSM.Location = new System.Drawing.Point(168, 95);
+            this.tb_ZSM.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.tb_ZSM.MinimumSize = new System.Drawing.Size(1, 16);
+            this.tb_ZSM.Name = "tb_ZSM";
+            this.tb_ZSM.ShowText = false;
+            this.tb_ZSM.Size = new System.Drawing.Size(305, 29);
+            this.tb_ZSM.TabIndex = 4;
+            this.tb_ZSM.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.tb_ZSM.Watermark = "非必填当追溯码为空时生产批次必须有值";
+            this.tb_ZSM.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel1
+            // 
+            this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel1.Location = new System.Drawing.Point(39, 56);
+            this.uiLabel1.Name = "uiLabel1";
+            this.uiLabel1.Size = new System.Drawing.Size(108, 23);
+            this.uiLabel1.TabIndex = 3;
+            this.uiLabel1.Text = "接入终端标识";
+            this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tb_JRZDBS
+            // 
+            this.tb_JRZDBS.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.tb_JRZDBS.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.tb_JRZDBS.Location = new System.Drawing.Point(168, 56);
+            this.tb_JRZDBS.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.tb_JRZDBS.MinimumSize = new System.Drawing.Size(1, 16);
+            this.tb_JRZDBS.Name = "tb_JRZDBS";
+            this.tb_JRZDBS.ShowText = false;
+            this.tb_JRZDBS.Size = new System.Drawing.Size(305, 29);
+            this.tb_JRZDBS.TabIndex = 0;
+            this.tb_JRZDBS.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.tb_JRZDBS.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiPanel1
+            // 
+            this.uiPanel1.Controls.Add(this.uiButton8);
+            this.uiPanel1.Controls.Add(this.uiButton9);
+            this.uiPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiPanel1.Location = new System.Drawing.Point(0, 383);
+            this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiPanel1.Name = "uiPanel1";
+            this.uiPanel1.Size = new System.Drawing.Size(510, 67);
+            this.uiPanel1.TabIndex = 1;
+            this.uiPanel1.Text = null;
+            this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiPanel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiButton8
+            // 
+            this.uiButton8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton8.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton8.Location = new System.Drawing.Point(389, 7);
+            this.uiButton8.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton8.Name = "uiButton8";
+            this.uiButton8.Size = new System.Drawing.Size(115, 53);
+            this.uiButton8.TabIndex = 28;
+            this.uiButton8.Text = "取    消";
+            this.uiButton8.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton8.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton8.Click += new System.EventHandler(this.uiButton8_Click);
+            // 
+            // uiButton9
+            // 
+            this.uiButton9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiButton9.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton9.Location = new System.Drawing.Point(271, 7);
+            this.uiButton9.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton9.Name = "uiButton9";
+            this.uiButton9.Size = new System.Drawing.Size(115, 53);
+            this.uiButton9.TabIndex = 27;
+            this.uiButton9.Text = "确    定";
+            this.uiButton9.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton9.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton9.Click += new System.EventHandler(this.uiButton9_Click);
+            // 
+            // SaleBillInfo
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(510, 450);
+            this.Controls.Add(this.uiPanel1);
+            this.Controls.Add(this.uiTitlePanel1);
+            this.Name = "SaleBillInfo";
+            this.Text = "销售单据信息";
+            this.Load += new System.EventHandler(this.SaleBillInfo_Load);
+            this.uiTitlePanel1.ResumeLayout(false);
+            this.uiPanel1.ResumeLayout(false);
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private Sunny.UI.UITitlePanel uiTitlePanel1;
+        private Sunny.UI.UIPanel uiPanel1;
+        private Sunny.UI.UIButton uiButton8;
+        private Sunny.UI.UIButton uiButton9;
+        private Sunny.UI.UIComboBox cbb_CLBS;
+        private Sunny.UI.UILabel uiLabel8;
+        private Sunny.UI.UITextBox tb_SCPC;
+        private Sunny.UI.UILabel uiLabel7;
+        private Sunny.UI.UILabel uiLabel6;
+        private Sunny.UI.UITextBox tb_YPLSJG;
+        private Sunny.UI.UILabel uiLabel5;
+        private Sunny.UI.UITextBox tb_CBXSSL;
+        private Sunny.UI.UILabel uiLabel4;
+        private Sunny.UI.UILabel uiLabel3;
+        private Sunny.UI.UITextBox tb_YBYPMC;
+        private Sunny.UI.UILabel uiLabel2;
+        private Sunny.UI.UITextBox tb_YBYPBM;
+        private Sunny.UI.UITextBox tb_ZSM;
+        private Sunny.UI.UILabel uiLabel1;
+        private Sunny.UI.UITextBox tb_JRZDBS;
+    }
+}

+ 92 - 0
Forms/SaleBillInfo.cs

@@ -0,0 +1,92 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using PTMedicalInsurance.Variables;
+
+namespace PTMedicalInsurance.Forms
+{
+    public partial class SaleBillInfo : Form
+    {
+        public string entId, code, medicalDrugId, salePkg, unpackCount, drugSalePrice, batchNo;
+
+        private void SaleBillInfo_Load(object sender, EventArgs e)
+        {
+            cbb_CLBS.SelectedIndex = 0;
+            tb_CBXSSL.Text = "0";
+        }
+
+        private void cbb_CLBS_SelectedIndexChanged(object sender, EventArgs e)
+        {
+            if (cbb_CLBS.SelectedIndex == 0)
+            {
+                tb_CBXSSL.Text = "0";
+            }
+            else
+            {
+                tb_CBXSSL.Text = "";
+            }
+        }
+
+        public SaleBillInfo()
+        {
+            InitializeComponent();
+        }
+
+        public SaleBillInfo(string InsuCode,string InsuName)
+        {
+            InitializeComponent();
+            tb_YBYPBM.Text = InsuCode;
+            tb_YBYPMC.Text = InsuName;
+            tb_JRZDBS.Text = Global.inf.hospitalNO;
+        }
+
+        private void uiButton8_Click(object sender, EventArgs e)
+        {
+            DialogResult = DialogResult.Cancel;
+        }
+
+        private void uiButton9_Click(object sender, EventArgs e)
+        {
+            entId = tb_JRZDBS.Text;
+            code = tb_ZSM.Text;
+            medicalDrugId = tb_YBYPBM.Text;
+            salePkg = cbb_CLBS.Text.Substring(0, 7);
+            unpackCount = tb_CBXSSL.Text;
+            drugSalePrice = tb_YPLSJG.Text;
+            batchNo = tb_SCPC.Text;
+
+            if ((code == "") && (batchNo == ""))            
+            {
+                MessageBox.Show("当【追溯码】为空时,【生产批次】必须有值!");
+                return;
+            }
+
+            decimal count;
+            count = decimal.Parse(unpackCount);
+            if (cbb_CLBS.SelectedIndex != 0)            
+            {
+                if ((count <= 0) || (unpackCount == ""))                
+                {
+                    MessageBox.Show("整包销售时【拆包销售数量】传0,拆零销售时【拆包销售数量】传大于0的整数!");
+                    return;
+                }
+            }
+
+            decimal price;
+            price = decimal.Parse(drugSalePrice);
+            if ((price <= 0) || (drugSalePrice == ""))            
+            {
+                MessageBox.Show("【药品零售价格】无效!");
+                return;
+            }
+
+            DialogResult = DialogResult.OK;
+        }
+    }
+}

+ 120 - 0
Forms/SaleBillInfo.resx

@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 22 - 5
HeFeiMI.csproj

@@ -40,22 +40,21 @@
       <HintPath>..\..\原来的代码\FastReportFrom\bin\Debug\FastReport.dll</HintPath>
     </Reference>
     <Reference Include="FastReportFrom">
-      <HintPath>..\..\原来的代码\FastReportFrom\bin\Debug\FastReportFrom.dll</HintPath>
+      <HintPath>..\..\甘肃基线版医保\GanSuMI\bin\Debug\FastReportFrom.dll</HintPath>
     </Reference>
     <Reference Include="Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
       <HintPath>packages\Microsoft.Office.Interop.Excel.15.0.4795.1001\lib\net20\Microsoft.Office.Interop.Excel.dll</HintPath>
       <EmbedInteropTypes>True</EmbedInteropTypes>
     </Reference>
-    <Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\Demo\bin\Debug-ChongQing\Newtonsoft.Json.dll</HintPath>
+    <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
+      <HintPath>packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
     </Reference>
     <Reference Include="Office, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
       <HintPath>packages\Microsoft.Office.Excel.14.0.4760.1000\lib\net20\Office.dll</HintPath>
       <EmbedInteropTypes>True</EmbedInteropTypes>
     </Reference>
     <Reference Include="PTControl">
-      <HintPath>..\沈阳\ThirdDll\PTControl.dll</HintPath>
+      <HintPath>..\陕西医保\ShanXiMI\bin\Debug\PTControl.dll</HintPath>
     </Reference>
     <Reference Include="SunnyUI, Version=3.1.5.0, Culture=neutral, PublicKeyToken=27d7d2e821d97aeb, processorArchitecture=MSIL">
       <HintPath>packages\SunnyUI.3.1.5\lib\net472\SunnyUI.dll</HintPath>
@@ -143,6 +142,18 @@
     <Compile Include="Forms\AssistSelect.Designer.cs">
       <DependentUpon>AssistSelect.cs</DependentUpon>
     </Compile>
+    <Compile Include="Forms\SaleBillInfo.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Forms\SaleBillInfo.Designer.cs">
+      <DependentUpon>SaleBillInfo.cs</DependentUpon>
+    </Compile>
+    <Compile Include="Forms\MedInsuQuery.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Forms\MedInsuQuery.designer.cs">
+      <DependentUpon>MedInsuQuery.cs</DependentUpon>
+    </Compile>
     <Compile Include="Forms\PreAndInProcessAnalysisForm.cs">
       <SubType>Form</SubType>
     </Compile>
@@ -284,9 +295,15 @@
     <EmbeddedResource Include="Forms\Clearing.resx">
       <DependentUpon>Clearing.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="Forms\SaleBillInfo.resx">
+      <DependentUpon>SaleBillInfo.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="Forms\InformationOfSelfPatients.resx">
       <DependentUpon>InformationOfSelfPatients.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="Forms\MedInsuQuery.resx">
+      <DependentUpon>MedInsuQuery.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="Forms\PreAndInProcessAnalysisForm.resx">
       <DependentUpon>PreAndInProcessAnalysisForm.cs</DependentUpon>
     </EmbeddedResource>

+ 54 - 0
Helper/InvokeHelper.cs

@@ -37,6 +37,7 @@ namespace PTMedicalInsurance.Helper
     {
         private string serviceURL;
         private string authorization;
+        ComputerInfo comp = new ComputerInfo();
 
         /// <summary>
         /// 初始化函数
@@ -442,6 +443,11 @@ namespace PTMedicalInsurance.Helper
                 case "3102":
                     prefix = "http://10.66.155.173:8086/1.0.0/hsa-fsi-";
                     break;
+
+                case "10001":
+                    prefix = "http://10.67.187.46:8000/v1/pb/op/opRiskTips";
+                    break;
+
                 default:
                     prefix = Global.inf.centerURL;
                     break;
@@ -453,6 +459,7 @@ namespace PTMedicalInsurance.Helper
             }
 
             Global.curEvt.URL = prefix + funNo;
+
         }
 
         /// <summary>
@@ -477,6 +484,7 @@ namespace PTMedicalInsurance.Helper
                         return JObject.Parse(outPar);
                     }
                 }
+
                 setCenterURL(funNO);
 
                 joRtn = invokeCenterService(data);
@@ -498,6 +506,52 @@ namespace PTMedicalInsurance.Helper
             }
         }
 
+        /// <summary>
+        /// 这个是下载目录用的invokeCenterService
+        /// </summary>
+        /// <param name="funNO"></param>
+        /// <param name="data"></param>
+        /// <returns></returns>
+        public JObject invokeCenterServiceF(string funNO, string data)
+        {
+            JObject joRtn = new JObject();
+            try
+            {
+                // 动态调试模式
+                if (Global.curEvt.enabledDebug)
+                {
+                    CenterResult center = new CenterResult();
+                    center.setTradeNo(funNO);
+                    if (center.ShowDialog() == DialogResult.OK)
+                    {
+                        string outPar = center.returnData;
+                        return JObject.Parse(outPar);
+                    }
+                }
+
+                Global.curEvt.URL = comp.getFunNoInsuURL(funNO);    
+
+                //setCenterURL(funNO);
+
+                joRtn = invokeCenterService(data);
+                return joRtn;
+
+            }
+            catch (Exception ex)
+            {
+                if (joRtn["infcode"] == null)
+                { joRtn.Add("infcode", -1); }
+                if (joRtn["err_msg"] == null)
+                { joRtn.Add("err_msg", "invokeCenterService(3):" + ex.Message); }
+                return joRtn;
+            }
+            finally
+            {
+                Global.writeLog(funNO + "(" + Global.curEvt.URL + ")", JsonHelper.Compress(data), joRtn.ToString());
+                this.saveCenterLog(JsonHelper.Compress(data), joRtn.ToString(), JsonHelper.Compress(data), joRtn.ToString());
+            }
+        }
+
         /// <summary>
         /// 移动
         /// </summary>

+ 165 - 3
Helper/JsonHelper.cs

@@ -318,6 +318,10 @@ namespace PTMedicalInsurance.Helper
             {
                 Jo.opter = "4D91C975CF902EB2";
             }
+            if (Global.inf.interfaceDr == 40)//合肥市基线版-庐江门诊
+            {
+                Jo.opter = "F7A80649CD515C55";
+            }
 
             //Jo.opter = Global.user.ID; ;
             Jo.opter_name = Global.user.name; ;
@@ -343,15 +347,173 @@ namespace PTMedicalInsurance.Helper
                 Jo.Add("input", "");
             }
             // 下载不需要wrapper
-            if ("9102".Equals(infno))
+            if (("9102".Equals(infno)) || ("10001".Equals(infno)))            
             { 
                 return JsonHelper.toJsonString(Jo);
             }
 
             var request = Utils.Wrapper(Jo);
-
             return JsonHelper.toJsonString(request);
-            
+
+        }
+
+        /// <summary>
+        /// 组织中心入参
+        /// </summary>
+        /// <param name="infno"></param>
+        /// <param name="input"></param>
+        /// <returns></returns>
+        public static string setCenterInparF(string infno, JObject joInput)
+        {
+            dynamic Jo = new JObject();
+            Jo.infno = infno;
+            Global.curEvt.msgid = Global.inf.hospitalNO + DateTime.Now.ToString("yyyyMMddHHmmssffff");
+            Jo.msgid = Global.curEvt.msgid;
+            if (string.IsNullOrEmpty(Global.inf.areaCode))
+            {
+                Global.inf.areaCode = "340100";
+            }
+
+            if (string.IsNullOrEmpty(Global.pat.insuplc_admdvs))
+            {
+                Global.pat.insuplc_admdvs = Global.inf.areaCode;
+            }
+
+            // 参保地
+            Jo.insuplc_admdvs = Global.pat.insuplc_admdvs;
+            // 就医地
+            Jo.mdtrtarea_admvs = Global.inf.areaCode;
+
+            //if(Global.pat.insuplc_admdvs == "340001"&& infno=="1101"&& Global.inf.interfaceDr==12)
+            //{
+            //    Jo.insuplc_admdvs = "349900";
+            //}
+
+            Jo.recer_sys_code = "MBS_LOCAL";
+            Jo.dev_no = "2021";
+            Jo.dev_safe_info = Global.inf.dev_safe_info; //设备编号
+            Jo.signtype = "SM2"; ;
+            Jo.infver = "v1.0";
+            Jo.opter_type = Global.user.type; ;
+            if (Global.inf.interfaceDr == 12)//安徽省基线版-瑶海
+            {
+                Jo.opter = "A05CA9455BE8BF66";
+            }
+            if (Global.inf.interfaceDr == 16)//合肥市基线版-瑶海
+            {
+                Jo.opter = "7571C4995A2F4290";
+            }
+            if (Global.inf.interfaceDr == 15)//安徽省基线版-蜀山老院
+            {
+                Jo.opter = "48664E4455CC0F8F";
+            }
+            if (Global.inf.interfaceDr == 17)//合肥市基线版-蜀山老院
+            {
+                Jo.opter = "4D91C975CF902EB2";
+            }
+            if (Global.inf.interfaceDr == 40)//合肥市基线版-庐江门诊
+            {
+                Jo.opter = "F7A80649CD515C55";
+            }
+
+            //Jo.opter = Global.user.ID; ;
+            Jo.opter_name = Global.user.name; ;
+            Jo.inf_time = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
+            Jo.fixmedins_code = Global.inf.hospitalNO;
+            Jo.fixmedins_name = Global.inf.hospitalName;
+            Jo.sign_no = Global.curEvt.signno;
+            //Jo.app_id = "";
+            Jo.enc_type = "";
+            //Jo.pw_ecToken = "";
+
+            // 报文签名(不包含cainfo和input)
+            //EncryptHelper encrypt = new EncryptHelper();
+            Jo.cainfo = infno; // encrypt.signWithSM2(Jo);
+
+
+            if (joInput != null)
+            {
+                Jo.Add("input", joInput);
+            }
+            else
+            {
+                Jo.Add("input", "");
+            }
+
+            return JsonHelper.toJsonString(Jo);
+
+        }
+
+        /// <summary>
+        /// 组织中心入参
+        /// </summary>
+        /// <param name="infno"></param>
+        /// <param name="input"></param>
+        /// <returns></returns>
+        public static string setCenterInparFT(string infno, JObject joInput)
+        {
+            dynamic Jo = new JObject();
+            Jo.cainfo = infno;
+            Jo.dev_no = "string";
+            Jo.dev_safe_info = "string";
+            Jo.fixmedins_code = Global.inf.hospitalNO;
+            Jo.fixmedins_name = Global.inf.hospitalName;
+            Jo.inf_time = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
+            Jo.infno = "string";
+            Jo.infver = "string";
+            if (string.IsNullOrEmpty(Global.inf.areaCode))
+            {
+                Global.inf.areaCode = "340100";
+            }
+
+            if (string.IsNullOrEmpty(Global.pat.insuplc_admdvs))
+            {
+                Global.pat.insuplc_admdvs = Global.inf.areaCode;
+            }
+
+            // 参保地
+            Jo.insuplc_admdvs = Global.pat.insuplc_admdvs;
+            // 就医地
+            Jo.mdtrtarea_admvs = Global.inf.areaCode;
+            Global.curEvt.msgid = Global.inf.hospitalNO + DateTime.Now.ToString("yyyyMMddHHmmssffff");
+            Jo.msgid = Global.curEvt.msgid;
+            if (Global.inf.interfaceDr == 12)//安徽省基线版-瑶海
+            {
+                Jo.opter = "A05CA9455BE8BF66";
+            }
+            if (Global.inf.interfaceDr == 16)//合肥市基线版-瑶海
+            {
+                Jo.opter = "7571C4995A2F4290";
+            }
+            if (Global.inf.interfaceDr == 15)//安徽省基线版-蜀山老院
+            {
+                Jo.opter = "48664E4455CC0F8F";
+            }
+            if (Global.inf.interfaceDr == 17)//合肥市基线版-蜀山老院
+            {
+                Jo.opter = "4D91C975CF902EB2";
+            }
+            if (Global.inf.interfaceDr == 40)//合肥市基线版-庐江门诊
+            {
+                Jo.opter = "F7A80649CD515C55";
+            }
+
+            Jo.opter_name = Global.user.name; ;
+            Jo.opter_type = Global.user.type;
+            Jo.recer_sys_code = "MBS_LOCAL";
+            Jo.sign_no = Global.curEvt.signno;         
+
+            if (joInput != null)
+            {
+                Jo.Add("input", joInput);
+            }
+            else
+            {
+                Jo.Add("input", "");
+            }
+
+            return JsonHelper.toJsonString(Jo);
+
         }
 
         /// <summary>

+ 22 - 1
InsuBusiness.cs

@@ -40,6 +40,7 @@ namespace PTMedicalInsurance
         HisIrisServices hIS = new HisIrisServices();
         MIIrisServices mIS= new MIIrisServices();
         InvokeHelper invoker = new InvokeHelper();
+        ComputerInfo comp = new ComputerInfo();
         //
         private string businessType;
 
@@ -1703,6 +1704,19 @@ namespace PTMedicalInsurance
                         {
                             AssistSelect Serach = new AssistSelect();
                             Serach.ShowDialog();
+                            break;
+                        }
+                    case "MedInsuQuery"://医保查询
+                        {      
+                            MedInsuQuery MedQuery = new MedInsuQuery();
+                            //bd.ShowDialog();
+
+                            if (MedQuery.ShowDialog() != DialogResult.OK)
+                            {
+                                rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出医保相关业务界面").ToString();
+                                return rtnResult;
+                            }
+
                             break;
                         }
                     default:
@@ -1812,7 +1826,14 @@ namespace PTMedicalInsurance
                 if (funNO=="4101Y")
                     Global.pat.insuplc_admdvs = JsonHelper.getDestValue(joInParam, "insuplc_admdvs");
 
-                JObject joRtn = invoker.invokeCenterService(funNO, JsonHelper.setCenterInpar(funNO, joParam));
+                Global.curEvt.URL = comp.getFunNoInsuURL(funNO);
+
+                JObject joRtn = new JObject();
+                if (comp.getFunNoInsuURL(funNO) == "")
+                    joRtn = invoker.invokeCenterService(funNO, JsonHelper.setCenterInpar(funNO, joParam));
+                else
+                    joRtn = invoker.invokeCenterServiceF(funNO, JsonHelper.setCenterInparF(funNO, joParam));              
+
                 if (JsonHelper.parseCenterRtnValue(joRtn, out errMsg) != 0)
                 {
                     rtnResult = JsonHelper.setExceptionJson(-1, "平台直连错误", errMsg).ToString();

+ 1 - 1
packages.config

@@ -3,7 +3,7 @@
   <package id="Datatable.Activities.UiPath" version="1.0.1" targetFramework="net45" />
   <package id="Microsoft.Office.Excel" version="14.0.4760.1000" targetFramework="net45" />
   <package id="Microsoft.Office.Interop.Excel" version="15.0.4795.1001" targetFramework="net45" />
-  <package id="Newtonsoft.Json" version="12.0.3" targetFramework="net472" />
+  <package id="Newtonsoft.Json" version="12.0.1" targetFramework="net472" />
   <package id="Portable.BouncyCastle" version="1.9.0" targetFramework="net472" />
   <package id="SunnyUI" version="3.1.5" targetFramework="net472" />
   <package id="SunnyUI.Common" version="3.1.2" targetFramework="net472" />