فهرست منبع

feat: 增加中途结算选择

zhengjie 1 سال پیش
والد
کامیت
ac9dd98dc5
3فایلهای تغییر یافته به همراه35 افزوده شده و 13 حذف شده
  1. 1 1
      Business/HisMainBusiness.cs
  2. 7 0
      Forms/OutpatientRegistration.cs
  3. 27 12
      Forms/OutpatientRegistration.designer.cs

+ 1 - 1
Business/HisMainBusiness.cs

@@ -1269,7 +1269,7 @@ namespace PTMedicalInsurance.Business
                     //joSetlInpar.Add("insuplc_admdvs", Global.pat.insuplc_admdvs);
                     //joSetlInpar.Add("mdtrtarea_admvs", Global.inf.areaCode);
                     joSetlInpar.Add("invono", "");
-                    joSetlInpar.Add("mid_setl_flag", "0");
+                    joSetlInpar.Add("mid_setl_flag", frmReg.midSettleFlag);
                     joSetlInpar.Add("fulamt_ownpay_amt", JsonHelper.getDestValue(joSumFee, "data.FullOwnPayAmount"));
                     joSetlInpar.Add("overlmt_selfpay", JsonHelper.getDestValue(joSumFee, "data.OverLimitAmount"));
                     joSetlInpar.Add("preselfpay_amt", JsonHelper.getDestValue(joSumFee, "data.PreSelfPayAmount"));

+ 7 - 0
Forms/OutpatientRegistration.cs

@@ -108,6 +108,8 @@ namespace PTMedicalInsurance.Forms
         public string mdtrtGrpType;
         public string claTrtFlag = "0";
         public string unifPayStdType = "";
+        //中途结算
+        public string midSettleFlag = "0";
 
         //住院类型
         public string iptTypeCode { get; set; }
@@ -197,6 +199,11 @@ namespace PTMedicalInsurance.Forms
                 return;
             }
 
+            if (chkMidSettleFlag.Checked)
+            {
+                midSettleFlag = "1";
+            }
+
             // 是否使用个人账户金额
             if (cbxAccountPay.Checked)
             {

+ 27 - 12
Forms/OutpatientRegistration.designer.cs

@@ -30,7 +30,7 @@ namespace PTMedicalInsurance.Forms
         /// </summary>
         private void InitializeComponent()
         {
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
             this.panel1 = new System.Windows.Forms.Panel();
             this.cbxUnifPayStdType = new System.Windows.Forms.ComboBox();
             this.label7 = new System.Windows.Forms.Label();
@@ -70,6 +70,7 @@ namespace PTMedicalInsurance.Forms
             this.uiButton1 = new Sunny.UI.UIButton();
             this.button2 = new System.Windows.Forms.Button();
             this.button1 = new System.Windows.Forms.Button();
+            this.chkMidSettleFlag = new Sunny.UI.UICheckBox();
             this.panel1.SuspendLayout();
             this.panel2.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.dgvDiagnose)).BeginInit();
@@ -82,6 +83,7 @@ namespace PTMedicalInsurance.Forms
             this.panel1.Controls.Add(this.cbxUnifPayStdType);
             this.panel1.Controls.Add(this.label7);
             this.panel1.Controls.Add(this.cbxAccountPay);
+            this.panel1.Controls.Add(this.chkMidSettleFlag);
             this.panel1.Controls.Add(this.chk_claTrtFlag);
             this.panel1.Controls.Add(this.Chk_RelTtpFlag);
             this.panel1.Controls.Add(this.Chk_TraumaFlag);
@@ -153,7 +155,7 @@ namespace PTMedicalInsurance.Forms
             // 
             this.chk_claTrtFlag.Cursor = System.Windows.Forms.Cursors.Hand;
             this.chk_claTrtFlag.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.chk_claTrtFlag.Location = new System.Drawing.Point(944, 174);
