Browse Source

账户代支人读社保卡返回参保地不准确以收费员选择接口类型为准再传就医地区划代码

837390164@qq.com 1 month ago
parent
commit
b00aa410ef

+ 49 - 28
Business/HisMainBusiness.cs

@@ -410,9 +410,9 @@ namespace PTMedicalInsurance.Business
 
 
                     //MessageBox.Show("这里获取到的医保账户余额:" + frmPatientInfo.dgvInsuInfo.Rows[frmPatientInfo.insuInfoIndex].Cells["balc"].Value.ToString());
                     //MessageBox.Show("这里获取到的医保账户余额:" + frmPatientInfo.dgvInsuInfo.Rows[frmPatientInfo.insuInfoIndex].Cells["balc"].Value.ToString());
 
 
-                    Global.pat.balc = frmPatientInfo.dgvInsuInfo.Rows[frmPatientInfo.insuInfoIndex].Cells["balc"].Value.ToString();
-                    Global.pat.insuType = frmPatientInfo.dgvInsuInfo.Rows[frmPatientInfo.insuInfoIndex].Cells["insutypeNo"].Value.ToString();
-                    Global.pat.insuplc_admdvs = frmPatientInfo.dgvInsuInfo.Rows[frmPatientInfo.insuInfoIndex].Cells["insuplc_admdvs"].Value.ToString();         
+                    Global.pat.balc = JsonHelper.getDestValue(joSelectedInsuInfo, "balc");
+                    Global.pat.insuType = JsonHelper.getDestValue(joSelectedInsuInfo, "insutype");
+                    Global.pat.insuplc_admdvs = JsonHelper.getDestValue(joSelectedInsuInfo, "insuplc_admdvs");
 
 
                     outparam = joOutparam.ToString();                    
                     outparam = joOutparam.ToString();                    
 
 
@@ -478,26 +478,27 @@ namespace PTMedicalInsurance.Business
                     Global.pat.mdtrtcertNO_GJSQR = JsonHelper.getDestValue(JObject.Parse(outParam), "output.mdtrt_cert_no");               //就诊凭证编号
                     Global.pat.mdtrtcertNO_GJSQR = JsonHelper.getDestValue(JObject.Parse(outParam), "output.mdtrt_cert_no");               //就诊凭证编号
                     Global.pat.mdtrtcertType_GJSQR = JsonHelper.getDestValue(JObject.Parse(outParam), "output.mdtrt_cert_type");           //就诊凭证类型                                                                                          
                     Global.pat.mdtrtcertType_GJSQR = JsonHelper.getDestValue(JObject.Parse(outParam), "output.mdtrt_cert_type");           //就诊凭证类型                                                                                          
 
 
-                    if (Global.pat.insuplc_admdvs_GJSQR.Substring(0, 4) == "4501")
-                    {                        
-                        Global.pat.mdtrtarea_admvs = "450100";
-                    }
-                    else
-                    {                        
-                        Global.pat.mdtrtarea_admvs = "459900";
-                    }
+                    //if (Global.pat.insuplc_admdvs_GJSQR.Substring(0, 4) == "4501")
+                    //{                        
+                    //    Global.pat.mdtrtarea_admvs = "450100";
+                    //}
+                    //else
+                    //{                        
+                    //    Global.pat.mdtrtarea_admvs = "459900";
+                    //}
 
 
-                    if ((Global.inf.mutualAidInterfaceDr == 11) && (Global.pat.insuplc_admdvs_GJSQR.Substring(0, 4) != "4599"))
-                    {
-                        outParam = "收费员选择广西基线版医保接口,但社保卡读卡中心返回参保地是【" + Global.pat.insuplc_admdvs_GJSQR + "】,请用医保电子凭证扫码获取参保信息!";
-                        return -1;
-                    }
+                    //if ((Global.inf.mutualAidInterfaceDr == 11) && (Global.pat.insuplc_admdvs_GJSQR.Substring(0, 4) != "4599"))
+                    //{
+                    //    outParam = "收费员选择广西基线版医保接口,但社保卡读卡中心返回参保地是【" + Global.pat.insuplc_admdvs_GJSQR + "】,请用医保电子凭证扫码获取参保信息!";
+                    //    return -1;
+                    //}
+         
+                    //if ((Global.inf.mutualAidInterfaceDr == 7) && (Global.pat.insuplc_admdvs_GJSQR.Substring(0, 4) != "4501"))
+                    //{
+                    //    outParam = "收费员选择南宁基线版医保接口,但社保卡读卡中心返回参保地是【" + Global.pat.insuplc_admdvs_GJSQR + "】,请用医保电子凭证扫码获取参保信息!";
+                    //    return -1;
+                    //}
 
 
-                    if ((Global.inf.mutualAidInterfaceDr == 7) && (Global.pat.insuplc_admdvs_GJSQR.Substring(0, 4) != "4501"))
-                    {
-                        outParam = "收费员选择南宁基线版医保接口,但社保卡读卡中心返回参保地是【" + Global.pat.insuplc_admdvs_GJSQR + "】,请用医保电子凭证扫码获取参保信息!";
-                        return -1;
-                    }
                 }
                 }
                 #endregion                
                 #endregion                
 
 
@@ -603,13 +604,17 @@ namespace PTMedicalInsurance.Business
                     joSelectedInsuInfo.Add("mdtrt_cert_type", Global.pat.mdtrtcertType);
                     joSelectedInsuInfo.Add("mdtrt_cert_type", Global.pat.mdtrtcertType);
                     joSelectedInsuInfo.Add("mdtrt_cert_no", Global.pat.mdtrtcertNO);
                     joSelectedInsuInfo.Add("mdtrt_cert_no", Global.pat.mdtrtcertNO);
                     joOutparam.Property("output").AddBeforeSelf(new JProperty("selectedInsuInfo", joSelectedInsuInfo));
                     joOutparam.Property("output").AddBeforeSelf(new JProperty("selectedInsuInfo", joSelectedInsuInfo));
-                    joOutparam.Property("output").AddBeforeSelf(new JProperty("selectedIdInfo", joSelectedInsuInfo));
+                    joOutparam.Property("output").AddBeforeSelf(new JProperty("selectedIdInfo", joSelectedInsuInfo));                    
+
+                    Global.pat.balc_GJSQR = JsonHelper.getDestValue(joSelectedInsuInfo, "balc");
+                    Global.pat.insuType_GJSQR = JsonHelper.getDestValue(joSelectedInsuInfo, "insutype");
+                    Global.pat.insuplc_admdvs_GJSQR = JsonHelper.getDestValue(joSelectedInsuInfo, "insuplc_admdvs");
 
 
-                    Global.pat.balc_GJSQR = frmPatientInfo.dgvInsuInfo.Rows[frmPatientInfo.insuInfoIndex].Cells["balc"].Value.ToString();
-                    Global.pat.insuType_GJSQR = frmPatientInfo.dgvInsuInfo.Rows[frmPatientInfo.insuInfoIndex].Cells["insuTypeNo"].Value.ToString();
-                    Global.pat.insuplc_admdvs_GJSQR = frmPatientInfo.dgvInsuInfo.Rows[frmPatientInfo.insuInfoIndex].Cells["insuplc_admdvs"].Value.ToString();
-                    Global.pat.psn_type_GJSQR = frmPatientInfo.dgvInsuInfo.Rows[frmPatientInfo.insuInfoIndex].Cells["psn_type"].Value.ToString();
-                    Global.pat.cvlserv_flag_GJSQR = frmPatientInfo.dgvInsuInfo.Rows[frmPatientInfo.insuInfoIndex].Cells["cvlserv_flag"].Value.ToString();
+                    //Global.pat.balc_GJSQR = frmPatientInfo.dgvInsuInfo.Rows[frmPatientInfo.insuInfoIndex].Cells["balc"].Value.ToString();
+                    //Global.pat.insuType_GJSQR = frmPatientInfo.dgvInsuInfo.Rows[frmPatientInfo.insuInfoIndex].Cells["insuTypeNo"].Value.ToString();
+                    //Global.pat.insuplc_admdvs_GJSQR = frmPatientInfo.dgvInsuInfo.Rows[frmPatientInfo.insuInfoIndex].Cells["insuplc_admdvs"].Value.ToString();
+                    //Global.pat.psn_type_GJSQR = frmPatientInfo.dgvInsuInfo.Rows[frmPatientInfo.insuInfoIndex].Cells["psn_type"].Value.ToString();
+                    //Global.pat.cvlserv_flag_GJSQR = frmPatientInfo.dgvInsuInfo.Rows[frmPatientInfo.insuInfoIndex].Cells["cvlserv_flag"].Value.ToString();
 
 
                     outparam = joOutparam.ToString();
                     outparam = joOutparam.ToString();
 
 
