zzz 1 week ago
parent
commit
9aa8d912c0

+ 3 - 0
HuBeiMI/Forms/SettlementChecklist.cs

@@ -30,6 +30,7 @@ namespace PTMedicalInsurance.Forms
     
     public partial class SettlementChecklist : Form
     {
+        
         private int hospitalDr;
         private int interfaceDr;
         private string hospitalNO;
@@ -47,7 +48,9 @@ namespace PTMedicalInsurance.Forms
         private InvokeHelper invoker = new InvokeHelper();
         public SettlementChecklist()
         {
+            MessageBox.Show("进入打印函数991");
             InitializeComponent();
+            MessageBox.Show("进入打印函数992");
             hospitalDr = Global.inf.hospitalDr;
             hospitalNO = Global.inf.hospitalNO;
             hospitalName = Global.inf.hospitalName;

+ 5 - 4
HuBeiMI/Forms/SettlementChecklist.designer.cs

@@ -1,4 +1,6 @@
-namespace PTMedicalInsurance.Forms
+using System.Windows.Forms;
+
+namespace PTMedicalInsurance.Forms
 {
     partial class SettlementChecklist
     {
@@ -65,7 +67,7 @@
             this.gbExactLocate.SuspendLayout();
             this.gbInterface.SuspendLayout();
             this.gbDateTime.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.report1)).BeginInit();
+           // ((System.ComponentModel.ISupportInitialize)(this.report1)).BeginInit();
             this.JXCMenuStrip.SuspendLayout();
             this.SuspendLayout();
             // 
@@ -485,10 +487,9 @@
             this.gbExactLocate.ResumeLayout(false);
             this.gbInterface.ResumeLayout(false);
             this.gbDateTime.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.report1)).EndInit();
+            //((System.ComponentModel.ISupportInitialize)(this.report1)).EndInit();
             this.JXCMenuStrip.ResumeLayout(false);
             this.ResumeLayout(false);
-
         }
 
         #endregion

+ 1 - 11
HuBeiMI/InsuBusiness.cs

@@ -1555,43 +1555,33 @@ namespace PTMedicalInsurance
                         }
                     case "Print"://打印
                         {
-                            MessageBox.Show("进入打印函数");
-                            //显示打印界面
+                           //显示打印界面
                             SettlementChecklist frmSettlList;
                             string insuAdmObj = JsonHelper.getDestValue(joInParam, "insuAdmObj");
-                            MessageBox.Show("进入打印函数2");
                             if (insuAdmObj == "") 
                             {
-                                MessageBox.Show("进入打印函数99");
                                 frmSettlList = new SettlementChecklist();
-                                MessageBox.Show("进入打印函数3");
                                 if (frmSettlList.ShowDialog() != DialogResult.OK)
                                 {
-                                    MessageBox.Show("进入打印函数5");
                                     rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出打印界面").ToString();
                                     return rtnResult;
                                 }
                             }
                             else
                             {
-                                MessageBox.Show("进入打印函数6");
                                 JObject joInsuAdmObj = JObject.Parse(insuAdmObj);
                                 frmSettlList = new SettlementChecklist(joInsuAdmObj);
-                                MessageBox.Show("进入打印函数7");
                                 string groupID = JsonHelper.getDestValue((JObject)Global.curEvt.jaSession[0], "groupID");
                                 string userName = JsonHelper.getDestValue((JObject)Global.curEvt.jaSession[0], "userName");
                                 DataTable dt = (DataTable)frmSettlList.dgvSettlRecord.DataSource;
 
                                 if (dt.Rows.Count != 1)
                                 {
-                                    MessageBox.Show("进入打印函数8");
                                     frmSettlList.ShowDialog();
                                 }
                                 else
                                 {
-                                    MessageBox.Show("进入打印函数9");
                                     frmSettlList.btnPrint_Click(null, null);
-                                    MessageBox.Show("进入打印函数10");
                                 }
                             }