+            this.chk_claTrtFlag.Location = new System.Drawing.Point(944, 167);
             this.chk_claTrtFlag.MinimumSize = new System.Drawing.Size(1, 1);
             this.chk_claTrtFlag.Name = "chk_claTrtFlag";
             this.chk_claTrtFlag.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
@@ -166,7 +168,7 @@ namespace PTMedicalInsurance.Forms
             // 
             this.Chk_RelTtpFlag.Cursor = System.Windows.Forms.Cursors.Hand;
             this.Chk_RelTtpFlag.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.Chk_RelTtpFlag.Location = new System.Drawing.Point(944, 125);
+            this.Chk_RelTtpFlag.Location = new System.Drawing.Point(944, 118);
             this.Chk_RelTtpFlag.MinimumSize = new System.Drawing.Size(1, 1);
             this.Chk_RelTtpFlag.Name = "Chk_RelTtpFlag";
             this.Chk_RelTtpFlag.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
@@ -179,7 +181,7 @@ namespace PTMedicalInsurance.Forms
             // 
             this.Chk_TraumaFlag.Cursor = System.Windows.Forms.Cursors.Hand;
             this.Chk_TraumaFlag.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.Chk_TraumaFlag.Location = new System.Drawing.Point(944, 76);
+            this.Chk_TraumaFlag.Location = new System.Drawing.Point(944, 69);
             this.Chk_TraumaFlag.MinimumSize = new System.Drawing.Size(1, 1);
             this.Chk_TraumaFlag.Name = "Chk_TraumaFlag";
             this.Chk_TraumaFlag.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
@@ -204,7 +206,6 @@ namespace PTMedicalInsurance.Forms
             this.dblkcbxHospType.sValueMember = "";
             this.dblkcbxHospType.TabIndex = 44;
             this.dblkcbxHospType.Value = "";
-            this.dblkcbxHospType.AfterSelector += DblkcbxHospType_AfterSelector;
             // 
             // label8
             // 
@@ -428,13 +429,13 @@ namespace PTMedicalInsurance.Forms
             // 
             this.dgvDiagnose.AllowUserToAddRows = false;
             this.dgvDiagnose.BorderStyle = System.Windows.Forms.BorderStyle.None;
-            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.ButtonShadow;
-            dataGridViewCellStyle1.Font = new System.Drawing.Font("新宋体", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvDiagnose.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+            dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.ButtonShadow;
+            dataGridViewCellStyle3.Font = new System.Drawing.Font("新宋体", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvDiagnose.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
             this.dgvDiagnose.ColumnHeadersHeight = 40;
             this.dgvDiagnose.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvDiagnose.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
@@ -598,6 +599,19 @@ namespace PTMedicalInsurance.Forms
             this.button1.UseVisualStyleBackColor = true;
             this.button1.Click += new System.EventHandler(this.button1_Click);
             // 
+            // chkMidSettleFlag
+            // 
+            this.chkMidSettleFlag.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.chkMidSettleFlag.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.chkMidSettleFlag.Location = new System.Drawing.Point(944, 220);
+            this.chkMidSettleFlag.MinimumSize = new System.Drawing.Size(1, 1);
+            this.chkMidSettleFlag.Name = "chkMidSettleFlag";
+            this.chkMidSettleFlag.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
+            this.chkMidSettleFlag.Size = new System.Drawing.Size(168, 29);
+            this.chkMidSettleFlag.TabIndex = 47;
+            this.chkMidSettleFlag.Text = "中途结算标志";
+            this.chkMidSettleFlag.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
             // OutpatientRegistration
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
@@ -681,5 +695,6 @@ namespace PTMedicalInsurance.Forms
         private System.Windows.Forms.Label label9;
         public System.Windows.Forms.ComboBox cbxUnifPayStdType;
         private System.Windows.Forms.Label label7;
+        public Sunny.UI.UICheckBox chkMidSettleFlag;
     }
 }