@@ -930,7 +935,7 @@ namespace PTMedicalInsurance.Business
         public int showDischargeRegisterForm(string funNO, JObject joSumFee, JObject joHisRtnInfo, out string outParam)
         public int showDischargeRegisterForm(string funNO, JObject joSumFee, JObject joHisRtnInfo, out string outParam)
         {
         {
             outParam = "";
             outParam = "";
-            string errMsg;
+            string errMsg = "";
             try
             try
             {
             {
                 JArray jaDiagnoses = JArray.Parse(JsonHelper.getDestValue(joHisRtnInfo, "diseinfo"));
                 JArray jaDiagnoses = JArray.Parse(JsonHelper.getDestValue(joHisRtnInfo, "diseinfo"));
@@ -1143,6 +1148,10 @@ namespace PTMedicalInsurance.Business
                     //joSetlInpar.Add("chrg_bchno", Global.pat.adm_Dr.ToString());
                     //joSetlInpar.Add("chrg_bchno", Global.pat.adm_Dr.ToString());
                     joSetlInpar.Add("med_type", Global.pat.medType);
                     joSetlInpar.Add("med_type", Global.pat.medType);
                     joSetlInpar.Add("exp_content", Global.pat.ExpContent); //
                     joSetlInpar.Add("exp_content", Global.pat.ExpContent); //
+
+                    joSetlInpar.Add("minpacunt_drug_trac_cnt", Global.Set.minpacunt_drug_trac_cnt); //本次结算应上传最小包装追溯码数量
+                    joSetlInpar.Add("mcs_trac_cnt", Global.Set.mcs_trac_cnt); //本次结算应上传耗材追溯码数量
+
                     //joSetlInpar.Add("invono", "");                                          
                     //joSetlInpar.Add("invono", "");                                          
 
 
                     //JObject joDataExp = new JObject();
                     //JObject joDataExp = new JObject();
@@ -1323,6 +1332,10 @@ namespace PTMedicalInsurance.Business
                     joSetlInpar.Add("pub_hosp_rfom_flag", "");   //公立医院改革标志
                     joSetlInpar.Add("pub_hosp_rfom_flag", "");   //公立医院改革标志
                     joSetlInpar.Add("exp_content", Global.pat.ExpContent);
                     joSetlInpar.Add("exp_content", Global.pat.ExpContent);
 
 
+                    joSetlInpar.Add("minpacunt_drug_trac_cnt", Global.Set.minpacunt_drug_trac_cnt); //本次结算应上传最小包装追溯码数量
+                    joSetlInpar.Add("mcs_trac_cnt", Global.Set.mcs_trac_cnt); //本次结算应上传耗材追溯码数量
+
+
                     joReg.Add("mdtrtinfo", joMdtrtinfo);
                     joReg.Add("mdtrtinfo", joMdtrtinfo);
                     joReg.Add("diseinfo", jaDiagnoses);
                     joReg.Add("diseinfo", jaDiagnoses);
                     joReg.Add("settlement", joSetlInpar);
                     joReg.Add("settlement", joSetlInpar);
@@ -1606,6 +1619,10 @@ namespace PTMedicalInsurance.Business
                         pat.adm_Dr = int.Parse(JsonHelper.getDestValue(joInparam, "params[0].admID"));
                         pat.adm_Dr = int.Parse(JsonHelper.getDestValue(joInparam, "params[0].admID"));
                         pat.recordID = JsonHelper.getDestValue(joInparam, "params[0].recordID");
                         pat.recordID = JsonHelper.getDestValue(joInparam, "params[0].recordID");
                         pat.billID = JsonHelper.getDestValue(joInparam, "params[0].billID");
                         pat.billID = JsonHelper.getDestValue(joInparam, "params[0].billID");
+
+                        Global.Set.minpacunt_drug_trac_cnt = JsonHelper.getDestValue(joInparam, "insuAdmObj.minpacunt_drug_trac_cnt");
+                        Global.Set.mcs_trac_cnt = JsonHelper.getDestValue(joInparam, "insuAdmObj.mcs_trac_cnt");
+
                         Global.pat.insuplc_admdvs = "";
                         Global.pat.insuplc_admdvs = "";
                         if (string.IsNullOrEmpty(JsonHelper.getDestValue(joInparam, "insuAdmObj.inDays")))
                         if (string.IsNullOrEmpty(JsonHelper.getDestValue(joInparam, "insuAdmObj.inDays")))
                         {
                         {
@@ -1736,6 +1753,10 @@ namespace PTMedicalInsurance.Business
                         pat.name = JsonHelper.getDestValue(joInparam, "insuAdmObj.psn_name");
                         pat.name = JsonHelper.getDestValue(joInparam, "insuAdmObj.psn_name");
                         pat.billID = JsonHelper.getDestValue(joInparam, "params[0].billID");
                         pat.billID = JsonHelper.getDestValue(joInparam, "params[0].billID");
                         Global.Set.hisDischargeTime = Convert.ToDateTime(JsonHelper.getDestValue(joInparam, "insuAdmObj.disDateTime")).ToString("yyyy-MM-dd HH:mm:ss");
                         Global.Set.hisDischargeTime = Convert.ToDateTime(JsonHelper.getDestValue(joInparam, "insuAdmObj.disDateTime")).ToString("yyyy-MM-dd HH:mm:ss");
+
+                        Global.Set.minpacunt_drug_trac_cnt = JsonHelper.getDestValue(joInparam, "insuAdmObj.minpacunt_drug_trac_cnt");
+                        Global.Set.mcs_trac_cnt = JsonHelper.getDestValue(joInparam, "insuAdmObj.mcs_trac_cnt");
+
                         if (string.IsNullOrEmpty(JsonHelper.getDestValue(joInparam, "insuAdmObj.inDays")))
                         if (string.IsNullOrEmpty(JsonHelper.getDestValue(joInparam, "insuAdmObj.inDays")))
                         {
                         {
                             Global.Set.hospitalizationsDays = 0;
                             Global.Set.hospitalizationsDays = 0;

+ 20 - 0
Business/IrisServices.cs

@@ -1954,6 +1954,26 @@ namespace PTMedicalInsurance.Business
 
 
         }
         }
 
 
+        public JObject GetNoMappHISDir(JObject joHisRtnDir)
+        {
+            try
+            {
+                //传给医保平台,进行对照匹配
+                dynamic joParam = new JObject();
+                joParam.TotalCount = joHisRtnDir["result"]["TotalCount"];
+                joParam.HospitalDr = Global.inf.hospitalDr;
+                joParam.InterfaceDr = Global.inf.interfaceDr;
+                joParam.Data = joHisRtnDir["result"]["Data"];
+                JObject joRtn = invoker.invokeInsuService(JsonHelper.setIrisInpar("09010088", joParam).ToString(), "获取未对照目录");
+
+                return joRtn;
+            }
+            catch (Exception ex)
+            {
+                return JsonHelper.setExceptionJson(-1, "获取未对照目录异常:", ex.Message);
+            }
+        }
+
         public JObject UpdateDirectoryBySelf(JObject joIn)
         public JObject UpdateDirectoryBySelf(JObject joIn)
         {
         {
             try
             try

+ 60 - 5
Forms/BasicData.cs

@@ -457,9 +457,50 @@ namespace PTMedicalInsurance.Forms
                 }
                 }
             }
             }
 
 
+            //if (rbNoMaped.Checked)
+            //{                
+            //    flag = "NoMaped";
+            //}
+
             if (rbNoMaped.Checked)
             if (rbNoMaped.Checked)
-            {                
-                flag = "NoMaped";
+            {
+                JArray jaPagination = new JArray();
+                JArray jaParams = new JArray();
+                flag = "All";
+                dynamic joParam = new JObject();
+                joParam.code = "";
+                joParam.descripts = "";
+                joParam.FindType = new JArray();
+                joParam.TypeID = "";
+                joParam.alias = tbHISDirectoryFilter.Text;
+                joParam.include = "Hosp";
+                joParam.groupID = "324";
+                joParam.hospID = Global.inf.hisHospitalDr;
+                joParam.interfaceDr = Global.inf.interfaceDr;
+                joParam.type = directoryType;
+                joParam.flag = flag;
+                joParam.specInput = "";
+                jaParams.Add(joParam);
+
+                dynamic joPagination = new JObject();
+                joPagination.pageSize = pageSize; //pageSize;
+                //joPagination.pageSize = 2;
+                joPagination.currentPage = currentPage;
+                joPagination.sortColumn = "Code";
+                joPagination.sortOrder = "asc";
+                jaPagination.Add(joPagination);
+
+                //1.获取全部HIS目录
+                if (hIS.getHISDir(jaPagination, jaParams, out joHISRtn, out errMsg) != 0)
+                {
+                    return -1;
+                }
+
+                joRtn = mIS.GetNoMappHISDir(joHISRtn);
+                if (JsonHelper.parseIrisRtnValue(joRtn, out errMsg) != 0)
+                {
+                    return -1;
+                }
             }
             }
 
 
             DataTable dt = (DataTable)joRtn["result"]["Data"].ToObject(typeof(DataTable));
             DataTable dt = (DataTable)joRtn["result"]["Data"].ToObject(typeof(DataTable));
@@ -942,7 +983,10 @@ namespace PTMedicalInsurance.Forms
             GridViewSetter gridSetter = new GridViewSetter();
             GridViewSetter gridSetter = new GridViewSetter();
             gridSetter.SetHeaderTextOfMapping_HisDirectory(dgvHISDirectory);
             gridSetter.SetHeaderTextOfMapping_HisDirectory(dgvHISDirectory);
 
 
-            if (queryHISDirectory(1, 50, out errMsg) != 0)
+            int iCount = 50;
+            if (rbNoMaped.Checked) iCount = 3000;
+
+            if (queryHISDirectory(1, iCount, out errMsg) != 0)
             {
             {
                 MessageBox.Show(errMsg);
                 MessageBox.Show(errMsg);
                 return;
                 return;
@@ -1114,6 +1158,8 @@ namespace PTMedicalInsurance.Forms
                 }
                 }
             }
             }
 
 
+            if (rbMaped.Checked) btnExport.Visible = true;
+
         }
         }
 
 
         private void btAddDir_Click(object sender, EventArgs e)
         private void btAddDir_Click(object sender, EventArgs e)
@@ -1637,10 +1683,14 @@ namespace PTMedicalInsurance.Forms
                     return;
                     return;
                 }
                 }
             }
             }
+
+            if (rbNoMaped.Checked) btnExport.Visible = true;
+
         }
         }
 
 
         private void btnExport_Click(object sender, EventArgs e)
         private void btnExport_Click(object sender, EventArgs e)
         {
         {
+            //if (rbAll.Checked) return;
             if (queryHISDirectory(1, 5000, out string errMsg) != 0)
             if (queryHISDirectory(1, 5000, out string errMsg) != 0)
             {
             {
                 MessageBox.Show(errMsg);
                 MessageBox.Show(errMsg);
@@ -1649,6 +1699,11 @@ namespace PTMedicalInsurance.Forms
 
 
             if (dtExport.Rows.Count > 0)
             if (dtExport.Rows.Count > 0)
             {
             {
+                string Maped = "";
+                if (rbAll.Checked) Maped = "全部";
+                if (rbMaped.Checked) Maped = "已对照";
+                if (rbNoMaped.Checked) Maped = "未对照";
+
                 string directoryType = string.Empty;
                 string directoryType = string.Empty;
                 switch (rbgDirecType_C.SelectedIndex)
                 switch (rbgDirecType_C.SelectedIndex)
                 {
                 {
@@ -1669,8 +1724,8 @@ namespace PTMedicalInsurance.Forms
                         }
                         }
                 }
                 }
 
 
-                string LSH = DateTime.Now.ToString("yyyy-MM-dd"); //DateTime.Now.ToString("MMddHHmmssffff");
-                string sFliePathName = @"C:\Users\Administrator\Desktop\" + LSH + "(" + directoryType + ")医保目录已对照信息.xls";
+                string LSH = DateTime.Now.ToString("yyyyMMddHHMMss"); //DateTime.Now.ToString("MMddHHmmssffff");
+                string sFliePathName = @"D:\" + LSH + "【" + directoryType + "】医保目录【" + Maped + "】信息.xls";
                 string ReturnFileName = ExportToExcel.DataTabletoExcel(dtExport, sFliePathName);
                 string ReturnFileName = ExportToExcel.DataTabletoExcel(dtExport, sFliePathName);
                 if (ReturnFileName != "")
                 if (ReturnFileName != "")
                 {
                 {

+ 59 - 61
Forms/BasicData.designer.cs

@@ -111,12 +111,12 @@
             this.uiButton1 = new Sunny.UI.UIButton();
             this.uiButton1 = new Sunny.UI.UIButton();
             this.uiPanel3 = new Sunny.UI.UIPanel();
             this.uiPanel3 = new Sunny.UI.UIPanel();
             this.rbgDirecType_C = new Sunny.UI.UIRadioButtonGroup();
             this.rbgDirecType_C = new Sunny.UI.UIRadioButtonGroup();
+            this.ProcessBar = new Sunny.UI.UIProcessBar();
+            this.uiButton2 = new Sunny.UI.UIButton();
             this.cmsUpdateAuxInfo = new Sunny.UI.UIContextMenuStrip();
             this.cmsUpdateAuxInfo = new Sunny.UI.UIContextMenuStrip();
             this.tsmiSingleUpdateAuxInfo = new System.Windows.Forms.ToolStripMenuItem();
             this.tsmiSingleUpdateAuxInfo = new System.Windows.Forms.ToolStripMenuItem();
             this.tsmiUpdateAllAuxInfo = new System.Windows.Forms.ToolStripMenuItem();
             this.tsmiUpdateAllAuxInfo = new System.Windows.Forms.ToolStripMenuItem();
             this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
             this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
-            this.uiButton2 = new Sunny.UI.UIButton();
-            this.ProcessBar = new Sunny.UI.UIProcessBar();
             this.tabControl1.SuspendLayout();
             this.tabControl1.SuspendLayout();
             this.tabPage1.SuspendLayout();
             this.tabPage1.SuspendLayout();
             this.panel1.SuspendLayout();
             this.panel1.SuspendLayout();
@@ -155,7 +155,7 @@
             this.tabControl1.Location = new System.Drawing.Point(0, 0);
             this.tabControl1.Location = new System.Drawing.Point(0, 0);
             this.tabControl1.Name = "tabControl1";
             this.tabControl1.Name = "tabControl1";
             this.tabControl1.SelectedIndex = 0;
             this.tabControl1.SelectedIndex = 0;
-            this.tabControl1.Size = new System.Drawing.Size(1372, 808);
+            this.tabControl1.Size = new System.Drawing.Size(1303, 749);
             this.tabControl1.TabIndex = 0;
             this.tabControl1.TabIndex = 0;
             // 
             // 
             // tabPage1
             // tabPage1
@@ -751,7 +751,7 @@
             this.tabPage2.Location = new System.Drawing.Point(4, 31);
             this.tabPage2.Location = new System.Drawing.Point(4, 31);
             this.tabPage2.Name = "tabPage2";
             this.tabPage2.Name = "tabPage2";
             this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
             this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
-            this.tabPage2.Size = new System.Drawing.Size(1364, 773);
+            this.tabPage2.Size = new System.Drawing.Size(1295, 714);
             this.tabPage2.TabIndex = 1;
             this.tabPage2.TabIndex = 1;
             this.tabPage2.Text = "数据对照";
             this.tabPage2.Text = "数据对照";
             this.tabPage2.UseVisualStyleBackColor = true;
             this.tabPage2.UseVisualStyleBackColor = true;
@@ -762,7 +762,7 @@
             this.panel7.Dock = System.Windows.Forms.DockStyle.Fill;
             this.panel7.Dock = System.Windows.Forms.DockStyle.Fill;
             this.panel7.Location = new System.Drawing.Point(182, 3);
             this.panel7.Location = new System.Drawing.Point(182, 3);
             this.panel7.Name = "panel7";
             this.panel7.Name = "panel7";
-            this.panel7.Size = new System.Drawing.Size(1179, 767);
+            this.panel7.Size = new System.Drawing.Size(1110, 708);
             this.panel7.TabIndex = 3;
             this.panel7.TabIndex = 3;
             // 
             // 
             // uiSplitContainer1
             // uiSplitContainer1
@@ -782,8 +782,8 @@
             // uiSplitContainer1.Panel2
             // uiSplitContainer1.Panel2
             // 
             // 
             this.uiSplitContainer1.Panel2.Controls.Add(this.panel4);
             this.uiSplitContainer1.Panel2.Controls.Add(this.panel4);
-            this.uiSplitContainer1.Size = new System.Drawing.Size(1179, 767);
-            this.uiSplitContainer1.SplitterDistance = 387;
+            this.uiSplitContainer1.Size = new System.Drawing.Size(1110, 708);
+            this.uiSplitContainer1.SplitterDistance = 357;
             this.uiSplitContainer1.SplitterWidth = 11;
             this.uiSplitContainer1.SplitterWidth = 11;
             this.uiSplitContainer1.TabIndex = 3;
             this.uiSplitContainer1.TabIndex = 3;
             this.uiSplitContainer1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             this.uiSplitContainer1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
@@ -796,7 +796,7 @@
             this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
             this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
             this.panel3.Location = new System.Drawing.Point(0, 0);
             this.panel3.Location = new System.Drawing.Point(0, 0);
             this.panel3.Name = "panel3";
             this.panel3.Name = "panel3";
-            this.panel3.Size = new System.Drawing.Size(1179, 387);
+            this.panel3.Size = new System.Drawing.Size(1110, 357);
             this.panel3.TabIndex = 2;
             this.panel3.TabIndex = 2;
             // 
             // 
             // dgvHISDirectory
             // dgvHISDirectory
@@ -846,7 +846,7 @@
             this.dgvHISDirectory.RowsDefaultCellStyle = dataGridViewCellStyle10;
             this.dgvHISDirectory.RowsDefaultCellStyle = dataGridViewCellStyle10;
             this.dgvHISDirectory.RowTemplate.Height = 25;
             this.dgvHISDirectory.RowTemplate.Height = 25;
             this.dgvHISDirectory.SelectedIndex = -1;
             this.dgvHISDirectory.SelectedIndex = -1;
-            this.dgvHISDirectory.Size = new System.Drawing.Size(1179, 307);
+            this.dgvHISDirectory.Size = new System.Drawing.Size(1110, 277);
             this.dgvHISDirectory.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
             this.dgvHISDirectory.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
             this.dgvHISDirectory.TabIndex = 4;
             this.dgvHISDirectory.TabIndex = 4;
             this.dgvHISDirectory.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             this.dgvHISDirectory.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
@@ -866,21 +866,20 @@
             this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
             this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
             this.panel5.Location = new System.Drawing.Point(0, 0);
             this.panel5.Location = new System.Drawing.Point(0, 0);
             this.panel5.Name = "panel5";
             this.panel5.Name = "panel5";
-            this.panel5.Size = new System.Drawing.Size(1179, 45);
+            this.panel5.Size = new System.Drawing.Size(1110, 45);
             this.panel5.TabIndex = 1;
             this.panel5.TabIndex = 1;
             // 
             // 
             // btnExport
             // btnExport
             // 
             // 
             this.btnExport.Cursor = System.Windows.Forms.Cursors.Hand;
             this.btnExport.Cursor = System.Windows.Forms.Cursors.Hand;
             this.btnExport.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnExport.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnExport.Location = new System.Drawing.Point(740, 8);
+            this.btnExport.Location = new System.Drawing.Point(729, 7);
             this.btnExport.MinimumSize = new System.Drawing.Size(1, 1);
             this.btnExport.MinimumSize = new System.Drawing.Size(1, 1);
             this.btnExport.Name = "btnExport";
             this.btnExport.Name = "btnExport";
-            this.btnExport.Size = new System.Drawing.Size(100, 28);
+            this.btnExport.Size = new System.Drawing.Size(100, 32);
             this.btnExport.TabIndex = 13;
             this.btnExport.TabIndex = 13;
             this.btnExport.Text = "导  出";
             this.btnExport.Text = "导  出";
             this.btnExport.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnExport.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnExport.Visible = false;
             this.btnExport.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             this.btnExport.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
             this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
             // 
             // 
@@ -889,7 +888,7 @@
             this.btnCancelUpShip.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
             this.btnCancelUpShip.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
             this.btnCancelUpShip.Cursor = System.Windows.Forms.Cursors.Hand;
             this.btnCancelUpShip.Cursor = System.Windows.Forms.Cursors.Hand;
             this.btnCancelUpShip.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnCancelUpShip.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnCancelUpShip.Location = new System.Drawing.Point(998, 7);
+            this.btnCancelUpShip.Location = new System.Drawing.Point(929, 7);
             this.btnCancelUpShip.Margin = new System.Windows.Forms.Padding(2);
             this.btnCancelUpShip.Margin = new System.Windows.Forms.Padding(2);
             this.btnCancelUpShip.MinimumSize = new System.Drawing.Size(1, 1);
             this.btnCancelUpShip.MinimumSize = new System.Drawing.Size(1, 1);
             this.btnCancelUpShip.Name = "btnCancelUpShip";
             this.btnCancelUpShip.Name = "btnCancelUpShip";
@@ -905,7 +904,7 @@
             this.btnUpShip.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
             this.btnUpShip.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
             this.btnUpShip.Cursor = System.Windows.Forms.Cursors.Hand;
             this.btnUpShip.Cursor = System.Windows.Forms.Cursors.Hand;
             this.btnUpShip.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnUpShip.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnUpShip.Location = new System.Drawing.Point(852, 7);
+            this.btnUpShip.Location = new System.Drawing.Point(783, 7);
             this.btnUpShip.Margin = new System.Windows.Forms.Padding(2);
             this.btnUpShip.Margin = new System.Windows.Forms.Padding(2);
             this.btnUpShip.MinimumSize = new System.Drawing.Size(1, 1);
             this.btnUpShip.MinimumSize = new System.Drawing.Size(1, 1);
             this.btnUpShip.Name = "btnUpShip";
             this.btnUpShip.Name = "btnUpShip";
@@ -935,7 +934,7 @@
             // 
             // 
             this.rbAll.Cursor = System.Windows.Forms.Cursors.Hand;
             this.rbAll.Cursor = System.Windows.Forms.Cursors.Hand;
             this.rbAll.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.rbAll.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.rbAll.Location = new System.Drawing.Point(501, 11);
+            this.rbAll.Location = new System.Drawing.Point(497, 11);
             this.rbAll.MinimumSize = new System.Drawing.Size(1, 1);
             this.rbAll.MinimumSize = new System.Drawing.Size(1, 1);
             this.rbAll.Name = "rbAll";
             this.rbAll.Name = "rbAll";
             this.rbAll.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
             this.rbAll.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
@@ -949,14 +948,13 @@
             // 
             // 
             this.rbNoMaped.Cursor = System.Windows.Forms.Cursors.Hand;
             this.rbNoMaped.Cursor = System.Windows.Forms.Cursors.Hand;
             this.rbNoMaped.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.rbNoMaped.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.rbNoMaped.Location = new System.Drawing.Point(659, 11);
+            this.rbNoMaped.Location = new System.Drawing.Point(653, 11);
             this.rbNoMaped.MinimumSize = new System.Drawing.Size(1, 1);
             this.rbNoMaped.MinimumSize = new System.Drawing.Size(1, 1);
             this.rbNoMaped.Name = "rbNoMaped";
             this.rbNoMaped.Name = "rbNoMaped";
             this.rbNoMaped.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
             this.rbNoMaped.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
             this.rbNoMaped.Size = new System.Drawing.Size(63, 23);
             this.rbNoMaped.Size = new System.Drawing.Size(63, 23);
             this.rbNoMaped.TabIndex = 7;
             this.rbNoMaped.TabIndex = 7;
             this.rbNoMaped.Text = "未对照";
             this.rbNoMaped.Text = "未对照";
-            this.rbNoMaped.Visible = false;
             this.rbNoMaped.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             this.rbNoMaped.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             this.rbNoMaped.CheckedChanged += new System.EventHandler(this.rbNoMaped_CheckedChanged);
             this.rbNoMaped.CheckedChanged += new System.EventHandler(this.rbNoMaped_CheckedChanged);
             // 
             // 
@@ -964,11 +962,11 @@
             // 
             // 
             this.rbMaped.Cursor = System.Windows.Forms.Cursors.Hand;
             this.rbMaped.Cursor = System.Windows.Forms.Cursors.Hand;
             this.rbMaped.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.rbMaped.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.rbMaped.Location = new System.Drawing.Point(580, 11);
+            this.rbMaped.Location = new System.Drawing.Point(575, 11);
             this.rbMaped.MinimumSize = new System.Drawing.Size(1, 1);
             this.rbMaped.MinimumSize = new System.Drawing.Size(1, 1);
             this.rbMaped.Name = "rbMaped";
             this.rbMaped.Name = "rbMaped";
             this.rbMaped.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
             this.rbMaped.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
-            this.rbMaped.Size = new System.Drawing.Size(63, 23);
+            this.rbMaped.Size = new System.Drawing.Size(65, 23);
             this.rbMaped.TabIndex = 6;
             this.rbMaped.TabIndex = 6;
             this.rbMaped.Text = "已对照";
             this.rbMaped.Text = "已对照";
             this.rbMaped.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             this.rbMaped.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
@@ -1007,14 +1005,14 @@
             // 
             // 
             this.pgHISDirect.Dock = System.Windows.Forms.DockStyle.Bottom;
             this.pgHISDirect.Dock = System.Windows.Forms.DockStyle.Bottom;
             this.pgHISDirect.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.pgHISDirect.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.pgHISDirect.Location = new System.Drawing.Point(0, 352);
+            this.pgHISDirect.Location = new System.Drawing.Point(0, 322);
             this.pgHISDirect.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.pgHISDirect.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.pgHISDirect.MinimumSize = new System.Drawing.Size(1, 1);
             this.pgHISDirect.MinimumSize = new System.Drawing.Size(1, 1);
             this.pgHISDirect.Name = "pgHISDirect";
             this.pgHISDirect.Name = "pgHISDirect";
             this.pgHISDirect.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
             this.pgHISDirect.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
             this.pgHISDirect.ShowJumpButton = false;
             this.pgHISDirect.ShowJumpButton = false;
             this.pgHISDirect.ShowText = false;
             this.pgHISDirect.ShowText = false;
-            this.pgHISDirect.Size = new System.Drawing.Size(1179, 35);
+            this.pgHISDirect.Size = new System.Drawing.Size(1110, 35);
             this.pgHISDirect.TabIndex = 6;
             this.pgHISDirect.TabIndex = 6;
             this.pgHISDirect.Text = "uiPagination2";
             this.pgHISDirect.Text = "uiPagination2";
             this.pgHISDirect.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
             this.pgHISDirect.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1029,7 +1027,7 @@
             this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
             this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
             this.panel4.Location = new System.Drawing.Point(0, 0);
             this.panel4.Location = new System.Drawing.Point(0, 0);
             this.panel4.Name = "panel4";
             this.panel4.Name = "panel4";
-            this.panel4.Size = new System.Drawing.Size(1179, 369);
+            this.panel4.Size = new System.Drawing.Size(1110, 340);
             this.panel4.TabIndex = 3;
             this.panel4.TabIndex = 3;
             // 
             // 
             // dgvCenterDirectory
             // dgvCenterDirectory
@@ -1077,7 +1075,7 @@
             this.dgvCenterDirectory.RowsDefaultCellStyle = dataGridViewCellStyle15;
             this.dgvCenterDirectory.RowsDefaultCellStyle = dataGridViewCellStyle15;
             this.dgvCenterDirectory.RowTemplate.Height = 23;
             this.dgvCenterDirectory.RowTemplate.Height = 23;
             this.dgvCenterDirectory.SelectedIndex = -1;
             this.dgvCenterDirectory.SelectedIndex = -1;
-            this.dgvCenterDirectory.Size = new System.Drawing.Size(1179, 289);
+            this.dgvCenterDirectory.Size = new System.Drawing.Size(1110, 260);
             this.dgvCenterDirectory.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
             this.dgvCenterDirectory.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
             this.dgvCenterDirectory.TabIndex = 3;
             this.dgvCenterDirectory.TabIndex = 3;
             this.dgvCenterDirectory.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             this.dgvCenterDirectory.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
@@ -1092,7 +1090,7 @@
             this.panel6.Dock = System.Windows.Forms.DockStyle.Top;
             this.panel6.Dock = System.Windows.Forms.DockStyle.Top;
             this.panel6.Location = new System.Drawing.Point(0, 0);
             this.panel6.Location = new System.Drawing.Point(0, 0);
             this.panel6.Name = "panel6";
             this.panel6.Name = "panel6";
-            this.panel6.Size = new System.Drawing.Size(1179, 45);
+            this.panel6.Size = new System.Drawing.Size(1110, 45);
             this.panel6.TabIndex = 2;
             this.panel6.TabIndex = 2;
             // 
             // 
             // LabExplain
             // LabExplain
@@ -1102,7 +1100,7 @@
             this.LabExplain.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.LabExplain.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.LabExplain.Location = new System.Drawing.Point(736, 7);
             this.LabExplain.Location = new System.Drawing.Point(736, 7);
             this.LabExplain.Name = "LabExplain";
             this.LabExplain.Name = "LabExplain";
-            this.LabExplain.Size = new System.Drawing.Size(436, 30);
+            this.LabExplain.Size = new System.Drawing.Size(367, 30);
             this.LabExplain.TabIndex = 9;
             this.LabExplain.TabIndex = 9;
             this.LabExplain.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
             this.LabExplain.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
             this.LabExplain.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             this.LabExplain.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
@@ -1172,14 +1170,14 @@
             this.pgCenterDirect.Controls.Add(this.uiButton1);
             this.pgCenterDirect.Controls.Add(this.uiButton1);
             this.pgCenterDirect.Dock = System.Windows.Forms.DockStyle.Bottom;
             this.pgCenterDirect.Dock = System.Windows.Forms.DockStyle.Bottom;
             this.pgCenterDirect.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.pgCenterDirect.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.pgCenterDirect.Location = new System.Drawing.Point(0, 334);
+            this.pgCenterDirect.Location = new System.Drawing.Point(0, 305);
             this.pgCenterDirect.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.pgCenterDirect.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.pgCenterDirect.MinimumSize = new System.Drawing.Size(1, 1);
             this.pgCenterDirect.MinimumSize = new System.Drawing.Size(1, 1);
             this.pgCenterDirect.Name = "pgCenterDirect";
             this.pgCenterDirect.Name = "pgCenterDirect";
             this.pgCenterDirect.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
             this.pgCenterDirect.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
             this.pgCenterDirect.ShowJumpButton = false;
             this.pgCenterDirect.ShowJumpButton = false;
             this.pgCenterDirect.ShowText = false;
             this.pgCenterDirect.ShowText = false;
-            this.pgCenterDirect.Size = new System.Drawing.Size(1179, 35);
+            this.pgCenterDirect.Size = new System.Drawing.Size(1110, 35);
             this.pgCenterDirect.TabIndex = 0;
             this.pgCenterDirect.TabIndex = 0;
             this.pgCenterDirect.Text = "uiPagination3";
             this.pgCenterDirect.Text = "uiPagination3";
             this.pgCenterDirect.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
             this.pgCenterDirect.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1191,7 +1189,7 @@
             this.BtnExit1.ContextMenuStrip = this.cmsMapping;
             this.BtnExit1.ContextMenuStrip = this.cmsMapping;
             this.BtnExit1.Cursor = System.Windows.Forms.Cursors.Hand;
             this.BtnExit1.Cursor = System.Windows.Forms.Cursors.Hand;
             this.BtnExit1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.BtnExit1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.BtnExit1.Location = new System.Drawing.Point(1087, 2);
+            this.BtnExit1.Location = new System.Drawing.Point(1018, 2);
             this.BtnExit1.MinimumSize = new System.Drawing.Size(1, 1);
             this.BtnExit1.MinimumSize = new System.Drawing.Size(1, 1);
             this.BtnExit1.Name = "BtnExit1";
             this.BtnExit1.Name = "BtnExit1";
             this.BtnExit1.Size = new System.Drawing.Size(90, 32);
             this.BtnExit1.Size = new System.Drawing.Size(90, 32);
@@ -1207,7 +1205,7 @@
             this.uiButton1.ContextMenuStrip = this.cmsMapping;
             this.uiButton1.ContextMenuStrip = this.cmsMapping;
             this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
             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.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.uiButton1.Location = new System.Drawing.Point(1380, 4);
+            this.uiButton1.Location = new System.Drawing.Point(1311, 4);
             this.uiButton1.Margin = new System.Windows.Forms.Padding(4);
             this.uiButton1.Margin = new System.Windows.Forms.Padding(4);
             this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
             this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
             this.uiButton1.Name = "uiButton1";
             this.uiButton1.Name = "uiButton1";
@@ -1227,7 +1225,7 @@
             this.uiPanel3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.uiPanel3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.uiPanel3.MinimumSize = new System.Drawing.Size(1, 1);
             this.uiPanel3.MinimumSize = new System.Drawing.Size(1, 1);
             this.uiPanel3.Name = "uiPanel3";
             this.uiPanel3.Name = "uiPanel3";
-            this.uiPanel3.Size = new System.Drawing.Size(179, 767);
+            this.uiPanel3.Size = new System.Drawing.Size(179, 708);
             this.uiPanel3.TabIndex = 5;
             this.uiPanel3.TabIndex = 5;
             this.uiPanel3.Text = null;
             this.uiPanel3.Text = null;
             this.uiPanel3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
             this.uiPanel3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1248,13 +1246,41 @@
             this.rbgDirecType_C.MinimumSize = new System.Drawing.Size(1, 1);
             this.rbgDirecType_C.MinimumSize = new System.Drawing.Size(1, 1);
             this.rbgDirecType_C.Name = "rbgDirecType_C";
             this.rbgDirecType_C.Name = "rbgDirecType_C";
             this.rbgDirecType_C.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
             this.rbgDirecType_C.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
-            this.rbgDirecType_C.Size = new System.Drawing.Size(179, 767);
+            this.rbgDirecType_C.Size = new System.Drawing.Size(179, 708);
             this.rbgDirecType_C.TabIndex = 6;
             this.rbgDirecType_C.TabIndex = 6;
             this.rbgDirecType_C.Text = "目录类型";
             this.rbgDirecType_C.Text = "目录类型";
             this.rbgDirecType_C.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
             this.rbgDirecType_C.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
             this.rbgDirecType_C.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             this.rbgDirecType_C.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             this.rbgDirecType_C.ValueChanged += new Sunny.UI.UIRadioButtonGroup.OnValueChanged(this.rbgDirecType_C_ValueChanged);
             this.rbgDirecType_C.ValueChanged += new Sunny.UI.UIRadioButtonGroup.OnValueChanged(this.rbgDirecType_C_ValueChanged);
             // 
             // 
+            // ProcessBar
+            // 
+            this.ProcessBar.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.ProcessBar.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.ProcessBar.Location = new System.Drawing.Point(0, 644);
+            this.ProcessBar.MinimumSize = new System.Drawing.Size(70, 3);
+            this.ProcessBar.Name = "ProcessBar";
+            this.ProcessBar.Size = new System.Drawing.Size(179, 29);
+            this.ProcessBar.TabIndex = 29;
+            this.ProcessBar.Visible = false;
+            this.ProcessBar.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiButton2
+            // 
+            this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton2.Dock = System.Windows.Forms.DockStyle.Bottom;
+            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(0, 673);
+            this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton2.Name = "uiButton2";
+            this.uiButton2.Size = new System.Drawing.Size(179, 35);
+            this.uiButton2.TabIndex = 14;
+            this.uiButton2.Text = "其他耗材导入";
+            this.uiButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton2.Visible = false;
+            this.uiButton2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click);
+            // 
             // cmsUpdateAuxInfo
             // cmsUpdateAuxInfo
             // 
             // 
             this.cmsUpdateAuxInfo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
             this.cmsUpdateAuxInfo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
@@ -1279,41 +1305,13 @@
             this.tsmiUpdateAllAuxInfo.Size = new System.Drawing.Size(240, 26);
             this.tsmiUpdateAllAuxInfo.Size = new System.Drawing.Size(240, 26);
             this.tsmiUpdateAllAuxInfo.Text = "更新所有目录附属信息";
             this.tsmiUpdateAllAuxInfo.Text = "更新所有目录附属信息";
             // 
             // 
-            // uiButton2
-            // 
-            this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
-            this.uiButton2.Dock = System.Windows.Forms.DockStyle.Bottom;
-            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(0, 732);
-            this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
-            this.uiButton2.Name = "uiButton2";
-            this.uiButton2.Size = new System.Drawing.Size(179, 35);
-            this.uiButton2.TabIndex = 14;
-            this.uiButton2.Text = "其他耗材导入";
-            this.uiButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.uiButton2.Visible = false;
-            this.uiButton2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
-            this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click);
-            // 
-            // ProcessBar
-            // 
-            this.ProcessBar.Dock = System.Windows.Forms.DockStyle.Bottom;
-            this.ProcessBar.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.ProcessBar.Location = new System.Drawing.Point(0, 703);
-            this.ProcessBar.MinimumSize = new System.Drawing.Size(70, 3);
-            this.ProcessBar.Name = "ProcessBar";
-            this.ProcessBar.Size = new System.Drawing.Size(179, 29);
-            this.ProcessBar.TabIndex = 29;
-            this.ProcessBar.Visible = false;
-            this.ProcessBar.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
-            // 
             // BasicData
             // BasicData
             // 
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.AutoSize = true;
             this.AutoSize = true;
             this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
             this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
-            this.ClientSize = new System.Drawing.Size(1372, 808);
+            this.ClientSize = new System.Drawing.Size(1303, 749);
             this.Controls.Add(this.tabControl1);
             this.Controls.Add(this.tabControl1);
             this.Name = "BasicData";
             this.Name = "BasicData";
             this.Text = "医保基础数据平台";
             this.Text = "医保基础数据平台";

+ 129 - 129
Forms/MutualAid.Designer.cs

@@ -28,21 +28,21 @@
         /// </summary>
         /// </summary>
         private void InitializeComponent()
         private void InitializeComponent()
         {
         {
-            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 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 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();
             this.pnlClient = new Sunny.UI.UIPanel();
             this.pnlClient = new Sunny.UI.UIPanel();
             this.tb_AccountMutualAidPay = new Sunny.UI.UITabControl();
             this.tb_AccountMutualAidPay = new Sunny.UI.UITabControl();
             this.tabPage1 = new System.Windows.Forms.TabPage();
             this.tabPage1 = new System.Windows.Forms.TabPage();
@@ -75,6 +75,7 @@
             this.btnInputDemo = new Sunny.UI.UIButton();
             this.btnInputDemo = new Sunny.UI.UIButton();
             this.tabPage3 = new System.Windows.Forms.TabPage();
             this.tabPage3 = new System.Windows.Forms.TabPage();
             this.uiGroupBox11 = new Sunny.UI.UIGroupBox();
             this.uiGroupBox11 = new Sunny.UI.UIGroupBox();
+            this.rtb_InParam = new Sunny.UI.UIRichTextBox();
             this.btnReadCard = new Sunny.UI.UIButton();
             this.btnReadCard = new Sunny.UI.UIButton();
             this.uiButton2 = new Sunny.UI.UIButton();
             this.uiButton2 = new Sunny.UI.UIButton();
             this.btnQuery = new Sunny.UI.UIButton();
             this.btnQuery = new Sunny.UI.UIButton();
@@ -91,7 +92,6 @@
             this.dt_ET = new Sunny.UI.UIDatetimePicker();
             this.dt_ET = new Sunny.UI.UIDatetimePicker();
             this.dt_ST = new Sunny.UI.UIDatetimePicker();
             this.dt_ST = new Sunny.UI.UIDatetimePicker();
             this.dgv_MutualAidQuery = new Sunny.UI.UIDataGridView();
             this.dgv_MutualAidQuery = new Sunny.UI.UIDataGridView();
-            this.rtb_InParam = new Sunny.UI.UIRichTextBox();
             this.pnlClient.SuspendLayout();
             this.pnlClient.SuspendLayout();
             this.tb_AccountMutualAidPay.SuspendLayout();
             this.tb_AccountMutualAidPay.SuspendLayout();
             this.tabPage1.SuspendLayout();
             this.tabPage1.SuspendLayout();
@@ -275,7 +275,7 @@
             this.btYes.Location = new System.Drawing.Point(1167, 13);
             this.btYes.Location = new System.Drawing.Point(1167, 13);
             this.btYes.MinimumSize = new System.Drawing.Size(1, 1);
             this.btYes.MinimumSize = new System.Drawing.Size(1, 1);
             this.btYes.Name = "btYes";
             this.btYes.Name = "btYes";
-            this.btYes.Size = new System.Drawing.Size(92, 56);
+            this.btYes.Size = new System.Drawing.Size(99, 56);
             this.btYes.TabIndex = 2;
             this.btYes.TabIndex = 2;
             this.btYes.Text = "2.确认完成";
             this.btYes.Text = "2.确认完成";
             this.btYes.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btYes.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -301,47 +301,47 @@
             // dgvSettlInfo
             // dgvSettlInfo
             // 
             // 
             this.dgvSettlInfo.AllowUserToAddRows = false;
             this.dgvSettlInfo.AllowUserToAddRows = false;
-            dataGridViewCellStyle21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
-            this.dgvSettlInfo.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle21;
+            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvSettlInfo.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
             this.dgvSettlInfo.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
             this.dgvSettlInfo.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
             this.dgvSettlInfo.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
             this.dgvSettlInfo.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.dgvSettlInfo.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle22;
+            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.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvSettlInfo.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
             this.dgvSettlInfo.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
             this.dgvSettlInfo.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.dgvSettlInfo.DefaultCellStyle = dataGridViewCellStyle23;
+            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvSettlInfo.DefaultCellStyle = dataGridViewCellStyle3;
             this.dgvSettlInfo.Dock = System.Windows.Forms.DockStyle.Fill;
             this.dgvSettlInfo.Dock = System.Windows.Forms.DockStyle.Fill;
             this.dgvSettlInfo.EnableHeadersVisualStyles = false;
             this.dgvSettlInfo.EnableHeadersVisualStyles = false;
             this.dgvSettlInfo.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.dgvSettlInfo.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.dgvSettlInfo.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
             this.dgvSettlInfo.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
             this.dgvSettlInfo.Location = new System.Drawing.Point(0, 32);
             this.dgvSettlInfo.Location = new System.Drawing.Point(0, 32);
             this.dgvSettlInfo.Name = "dgvSettlInfo";
             this.dgvSettlInfo.Name = "dgvSettlInfo";
-            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.dgvSettlInfo.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.dgvSettlInfo.RowsDefaultCellStyle = dataGridViewCellStyle25;
+            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((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.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvSettlInfo.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)));
+            dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            this.dgvSettlInfo.RowsDefaultCellStyle = dataGridViewCellStyle5;
             this.dgvSettlInfo.RowTemplate.Height = 23;
             this.dgvSettlInfo.RowTemplate.Height = 23;
             this.dgvSettlInfo.SelectedIndex = -1;
             this.dgvSettlInfo.SelectedIndex = -1;
             this.dgvSettlInfo.Size = new System.Drawing.Size(1404, 419);
             this.dgvSettlInfo.Size = new System.Drawing.Size(1404, 419);
@@ -367,47 +367,47 @@
             // dgvSumamt
             // dgvSumamt
             // 
             // 
             this.dgvSumamt.AllowUserToAddRows = false;
             this.dgvSumamt.AllowUserToAddRows = false;
-            dataGridViewCellStyle26.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
-            this.dgvSumamt.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle26;
+            dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgvSumamt.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6;
             this.dgvSumamt.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
             this.dgvSumamt.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
             this.dgvSumamt.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
             this.dgvSumamt.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.dgvSumamt.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle27;
+            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.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvSumamt.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
             this.dgvSumamt.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
             this.dgvSumamt.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.dgvSumamt.DefaultCellStyle = dataGridViewCellStyle28;
+            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle8.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle8.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle8.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvSumamt.DefaultCellStyle = dataGridViewCellStyle8;
             this.dgvSumamt.Dock = System.Windows.Forms.DockStyle.Fill;
             this.dgvSumamt.Dock = System.Windows.Forms.DockStyle.Fill;
             this.dgvSumamt.EnableHeadersVisualStyles = false;
             this.dgvSumamt.EnableHeadersVisualStyles = false;
             this.dgvSumamt.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.dgvSumamt.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.dgvSumamt.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
             this.dgvSumamt.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
             this.dgvSumamt.Location = new System.Drawing.Point(0, 32);
             this.dgvSumamt.Location = new System.Drawing.Point(0, 32);
             this.dgvSumamt.Name = "dgvSumamt";
             this.dgvSumamt.Name = "dgvSumamt";
-            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.dgvSumamt.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.dgvSumamt.RowsDefaultCellStyle = dataGridViewCellStyle30;
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((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.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvSumamt.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)));
+            dataGridViewCellStyle10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle10.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle10.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            this.dgvSumamt.RowsDefaultCellStyle = dataGridViewCellStyle10;
             this.dgvSumamt.RowTemplate.Height = 23;
             this.dgvSumamt.RowTemplate.Height = 23;
             this.dgvSumamt.SelectedIndex = -1;
             this.dgvSumamt.SelectedIndex = -1;
             this.dgvSumamt.Size = new System.Drawing.Size(1404, 191);
             this.dgvSumamt.Size = new System.Drawing.Size(1404, 191);
@@ -671,6 +671,22 @@
             this.uiGroupBox11.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
             this.uiGroupBox11.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
             this.uiGroupBox11.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             this.uiGroupBox11.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             // 
             // 
+            // rtb_InParam
+            // 
+            this.rtb_InParam.Dock = System.Windows.Forms.DockStyle.Top;
+            this.rtb_InParam.FillColor = System.Drawing.Color.White;
+            this.rtb_InParam.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.rtb_InParam.Location = new System.Drawing.Point(0, 313);
+            this.rtb_InParam.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.rtb_InParam.MinimumSize = new System.Drawing.Size(1, 1);
+            this.rtb_InParam.Name = "rtb_InParam";
+            this.rtb_InParam.Padding = new System.Windows.Forms.Padding(2);
+            this.rtb_InParam.ShowText = false;
+            this.rtb_InParam.Size = new System.Drawing.Size(295, 218);
+            this.rtb_InParam.TabIndex = 29;
+            this.rtb_InParam.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.rtb_InParam.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
             // btnReadCard
             // btnReadCard
             // 
             // 
             this.btnReadCard.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
             this.btnReadCard.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
@@ -897,69 +913,53 @@
             // dgv_MutualAidQuery
             // dgv_MutualAidQuery
             // 
             // 
             this.dgv_MutualAidQuery.AllowUserToAddRows = false;
             this.dgv_MutualAidQuery.AllowUserToAddRows = false;
-            dataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
-            this.dgv_MutualAidQuery.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle16;
+            dataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
+            this.dgv_MutualAidQuery.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11;
             this.dgv_MutualAidQuery.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
             this.dgv_MutualAidQuery.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
             this.dgv_MutualAidQuery.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
             this.dgv_MutualAidQuery.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.dgv_MutualAidQuery.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle17;
+            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_MutualAidQuery.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
             this.dgv_MutualAidQuery.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
             this.dgv_MutualAidQuery.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.dgv_MutualAidQuery.DefaultCellStyle = dataGridViewCellStyle18;
+            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_MutualAidQuery.DefaultCellStyle = dataGridViewCellStyle13;
             this.dgv_MutualAidQuery.Dock = System.Windows.Forms.DockStyle.Fill;
             this.dgv_MutualAidQuery.Dock = System.Windows.Forms.DockStyle.Fill;
             this.dgv_MutualAidQuery.EnableHeadersVisualStyles = false;
             this.dgv_MutualAidQuery.EnableHeadersVisualStyles = false;
             this.dgv_MutualAidQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.dgv_MutualAidQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.dgv_MutualAidQuery.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
             this.dgv_MutualAidQuery.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
             this.dgv_MutualAidQuery.Location = new System.Drawing.Point(0, 0);
             this.dgv_MutualAidQuery.Location = new System.Drawing.Point(0, 0);
             this.dgv_MutualAidQuery.Name = "dgv_MutualAidQuery";
             this.dgv_MutualAidQuery.Name = "dgv_MutualAidQuery";
-            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.dgv_MutualAidQuery.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.dgv_MutualAidQuery.RowsDefaultCellStyle = dataGridViewCellStyle20;
+            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_MutualAidQuery.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_MutualAidQuery.RowsDefaultCellStyle = dataGridViewCellStyle15;
             this.dgv_MutualAidQuery.RowTemplate.Height = 23;
             this.dgv_MutualAidQuery.RowTemplate.Height = 23;
             this.dgv_MutualAidQuery.SelectedIndex = -1;
             this.dgv_MutualAidQuery.SelectedIndex = -1;
             this.dgv_MutualAidQuery.Size = new System.Drawing.Size(1404, 674);
             this.dgv_MutualAidQuery.Size = new System.Drawing.Size(1404, 674);
             this.dgv_MutualAidQuery.TabIndex = 1;
             this.dgv_MutualAidQuery.TabIndex = 1;
             this.dgv_MutualAidQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             this.dgv_MutualAidQuery.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             // 
             // 
-            // rtb_InParam
-            // 
-            this.rtb_InParam.Dock = System.Windows.Forms.DockStyle.Top;
-            this.rtb_InParam.FillColor = System.Drawing.Color.White;
-            this.rtb_InParam.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.rtb_InParam.Location = new System.Drawing.Point(0, 313);
-            this.rtb_InParam.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
-            this.rtb_InParam.MinimumSize = new System.Drawing.Size(1, 1);
-            this.rtb_InParam.Name = "rtb_InParam";
-            this.rtb_InParam.Padding = new System.Windows.Forms.Padding(2);
-            this.rtb_InParam.ShowText = false;
-            this.rtb_InParam.Size = new System.Drawing.Size(295, 218);
-            this.rtb_InParam.TabIndex = 29;
-            this.rtb_InParam.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
-            this.rtb_InParam.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
-            // 
             // MutualAid
             // MutualAid
             // 
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);

+ 12 - 3
Forms/OutpatientRegistration.cs

@@ -114,6 +114,7 @@ namespace PTMedicalInsurance.Forms
         public string traumaFlag = "0";
         public string traumaFlag = "0";
         public string relTtpFlag = "0";
         public string relTtpFlag = "0";
         public string hospType = "0";
         public string hospType = "0";
+        public string WltpayUsedFlag = "0";
 
 
         private DataTable GetDBLKComboxTable(string sqlStr)
         private DataTable GetDBLKComboxTable(string sqlStr)
         {
         {
@@ -200,11 +201,19 @@ namespace PTMedicalInsurance.Forms
             else
             else
                 relTtpFlag = "0";
                 relTtpFlag = "0";
 
 
+            //医保钱包账户支付
+            if (cbxWltpayPay.Checked)
+                WltpayUsedFlag = "1";
+            else
+                WltpayUsedFlag = "0";
+
             //扩展字段
             //扩展字段
-            if (Global.pat.mdtrtcertType == "01")  //银海说二维码信息可以不填写了Global.pat.ExpContent = Global.pat.card.QrCode + "|" + Global.pat.CrossYearHosp + "||" + Global.pat.DisType + "|" + Global.inf.hospitalNO + "|" + iptTypeCode + "||" + traumaFlag + "|" + relTtpFlag;
-                Global.pat.ExpContent = "|" + Global.pat.CrossYearHosp + "||" + Global.pat.DisType + "|" + Global.inf.hospitalNO + "|" + iptTypeCode + "||" + traumaFlag + "|" + relTtpFlag;
+            //银海说二维码信息可以不填写了Global.pat.ExpContent = Global.pat.card.QrCode + "|" + Global.pat.CrossYearHosp + "||" + Global.pat.DisType + "|" + Global.inf.hospitalNO + "|" + iptTypeCode + "|就诊人群类型|" + traumaFlag + "|" + relTtpFlag+"|急诊标志|||处方号"+WltpayUsedFlag+"|";
+            //"exp_content": "电子医保凭证卡串|跨年住院标志|门慢输血费标志|单病种类型|开方机构编码|住院类型|就诊人群类型|外伤标志|涉及第三方标志|急诊标志|||处方号|钱包账户使用标志|"
+            if (Global.pat.mdtrtcertType == "01")
+                Global.pat.ExpContent = "|" + Global.pat.CrossYearHosp + "||" + Global.pat.DisType + "|" + Global.inf.hospitalNO + "|" + iptTypeCode + "||" + traumaFlag + "|" + relTtpFlag + "|||||" + WltpayUsedFlag;
             else
             else
-                Global.pat.ExpContent = "|" + Global.pat.CrossYearHosp + "||" + Global.pat.DisType + "|" + Global.inf.hospitalNO + "|" + iptTypeCode + "||" + traumaFlag + "|" + relTtpFlag;
+                Global.pat.ExpContent = "|" + Global.pat.CrossYearHosp + "||" + Global.pat.DisType + "|" + Global.inf.hospitalNO + "|" + iptTypeCode + "||" + traumaFlag + "|" + relTtpFlag + "|||||" + WltpayUsedFlag;
 
 
             this.DialogResult = DialogResult.OK;
             this.DialogResult = DialogResult.OK;
         }
         }

+ 16 - 0
Forms/OutpatientRegistration.designer.cs

@@ -70,6 +70,7 @@ namespace PTMedicalInsurance.Forms
             this.uiButton1 = new Sunny.UI.UIButton();
             this.uiButton1 = new Sunny.UI.UIButton();
             this.button2 = new System.Windows.Forms.Button();
             this.button2 = new System.Windows.Forms.Button();
             this.btnOk = new System.Windows.Forms.Button();
             this.btnOk = new System.Windows.Forms.Button();
+            this.cbxWltpayPay = new Sunny.UI.UICheckBox();
             this.panel1.SuspendLayout();
             this.panel1.SuspendLayout();
             this.panel2.SuspendLayout();
             this.panel2.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.dgvDiagnose)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.dgvDiagnose)).BeginInit();
