| | |
| | | using System.Drawing; |
| | | using System.Text; |
| | | using System.Windows.Forms; |
| | | using DevExpress.RichEdit.Export; |
| | | using DevExpress.XtraEditors; |
| | | using DevExpress.XtraGrid.Views.Grid; |
| | | using Gs.DevApp.Entity; |
| | |
| | | toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; |
| | | toolBarMenu1.btnPiZhunClick += ToolBarMenu1_btnPiZhunClick; |
| | | gcMain.MouseDoubleClick += GcMain_MouseDoubleClick; |
| | | gridView1.FocusedRowChanged += (s, e) => |
| | | { |
| | | UtilityHelper.SetCheckIco(s, picCheckBox, this, "foneChecked", ""); |
| | | }; |
| | | getPageList(1, UtilityHelper.GetPageSize()); |
| | | pageBar1.PagerEvent += PageBar1_PagerEvent; |
| | | gridView1.CustomDrawRowIndicator += (s, e) => |
| | |
| | | { |
| | | toolBarMenu1.isSetBtn = false; |
| | | string _ItemId = txt_ItemId.GetId() |
| | | ; if (string.IsNullOrEmpty(_ItemId)) |
| | | ; if (string.IsNullOrEmpty(_ItemId)) |
| | | { |
| | | MsgHelper.Warning("请选择物料!"); |
| | | txt_ItemId.Focus(); |
| | |
| | | Fstand = row["Fstand"].ToString(), |
| | | FacLevel = row["FacLevel"].ToString(), |
| | | FspecRequ = row["FspecRequ"].ToString(), |
| | | Memo = row["memo"].ToString(), |
| | | Memo = row["memo"].ToString(), |
| | | FupAllow = row["FupAllow"].ToString(), |
| | | FdownAllow = row["FdownAllow"].ToString(), |
| | | }); |
| | |
| | | ItemNo = txt_itemNo.Text.Trim(), |
| | | Isenabled = txt_isenabled.Checked, |
| | | Ftype = "1", |
| | | Fversion =Gs.DevApp.ToolBox.UtilityHelper.ToLong( txt_fversion.Text.Trim()), |
| | | Fversion = Gs.DevApp.ToolBox.UtilityHelper.ToLong(txt_fversion.Text.Trim()), |
| | | list = lst |
| | | }; |
| | | try |
| | |
| | | try |
| | | { |
| | | var strReturn = UtilityHelper.HttpPost("", |
| | | // _webServiceName + "GetListPageIQC", json); |
| | | // _webServiceName + "GetListPageIQC", json); |
| | | _webServiceName + "GetListPage", json); |
| | | var dd = |
| | | UtilityHelper.ReturnToTablePage(strReturn); |
| | |
| | | try |
| | | { |
| | | var strJson = UtilityHelper.HttpPost("", |
| | | // _webServiceName + "GetModelIQC", |
| | | // _webServiceName + "GetModelIQC", |
| | | _webServiceName + "GetModel", |
| | | JsonConvert.SerializeObject(_obj)); |
| | | var _rtn = |
| | |
| | | "0.010---(AQL_0_0010)" |
| | | , "0.015---(AQL_0_0015)" |
| | | , "0.025---(AQL_0_0025)" |
| | | ,"0.04---(AQL_0_0040)" |
| | | ,"0.040---(AQL_0_0040)" |
| | | ,"0.065---(AQL_0_0065)" |
| | | ,"0.10---(AQL_0_010)" |
| | | ,"0.15---(AQL_0_015)" |
| | |
| | | gvMx1.UpdateCurrentRow(); |
| | | gvMx1.SetRowCellValue(dataIndex, "sampleSizeNo", _val); |
| | | gvMx1.SetRowCellValue(dataIndex, "sampleSizeName", _txt); |
| | | |
| | | |
| | | } |
| | | } |
| | | private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) |