| | |
| | | public const Int16 HMouldNoCol = 79; |
| | | public const Int16 HProcWorkNumCol = 80; |
| | | public const Int16 HICMOEntryIDCol = 81; |
| | | public const Int16 HSNCtrlCol = 82; |
| | | |
| | | |
| | | |
| | |
| | | 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; |
| | |
| | | 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); |
| | | } |
| | | } |
| | |
| | | { |
| | | |
| | | // |
| | | grdMain.ColumnCount = 82; //æ»åæ° |
| | | grdMain.ColumnCount = 83; //æ»åæ° |
| | | DBUtility.Xt_BaseBillFun.initGridFst(grdMain, this.Name); |
| | | // |
| | | grdMain.RowsDefaultCellStyle.WrapMode = DataGridViewTriState.True; |
| | |
| | | grdMain.Columns[HEditCol].HeaderText = "ä¸å¯ç¼è¾"; |
| | | grdMain.Columns[HOverRateCol].HeaderText = "è¶
颿¯ä¾"; |
| | | grdMain.Columns[HMaxQtyCol].HeaderText = " æé«ä¸é"; |
| | | grdMain.Columns[HSNCtrlCol].HeaderText = "SNç è¿ç«"; |
| | | |
| | | |
| | | //æ ¼å¼å |
| | |
| | | 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); |
| | |
| | | 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(); |