@@ -79,6 +80,7 @@ namespace PTMedicalInsurance.Forms
             // panel1
             // panel1
             // 
             // 
             this.panel1.BackColor = System.Drawing.SystemColors.Window;
             this.panel1.BackColor = System.Drawing.SystemColors.Window;
+            this.panel1.Controls.Add(this.cbxWltpayPay);
             this.panel1.Controls.Add(this.cbxMdtrtGrpType);
             this.panel1.Controls.Add(this.cbxMdtrtGrpType);
             this.panel1.Controls.Add(this.label9);
             this.panel1.Controls.Add(this.label9);
             this.panel1.Controls.Add(this.dblkcbxHospType);
             this.panel1.Controls.Add(this.dblkcbxHospType);
@@ -591,6 +593,19 @@ namespace PTMedicalInsurance.Forms
             this.btnOk.UseVisualStyleBackColor = true;
             this.btnOk.UseVisualStyleBackColor = true;
             this.btnOk.Click += new System.EventHandler(this.button1_Click);
             this.btnOk.Click += new System.EventHandler(this.button1_Click);
             // 
             // 
+            // cbxWltpayPay
+            // 
+            this.cbxWltpayPay.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.cbxWltpayPay.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cbxWltpayPay.Location = new System.Drawing.Point(956, 250);
+            this.cbxWltpayPay.MinimumSize = new System.Drawing.Size(1, 1);
+            this.cbxWltpayPay.Name = "cbxWltpayPay";
+            this.cbxWltpayPay.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
+            this.cbxWltpayPay.Size = new System.Drawing.Size(168, 29);
+            this.cbxWltpayPay.TabIndex = 36;
+            this.cbxWltpayPay.Text = "使用医保钱包账户";
+            this.cbxWltpayPay.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
             // OutpatientRegistration
             // OutpatientRegistration
             // 
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
@@ -669,5 +684,6 @@ namespace PTMedicalInsurance.Forms
         private Sunny.UI.UICheckBox Chk_TraumaFlag;
         private Sunny.UI.UICheckBox Chk_TraumaFlag;
         private System.Windows.Forms.ComboBox cbxMdtrtGrpType;
         private System.Windows.Forms.ComboBox cbxMdtrtGrpType;
         private System.Windows.Forms.Label label9;
         private System.Windows.Forms.Label label9;
