| | |
| | | public int HStdWorkTimes = 0; //æ åå·¥æ¶ |
| | | public int HUpperlimit = 0; //ä¸éæ¯ä¾ |
| | | public int HLowerlimit = 0; //ä¸éæ¯ä¾ |
| | | public int HStdPiece = 0; //ä¸éæ¯ä¾ |
| | | public int HStdPric = 0; //ä¸éæ¯ä¾ |
| | | // |
| | | public const int HBeginRow = 2; //æææ°æ®ï¼å¼å§è¡æ° |
| | | |
| | |
| | | int sHMaterNameCol = DBUtility.Gy_BaseFun.Fun_GetCol("ç©æ", grdMain); |
| | | int sHUpperlimitCol = DBUtility.Gy_BaseFun.Fun_GetCol("ä¸çº¿æ¯ä¾", grdMain); |
| | | int sHLowerlimitCol = DBUtility.Gy_BaseFun.Fun_GetCol("ä¸çº¿æ¯ä¾", grdMain); |
| | | int sHStdPieceCol = DBUtility.Gy_BaseFun.Fun_GetCol("æ å计件", grdMain); |
| | | int sHStdPricCol = DBUtility.Gy_BaseFun.Fun_GetCol("æ å计价", grdMain); |
| | | int sHUSEORGNameCol = DBUtility.Gy_BaseFun.Fun_GetCol("ç»ç»", grdMain); |
| | | int sHMakerCol = DBUtility.Gy_BaseFun.Fun_GetCol("å¶å人", grdMain); |
| | | int sHMakeDateCol = DBUtility.Gy_BaseFun.Fun_GetCol("å¶åæ¥æ", grdMain); |
| | |
| | | double sStdWorkTimes = 0; |
| | | double sUpperlimit = 0; |
| | | double sLowerlimit = 0; |
| | | double sStdPiece = 0; |
| | | double sStdPric= 0; |
| | | int sUSEORGName = 0; |
| | | DateTime sHMakeDate = DateTime.Today.Date; |
| | | string sHMaker = DBUtility.ClsPub.CurUserName; |
| | |
| | | int sHMaterNameCol = DBUtility.Gy_BaseFun.Fun_GetCol("ç©æ", grdMain); |
| | | int sHUpperlimitCol = DBUtility.Gy_BaseFun.Fun_GetCol("ä¸çº¿æ¯ä¾", grdMain); |
| | | int sHLowerlimitCol = DBUtility.Gy_BaseFun.Fun_GetCol("ä¸çº¿æ¯ä¾", grdMain); |
| | | int sHStdPieceCol = DBUtility.Gy_BaseFun.Fun_GetCol("æ å计件", grdMain); |
| | | int sHStdPricCol = DBUtility.Gy_BaseFun.Fun_GetCol("æ å计价", grdMain); |
| | | int sHUSEORGNameCol = DBUtility.Gy_BaseFun.Fun_GetCol("ç»ç»", grdMain); |
| | | int sHMakerCol = DBUtility.Gy_BaseFun.Fun_GetCol("å¶å人", grdMain); |
| | | int sHMakeDateCol = DBUtility.Gy_BaseFun.Fun_GetCol("å¶åæ¥æ", grdMain); |
| | |
| | | sStdWorkTimes = DBUtility.ClsPub.isDoule(grdMain.Rows[row].Cells[sHStdWorkTimesCol].Value); |
| | | sUpperlimit = DBUtility.ClsPub.isDoule(grdMain.Rows[row].Cells[sHUpperlimitCol].Value); |
| | | sLowerlimit = DBUtility.ClsPub.isDoule(grdMain.Rows[row].Cells[sHLowerlimitCol].Value); |
| | | sStdPiece = DBUtility.ClsPub.isDoule(grdMain.Rows[row].Cells[sHStdPieceCol].Value); |
| | | sStdPric = DBUtility.ClsPub.isDoule(grdMain.Rows[row].Cells[sHStdPricCol].Value); |
| | | //sUSEORGName = DBUtility.ClsPub.isInt(grdMain.Rows[row].Cells[sHUSEORGNameCol].Value); |
| | | //sHMakeDate = DBUtility.ClsPub.isDate(grdMain.Rows[row].Cells[sHMakeDateCol].Value); |
| | | //sHMaker = DBUtility.ClsPub.isStrNull(grdMain.Rows[row].Cells[sHMakerCol].Value); |
| | |
| | | oSub.HStdWorkTimes = sStdWorkTimes; |
| | | oSub.HUpperlimit = sUpperlimit; |
| | | oSub.HLowerlimit = sLowerlimit; |
| | | oSub.HStdPiece = sStdPiece; |
| | | oSub.HStdPric = sStdPric; |
| | | oSub.HUSEORGID = DBUtility.ClsPub.HOrgID; |
| | | oSub.HMaker = DBUtility.ClsPub.CurUserName; |
| | | oSub.HMakeDate = DateTime.Today.ToShortDateString(); |