| | |
| | | grdMain.Rows[sRow].Cells[HUnitNumberCol].Value = ""; |
| | | grdMain.Rows[sRow].Cells[HUnitNameCol].Value = ""; |
| | | } |
| | | if (CampanyName == "涓帶") |
| | | { |
| | | grdMain.Rows[sRow].Cells[HQtyCol].Value = oMater.omodel.HQtyMin; |
| | | grdMain.Rows[sRow].Cells[HBQtyCol].Value = 1; |
| | | } |
| | | oEdit.Text = oMater.omodel.HNumber; |
| | | } |
| | | else |
| | |
| | | grdMain.Rows[i].Cells[HISKFPERIODCol].Value = oTable.Rows[0]["HISKFPERIOD"].ToString(); |
| | | grdMain.Rows[i].Cells[HEXPUNITCol].Value = oTable.Rows[0]["HEXPUNIT"].ToString(); |
| | | grdMain.Rows[i].Cells[HEXPPERIODCol].Value = oTable.Rows[0]["HEXPPERIOD"].ToString(); |
| | | if (CampanyName == "涓帶") |
| | | { |
| | | grdMain.Rows[i].Cells[HMinQtyCol].Value = ClsPub.isDoule(oTable.Rows[0]["鏁伴噺"]); |
| | | } |
| | | //-- |
| | | //璁剧疆鍙紪杈戝垪 |
| | | string sAllowCol = HQtyCol.ToString() + |