+        private Sunny.UI.UICheckBox cbxWltpayPay;
     }
     }
 }
 }

+ 66 - 1
Forms/SettlementBilllist.cs

@@ -141,6 +141,8 @@ namespace PTMedicalInsurance.Forms
                 sqlStr = sqlStr + " and BillType=-1 and ValidFlag=0 ";
                 sqlStr = sqlStr + " and BillType=-1 and ValidFlag=0 ";
             }
             }
 
 
+            sqlStr = sqlStr + " Order By ID DESC ";
+
             JObject joSqlstr = new JObject();
             JObject joSqlstr = new JObject();
             joSqlstr.Add("sqlStr", sqlStr);
             joSqlstr.Add("sqlStr", sqlStr);
             JArray jaParam = new JArray();
             JArray jaParam = new JArray();
@@ -156,7 +158,70 @@ namespace PTMedicalInsurance.Forms
 
 
         public void btnPrint_Click(object sender, EventArgs e)
         public void btnPrint_Click(object sender, EventArgs e)
         {
         {
-           
+            try
+            {
+                #region【调用银海COM组件打印结算单弹框-P0001交易】
+                //调用银海com组件读卡弹框 P0001交易
+                InvokeHelper yinhaiCom = new InvokeHelper();
+                JObject joInputP0001 = new JObject();
+                dynamic joDataP0001 = new JObject();
+                string errorMsg = "";
+                int iHis = dgvSettlRecord.CurrentRow.Index;
+                joDataP0001.setlId = dgvSettlRecord.Rows[iHis].Cells["SettlementID"].Value;
+                joDataP0001.mdtrtId = dgvSettlRecord.Rows[iHis].Cells["MdtrtID"].Value;
+                joDataP0001.psn_no = dgvSettlRecord.Rows[iHis].Cells["PersonnelNO"].Value;
+                joDataP0001.medinsSetlId = dgvSettlRecord.Rows[iHis].Cells["MSGID"].Value;
+                //joDataP0001.msgId = dgvSettlRecord.Rows[iHis].Cells["MSGID"].Value;
+                dynamic InputP0001 = new JObject();
+                InputP0001.data = JObject.FromObject(joDataP0001);
+
+                //交易输入报文格式
+                joInputP0001["TOKEN"] = "";
+                joInputP0001["cainfo"] = "";
+                joInputP0001["fixmedins_code"] = Global.inf.hospitalNO;
+                joInputP0001["fixmedins_name"] = Global.inf.hospitalName;
+                joInputP0001["inf_time"] = DateTime.Now.ToString("yyyy-mm-dd HH:mm:ss");
+                joInputP0001["infno"] = "P0001";
+                joInputP0001["infver"] = "V1.0";
+                joInputP0001.Add("input", JObject.FromObject(InputP0001));
+                joInputP0001["oinfno"] = "";
+                joInputP0001["sign_no"] = Global.curEvt.signno;
+                joInputP0001["msgid"] = Global.inf.hospitalNO + DateTime.Now.ToString("yyyyMMddHHmmssffff");
+                joInputP0001["opter"] = Global.user.ID;
+                joInputP0001["opter_name"] = Global.user.name;
+                joInputP0001["pay_loc"] = "";
+                joInputP0001["recer_admvs"] = Global.inf.areaCode;
+                joInputP0001["sender_admdvs"] = Global.inf.areaCode;
+                joInputP0001["insuplc_admdvs"] = Global.inf.areaCode;
+                joInputP0001["mdtrtarea_admvs"] = Global.inf.areaCode;
+                joInputP0001["recer_sys_code"] = "GuangXi";
+                joInputP0001["opter_type"] = Global.user.type;
+
+                //MessageBox.Show(joInputP0001.ToString());
+
+                string sRtnValueP0001 = string.Empty;
+                yinhaiCom.Call("P0001", joInputP0001.ToString(), out sRtnValueP0001);
+
+                JObject joRtnP0001 = new JObject();
+                joRtnP0001 = JObject.Parse(sRtnValueP0001);
+
+                if (JsonHelper.parseCenterRtnValue(joRtnP0001, out errorMsg) != 0)
+                {
+                    MessageBox.Show("调用银海打印结算单控件失败:" + errorMsg);
+                    return;
+                }
+                #endregion
+
+                //Thread thread = new Thread(new ThreadStart(print));
+                //thread.SetApartmentState(ApartmentState.STA); //重点
+                //thread.Start();
+                //thread.Join();
+            }
+            catch (Exception ex)
+            {
+                Global.writeLog("结算单打印异常:" + ex.Message);
+                MessageBox.Show("打印异常:" + ex.Message);
+            }
         }       
         }       
 
 
         public void btnDesign_Click(object sender, EventArgs e)
         public void btnDesign_Click(object sender, EventArgs e)

