yangle
2023-05-10 05e8d342bbff483c73ac4fc481ea16f203a78ba1
WorkM/Á÷ת¿¨¹ÜÀí/Sc_ProcessExchangeBill_CF.cs
@@ -91,6 +91,13 @@
        public const Int16 HSupIDCol = 68;
        public const Int16 HPassRateCol = 69;
        public const Int16 HSumPassRateCol = 70;
        public const Int16 HMouldNoCol = 71;
        public const Int16 HProcWorkNumCol = 72;
        public const Int16 HOverRateCol = 73;
        public const Int16 HMaxQtyCol = 74;
        public const Int16 HTechnologyParameterCol = 75;
        public const Int16 HPicNumCol = 76;
        public const Int16 HProcCheckNoteCol = 77;
        //
        //
        //表2
@@ -1145,7 +1152,8 @@
                    grdMain.Rows[i].Cells[HSeOrderEntryIDCol].Value = oSub.HSeOrderEntryID.ToString();
                    grdMain.Rows[i].Cells[HWWOrderBillNoCol].Value = oSub.HWWOrderBillNo;
                    grdMain.Rows[i].Cells[HWWOrderEntryIDCol].Value = oSub.HWWOrderEntryID.ToString();
                    grdMain.Rows[i].Cells[HWWOrderInterIDCol].Value = oSub.HWWOrderInterID.ToString();
                    grdMain.Rows[i].Cells[HMouldNoCol].Value = oSub.HMouldNo.ToString();
                    grdMain.Rows[i].Cells[HProcWorkNumCol].Value = oSub.HProcWorkNum.ToString();
                    i = i + 1;
                }
@@ -1292,6 +1300,36 @@
            BillNew.omodel.HMainMaterID = ClsPub.isLong(this.txtHMaterID.Text.ToString());
            BillNew.omodel.HKeyMaterID = ClsPub.isLong(this.txtHMaterID.Text.ToString());
            BillNew.omodel.HOrderProcNO = ClsPub.isStrNull(this.txtHOrderProcNO.Text.ToString());
            BillNew.omodel.HEquipMentID =0;
            BillNew.omodel.HMateOutBatchNo = "";
            BillNew.omodel.HProjectNum = "";
            //===================
            BillNew.omodel.HProdMaterCode = "";
            BillNew.omodel.HSeOrderBillNo = "";
            BillNew.omodel.HCusShortName = "";
            BillNew.omodel.HCusNeedMaterial = "";
            BillNew.omodel.HPlanSendGoodsDate = "";
            BillNew.omodel.HProdMaterName = "";
            BillNew.omodel.HCusName = "";
            BillNew.omodel.HWorkRemark = "";
            BillNew.omodel.HImportNote = "";
            BillNew.omodel.HMaterNumber_A = "";
            BillNew.omodel.HMaterNumber_B = "";
            BillNew.omodel.HMaterNumber_C = "";
            BillNew.omodel.HMaterNumber_D = "";
            BillNew.omodel.HProdType = "";
            BillNew.omodel.HMaterShortName = "";
            BillNew.omodel.HMaterIDA = "";
            BillNew.omodel.HMaterIDB = "";
            BillNew.omodel.HMaterIDC = "";
            BillNew.omodel.HMaterIDD = "";
            //===================
            BillNew.omodel.HPicNumVer = "";
            BillNew.omodel.HPicNumAssemble = "";
            BillNew.omodel.HMaterTexture = "";
            BillNew.omodel.HProductNum = "";
            BillNew.omodel.HVerNum = "";
            //明细类赋值
            BillNew.DetailColl=new List<Model.ClsSc_ProcessExchangeBillSub>();
            for (i = 0; i <= grdMain.RowCount - 1; i++)
@@ -1383,6 +1421,14 @@
                    oSub.HWWOrderBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HWWOrderBillNoCol].Value);
                    oSub.HPrevSourceInterID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HPrevSourceInterIDCol].Value);
                    oSub.HPrevSourceEntryID = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HPrevSourceEntryIDCol].Value);
                    oSub.HMouldNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HMouldNoCol].Value);
                    oSub.HProcWorkNum = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProcWorkNumCol].Value);
                    oSub.HOverRate = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HOverRateCol].Value);
                    oSub.HMaxQty = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HMaxQtyCol].Value);
                    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);
                    BillNew.DetailColl.Add(oSub);
                }
            }
@@ -1431,7 +1477,7 @@
        {
            //
            grdMain.ColumnCount = 71;                       //总列数
            grdMain.ColumnCount = 78;                       //总列数
            DBUtility.Xt_BaseBillFun.initGridFst(grdMain, this.Name);
            //=
            grdMain.Columns[HProcNoCol].HeaderText = "工序号";
@@ -1493,7 +1539,15 @@
            grdMain.Columns[HPassRateCol].HeaderText = "良率";
            grdMain.Columns[HSumPassRateCol].HeaderText = "累计良率";
            grdMain.Columns[HMouldNoCol].HeaderText = "模具编号";
            grdMain.Columns[HProcWorkNumCol].HeaderText = "程序号";
            grdMain.Columns[HSupIDCol].HeaderText = "供应商ID";
            grdMain.Columns[HTechnologyParameterCol].HeaderText = "工艺参数";
            grdMain.Columns[HPicNumCol].HeaderText = "图纸编号";
            grdMain.Columns[HProcCheckNoteCol].HeaderText = "本工序确认记录";
            grdMain.Columns[HOverRateCol].HeaderText = "超额比例";
            grdMain.Columns[HMaxQtyCol].HeaderText = "最高上限";
            ////固定赋值=====================================================
            grdMain.Columns[HSnoCol].HeaderText = "序号";
            grdMain.Columns[HRemarkCol].HeaderText = "备注";