| | |
| | | public bool Refresh(string sWhere) |
| | | { |
| | | string sErr = ""; |
| | | int MainIDCol, SubIDCol, SPIDCol, BatchNoCol, AuxPropIDCol, MTONoCol; |
| | | int MainIDCol, SubIDCol, SPIDCol, BatchNoCol, AuxPropIDCol, MTONoCol, HProduceDateCol, HExpiryDateCol; |
| | | string stmp; |
| | | string tSQL; |
| | | try |
| | |
| | | BatchNoCol = oFrm.Fun_GetCol("æ¹æ¬¡"); |
| | | AuxPropIDCol = oFrm.Fun_GetCol("HAuxPropID"); |
| | | MTONoCol = oFrm.Fun_GetCol("计åè·è¸ªå·"); |
| | | HProduceDateCol = oFrm.Fun_GetCol("çäº§æ¥æ"); |
| | | HExpiryDateCol = oFrm.Fun_GetCol("æææè³"); |
| | | // |
| | | //å¾ªç¯ éä¸è¡ |
| | | if (oFrm.OKTag == Pub_Class.ClsPub.Enum_OKTag.OKTag_OK) |
| | |
| | | oSelect.BatchNo = DBUtility.ClsPub.isStrNull(oFrm.grdMain.Rows[oFrm.grdMain.SelectedRows[i].Index].Cells[BatchNoCol].Value); |
| | | oSelect.HAuxPropID = DBUtility.ClsPub.isLong(oFrm.grdMain.Rows[oFrm.grdMain.SelectedRows[i].Index].Cells[AuxPropIDCol].Value); |
| | | oSelect.BillNo = DBUtility.ClsPub.isStrNull(oFrm.grdMain.Rows[oFrm.grdMain.SelectedRows[i].Index].Cells[MTONoCol].Value); |
| | | oSelect.HProduceDate = DBUtility.ClsPub.isDate(oFrm.grdMain.Rows[oFrm.grdMain.SelectedRows[i].Index].Cells[HProduceDateCol].Value); |
| | | oSelect.HExpiryDate = DBUtility.ClsPub.isDate(oFrm.grdMain.Rows[oFrm.grdMain.SelectedRows[i].Index].Cells[HExpiryDateCol].Value); |
| | | oSelect.BillTitle = mvarReportTitle; |
| | | oSelect.BillType = mvarItemKey; |
| | | oBillSelectColl.Add(oSelect); |