+ 24 - 6
Forms/SettlementBilllist.designer.cs

@@ -51,6 +51,7 @@ namespace PTMedicalInsurance.Forms
             this.dpST = new Sunny.UI.UIDatetimePicker();
             this.dpST = new Sunny.UI.UIDatetimePicker();
             this.pgSettlRecod = new Sunny.UI.UIPagination();
             this.pgSettlRecod = new Sunny.UI.UIPagination();
             this.dgvSettlRecord = new Sunny.UI.UIDataGridView();
             this.dgvSettlRecord = new Sunny.UI.UIDataGridView();
+            this.btnPrint = new Sunny.UI.UIButton();
             this.uiPanel1.SuspendLayout();
             this.uiPanel1.SuspendLayout();
             this.gbExactLocate.SuspendLayout();
             this.gbExactLocate.SuspendLayout();
             this.gbInterface.SuspendLayout();
             this.gbInterface.SuspendLayout();
@@ -60,6 +61,7 @@ namespace PTMedicalInsurance.Forms
             // 
             // 
             // uiPanel1
             // uiPanel1
             // 
             // 
+            this.uiPanel1.Controls.Add(this.btnPrint);
             this.uiPanel1.Controls.Add(this.btnUpdateMedInsuFee);
             this.uiPanel1.Controls.Add(this.btnUpdateMedInsuFee);
             this.uiPanel1.Controls.Add(this.btnClose);
             this.uiPanel1.Controls.Add(this.btnClose);
             this.uiPanel1.Controls.Add(this.gbExactLocate);
             this.uiPanel1.Controls.Add(this.gbExactLocate);
