| | |
| | | public const Int16 HTechnologyParameterCol = 59; |
| | | public const Int16 HPicNumCol = 60; |
| | | public const Int16 HProcCheckNoteCol = 61; |
| | | public const Int16 HProcWorkNumCol = 62; |
| | | |
| | | // |
| | | public string ModName = "3301"; |
| | |
| | | grdMain.Rows[i].Cells[HWorkQty_SCol].Value = oSub.HWorkQty_S.ToString(); |
| | | grdMain.Rows[i].Cells[HSubStdEmpQty_SCol].Value = oSub.HSubStdEmpQty_S.ToString(); |
| | | grdMain.Rows[i].Cells[HMouldNoCol].Value = oSub.HMouldNo; |
| | | grdMain.Rows[i].Cells[HProcWorkNumCol].Value = oSub.HProcWorkNum; |
| | | grdMain.Rows[i].Cells[HChangeMouldCol].Value = oSub.HChangeMould.ToString(); |
| | | grdMain.Rows[i].Cells[HPackStdCol].Value = oSub.HPackStd; |
| | | grdMain.Rows[i].Cells[HPackCol].Value = oSub.HPack; |
| | |
| | | BillNew.omodel.HAddSourceRate = ClsPub.isSingle(this.txtHAddSourceRate.Text); |
| | | BillNew.omodel.HDelSourceRate = ClsPub.isSingle(this.txtHDelSourceRate.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); |
| | | |
| | | //æç»ç±»èµå¼ |
| | | BillNew.DetailColl=new List<Model.ClsGy_RoutingBillSub>(); |
| | | for (i = 0; i <= grdMain.RowCount - 1; i++) |
| | |
| | | oSub.HProcID_S = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HProcID_SCol].Value); |
| | | oSub.HCenterID_S = DBUtility.ClsPub.isLong(grdMain.Rows[i].Cells[HCenterID_SCol].Value); |
| | | oSub.HMouldNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HMouldNoCol].Value); |
| | | oSub.HProcWorkNum = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProcWorkNumCol].Value); |
| | | oSub.HPackStd = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HPackStdCol].Value); |
| | | oSub.HPack = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HPackCol].Value); |
| | | oSub.HPutArea = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HPutAreaCol].Value); |
| | |
| | | oSub.HStdFlag = DBUtility.ClsPub.isBool(grdMain.Rows[i].Cells[HStdFlagCol].Value); |
| | | oSub.HAutoTrunFlag = DBUtility.ClsPub.isBool(grdMain.Rows[i].Cells[HAutoTrunFlagCol].Value); |
| | | oSub.HProcType = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProcTypeCol].Value); |
| | | |
| | | oSub.HProcWorkNum = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProcWorkNumCol].Value); |
| | | if (DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HPassRateCol].Value) > 0) |
| | | { |
| | | oSub.HPassRate = DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HPassRateCol].Value); |
| | |
| | | private void initGrid() |
| | | { |
| | | // |
| | | grdMain.ColumnCount = 62; //æ»åæ° |
| | | grdMain.ColumnCount = 63; //æ»åæ° |
| | | DBUtility.Xt_BaseBillFun.initGridFst(grdMain, this.Name); |
| | | // |
| | | grdMain.RowsDefaultCellStyle.WrapMode = DataGridViewTriState.True; |
| | |
| | | grdMain.Columns[HTechnologyParameterCol].HeaderText = "å·¥èºåæ°"; |
| | | grdMain.Columns[HPicNumCol].HeaderText = "å¾çº¸ç¼å·"; |
| | | grdMain.Columns[HProcCheckNoteCol].HeaderText = "æ¬å·¥åºç¡®è®¤è®°å½"; |
| | | grdMain.Columns[HProcWorkNumCol].HeaderText = "ç¨åºå·"; |
| | | //æ ¼å¼å |
| | | grdMain.Columns[HTagCol].Visible = false; |
| | | //éèå |
| | |
| | | "," + HWorkQty_SCol.ToString() + |
| | | "," + HSubStdEmpQty_SCol.ToString() + |
| | | "," + HMouldNoCol.ToString() + |
| | | "," + HProcWorkNumCol.ToString() + |
| | | "," + HChangeMouldCol.ToString() + |
| | | "," + HPackStdCol.ToString() + |
| | | "," + HPackCol.ToString() + |