From 40c85336921fd04d617e2285e995e1495ab238e3 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期五, 15 十二月 2023 16:26:00 +0800
Subject: [PATCH] 1

---
 WorkM/流转卡管理/Sc_ProcessExchangeBill.cs |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git "a/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/Sc_ProcessExchangeBill.cs" "b/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/Sc_ProcessExchangeBill.cs"
index fa63144..3b24b89 100644
--- "a/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/Sc_ProcessExchangeBill.cs"
+++ "b/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/Sc_ProcessExchangeBill.cs"
@@ -105,6 +105,7 @@
         public const Int16 HMouldNoCol = 79;
         public const Int16 HProcWorkNumCol = 80;
         public const Int16 HICMOEntryIDCol = 81;
+        public const Int16 HSNCtrlCol = 82;
 
 
 
@@ -1214,6 +1215,7 @@
                     grdMain.Rows[i].Cells[HTechnologyParameterCol].Value = oSub.HTechnologyParameter.ToString();
                     grdMain.Rows[i].Cells[HOverRateCol].Value = oSub.HOverRate.ToString();
                     grdMain.Rows[i].Cells[HMaxQtyCol].Value = oSub.HMaxQty.ToString();
+                    grdMain.Rows[i].Cells[HSNCtrlCol].Value = DBUtility.ClsPub.isBool(oSub.HSNCtrl);
 
                     //
                     grdMain.Rows[i].Cells[HICMOBillNoCol].Value = oSub.HICMOBillNo;
@@ -1565,6 +1567,7 @@
                         oSub.HProcCheckNote = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProcCheckNoteCol].Value);
                         oSub.HMouldNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HMouldNoCol].Value);
                         oSub.HProcWorkNum = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProcWorkNumCol].Value);
+                        oSub.HSNCtrl = DBUtility.ClsPub.isBool(grdMain.Rows[i].Cells[HSNCtrlCol].Value);
                         BillNew.DetailColl.Add(oSub);
                     }
                 }
@@ -1617,7 +1620,7 @@
         {
 
             //
-            grdMain.ColumnCount = 82;                       //鎬诲垪鏁�
+            grdMain.ColumnCount = 83;                       //鎬诲垪鏁�
             DBUtility.Xt_BaseBillFun.initGridFst(grdMain, this.Name);
             //
             grdMain.RowsDefaultCellStyle.WrapMode = DataGridViewTriState.True;
@@ -1736,6 +1739,7 @@
             grdMain.Columns[HEditCol].HeaderText = "涓嶅彲缂栬緫";
             grdMain.Columns[HOverRateCol].HeaderText = "瓒呴姣斾緥";
             grdMain.Columns[HMaxQtyCol].HeaderText = " 鏈�楂樹笂闄�";
+            grdMain.Columns[HSNCtrlCol].HeaderText = "SN鐮佽繃绔�";
 
 
             //鏍煎紡鍖� 
@@ -1878,6 +1882,12 @@
                 oCell2.Value = 0;
                 oCell2.Style.Alignment = DataGridViewContentAlignment.MiddleCenter;
                 grdMain.Rows[i].Cells[HEditCol] = oCell2;
+                //SN鐮佽繃绔�
+                DataGridViewCheckBoxCell oCell3 = new DataGridViewCheckBoxCell();
+                oCell3.ThreeState = false;
+                oCell3.Value = 0;
+                oCell3.Style.Alignment = DataGridViewContentAlignment.MiddleCenter;
+                grdMain.Rows[i].Cells[HSNCtrlCol] = oCell3;
             }
             //鏍煎紡鍖栫綉鏍�
             DBUtility.Xt_BaseBillFun.initGridLast(sAllowCol, sTotalCol, oSumGrid);
@@ -3544,6 +3554,7 @@
                 grdMain.Rows[i].Cells[HMaxQtyCol].Value = oTable.Rows[i]["鏈�楂樹笂闄�"].ToString();
                 grdMain.Rows[i].Cells[HMouldNoCol].Value = oTable.Rows[i]["妯″叿缂栧彿"].ToString();
                 grdMain.Rows[i].Cells[HProcWorkNumCol].Value = oTable.Rows[i]["绋嬪簭鍙�"].ToString();
+                grdMain.Rows[i].Cells[HSNCtrlCol].Value = oTable.Rows[i]["SN鐮佽繃绔�"].ToString();
             }
 
             Sub_CountProcExchQty();

--
Gitblit v1.9.1