@@ -82,10 +84,10 @@ namespace PTMedicalInsurance.Forms
             // 
             // 
             // btnUpdateMedInsuFee
             // btnUpdateMedInsuFee
             // 
             // 
-            this.btnUpdateMedInsuFee.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnUpdateMedInsuFee.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
             this.btnUpdateMedInsuFee.Cursor = System.Windows.Forms.Cursors.Hand;
             this.btnUpdateMedInsuFee.Cursor = System.Windows.Forms.Cursors.Hand;
             this.btnUpdateMedInsuFee.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnUpdateMedInsuFee.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnUpdateMedInsuFee.Location = new System.Drawing.Point(1118, 20);
+            this.btnUpdateMedInsuFee.Location = new System.Drawing.Point(1006, 20);
             this.btnUpdateMedInsuFee.MinimumSize = new System.Drawing.Size(1, 1);
             this.btnUpdateMedInsuFee.MinimumSize = new System.Drawing.Size(1, 1);
             this.btnUpdateMedInsuFee.Name = "btnUpdateMedInsuFee";
             this.btnUpdateMedInsuFee.Name = "btnUpdateMedInsuFee";
             this.btnUpdateMedInsuFee.Size = new System.Drawing.Size(164, 85);
             this.btnUpdateMedInsuFee.Size = new System.Drawing.Size(164, 85);
@@ -97,10 +99,10 @@ namespace PTMedicalInsurance.Forms
             // 
             // 
             // btnClose
             // btnClose
             // 
             // 
-            this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
             this.btnClose.Cursor = System.Windows.Forms.Cursors.Hand;
             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.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnClose.Location = new System.Drawing.Point(1286, 20);
+            this.btnClose.Location = new System.Drawing.Point(1284, 20);
             this.btnClose.MinimumSize = new System.Drawing.Size(1, 1);
             this.btnClose.MinimumSize = new System.Drawing.Size(1, 1);
             this.btnClose.Name = "btnClose";
             this.btnClose.Name = "btnClose";
             this.btnClose.Size = new System.Drawing.Size(110, 85);
             this.btnClose.Size = new System.Drawing.Size(110, 85);
@@ -208,10 +210,10 @@ namespace PTMedicalInsurance.Forms
             // 
             // 
             // btnQuery
             // btnQuery
             // 
             // 
-            this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
             this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
             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.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnQuery.Location = new System.Drawing.Point(980, 20);
+            this.btnQuery.Location = new System.Drawing.Point(870, 20);
             this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
             this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
             this.btnQuery.Name = "btnQuery";
             this.btnQuery.Name = "btnQuery";
             this.btnQuery.Size = new System.Drawing.Size(134, 85);
             this.btnQuery.Size = new System.Drawing.Size(134, 85);
@@ -383,6 +385,21 @@ namespace PTMedicalInsurance.Forms
             this.dgvSettlRecord.TabIndex = 7;
             this.dgvSettlRecord.TabIndex = 7;
             this.dgvSettlRecord.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             this.dgvSettlRecord.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             // 
             // 
+            // btnPrint
+            // 
+            this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnPrint.Cursor = System.Windows.Forms.Cursors.Hand;
+            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(1172, 20);
+            this.btnPrint.MinimumSize = new System.Drawing.Size(1, 1);
+            this.btnPrint.Name = "btnPrint";
+            this.btnPrint.Size = new System.Drawing.Size(110, 85);
+            this.btnPrint.TabIndex = 28;
+            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);
+            // 
             // SettlementBillPrint
             // SettlementBillPrint
             // 
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@@ -422,5 +439,6 @@ namespace PTMedicalInsurance.Forms
         private Sunny.UI.UIPagination pgSettlRecod;
         private Sunny.UI.UIPagination pgSettlRecod;
         public Sunny.UI.UIDataGridView dgvSettlRecord;
         public Sunny.UI.UIDataGridView dgvSettlRecord;
         private Sunny.UI.UIButton btnUpdateMedInsuFee;
         private Sunny.UI.UIButton btnUpdateMedInsuFee;
+        private Sunny.UI.UIButton btnPrint;
     }
     }
 }
 }

+ 9 - 3
Helper/JsonHelper.cs

