| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.Windows.Forms; |
| | | using DevExpress.Office.Utils; |
| | | using DevExpress.XtraBars.Ribbon; |
| | | using DevExpress.XtraBars; |
| | | using DevExpress.XtraEditors; |
| | | using DevExpress.XtraEditors.Controls; |
| | | using DevExpress.XtraGrid.Columns; |
| | | using DevExpress.XtraGrid.Menu; |
| | | using DevExpress.XtraGrid.Views.Grid; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.ToolBox; |
| | | using Gs.DevApp.UserControl; |
| | | using Newtonsoft.Json; |
| | | using System.Linq; |
| | | |
| | | namespace Gs.DevApp.DevFrm.Sys |
| | | { |
| | |
| | | toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick; |
| | | toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; |
| | | toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; |
| | | List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); |
| | | gvList.Add(gridView1); |
| | | Gs.DevApp.ToolBox.UtilityHelper.getGridViewConfig(this.GetType().FullName, gvList); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "checkStatus", "", (value) => |
| | | { |
| | | Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); |
| | |
| | | txt_noLength.ValueChanged += (s, e) => { DoPreviewCode(); }; |
| | | txt_isIncludeDoc.CheckedChanged += (s, e) => { DoPreviewCode(); }; |
| | | txt_isSpilit.CheckedChanged += (s, e) => { DoPreviewCode(); }; |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | { |
| | | getPageList(1); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 反审核 |
| | | /// </summary> |
| | |
| | | return; |
| | | } |
| | | Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 3); |
| | | if (xtraTabControl1.SelectedTabPageIndex == 1) |
| | | if (xtraTabControl1.SelectedTabPageIndex == 1) |
| | | { |
| | | getModel(lbGuid.Text.Trim()); |
| | | } |
| | |
| | | pageBar1.CurrentPage = curPage;//当前页 |
| | | pageBar1.RecordCount = dd.rtnData.total;//总记录数 |
| | | gridView1.BestFitColumns(); |
| | | |
| | | |
| | | } |
| | | else |
| | | { |
| | |
| | | txxtItem3.Text = "<" + _ary[2]; |
| | | if (_ary.Length > 3) |
| | | txxtItem4.Text = "<" + _ary[3]; |
| | | if (_ary.Length >4) |
| | | if (_ary.Length > 4) |
| | | txxtItem5.Text = "<" + _ary[4]; |
| | | txxtItem1.Enabled = txxtItem2.Enabled = txxtItem3.Enabled = txxtItem4.Enabled = panelControl1.Enabled = false; |
| | | } |
| | |
| | | dataTable.Rows.Add("XSCK(销售出库)"); |
| | | dataTable.Rows.Add("XSTH(销售退货)"); |
| | | dataTable.Rows.Add("WWPC(委外排产)"); |
| | | dataTable.Rows.Add("WWLL(委外领料)"); |
| | | dataTable.Rows.Add("WWTLSQ(委外退料申请)"); |
| | | dataTable.Rows.Add("WWTL(委外退料)"); |
| | | dataTable.Rows.Add("WWCLSQ(生产超领申请)"); |
| | | dataTable.Rows.Add("WWCLSQ(委外超领申请)"); |
| | | dataTable.Rows.Add("WWCL(委外超领)"); |
| | | dataTable.Rows.Add("WWBLSQ(生产补料申请)"); |
| | | dataTable.Rows.Add("WWBLSQ(委外补料申请)"); |
| | | dataTable.Rows.Add("WWBL(委外补料)"); |
| | | dataTable.Rows.Add("SJJYSQ(首检申请)"); |
| | | dataTable.Rows.Add("SJJY(首检检验)"); |
| | |
| | | dataTable.Rows.Add("FQC(入库检验)"); |
| | | dataTable.Rows.Add("OQCSQ(出库检验申请)"); |
| | | dataTable.Rows.Add("OQC(出库检验)"); |
| | | dataTable.Rows.Add("TM(条码)"); |
| | | dataTable.Rows.Add("FHTZSQ(发货通知申请)"); |
| | | dataTable.Rows.Add("FHTZ(发货通知)"); |
| | | txt_docCode.Properties.DataSource = dataTable; |
| | | txt_docCode.Properties.DisplayMember = "docCode"; // 显示的列 |
| | | txt_docCode.Properties.ValueMember = "docCode"; // 实际值的列 |
| | | txt_docCode.Properties.TextEditStyle = TextEditStyles.DisableTextEditor; |
| | | } |
| | | |
| | | |
| | | private void DoPreviewCode() |
| | | { |
| | | if (txt_docCode.Enabled == false |
| | |
| | | MsgHelper.Warning("提示:" + ex.Message); |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |