| | |
| | | public const Int16 HCusRelationNumberCol = 7; |
| | | public const Int16 HCusRelationNameCol = 8; |
| | | public const Int16 HPropertyIDCol = 9; |
| | | public const Int16 HSPRemarkCol = 10; //ä»ä½å¤æ³¨ |
| | | public const Int16 HCountryCol = 10;//ä»ä½å¤æ³¨ |
| | | public const Int16 HPropertyNameCol = 11; |
| | | public const Int16 HSecUnitIDCol = 12; |
| | | public const Int16 HSecUnitNumberCol = 13; |
| | |
| | | public const Int16 HColorCol = 17; |
| | | public const Int16 HUnitNumberCol = 18; |
| | | public const Int16 HUnitNameCol = 19; |
| | | public const Int16 HCountryCol = 20; |
| | | public const Int16 HSPRemarkCol = 20; //ä»ä½å¤æ³¨ |
| | | public const Int16 HEngineNumCol = 21; |
| | | public const Int16 HUnderPanNumCol = 22; |
| | | public const Int16 HLeaveFactCardCol = 23; |
| | |
| | | grdMain.Columns[HMaterNumberCol].HeaderText = "ç©æä»£ç "; |
| | | grdMain.Columns[HMaterNameCol].HeaderText = "ç©æåç§°"; |
| | | grdMain.Columns[HMaterModelCol].HeaderText = "è§æ ¼åå·"; |
| | | grdMain.Columns[HCountryCol].HeaderText = "å½å®¶"; |
| | | grdMain.Columns[HCountryCol].HeaderText = "ä»ä½å¤æ³¨"; |
| | | grdMain.Columns[HCusRelationNumberCol].HeaderText = "客æ·å¯¹åºä»£ç "; |
| | | grdMain.Columns[HCusRelationNameCol].HeaderText = "客æ·å¯¹åºåç§°"; |
| | | grdMain.Columns[HPropertyNumberCol].HeaderText = "è¾
å©å±æ§ä»£ç "; |
| | |
| | | //æ ¼å¼å |
| | | ////éèå |
| | | grdMain.Columns[HQtyMustCol].Visible = false; |
| | | grdMain.Columns[HSPRemarkCol].Visible = false; |
| | | grdMain.Columns[HTagCol].Visible = false; |
| | | grdMain.Columns[HUnitNumberCol].Visible = false; |
| | | grdMain.Columns[HEntryIDCol].Visible = false; |
| | |
| | | grdMain.Columns[HSPGroupNumberCol].Visible = false; |
| | | grdMain.Columns[HSPGroupNameCol].Visible = false; |
| | | grdMain.Columns[HBatchNoCol].Visible = false; |
| | | grdMain.Columns[HCountryCol].Visible = false; |
| | | //grdMain.Columns[HCountryCol].Visible = false; |
| | | grdMain.Columns[HColorCol].Visible = false; |
| | | grdMain.Columns[HEngineNumCol].Visible = false; |
| | | grdMain.Columns[HUnderPanNumCol].Visible = false; |
| | |
| | | grdMain.Rows[sRow + i].Cells[HMaterNameCol].Value = oMater.omodel.HName.ToString(); |
| | | grdMain.Rows[sRow + i].Cells[HMaterModelCol].Value = oMater.omodel.HModel.ToString(); |
| | | grdMain.Rows[sRow + i].Cells[HSubjoinCol].Value = oMater.omodel.HSubjoin.ToString(); |
| | | grdMain.Rows[sRow + i].Cells[HCountryCol].Value = oMater.omodel.HSubjoin2.ToString(); |
| | | if (oUnit.GetInfoByID(oMater.omodel.HUnitID)) |
| | | { |
| | | grdMain.Rows[sRow + i].Cells[HUnitIDCol].Value = oUnit.omodel.HItemID; |
| | |
| | | grdMain.Rows[i].Cells[HMaterNameCol].Value = oTable.Rows[0]["ç©æåç§°"].ToString(); |
| | | grdMain.Rows[i].Cells[HMaterModelCol].Value = oTable.Rows[0]["è§æ ¼åå·"].ToString(); |
| | | grdMain.Rows[i].Cells[HSubjoinCol].Value = oTable.Rows[0]["产å°"].ToString(); |
| | | grdMain.Rows[i].Cells[HCountryCol].Value = oTable.Rows[0]["ä»ä½å¤æ³¨"].ToString(); |
| | | //grdMain.Rows[i].Cells[HColorCol].Value = oTable.Rows[0]["é¢è²"].ToString(); |
| | | grdMain.Rows[i].Cells[HUnitIDCol].Value = oTable.Rows[0]["HUnitID"].ToString(); |
| | | grdMain.Rows[i].Cells[HUnitNameCol].Value = oTable.Rows[0]["计éåä½"].ToString(); |
| | |
| | | grdMain.Rows[i].Cells[HMaterNameCol].Value = oTable.Rows[0]["ç©æåç§°"].ToString(); |
| | | grdMain.Rows[i].Cells[HMaterModelCol].Value = oTable.Rows[0]["è§æ ¼åå·"].ToString(); |
| | | grdMain.Rows[i].Cells[HSubjoinCol].Value = oTable.Rows[0]["产å°"].ToString(); |
| | | grdMain.Rows[i].Cells[HCountryCol].Value = oTable.Rows[0]["ä»ä½å¤æ³¨"].ToString(); |
| | | //grdMain.Rows[i].Cells[HColorCol].Value = oTable.Rows[0]["é¢è²"].ToString(); |
| | | grdMain.Rows[i].Cells[HUnitIDCol].Value = oTable.Rows[0]["HUnitID"].ToString(); |
| | | grdMain.Rows[i].Cells[HUnitNameCol].Value = oTable.Rows[0]["计éåä½"].ToString(); |
| | |
| | | grdMain.Rows[i].Cells[HMaterNameCol].Value = oTable.Rows[0]["ç©æåç§°"].ToString(); |
| | | grdMain.Rows[i].Cells[HMaterModelCol].Value = oTable.Rows[0]["è§æ ¼åå·"].ToString(); |
| | | grdMain.Rows[i].Cells[HSubjoinCol].Value = oTable.Rows[0]["产å°"].ToString(); |
| | | grdMain.Rows[i].Cells[HCountryCol].Value = oTable.Rows[0]["ä»ä½å¤æ³¨"].ToString(); |
| | | //grdMain.Rows[i].Cells[HColorCol].Value = oTable.Rows[0]["é¢è²"].ToString(); |
| | | grdMain.Rows[i].Cells[HUnitIDCol].Value = oTable.Rows[0]["HUnitID"].ToString(); |
| | | grdMain.Rows[i].Cells[HUnitNameCol].Value = oTable.Rows[0]["计éåä½"].ToString(); |
| | |
| | | grdMain.Rows[i].Cells[HMaterNameCol].Value = oTable.Rows[0]["ç©æåç§°"].ToString(); |
| | | grdMain.Rows[i].Cells[HMaterModelCol].Value = oTable.Rows[0]["è§æ ¼åå·"].ToString(); |
| | | grdMain.Rows[i].Cells[HSubjoinCol].Value = oTable.Rows[0]["产å°"].ToString(); |
| | | grdMain.Rows[i].Cells[HCountryCol].Value = oTable.Rows[0]["ä»ä½å¤æ³¨"].ToString(); |
| | | //grdMain.Rows[i].Cells[HColorCol].Value = oTable.Rows[0]["é¢è²"].ToString(); |
| | | grdMain.Rows[i].Cells[HUnitIDCol].Value = oTable.Rows[0]["HUnitID"].ToString(); |
| | | grdMain.Rows[i].Cells[HUnitNameCol].Value = oTable.Rows[0]["计éåä½"].ToString(); |
| | |
| | | grdMain.Rows[i].Cells[HMaterNameCol].Value = oTable.Rows[0]["ç©æåç§°"].ToString(); |
| | | grdMain.Rows[i].Cells[HMaterModelCol].Value = oTable.Rows[0]["è§æ ¼åå·"].ToString(); |
| | | grdMain.Rows[i].Cells[HSubjoinCol].Value = oTable.Rows[0]["产å°"].ToString(); |
| | | grdMain.Rows[i].Cells[HCountryCol].Value = oTable.Rows[0]["ä»ä½å¤æ³¨"].ToString(); |
| | | //grdMain.Rows[i].Cells[HColorCol].Value = oTable.Rows[0]["é¢è²"].ToString(); |
| | | grdMain.Rows[i].Cells[HUnitIDCol].Value = oTable.Rows[0]["HUnitID"].ToString(); |
| | | grdMain.Rows[i].Cells[HUnitNameCol].Value = oTable.Rows[0]["计éåä½"].ToString(); |
| | |
| | | grdMain.Rows[grdMain.CurrentRow.Index].Cells[HMaterModelCol].Value = oMater.omodel.HModel; |
| | | grdMain.Rows[grdMain.CurrentRow.Index].Cells[HMaterNameCol].Value = oMater.omodel.HName; |
| | | grdMain.Rows[grdMain.CurrentRow.Index].Cells[HSubjoinCol].Value = oMater.omodel.HSubjoin; |
| | | grdMain.Rows[grdMain.CurrentRow.Index].Cells[HCountryCol].Value = oMater.omodel.HSubjoin2; |
| | | grdMain.Rows[grdMain.CurrentRow.Index].Cells[HUnitIDCol].Value = oMater.omodel.HUnitID.ToString(); |
| | | if (oUnit.GetInfoByID(oMater.omodel.HUnitID)) |
| | | { |
| | |
| | | grdMain.Rows[i].Cells[HMaterModelCol].Value = oMater.omodel.HModel; |
| | | grdMain.Rows[i].Cells[HMaterNameCol].Value = oMater.omodel.HName; |
| | | grdMain.Rows[i].Cells[HSubjoinCol].Value = oMater.omodel.HSubjoin; |
| | | grdMain.Rows[i].Cells[HCountryCol].Value = oMater.omodel.HSubjoin2; |
| | | grdMain.Rows[i].Cells[HUnitIDCol].Value = oMater.omodel.HUnitID.ToString(); |
| | | if (oUnit.GetInfoByID(oMater.omodel.HUnitID)) |
| | | { |