@@ -327,17 +327,23 @@ namespace PTMedicalInsurance.Helper
             //else
             //else
             //    Jo.mdtrtarea_admvs = "459900";
             //    Jo.mdtrtarea_admvs = "459900";
 
 
-            if (Global.pat.insuplc_admdvs_GJSQR.Substring(0, 4) == "4501")
+            if (Global.pat.insuplc_admdvs_GJSQR.Substring(0, 4) == "4599")
+            {
+                Jo.mdtrtarea_admvs = "459900";
+                Global.pat.mdtrtarea_admvs = "459900";
+            }
+            else
             {
             {
                 Jo.mdtrtarea_admvs = "450100";
                 Jo.mdtrtarea_admvs = "450100";
                 Global.pat.mdtrtarea_admvs = "450100";
                 Global.pat.mdtrtarea_admvs = "450100";
             }
             }
-            else
+
+            if ((Global.inf.mutualAidInterfaceDr == 11) && (Global.pat.insuplc_admdvs_GJSQR.Substring(0, 4) == "4501") && (Global.pat.mdtrtcertType_GJSQR == "03")) //收费员选择广西区医保读社保卡 
             {
             {
                 Jo.mdtrtarea_admvs = "459900";
                 Jo.mdtrtarea_admvs = "459900";
                 Global.pat.mdtrtarea_admvs = "459900";
                 Global.pat.mdtrtarea_admvs = "459900";
             }
             }
-           
+
             //Jo.mdtrtarea_admvs = "450103";
             //Jo.mdtrtarea_admvs = "450103";
             Jo.recer_sys_code = "GuangXi";
             Jo.recer_sys_code = "GuangXi";
             Jo.dev_no = Global.curEvt.mac;
             Jo.dev_no = Global.curEvt.mac;

+ 57 - 23
InsuBusiness.cs

@@ -94,26 +94,35 @@ namespace PTMedicalInsurance
                 {
                 {
                     if (mIS.isSigned(ref Global.curEvt.signno) != true)
                     if (mIS.isSigned(ref Global.curEvt.signno) != true)
                     {
                     {
-                        //签到
-                        if (cBus.signIn(out joRtn) != 0)
+                        if ((businessType != "BasicData") || (businessType != "MedInsuQuery"))//如果是打开数据对照界面不调用初始化   
                         {
                         {
-                            rtnResult = JsonHelper.setExceptionJson(-1, "签到异常", (string)joRtn["err_msg"]).ToString();
-                            return rtnResult;
-                        }
-                        else
-                        {
-                            Global.curEvt.signno = JsonHelper.getDestValue(joRtn, "output.signinoutb.sign_no");
-
-                            //插入签到表
-                            if (mIS.saveSignRecord(Global.curEvt.signno, out errMsg) != 0)
+                            //签到
+                            if (cBus.signIn(out joRtn) != 0)
                             {
                             {
-                                rtnResult = JsonHelper.setIrisReturnValue(0, "中心签到成功但插入签到表失败:" + errMsg, null).ToString();
+                                rtnResult = JsonHelper.setExceptionJson(-1, "签到异常", (string)joRtn["err_msg"]).ToString();
+                                return rtnResult;
                             }
                             }
                             else
                             else
                             {
                             {
-                                rtnResult = JsonHelper.setIrisReturnValue(0, "签到成功", joRtn).ToString();
+                                Global.curEvt.signno = JsonHelper.getDestValue(joRtn, "output.signinoutb.sign_no");
+
+                                //插入签到表
+                                if (mIS.saveSignRecord(Global.curEvt.signno, out errMsg) != 0)
+                                {
+                                    rtnResult = JsonHelper.setIrisReturnValue(0, "中心签到成功但插入签到表失败:" + errMsg, null).ToString();
+                                }
+                                else
+                                {
+                                    rtnResult = JsonHelper.setIrisReturnValue(0, "签到成功", joRtn).ToString();
+                                }
                             }
                             }
                         }
                         }
+                        else
+                        {
+                            Global.curEvt.signno = "ABC123";
+                            rtnResult = JsonHelper.setIrisReturnValue(0, "初始化成功(医保对照不初始化)!", null).ToString();
+                        }
+                           
                     }
                     }
                     else
                     else
                     {
                     {
@@ -184,7 +193,12 @@ namespace PTMedicalInsurance
             }
             }
             JObject joInParam = JObject.Parse(InParam);
             JObject joInParam = JObject.Parse(InParam);
             string businessType = JsonHelper.getDestValue(joInParam,"businessType");
             string businessType = JsonHelper.getDestValue(joInParam,"businessType");
-            
+            Global.pat.admID = JsonHelper.getDestValue(joInParam, "params[0].admID");
+            if (!string.IsNullOrEmpty(Global.pat.admID))
+            {
+                Global.pat.adm_Dr = int.Parse(Global.pat.admID);
+            }
+
             try
             try
             {
             {
                 switch (businessType)
                 switch (businessType)
@@ -198,8 +212,16 @@ namespace PTMedicalInsurance
                             }
                             }
                             else
                             else
                             {
                             {
+                                string patInfo = outParam;
+
+                                if (hBus.setGlobalPatAfaterShowPatInfo(patInfo, out errMsg) != 0)
+                                {
+                                    rtnResult = JsonHelper.setExceptionJson(-1, "setGlobalPatAfaterShowPatInfo", errMsg).ToString();
+                                    return rtnResult;
+                                }
+
                                 //展示患者信息界面
                                 //展示患者信息界面
-                                if (hBus.showPatInfo(outParam, out outParam) != 0)
+                                if (hBus.showPatInfo(patInfo, out outParam) != 0)
                                 {
                                 {
                                     rtnResult = outParam;
                                     rtnResult = outParam;
                                 }
                                 }
@@ -220,6 +242,13 @@ namespace PTMedicalInsurance
                             else
                             else
                             {
                             {
                                 string patInfo = outParam;
                                 string patInfo = outParam;
+
+                                if (hBus.setGlobalPatAfaterShowPatInfo(patInfo, out errMsg) != 0)
+                                {
+                                    rtnResult = JsonHelper.setExceptionJson(-1, "setGlobalPatAfaterShowPatInfo", errMsg).ToString();
+                                    return rtnResult;
+                                }
+
                                 //展示患者信息界面
                                 //展示患者信息界面
                                 if (hBus.showPatInfo(patInfo, out outParam) != 0)
                                 if (hBus.showPatInfo(patInfo, out outParam) != 0)
                                 {
                                 {
@@ -233,6 +262,18 @@ namespace PTMedicalInsurance
                             break;
                             break;
                         }     
                         }     
                 }
                 }
+
+                //在这里判断,建档的时候会直接拦截,因此加上判断条件
+                //校验HIS姓名与医保姓名是否一致
+                if (!string.IsNullOrEmpty(Global.pat.admID))
+                {
+                    if (hBus.checkName(Global.pat.name, out errMsg) != 0)
+                    {
+                        rtnResult = JsonHelper.setExceptionJson(-1, "校验HIS与医保姓名是否一致", errMsg).ToString();
+                        return rtnResult;
+                    }
+                }
+
                 return rtnResult;
                 return rtnResult;
             }
             }
             catch (Exception ex)
             catch (Exception ex)
@@ -1377,16 +1418,13 @@ namespace PTMedicalInsurance
                                     }
                                     }
                                     //返回给HIS
                                     //返回给HIS
                                     JObject joSetlinfo = JObject.Parse(JsonHelper.getDestValue(jo2304Rtn, "output.setlinfo"));
                                     JObject joSetlinfo = JObject.Parse(JsonHelper.getDestValue(jo2304Rtn, "output.setlinfo"));
-
-
-
-
         
         
                                     Global.Set.settlID = JsonHelper.getDestValue(jo2304Rtn, "output.setlinfo.setl_id");     //使用人-结算ID
                                     Global.Set.settlID = JsonHelper.getDestValue(jo2304Rtn, "output.setlinfo.setl_id");     //使用人-结算ID
                                     Global.Set.mdtrtID = JsonHelper.getDestValue(jo2304Rtn, "output.setlinfo.mdtrt_id");    //使用人-就诊ID
                                     Global.Set.mdtrtID = JsonHelper.getDestValue(jo2304Rtn, "output.setlinfo.mdtrt_id");    //使用人-就诊ID
                                     Global.pat.psn_no = JsonHelper.getDestValue(jo2304Rtn, "output.setlinfo.psn_type");     //使用人-人员类别
                                     Global.pat.psn_no = JsonHelper.getDestValue(jo2304Rtn, "output.setlinfo.psn_type");     //使用人-人员类别
                                     Global.pat.name_SYR = JsonHelper.getDestValue(jo2304Rtn, "output.setlinfo.psn_name");   //使用人姓名
                                     Global.pat.name_SYR = JsonHelper.getDestValue(jo2304Rtn, "output.setlinfo.psn_name");   //使用人姓名
                                     Global.pat.certNO_SYR = JsonHelper.getDestValue(jo2304Rtn, "output.setlinfo.certno");   //使用人证件号码
                                     Global.pat.certNO_SYR = JsonHelper.getDestValue(jo2304Rtn, "output.setlinfo.certno");   //使用人证件号码
+
                                     #region【医保账户代支业务】               
                                     #region【医保账户代支业务】               
                                     if (Global.pat.AccountMutualAidPay)
                                     if (Global.pat.AccountMutualAidPay)
                                     {
                                     {
@@ -1485,10 +1523,6 @@ namespace PTMedicalInsurance
                                         }
                                         }
                                     }
                                     }
 
 
-
-
-
-
                                     if (hIS.returnInpatSettlementInfo(joParam, joSetlinfo, out outParam) != 0)
                                     if (hIS.returnInpatSettlementInfo(joParam, joSetlinfo, out outParam) != 0)
                                     {
                                     {
                                         rtnResult = JsonHelper.setExceptionJson(-1, "返回结算信息给HIS", outParam).ToString();
                                         rtnResult = JsonHelper.setExceptionJson(-1, "返回结算信息给HIS", outParam).ToString();

+ 4 - 0
Variables/Struct.cs

@@ -90,6 +90,7 @@ namespace PTMedicalInsurance.Variables
     public struct Patients
     public struct Patients
     {
     {
         public int adm_Dr;
         public int adm_Dr;
+        public string admID;
         public string mdtrtID;
         public string mdtrtID;
         public string mdtrtID_GJSQR;
         public string mdtrtID_GJSQR;
         public string name;
         public string name;
@@ -235,6 +236,9 @@ namespace PTMedicalInsurance.Variables
         public int hospitalizationsDays;
         public int hospitalizationsDays;
         public string hisAdmTime;
         public string hisAdmTime;
         public string hisDischargeTime;
         public string hisDischargeTime;
+
+        public string minpacunt_drug_trac_cnt; //本次结算应上传最小包装追溯码数量
+        public string mcs_trac_cnt; //本次结算应上传耗材追溯码数量
     }
     }
 
 
     //当前环境实时信息
     //当前环境实时信息