From bd29472dea45f3fd8693473c515db37d998e2b00 Mon Sep 17 00:00:00 2001
From: YL <YL@LAPTOP-SE03PLUR>
Date: 星期二, 17 八月 2021 18:32:38 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API

---
 WorkM/流转卡管理/Sc_ProcessExchangeBill.cs |   38 +++++++++++++++++++++++++++++++++++++-
 1 files changed, 37 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 46f3566..5b15b03 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"
@@ -102,6 +102,9 @@
         public const Int16 HTechnologyParameterCol = 76;
         public const Int16 HPicNumCol = 77;
         public const Int16 HProcCheckNoteCol = 78;
+        public const Int16 HMouldNoCol = 79;
+        public const Int16 HProcWorkNumCol = 80;
+        public const Int16 HICMOEntryIDCol = 81;
 
 
 
@@ -1055,6 +1058,11 @@
                 this.txtHOrderProcNO.Text = DBUtility.ClsPub.isStrNull(BillOld.omodel.HOrderProcNO);
                 this.txtHMateOutBatchNo.Text = DBUtility.ClsPub.isStrNull(BillOld.omodel.HMateOutBatchNo);
                 this.txtHProjectNum.Text = DBUtility.ClsPub.isStrNull(BillOld.omodel.HProjectNum);
+                this.textHPicNumVer.Text = DBUtility.ClsPub.isStrNull(BillOld.omodel.HPicNumVer);
+                this.textHPicNumAssemble.Text = DBUtility.ClsPub.isStrNull(BillOld.omodel.HPicNumAssemble);
+                this.textHMaterTexture.Text = DBUtility.ClsPub.isStrNull(BillOld.omodel.HMaterTexture);
+                this.textHProductNum.Text = DBUtility.ClsPub.isStrNull(BillOld.omodel.HProductNum);
+                this.textHVerNum.Text = DBUtility.ClsPub.isStrNull(BillOld.omodel.HVerNum);
                 //鍔犺浇琛ㄤ綋
                 initGrid();
                 int i = 0;
@@ -1079,6 +1087,8 @@
                     grdMain.Rows[i].Cells[HRelationQty_WWOrderCol].Value = oSub.HRelationQty_WWOrder.ToString();
                     grdMain.Rows[i].Cells[HRelationQty_BadCol].Value = oSub.HRelationQty_Bad.ToString();
                     grdMain.Rows[i].Cells[HRelationMoneyCol].Value = oSub.HRelationMoney.ToString();
+                    grdMain.Rows[i].Cells[HMouldNoCol].Value = oSub.HMouldNo.ToString();
+                    grdMain.Rows[i].Cells[HProcWorkNumCol].Value = oSub.HProcWorkNum.ToString();
                     //======================================================================================
                     //
                     grdMain.Rows[i].Cells[HProcIDCol].Value = oSub.HProcID.ToString();
@@ -1208,6 +1218,7 @@
                     //
                     grdMain.Rows[i].Cells[HICMOBillNoCol].Value = oSub.HICMOBillNo;
                     grdMain.Rows[i].Cells[HICMOInterIDCol].Value = oSub.HICMOInterID.ToString();
+                    grdMain.Rows[i].Cells[HICMOEntryIDCol].Value = oSub.HICMOEntryID.ToString();
                     grdMain.Rows[i].Cells[HSeOrderBillNoCol].Value = oSub.HSeOrderBillNo;
                     grdMain.Rows[i].Cells[HSeOrderInterIDCol].Value = oSub.HSeOrderInterID.ToString();
                     grdMain.Rows[i].Cells[HSeOrderEntryIDCol].Value = oSub.HSeOrderEntryID.ToString();
@@ -1307,6 +1318,8 @@
             }
             return true;
         }
+
+
         //淇濆瓨鍗曟嵁
         private bool Sub_SaveBill()
         {
@@ -1400,6 +1413,12 @@
             BillNew.omodel.HMaterIDB = ClsPub.isStrNull(this.txtHMaterIDB.Text);
             BillNew.omodel.HMaterIDC = ClsPub.isStrNull(this.txtHMaterIDC.Text);
             BillNew.omodel.HMaterIDD = ClsPub.isStrNull(this.txtHMaterIDD.Text);
+            //===================
+            BillNew.omodel.HPicNumVer = ClsPub.isStrNull(this.textHPicNumVer.Text);
+            BillNew.omodel.HPicNumAssemble = ClsPub.isStrNull(this.textHPicNumAssemble.Text);
+            BillNew.omodel.HMaterTexture = ClsPub.isStrNull(this.textHMaterTexture.Text);
+            BillNew.omodel.HProductNum = ClsPub.isStrNull(this.textHProductNum.Text);
+            BillNew.omodel.HVerNum = ClsPub.isStrNull(this.textHVerNum.Text);
             //鑾峰彇鏈�澶ц鍙�
             int MaxRowNo = 0;
             for (int n = 0; n < grdMain.Rows.Count; n++)
@@ -1525,6 +1544,7 @@
                     }
                     oSub.HICMOBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HICMOBillNoCol].Value);
                     oSub.HICMOInterID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HICMOInterIDCol].Value);
+                    oSub.HICMOEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HICMOEntryIDCol].Value);
                     oSub.HSeOrderInterID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSeOrderInterIDCol].Value);
                     oSub.HSeOrderEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HSeOrderEntryIDCol].Value);
                     oSub.HSeOrderBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HSeOrderBillNoCol].Value);
