YL
2022-02-21 a905b3df0d0c9ae045b51d1299fbb2f2dcbc2e2d
PlanM/¼Æ»®¹ÜÀí/Gy_RoutingBill.cs
@@ -844,6 +844,12 @@
            this.txtHAddSourceRate.Text = BillOld.omodel.HAddSourceRate.ToString();
            this.txtHDelSourceRate.Text = BillOld.omodel.HDelSourceRate.ToString();
            this.textHPicNumVer.Text = BillOld.omodel.HPicNumVer.ToString();
            this.textHPicNumAssemble.Text = BillOld.omodel.HPicNumAssemble.ToString();
            this.textHMaterTexture.Text = BillOld.omodel.HMaterTexture.ToString();
            this.textHProductNum.Text = BillOld.omodel.HProductNum.ToString();
            this.textHVerNum.Text = BillOld.omodel.HVerNum.ToString();
            //加载表体
            int i = 0;
            foreach (Model.ClsGy_RoutingBillSub oSub in BillOld.DetailColl)
@@ -1036,6 +1042,7 @@
            if (BillStatus ==DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify)
                BillNew.omodel.HInterID = BillOld.omodel.HInterID;
            //主类赋值
            BillNew.omodel.HPRDORGID = DBUtility.ClsPub.HOrgID;  //组织
            BillNew.omodel.HYear = 2011;
            BillNew.omodel.HPeriod = 1;
            BillNew.omodel.HBillNo = this.txtHBillNo.Text.Trim();  //在赋值类前就处理好字符串和数字
@@ -1571,6 +1578,8 @@
                                    grdMain.Rows[sRow].Cells[HProcNameCol].Value = oProc.oModel.HName;
                                    grdMain.Rows[sRow].Cells[HTimeUnitCol].Value = "小时";
                                    grdMain.Rows[sRow].Cells[HUnitTimeCol].Value = "1";
                                    grdMain.Rows[sRow].Cells[HPassRateCol].Value = "100";
                                    grdMain.Rows[sRow].Cells[HWorkQtyCol].Value = "1";
                                    if (oProc.GetInfoByID(oProc.oModel.HItemID))
                                    {
                                        grdMain.Rows[sRow].Cells[HProcCheckNoteCol].Value = oProc.omodel.HProcCheckNote.ToString();