| | |
| | | toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; |
| | | toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; |
| | | toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; |
| | | toolBarMenu1.xlsInService = "XlsInItemJyxm&"+ strType; |
| | | toolBarMenu1.xlsInService = "XlsInItemJyxm&" + strType; |
| | | //类型,iqc,ipqc巡检,ipqc首检查,fqc,iqc的样品值默认为5,其它为1 |
| | | txt_ftype.Text = strType; |
| | | if (strType == "iqc") |
| | |
| | | if (strType != "ipqc巡检") |
| | | { |
| | | gvMx1.Columns["stationName"].Visible = false; |
| | | } |
| | | //如果是ipqc首检,显示认证 |
| | | if (strType != "ipqc首检") |
| | | { |
| | | gvMx1.Columns["isRzxx"].Visible = false; |
| | | } |
| | | //新行初始值 |
| | | this.gvMx1.InitNewRow += (s, e) => |
| | |
| | | string _Fstand = row["Fstand"].ToString(); |
| | | string _FupAllow = row["FupAllow"].ToString(); |
| | | string _FdownAllow = row["FdownAllow"].ToString(); |
| | | bool _isRzxx = (row["isRzxx"].ToString() == "1" ? true : false); |
| | | //假如三个都为空通过 |
| | | if (string.IsNullOrEmpty(_Fstand) && string.IsNullOrEmpty(_FupAllow) && string.IsNullOrEmpty(_FdownAllow)) |
| | | { |
| | |
| | | FdownAllow = Gs.DevApp.ToolBox.UtilityHelper.GetDecimal(row["FdownAllow"].ToString()), |
| | | ypsl = Gs.DevApp.ToolBox.UtilityHelper.GetDecimal(row["ypsl"].ToString()), |
| | | stationName = row["stationName"].ToString(), |
| | | isRzxx = _isRzxx, |
| | | }); |
| | | } |
| | | } |