@@ -1538,6 +1558,8 @@
                     oSub.HTechnologyParameter = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HTechnologyParameterCol].Value);
                     oSub.HPicNum = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HPicNumCol].Value);
                     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);
                     BillNew.DetailColl.Add(oSub);
                 }
             }
@@ -1584,7 +1606,7 @@
         {
 
             //
-            grdMain.ColumnCount = 79;                       //鎬诲垪鏁�
+            grdMain.ColumnCount = 82;                       //鎬诲垪鏁�
             DBUtility.Xt_BaseBillFun.initGridFst(grdMain, this.Name);
             //
             grdMain.RowsDefaultCellStyle.WrapMode = DataGridViewTriState.True;
@@ -1650,6 +1672,7 @@
 
             grdMain.Columns[HICMOBillNoCol].HeaderText = "鐢熶骇璁㈠崟鍙�";
             grdMain.Columns[HICMOInterIDCol].HeaderText = "鐢熶骇璁㈠崟涓诲唴鐮�";
+            grdMain.Columns[HICMOEntryIDCol].HeaderText = "鐢熶骇璁㈠崟瀛愬唴鐮�";
             grdMain.Columns[HSeOrderInterIDCol].HeaderText = "閿�鍞鍗曚富鍐呯爜";
             grdMain.Columns[HSeOrderEntryIDCol].HeaderText = "閿�鍞鍗曞瓙鍐呯爜";
             grdMain.Columns[HSeOrderBillNoCol].HeaderText = "閿�鍞鍗曞崟鍙�";
@@ -1661,6 +1684,8 @@
             grdMain.Columns[HTechnologyParameterCol].HeaderText = "宸ヨ壓鍙傛暟";
             grdMain.Columns[HPicNumCol].HeaderText = "鍥剧焊缂栧彿";
             grdMain.Columns[HProcCheckNoteCol].HeaderText = "鏈伐搴忕‘璁よ褰�";
+            grdMain.Columns[HMouldNoCol].HeaderText = "妯″叿缂栧彿";
+            grdMain.Columns[HProcWorkNumCol].HeaderText = "绋嬪簭鍙�";
             // grdMain.Columns[HKeyProcCol].HeaderText = "鍏抽敭宸ュ簭";
             grdMain.Columns[HKeyProcCol].Visible = false;
             ////鍥哄畾璧嬪��=====================================================
@@ -1709,6 +1734,7 @@
             grdMain.Columns[HTagCol].Visible = false;
             grdMain.Columns[HWorkerIDCol].Visible = false;
             grdMain.Columns[HICMOInterIDCol].Visible = false;
+            grdMain.Columns[HICMOEntryIDCol].Visible = false;
             grdMain.Columns[HOutMoneyCol].Visible = false;
             grdMain.Columns[HSourceIDCol].Visible = false;
             //grdMain.Columns[HEntryIDCol].Visible = false;
@@ -1815,6 +1841,8 @@
                             "," + HLastProcCol.ToString() +
                             "," + HFstProcCol.ToString() +
                             "," + HRemarkCol.ToString() +
+                            "," + HMouldNoCol.ToString() +
+                            "," + HProcWorkNumCol.ToString() +
                             "," + HSupNameCol +
                             "," + HSupFlagCol;
             //璁剧疆鍚堣鍒�
@@ -3408,6 +3436,11 @@
             txtHCusName.Text = oTable.Rows[row]["瀹㈡埛鍚嶇О"].ToString();
             txtHWorkRemark.Text = oTable.Rows[row]["鐢熶骇澶囨敞"].ToString();
             txtHImportNote.Text = oTable.Rows[row]["閲嶈鎻愮ず"].ToString();
+            textHPicNumVer.Text = oTable.Rows[row]["鍥惧彿鐗堟湰"].ToString();
+            textHPicNumAssemble.Text = oTable.Rows[row]["鎬昏鍥惧彿"].ToString();
+            textHMaterTexture.Text = oTable.Rows[row]["鏉愯川"].ToString();
+            textHProductNum.Text = oTable.Rows[row]["鎴愬搧缂栧彿"].ToString();
+            textHVerNum.Text = oTable.Rows[row]["鐗堟湰"].ToString();
 
             // txtHWorkTypeID.Text = oTable.Rows[row]["鐢熶骇杞﹂棿鍚嶇О"].ToString();
 
@@ -3481,6 +3514,7 @@
                 //
                 grdMain.Rows[i].Cells[HICMOBillNoCol].Value = oTable.Rows[i]["鐢熶骇璁㈠崟鍙�"].ToString();
                 grdMain.Rows[i].Cells[HICMOInterIDCol].Value = oTable.Rows[i]["hmainid"].ToString();
+                grdMain.Rows[i].Cells[HICMOEntryIDCol].Value = oTable.Rows[i]["HEntryID"].ToString();
                 grdMain.Rows[i].Cells[HSourceInterIDCol].Value = oTable.Rows[i]["hmainid"].ToString();
                 grdMain.Rows[i].Cells[HSourceEntryIDCol].Value = oTable.Rows[i]["HEntryID"].ToString();
                 grdMain.Rows[i].Cells[HSourceBillTypeCol].Value = oTable.Rows[i]["HBillType"].ToString();
@@ -3492,6 +3526,8 @@
                 grdMain.Rows[i].Cells[HProcCheckNoteCol].Value = oTable.Rows[i]["鏈伐搴忕‘璁よ褰�"].ToString();
                 grdMain.Rows[i].Cells[HOverRateCol].Value = oTable.Rows[i]["瓒呴姣斾緥"].ToString();
                 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();
             }
 
             Sub_CountProcExchQty();

--
Gitblit v1.9.1