From 818758ebc51e989b53226d0ceb7603afbae01a48 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 27 十二月 2024 08:18:14 +0800 Subject: [PATCH] 调拨申请 --- DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.cs | 518 ++++++++++++++ DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.resx | 120 +++ DevApp/Gs.DevApp/Gs.DevApp.csproj | 10 DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.Designer.cs | 1530 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 2,173 insertions(+), 5 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.Designer.cs new file mode 100644 index 0000000..99422c6 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.Designer.cs @@ -0,0 +1,1530 @@ +/* Create By GS EasyCode */ +namespace Gs.DevApp.DevFrm +{ + partial class Frm_MesDbck + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); + this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage(); + this.gcMx1 = new DevExpress.XtraGrid.GridControl(); + this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gvMx1id = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1mid = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld012 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemSearchLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit(); + this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld002 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld003 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld004 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld007 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld010 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld008 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld009 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMxDel = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); + this.gv_isWc = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_rkDepot = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_ckDepot = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_fbilltypeidNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_billno = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_fstockorgidNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_fstockoutorgidNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_fromFname = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_fromFcode = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_invFname = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_invFcode = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_ftransferdirectNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_ftransferbiztypeNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_shState = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_shDate = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_shBy = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_lastupdateDate = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_lastupdateBy = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_cteateData = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_createBy = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_fsaleorgid = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_fowneridhead = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_fownertypeidhead = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_fowneroutidhead = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_fownertypeoutidhead = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_fstockorgid = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_fstockoutorgid = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_ftransferbiztype = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_ftransferdirect = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_fbilltypeid = new DevExpress.XtraGrid.Columns.GridColumn(); + this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); + this.gcMain = new DevExpress.XtraGrid.GridControl(); + this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); + this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); + this.pageBar1 = new UserControls.Data.UcPageBar(); + this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); + this.tabMx = new DevExpress.XtraTab.XtraTabControl(); + this.panel1 = new System.Windows.Forms.Panel(); + this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); + this.txt_remark = new DevExpress.XtraEditors.TextEdit(); + this.txt_fstockorgidNo = new DevExpress.XtraEditors.TextEdit(); + this.txt_fstockoutorgidNo = new DevExpress.XtraEditors.TextEdit(); + this.txt_fromFcode = new Gs.DevApp.UserControl.UcLookCk(); + this.txt_invFcode = new Gs.DevApp.UserControl.UcLookCk(); + this.txt_isWc = new DevExpress.XtraEditors.CheckEdit(); + this.txt_shState = new DevExpress.XtraEditors.CheckEdit(); + this.txt_ftransferdirect = new DevExpress.XtraEditors.ComboBoxEdit(); + this.txt_fbilltypeid = new DevExpress.XtraEditors.ComboBoxEdit(); + this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); + this.lbGuid = new System.Windows.Forms.Label(); + this.lb_isWc = new DevExpress.XtraEditors.LabelControl(); + this.lb_billno = new DevExpress.XtraEditors.LabelControl(); + this.txt_billno = new DevExpress.XtraEditors.TextEdit(); + this.lb_fstockorgidNo = new DevExpress.XtraEditors.LabelControl(); + this.lb_fstockoutorgidNo = new DevExpress.XtraEditors.LabelControl(); + this.lb_fromFcode = new DevExpress.XtraEditors.LabelControl(); + this.lb_invFcode = new DevExpress.XtraEditors.LabelControl(); + this.lb_shState = new DevExpress.XtraEditors.LabelControl(); + this.lb_shDate = new DevExpress.XtraEditors.LabelControl(); + this.txt_shDate = new DevExpress.XtraEditors.TextEdit(); + this.lb_shBy = new DevExpress.XtraEditors.LabelControl(); + this.txt_shBy = new DevExpress.XtraEditors.TextEdit(); + this.lb_fsaleorgid = new DevExpress.XtraEditors.LabelControl(); + this.txt_fsaleorgid = new DevExpress.XtraEditors.TextEdit(); + this.lb_fowneridhead = new DevExpress.XtraEditors.LabelControl(); + this.txt_fowneridhead = new DevExpress.XtraEditors.TextEdit(); + this.lb_fowneroutidhead = new DevExpress.XtraEditors.LabelControl(); + this.txt_fowneroutidhead = new DevExpress.XtraEditors.TextEdit(); + this.lb_ftransferdirect = new DevExpress.XtraEditors.LabelControl(); + this.lb_fbilltypeid = new DevExpress.XtraEditors.LabelControl(); + this.lb_id = new DevExpress.XtraEditors.LabelControl(); + this.picCheckBox = new System.Windows.Forms.PictureBox(); + this.tabMxPage1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); + this.xtraTabControl1.SuspendLayout(); + this.xtraTabPage1.SuspendLayout(); + this.xtraTabPage2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit(); + this.tabMx.SuspendLayout(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fstockorgidNo.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fstockoutorgidNo.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_isWc.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_shState.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_ftransferdirect.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fbilltypeid.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_billno.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_shDate.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_shBy.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fsaleorgid.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fowneridhead.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fowneroutidhead.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit(); + this.SuspendLayout(); + // + // tabMxPage1 + // + this.tabMxPage1.Controls.Add(this.gcMx1); + this.tabMxPage1.Name = "tabMxPage1"; + this.tabMxPage1.Size = new System.Drawing.Size(1124, 387); + this.tabMxPage1.Text = "璋冩嫧鐢宠鏄庣粏"; + // + // gcMx1 + // + this.gcMx1.Dock = System.Windows.Forms.DockStyle.Fill; + this.gcMx1.Location = new System.Drawing.Point(0, 0); + this.gcMx1.MainView = this.gvMx1; + this.gcMx1.Name = "gcMx1"; + this.gcMx1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { + this.repositoryItemSearchLookUpEdit1, + this.repositoryItemButtonEdit1}); + this.gcMx1.Size = new System.Drawing.Size(1124, 387); + this.gcMx1.TabIndex = 1; + this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gvMx1}); + // + // gvMx1 + // + this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gvMx1id, + this.gvMx1mid, + this.gvMx1bld012, + this.gvMx1bld002, + this.gvMx1bld003, + this.gvMx1bld004, + this.gvMx1bld007, + this.gvMx1bld010, + this.gvMx1bld008, + this.gvMx1bld009, + this.gridColumn1, + this.gvMxDel}); + this.gvMx1.GridControl = this.gcMx1; + this.gvMx1.Name = "gvMx1"; + this.gvMx1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True; + this.gvMx1.OptionsFind.ShowSearchNavButtons = false; + this.gvMx1.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; + this.gvMx1.OptionsView.ShowGroupPanel = false; + // + // gvMx1id + // + this.gvMx1id.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1id.AppearanceCell.Options.UseFont = true; + this.gvMx1id.Caption = "ID"; + this.gvMx1id.FieldName = "id"; + this.gvMx1id.MinWidth = 50; + this.gvMx1id.Name = "gvMx1id"; + this.gvMx1id.OptionsColumn.ReadOnly = true; + this.gvMx1id.Tag = "query_a.id"; + this.gvMx1id.Width = 94; + // + // gvMx1mid + // + this.gvMx1mid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1mid.AppearanceCell.Options.UseFont = true; + this.gvMx1mid.Caption = "MID"; + this.gvMx1mid.FieldName = "pid"; + this.gvMx1mid.MinWidth = 50; + this.gvMx1mid.Name = "gvMx1mid"; + this.gvMx1mid.OptionsColumn.ReadOnly = true; + this.gvMx1mid.Tag = "query_a.mid"; + this.gvMx1mid.Width = 94; + // + // gvMx1bld012 + // + this.gvMx1bld012.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld012.AppearanceCell.ForeColor = System.Drawing.Color.Blue; + this.gvMx1bld012.AppearanceCell.Options.UseFont = true; + this.gvMx1bld012.AppearanceCell.Options.UseForeColor = true; + this.gvMx1bld012.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1bld012.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1bld012.Caption = "鐗╂枡id"; + this.gvMx1bld012.ColumnEdit = this.repositoryItemSearchLookUpEdit1; + this.gvMx1bld012.FieldName = "itemId"; + this.gvMx1bld012.MinWidth = 50; + this.gvMx1bld012.Name = "gvMx1bld012"; + this.gvMx1bld012.Tag = "edit"; + this.gvMx1bld012.Visible = true; + this.gvMx1bld012.VisibleIndex = 0; + this.gvMx1bld012.Width = 94; + // + // repositoryItemSearchLookUpEdit1 + // + this.repositoryItemSearchLookUpEdit1.AutoHeight = false; + this.repositoryItemSearchLookUpEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemSearchLookUpEdit1.DisplayMember = "id"; + this.repositoryItemSearchLookUpEdit1.Name = "repositoryItemSearchLookUpEdit1"; + this.repositoryItemSearchLookUpEdit1.NullText = "璇烽�夋嫨"; + this.repositoryItemSearchLookUpEdit1.PopupView = this.gridView2; + this.repositoryItemSearchLookUpEdit1.ValueMember = "id"; + this.repositoryItemSearchLookUpEdit1.EditValueChanged += new System.EventHandler(this.repositoryItemSearchLookUpEdit1_EditValueChanged); + // + // gridView2 + // + this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gridColumn2, + this.gridColumn3, + this.gridColumn4, + this.gridColumn5, + this.gridColumn7, + this.gridColumn6}); + this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; + this.gridView2.Name = "gridView2"; + this.gridView2.OptionsSelection.EnableAppearanceFocusedCell = false; + this.gridView2.OptionsView.ShowGroupPanel = false; + // + // gridColumn2 + // + this.gridColumn2.Caption = "鐗╂枡ID"; + this.gridColumn2.FieldName = "id"; + this.gridColumn2.Name = "gridColumn2"; + this.gridColumn2.Visible = true; + this.gridColumn2.VisibleIndex = 0; + this.gridColumn2.Width = 50; + // + // gridColumn3 + // + this.gridColumn3.Caption = "鐗╂枡缂栧彿"; + this.gridColumn3.FieldName = "itemNo"; + this.gridColumn3.Name = "gridColumn3"; + this.gridColumn3.Visible = true; + this.gridColumn3.VisibleIndex = 1; + this.gridColumn3.Width = 50; + // + // gridColumn4 + // + this.gridColumn4.Caption = "鐗╂枡鍚嶇О"; + this.gridColumn4.FieldName = "itemName"; + this.gridColumn4.Name = "gridColumn4"; + this.gridColumn4.Visible = true; + this.gridColumn4.VisibleIndex = 2; + this.gridColumn4.Width = 110; + // + // gridColumn5 + // + this.gridColumn5.Caption = "鐗╂枡瑙勬牸"; + this.gridColumn5.FieldName = "itemModel"; + this.gridColumn5.Name = "gridColumn5"; + this.gridColumn5.Visible = true; + this.gridColumn5.VisibleIndex = 3; + this.gridColumn5.Width = 110; + // + // gridColumn7 + // + this.gridColumn7.Caption = "鍗曚綅"; + this.gridColumn7.FieldName = "dwName"; + this.gridColumn7.Name = "gridColumn7"; + this.gridColumn7.Visible = true; + this.gridColumn7.VisibleIndex = 4; + // + // gridColumn6 + // + this.gridColumn6.Caption = "浣跨敤缁勭粐"; + this.gridColumn6.FieldName = "fSubsidiary"; + this.gridColumn6.Name = "gridColumn6"; + this.gridColumn6.Visible = true; + this.gridColumn6.VisibleIndex = 5; + this.gridColumn6.Width = 52; + // + // gvMx1bld002 + // + this.gvMx1bld002.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld002.AppearanceCell.Options.UseFont = true; + this.gvMx1bld002.Caption = "鐗╂枡缂栧彿"; + this.gvMx1bld002.FieldName = "itemNo"; + this.gvMx1bld002.MinWidth = 100; + this.gvMx1bld002.Name = "gvMx1bld002"; + this.gvMx1bld002.OptionsColumn.ReadOnly = true; + this.gvMx1bld002.Tag = "query_a.bld002"; + this.gvMx1bld002.Visible = true; + this.gvMx1bld002.VisibleIndex = 1; + this.gvMx1bld002.Width = 100; + // + // gvMx1bld003 + // + this.gvMx1bld003.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld003.AppearanceCell.Options.UseFont = true; + this.gvMx1bld003.Caption = "鐗╂枡鍚嶇О"; + this.gvMx1bld003.FieldName = "itemName"; + this.gvMx1bld003.MinWidth = 120; + this.gvMx1bld003.Name = "gvMx1bld003"; + this.gvMx1bld003.OptionsColumn.ReadOnly = true; + this.gvMx1bld003.Tag = "query_a.bld003"; + this.gvMx1bld003.Visible = true; + this.gvMx1bld003.VisibleIndex = 2; + this.gvMx1bld003.Width = 120; + // + // gvMx1bld004 + // + this.gvMx1bld004.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld004.AppearanceCell.Options.UseFont = true; + this.gvMx1bld004.Caption = "瑙勬牸鍨嬪彿"; + this.gvMx1bld004.FieldName = "itemModel"; + this.gvMx1bld004.MinWidth = 120; + this.gvMx1bld004.Name = "gvMx1bld004"; + this.gvMx1bld004.OptionsColumn.ReadOnly = true; + this.gvMx1bld004.Tag = "query_a.bld004"; + this.gvMx1bld004.Visible = true; + this.gvMx1bld004.VisibleIndex = 3; + this.gvMx1bld004.Width = 120; + // + // gvMx1bld007 + // + this.gvMx1bld007.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld007.AppearanceCell.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); + this.gvMx1bld007.AppearanceCell.Options.UseFont = true; + this.gvMx1bld007.AppearanceCell.Options.UseForeColor = true; + this.gvMx1bld007.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1bld007.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1bld007.Caption = "鐢宠鏁伴噺"; + this.gvMx1bld007.FieldName = "shNum"; + this.gvMx1bld007.MinWidth = 80; + this.gvMx1bld007.Name = "gvMx1bld007"; + this.gvMx1bld007.Tag = "yz_quantity_0_edit"; + this.gvMx1bld007.Visible = true; + this.gvMx1bld007.VisibleIndex = 4; + this.gvMx1bld007.Width = 94; + // + // gvMx1bld010 + // + this.gvMx1bld010.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld010.AppearanceCell.ForeColor = System.Drawing.Color.Blue; + this.gvMx1bld010.AppearanceCell.Options.UseFont = true; + this.gvMx1bld010.AppearanceCell.Options.UseForeColor = true; + this.gvMx1bld010.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1bld010.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1bld010.Caption = "澶囨敞"; + this.gvMx1bld010.FieldName = "remark"; + this.gvMx1bld010.MinWidth = 150; + this.gvMx1bld010.Name = "gvMx1bld010"; + this.gvMx1bld010.Tag = "edit"; + this.gvMx1bld010.Visible = true; + this.gvMx1bld010.VisibleIndex = 5; + this.gvMx1bld010.Width = 150; + // + // gvMx1bld008 + // + this.gvMx1bld008.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld008.AppearanceCell.Options.UseFont = true; + this.gvMx1bld008.Caption = "宸叉壂鏁伴噺"; + this.gvMx1bld008.FieldName = "ysNum"; + this.gvMx1bld008.MinWidth = 80; + this.gvMx1bld008.Name = "gvMx1bld008"; + this.gvMx1bld008.OptionsColumn.ReadOnly = true; + this.gvMx1bld008.Tag = "query_a.bld008"; + this.gvMx1bld008.Visible = true; + this.gvMx1bld008.VisibleIndex = 6; + this.gvMx1bld008.Width = 94; + // + // gvMx1bld009 + // + this.gvMx1bld009.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld009.AppearanceCell.Options.UseFont = true; + this.gvMx1bld009.Caption = "鍗曚綅ID"; + this.gvMx1bld009.FieldName = "unitId"; + this.gvMx1bld009.MinWidth = 50; + this.gvMx1bld009.Name = "gvMx1bld009"; + this.gvMx1bld009.OptionsColumn.ReadOnly = true; + this.gvMx1bld009.Tag = "query_a.bld009"; + this.gvMx1bld009.Visible = true; + this.gvMx1bld009.VisibleIndex = 7; + this.gvMx1bld009.Width = 94; + // + // gridColumn1 + // + this.gridColumn1.Caption = "鍗曚綅鍚嶇О"; + this.gridColumn1.FieldName = "dwName"; + this.gridColumn1.MinWidth = 25; + this.gridColumn1.Name = "gridColumn1"; + this.gridColumn1.Visible = true; + this.gridColumn1.VisibleIndex = 8; + this.gridColumn1.Width = 94; + // + // gvMxDel + // + this.gvMxDel.Caption = "绉诲嚭"; + this.gvMxDel.ColumnEdit = this.repositoryItemButtonEdit1; + this.gvMxDel.MinWidth = 25; + this.gvMxDel.Name = "gvMxDel"; + this.gvMxDel.Visible = true; + this.gvMxDel.VisibleIndex = 9; + this.gvMxDel.Width = 94; + // + // repositoryItemButtonEdit1 + // + this.repositoryItemButtonEdit1.AutoHeight = false; + editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; + editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; + this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "绉诲嚭", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); + this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; + this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; + this.repositoryItemButtonEdit1.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit1_ButtonClick); + // + // gv_isWc + // + this.gv_isWc.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_isWc.AppearanceCell.Options.UseFont = true; + this.gv_isWc.Caption = "瀹岀粨鏍囪瘑 "; + this.gv_isWc.FieldName = "isWc"; + this.gv_isWc.MinWidth = 50; + this.gv_isWc.Name = "gv_isWc"; + this.gv_isWc.OptionsColumn.AllowEdit = false; + this.gv_isWc.Tag = "query_a.is_wc"; + this.gv_isWc.Visible = true; + this.gv_isWc.VisibleIndex = 29; + this.gv_isWc.Width = 94; + // + // gv_rkDepot + // + this.gv_rkDepot.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_rkDepot.AppearanceCell.Options.UseFont = true; + this.gv_rkDepot.Caption = "鍏ュ簱浠撳簱 "; + this.gv_rkDepot.FieldName = "rkDepot"; + this.gv_rkDepot.MinWidth = 50; + this.gv_rkDepot.Name = "gv_rkDepot"; + this.gv_rkDepot.OptionsColumn.AllowEdit = false; + this.gv_rkDepot.Tag = "query_a.rk_depot"; + this.gv_rkDepot.Visible = true; + this.gv_rkDepot.VisibleIndex = 28; + this.gv_rkDepot.Width = 94; + // + // gv_ckDepot + // + this.gv_ckDepot.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_ckDepot.AppearanceCell.Options.UseFont = true; + this.gv_ckDepot.Caption = "鍑哄簱浠撳簱 "; + this.gv_ckDepot.FieldName = "ckDepot"; + this.gv_ckDepot.MinWidth = 50; + this.gv_ckDepot.Name = "gv_ckDepot"; + this.gv_ckDepot.OptionsColumn.AllowEdit = false; + this.gv_ckDepot.Tag = "query_a.ck_depot"; + this.gv_ckDepot.Visible = true; + this.gv_ckDepot.VisibleIndex = 27; + this.gv_ckDepot.Width = 94; + // + // gv_fbilltypeidNo + // + this.gv_fbilltypeidNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fbilltypeidNo.AppearanceCell.Options.UseFont = true; + this.gv_fbilltypeidNo.Caption = "鍗曟嵁绫诲瀷缂栫爜 "; + this.gv_fbilltypeidNo.FieldName = "fbilltypeidNo"; + this.gv_fbilltypeidNo.MinWidth = 50; + this.gv_fbilltypeidNo.Name = "gv_fbilltypeidNo"; + this.gv_fbilltypeidNo.OptionsColumn.AllowEdit = false; + this.gv_fbilltypeidNo.Tag = "query_a.fbilltypeid_no"; + this.gv_fbilltypeidNo.Visible = true; + this.gv_fbilltypeidNo.VisibleIndex = 26; + this.gv_fbilltypeidNo.Width = 94; + // + // gv_billno + // + this.gv_billno.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_billno.AppearanceCell.Options.UseFont = true; + this.gv_billno.Caption = "璋冩嫧鐢宠鍗� "; + this.gv_billno.FieldName = "billno"; + this.gv_billno.MinWidth = 50; + this.gv_billno.Name = "gv_billno"; + this.gv_billno.OptionsColumn.AllowEdit = false; + this.gv_billno.Tag = "query_a.billno"; + this.gv_billno.Visible = true; + this.gv_billno.VisibleIndex = 25; + this.gv_billno.Width = 94; + // + // gv_fstockorgidNo + // + this.gv_fstockorgidNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fstockorgidNo.AppearanceCell.Options.UseFont = true; + this.gv_fstockorgidNo.Caption = "璋冨叆搴撳瓨缁勭粐ID "; + this.gv_fstockorgidNo.FieldName = "fstockorgidNo"; + this.gv_fstockorgidNo.MinWidth = 50; + this.gv_fstockorgidNo.Name = "gv_fstockorgidNo"; + this.gv_fstockorgidNo.OptionsColumn.AllowEdit = false; + this.gv_fstockorgidNo.Tag = "query_a.fstockorgid_no"; + this.gv_fstockorgidNo.Visible = true; + this.gv_fstockorgidNo.VisibleIndex = 24; + this.gv_fstockorgidNo.Width = 94; + // + // gv_fstockoutorgidNo + // + this.gv_fstockoutorgidNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fstockoutorgidNo.AppearanceCell.Options.UseFont = true; + this.gv_fstockoutorgidNo.Caption = "璋冨嚭搴撳瓨缁勭粐ID "; + this.gv_fstockoutorgidNo.FieldName = "fstockoutorgidNo"; + this.gv_fstockoutorgidNo.MinWidth = 50; + this.gv_fstockoutorgidNo.Name = "gv_fstockoutorgidNo"; + this.gv_fstockoutorgidNo.OptionsColumn.AllowEdit = false; + this.gv_fstockoutorgidNo.Tag = "query_a.fstockoutorgid_no"; + this.gv_fstockoutorgidNo.Visible = true; + this.gv_fstockoutorgidNo.VisibleIndex = 23; + this.gv_fstockoutorgidNo.Width = 94; + // + // gv_fromFname + // + this.gv_fromFname.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fromFname.AppearanceCell.Options.UseFont = true; + this.gv_fromFname.Caption = "璋冨叆浠撳簱鍚嶇О "; + this.gv_fromFname.FieldName = "fromFname"; + this.gv_fromFname.MinWidth = 50; + this.gv_fromFname.Name = "gv_fromFname"; + this.gv_fromFname.OptionsColumn.AllowEdit = false; + this.gv_fromFname.Tag = "query_a.from_fname"; + this.gv_fromFname.Visible = true; + this.gv_fromFname.VisibleIndex = 22; + this.gv_fromFname.Width = 94; + // + // gv_fromFcode + // + this.gv_fromFcode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fromFcode.AppearanceCell.Options.UseFont = true; + this.gv_fromFcode.Caption = "璋冨叆浠撳簱 "; + this.gv_fromFcode.FieldName = "fromFcode"; + this.gv_fromFcode.MinWidth = 50; + this.gv_fromFcode.Name = "gv_fromFcode"; + this.gv_fromFcode.OptionsColumn.AllowEdit = false; + this.gv_fromFcode.Tag = "query_a.from_fcode"; + this.gv_fromFcode.Visible = true; + this.gv_fromFcode.VisibleIndex = 21; + this.gv_fromFcode.Width = 94; + // + // gv_invFname + // + this.gv_invFname.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_invFname.AppearanceCell.Options.UseFont = true; + this.gv_invFname.Caption = "璋冨嚭浠撳簱鍚嶇О "; + this.gv_invFname.FieldName = "invFname"; + this.gv_invFname.MinWidth = 50; + this.gv_invFname.Name = "gv_invFname"; + this.gv_invFname.OptionsColumn.AllowEdit = false; + this.gv_invFname.Tag = "query_a.inv_fname"; + this.gv_invFname.Visible = true; + this.gv_invFname.VisibleIndex = 20; + this.gv_invFname.Width = 94; + // + // gv_invFcode + // + this.gv_invFcode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_invFcode.AppearanceCell.Options.UseFont = true; + this.gv_invFcode.Caption = "璋冨嚭浠撳簱 "; + this.gv_invFcode.FieldName = "invFcode"; + this.gv_invFcode.MinWidth = 50; + this.gv_invFcode.Name = "gv_invFcode"; + this.gv_invFcode.OptionsColumn.AllowEdit = false; + this.gv_invFcode.Tag = "query_a.inv_fcode"; + this.gv_invFcode.Visible = true; + this.gv_invFcode.VisibleIndex = 19; + this.gv_invFcode.Width = 94; + // + // gv_ftransferdirectNo + // + this.gv_ftransferdirectNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_ftransferdirectNo.AppearanceCell.Options.UseFont = true; + this.gv_ftransferdirectNo.Caption = "璋冩嫧鏂瑰悜缂栫爜 "; + this.gv_ftransferdirectNo.FieldName = "ftransferdirectNo"; + this.gv_ftransferdirectNo.MinWidth = 50; + this.gv_ftransferdirectNo.Name = "gv_ftransferdirectNo"; + this.gv_ftransferdirectNo.OptionsColumn.AllowEdit = false; + this.gv_ftransferdirectNo.Tag = "query_a.ftransferdirect_no"; + this.gv_ftransferdirectNo.Visible = true; + this.gv_ftransferdirectNo.VisibleIndex = 18; + this.gv_ftransferdirectNo.Width = 94; + // + // gv_ftransferbiztypeNo + // + this.gv_ftransferbiztypeNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_ftransferbiztypeNo.AppearanceCell.Options.UseFont = true; + this.gv_ftransferbiztypeNo.Caption = "璋冩嫧绫诲瀷缂栫爜 "; + this.gv_ftransferbiztypeNo.FieldName = "ftransferbiztypeNo"; + this.gv_ftransferbiztypeNo.MinWidth = 50; + this.gv_ftransferbiztypeNo.Name = "gv_ftransferbiztypeNo"; + this.gv_ftransferbiztypeNo.OptionsColumn.AllowEdit = false; + this.gv_ftransferbiztypeNo.Tag = "query_a.ftransferbiztype_no"; + this.gv_ftransferbiztypeNo.Visible = true; + this.gv_ftransferbiztypeNo.VisibleIndex = 17; + this.gv_ftransferbiztypeNo.Width = 94; + // + // gv_shState + // + this.gv_shState.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_shState.AppearanceCell.Options.UseFont = true; + this.gv_shState.Caption = "瀹℃牳鐘舵�� "; + this.gv_shState.FieldName = "shState"; + this.gv_shState.MinWidth = 50; + this.gv_shState.Name = "gv_shState"; + this.gv_shState.OptionsColumn.AllowEdit = false; + this.gv_shState.Tag = "query_a.sh_state"; + this.gv_shState.Visible = true; + this.gv_shState.VisibleIndex = 16; + this.gv_shState.Width = 94; + // + // gv_shDate + // + this.gv_shDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_shDate.AppearanceCell.Options.UseFont = true; + this.gv_shDate.Caption = "瀹℃牳鏃堕棿 "; + this.gv_shDate.FieldName = "shDate"; + this.gv_shDate.MinWidth = 50; + this.gv_shDate.Name = "gv_shDate"; + this.gv_shDate.OptionsColumn.AllowEdit = false; + this.gv_shDate.Tag = "query_a.sh_date"; + this.gv_shDate.Visible = true; + this.gv_shDate.VisibleIndex = 15; + this.gv_shDate.Width = 94; + // + // gv_shBy + // + this.gv_shBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_shBy.AppearanceCell.Options.UseFont = true; + this.gv_shBy.Caption = "瀹℃牳浜� "; + this.gv_shBy.FieldName = "shBy"; + this.gv_shBy.MinWidth = 50; + this.gv_shBy.Name = "gv_shBy"; + this.gv_shBy.OptionsColumn.AllowEdit = false; + this.gv_shBy.Tag = "query_a.sh_by"; + this.gv_shBy.Visible = true; + this.gv_shBy.VisibleIndex = 14; + this.gv_shBy.Width = 94; + // + // gv_lastupdateDate + // + this.gv_lastupdateDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_lastupdateDate.AppearanceCell.Options.UseFont = true; + this.gv_lastupdateDate.Caption = "鏈�鍚庤窡鏂版椂闂� "; + this.gv_lastupdateDate.FieldName = "lastupdateDate"; + this.gv_lastupdateDate.MinWidth = 50; + this.gv_lastupdateDate.Name = "gv_lastupdateDate"; + this.gv_lastupdateDate.OptionsColumn.AllowEdit = false; + this.gv_lastupdateDate.Tag = "query_a.lastupdate_date"; + this.gv_lastupdateDate.Visible = true; + this.gv_lastupdateDate.VisibleIndex = 13; + this.gv_lastupdateDate.Width = 94; + // + // gv_lastupdateBy + // + this.gv_lastupdateBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_lastupdateBy.AppearanceCell.Options.UseFont = true; + this.gv_lastupdateBy.Caption = "鏈�鍚庤窡鏂颁汉 "; + this.gv_lastupdateBy.FieldName = "lastupdateBy"; + this.gv_lastupdateBy.MinWidth = 50; + this.gv_lastupdateBy.Name = "gv_lastupdateBy"; + this.gv_lastupdateBy.OptionsColumn.AllowEdit = false; + this.gv_lastupdateBy.Tag = "query_a.lastupdate_by"; + this.gv_lastupdateBy.Visible = true; + this.gv_lastupdateBy.VisibleIndex = 12; + this.gv_lastupdateBy.Width = 94; + // + // gv_cteateData + // + this.gv_cteateData.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_cteateData.AppearanceCell.Options.UseFont = true; + this.gv_cteateData.Caption = "鍒涘缓鏃堕棿 "; + this.gv_cteateData.FieldName = "cteateData"; + this.gv_cteateData.MinWidth = 50; + this.gv_cteateData.Name = "gv_cteateData"; + this.gv_cteateData.OptionsColumn.AllowEdit = false; + this.gv_cteateData.Tag = "query_a.cteate_data"; + this.gv_cteateData.Visible = true; + this.gv_cteateData.VisibleIndex = 11; + this.gv_cteateData.Width = 94; + // + // gv_createBy + // + this.gv_createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_createBy.AppearanceCell.Options.UseFont = true; + this.gv_createBy.Caption = "鍒涘缓浜� "; + this.gv_createBy.FieldName = "createBy"; + this.gv_createBy.MinWidth = 50; + this.gv_createBy.Name = "gv_createBy"; + this.gv_createBy.OptionsColumn.AllowEdit = false; + this.gv_createBy.Tag = "query_a.create_by"; + this.gv_createBy.Visible = true; + this.gv_createBy.VisibleIndex = 10; + this.gv_createBy.Width = 94; + // + // gv_fsaleorgid + // + this.gv_fsaleorgid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fsaleorgid.AppearanceCell.Options.UseFont = true; + this.gv_fsaleorgid.Caption = "閿�鍞粍缁� "; + this.gv_fsaleorgid.FieldName = "fsaleorgid"; + this.gv_fsaleorgid.MinWidth = 50; + this.gv_fsaleorgid.Name = "gv_fsaleorgid"; + this.gv_fsaleorgid.OptionsColumn.AllowEdit = false; + this.gv_fsaleorgid.Tag = "query_a.fsaleorgid"; + this.gv_fsaleorgid.Visible = true; + this.gv_fsaleorgid.VisibleIndex = 9; + this.gv_fsaleorgid.Width = 94; + // + // gv_fowneridhead + // + this.gv_fowneridhead.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fowneridhead.AppearanceCell.Options.UseFont = true; + this.gv_fowneridhead.Caption = "璋冨叆璐т富 "; + this.gv_fowneridhead.FieldName = "fowneridhead"; + this.gv_fowneridhead.MinWidth = 50; + this.gv_fowneridhead.Name = "gv_fowneridhead"; + this.gv_fowneridhead.OptionsColumn.AllowEdit = false; + this.gv_fowneridhead.Tag = "query_a.fowneridhead"; + this.gv_fowneridhead.Visible = true; + this.gv_fowneridhead.VisibleIndex = 8; + this.gv_fowneridhead.Width = 94; + // + // gv_fownertypeidhead + // + this.gv_fownertypeidhead.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fownertypeidhead.AppearanceCell.Options.UseFont = true; + this.gv_fownertypeidhead.Caption = "璋冨叆璐т富绫诲瀷 "; + this.gv_fownertypeidhead.FieldName = "fownertypeidhead"; + this.gv_fownertypeidhead.MinWidth = 50; + this.gv_fownertypeidhead.Name = "gv_fownertypeidhead"; + this.gv_fownertypeidhead.OptionsColumn.AllowEdit = false; + this.gv_fownertypeidhead.Tag = "query_a.fownertypeidhead"; + this.gv_fownertypeidhead.Visible = true; + this.gv_fownertypeidhead.VisibleIndex = 7; + this.gv_fownertypeidhead.Width = 94; + // + // gv_fowneroutidhead + // + this.gv_fowneroutidhead.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fowneroutidhead.AppearanceCell.Options.UseFont = true; + this.gv_fowneroutidhead.Caption = "璋冨嚭璐т富 "; + this.gv_fowneroutidhead.FieldName = "fowneroutidhead"; + this.gv_fowneroutidhead.MinWidth = 50; + this.gv_fowneroutidhead.Name = "gv_fowneroutidhead"; + this.gv_fowneroutidhead.OptionsColumn.AllowEdit = false; + this.gv_fowneroutidhead.Tag = "query_a.fowneroutidhead"; + this.gv_fowneroutidhead.Visible = true; + this.gv_fowneroutidhead.VisibleIndex = 6; + this.gv_fowneroutidhead.Width = 94; + // + // gv_fownertypeoutidhead + // + this.gv_fownertypeoutidhead.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fownertypeoutidhead.AppearanceCell.Options.UseFont = true; + this.gv_fownertypeoutidhead.Caption = "璋冨嚭璐т富绫诲瀷 "; + this.gv_fownertypeoutidhead.FieldName = "fownertypeoutidhead"; + this.gv_fownertypeoutidhead.MinWidth = 50; + this.gv_fownertypeoutidhead.Name = "gv_fownertypeoutidhead"; + this.gv_fownertypeoutidhead.OptionsColumn.AllowEdit = false; + this.gv_fownertypeoutidhead.Tag = "query_a.fownertypeoutidhead"; + this.gv_fownertypeoutidhead.Visible = true; + this.gv_fownertypeoutidhead.VisibleIndex = 5; + this.gv_fownertypeoutidhead.Width = 94; + // + // gv_fstockorgid + // + this.gv_fstockorgid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fstockorgid.AppearanceCell.Options.UseFont = true; + this.gv_fstockorgid.Caption = "璋冨叆搴撳瓨缁勭粐 "; + this.gv_fstockorgid.FieldName = "fstockorgid"; + this.gv_fstockorgid.MinWidth = 50; + this.gv_fstockorgid.Name = "gv_fstockorgid"; + this.gv_fstockorgid.OptionsColumn.AllowEdit = false; + this.gv_fstockorgid.Tag = "query_a.fstockorgid"; + this.gv_fstockorgid.Visible = true; + this.gv_fstockorgid.VisibleIndex = 4; + this.gv_fstockorgid.Width = 94; + // + // gv_fstockoutorgid + // + this.gv_fstockoutorgid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fstockoutorgid.AppearanceCell.Options.UseFont = true; + this.gv_fstockoutorgid.Caption = "璋冨嚭搴撳瓨缁勭粐 "; + this.gv_fstockoutorgid.FieldName = "fstockoutorgid"; + this.gv_fstockoutorgid.MinWidth = 50; + this.gv_fstockoutorgid.Name = "gv_fstockoutorgid"; + this.gv_fstockoutorgid.OptionsColumn.AllowEdit = false; + this.gv_fstockoutorgid.Tag = "query_a.fstockoutorgid"; + this.gv_fstockoutorgid.Visible = true; + this.gv_fstockoutorgid.VisibleIndex = 3; + this.gv_fstockoutorgid.Width = 94; + // + // gv_ftransferbiztype + // + this.gv_ftransferbiztype.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_ftransferbiztype.AppearanceCell.Options.UseFont = true; + this.gv_ftransferbiztype.Caption = "璋冩嫧绫诲瀷 "; + this.gv_ftransferbiztype.FieldName = "ftransferbiztype"; + this.gv_ftransferbiztype.MinWidth = 50; + this.gv_ftransferbiztype.Name = "gv_ftransferbiztype"; + this.gv_ftransferbiztype.OptionsColumn.AllowEdit = false; + this.gv_ftransferbiztype.Tag = "query_a.ftransferbiztype"; + this.gv_ftransferbiztype.Visible = true; + this.gv_ftransferbiztype.VisibleIndex = 2; + this.gv_ftransferbiztype.Width = 94; + // + // gv_ftransferdirect + // + this.gv_ftransferdirect.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_ftransferdirect.AppearanceCell.Options.UseFont = true; + this.gv_ftransferdirect.Caption = "璋冩嫧鏂瑰悜 "; + this.gv_ftransferdirect.FieldName = "ftransferdirect"; + this.gv_ftransferdirect.MinWidth = 50; + this.gv_ftransferdirect.Name = "gv_ftransferdirect"; + this.gv_ftransferdirect.OptionsColumn.AllowEdit = false; + this.gv_ftransferdirect.Tag = "query_a.ftransferdirect"; + this.gv_ftransferdirect.Visible = true; + this.gv_ftransferdirect.VisibleIndex = 1; + this.gv_ftransferdirect.Width = 94; + // + // gv_fbilltypeid + // + this.gv_fbilltypeid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fbilltypeid.AppearanceCell.Options.UseFont = true; + this.gv_fbilltypeid.Caption = "鍗曟嵁绫诲瀷 "; + this.gv_fbilltypeid.FieldName = "fbilltypeid"; + this.gv_fbilltypeid.MinWidth = 50; + this.gv_fbilltypeid.Name = "gv_fbilltypeid"; + this.gv_fbilltypeid.OptionsColumn.AllowEdit = false; + this.gv_fbilltypeid.Tag = "query_a.fbilltypeid"; + this.gv_fbilltypeid.Visible = true; + this.gv_fbilltypeid.VisibleIndex = 0; + this.gv_fbilltypeid.Width = 94; + // + // toolBarMenu1 + // + this.toolBarMenu1.chkParameter = null; + this.toolBarMenu1.currentAction = null; + this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top; + this.toolBarMenu1.guidKey = null; + this.toolBarMenu1.isSetBtn = false; + this.toolBarMenu1.Location = new System.Drawing.Point(0, 0); + this.toolBarMenu1.Name = "toolBarMenu1"; + this.toolBarMenu1.rptParameter = null; + this.toolBarMenu1.Size = new System.Drawing.Size(1128, 80); + this.toolBarMenu1.TabIndex = 0; + this.toolBarMenu1.xlsInService = null; + this.toolBarMenu1.xlsOutParameter = null; + // + // gcMain + // + this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill; + this.gcMain.Font = new System.Drawing.Font("Tahoma", 10F); + this.gcMain.Location = new System.Drawing.Point(0, 0); + this.gcMain.MainView = this.gridView1; + this.gcMain.Name = "gcMain"; + this.gcMain.Size = new System.Drawing.Size(1126, 531); + this.gcMain.TabIndex = 1; + this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gridView1}); + // + // gridView1 + // + this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F); + this.gridView1.Appearance.Row.Options.UseFont = true; + this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gv_fbilltypeid, + this.gv_ftransferdirect, + this.gv_ftransferbiztype, + this.gv_fstockoutorgid, + this.gv_fstockorgid, + this.gv_fownertypeoutidhead, + this.gv_fowneroutidhead, + this.gv_fownertypeidhead, + this.gv_fowneridhead, + this.gv_fsaleorgid, + this.gv_createBy, + this.gv_cteateData, + this.gv_lastupdateBy, + this.gv_lastupdateDate, + this.gv_shBy, + this.gv_shDate, + this.gv_shState, + this.gv_ftransferbiztypeNo, + this.gv_ftransferdirectNo, + this.gv_invFcode, + this.gv_invFname, + this.gv_fromFcode, + this.gv_fromFname, + this.gv_fstockoutorgidNo, + this.gv_fstockorgidNo, + this.gv_billno, + this.gv_fbilltypeidNo, + this.gv_ckDepot, + this.gv_rkDepot, + this.gv_isWc}); + this.gridView1.GridControl = this.gcMain; + this.gridView1.IndicatorWidth = 50; + this.gridView1.Name = "gridView1"; + this.gridView1.OptionsFind.ShowSearchNavButtons = false; + this.gridView1.OptionsView.ShowAutoFilterRow = true; + this.gridView1.OptionsView.ShowGroupPanel = false; + // + // xtraTabControl1 + // + this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.xtraTabControl1.Location = new System.Drawing.Point(0, 80); + this.xtraTabControl1.Name = "xtraTabControl1"; + this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1; + this.xtraTabControl1.Size = new System.Drawing.Size(1128, 602); + this.xtraTabControl1.TabIndex = 3; + this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { + this.xtraTabPage1, + this.xtraTabPage2}); + // + // xtraTabPage1 + // + this.xtraTabPage1.Controls.Add(this.gcMain); + this.xtraTabPage1.Controls.Add(this.pageBar1); + this.xtraTabPage1.Name = "xtraTabPage1"; + this.xtraTabPage1.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage1.Text = "鏁版嵁鏌ヨ"; + // + // pageBar1 + // + this.pageBar1.CurrentPage = 1; + this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pageBar1.Location = new System.Drawing.Point(0, 531); + this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); + this.pageBar1.Name = "pageBar1"; + this.pageBar1.RecordCount = 0; + this.pageBar1.Size = new System.Drawing.Size(1126, 39); + this.pageBar1.TabIndex = 3; + this.pageBar1.TotalPages = 0; + // + // xtraTabPage2 + // + this.xtraTabPage2.Controls.Add(this.tabMx); + this.xtraTabPage2.Controls.Add(this.panel1); + this.xtraTabPage2.Name = "xtraTabPage2"; + this.xtraTabPage2.PageEnabled = false; + this.xtraTabPage2.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage2.Text = "鏁版嵁缂栬緫"; + // + // tabMx + // + this.tabMx.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabMx.Location = new System.Drawing.Point(0, 151); + this.tabMx.Name = "tabMx"; + this.tabMx.SelectedTabPage = this.tabMxPage1; + this.tabMx.Size = new System.Drawing.Size(1126, 419); + this.tabMx.TabIndex = 2; + this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { + this.tabMxPage1}); + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.White; + this.panel1.Controls.Add(this.labelControl1); + this.panel1.Controls.Add(this.txt_remark); + this.panel1.Controls.Add(this.txt_fstockorgidNo); + this.panel1.Controls.Add(this.txt_fstockoutorgidNo); + this.panel1.Controls.Add(this.txt_fromFcode); + this.panel1.Controls.Add(this.txt_invFcode); + this.panel1.Controls.Add(this.txt_isWc); + this.panel1.Controls.Add(this.txt_shState); + this.panel1.Controls.Add(this.txt_ftransferdirect); + this.panel1.Controls.Add(this.txt_fbilltypeid); + this.panel1.Controls.Add(this.labelControl11); + this.panel1.Controls.Add(this.lbGuid); + this.panel1.Controls.Add(this.lb_isWc); + this.panel1.Controls.Add(this.lb_billno); + this.panel1.Controls.Add(this.txt_billno); + this.panel1.Controls.Add(this.lb_fstockorgidNo); + this.panel1.Controls.Add(this.lb_fstockoutorgidNo); + this.panel1.Controls.Add(this.lb_fromFcode); + this.panel1.Controls.Add(this.lb_invFcode); + this.panel1.Controls.Add(this.lb_shState); + this.panel1.Controls.Add(this.lb_shDate); + this.panel1.Controls.Add(this.txt_shDate); + this.panel1.Controls.Add(this.lb_shBy); + this.panel1.Controls.Add(this.txt_shBy); + this.panel1.Controls.Add(this.lb_fsaleorgid); + this.panel1.Controls.Add(this.txt_fsaleorgid); + this.panel1.Controls.Add(this.lb_fowneridhead); + this.panel1.Controls.Add(this.txt_fowneridhead); + this.panel1.Controls.Add(this.lb_fowneroutidhead); + this.panel1.Controls.Add(this.txt_fowneroutidhead); + this.panel1.Controls.Add(this.lb_ftransferdirect); + this.panel1.Controls.Add(this.lb_fbilltypeid); + this.panel1.Controls.Add(this.lb_id); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Font = new System.Drawing.Font("Tahoma", 10F); + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(1126, 151); + this.panel1.TabIndex = 1; + // + // labelControl1 + // + this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.labelControl1.Appearance.Options.UseFont = true; + this.labelControl1.Location = new System.Drawing.Point(71, 121); + this.labelControl1.Name = "labelControl1"; + this.labelControl1.Size = new System.Drawing.Size(34, 21); + this.labelControl1.TabIndex = 372; + this.labelControl1.Text = "澶囨敞"; + // + // txt_remark + // + this.txt_remark.Location = new System.Drawing.Point(113, 117); + this.txt_remark.Name = "txt_remark"; + this.txt_remark.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_remark.Properties.Appearance.Options.UseFont = true; + this.txt_remark.Size = new System.Drawing.Size(627, 28); + this.txt_remark.TabIndex = 371; + // + // txt_fstockorgidNo + // + this.txt_fstockorgidNo.Enabled = false; + this.txt_fstockorgidNo.Location = new System.Drawing.Point(386, 86); + this.txt_fstockorgidNo.Name = "txt_fstockorgidNo"; + this.txt_fstockorgidNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_fstockorgidNo.Properties.Appearance.Options.UseFont = true; + this.txt_fstockorgidNo.Size = new System.Drawing.Size(174, 28); + this.txt_fstockorgidNo.TabIndex = 370; + // + // txt_fstockoutorgidNo + // + this.txt_fstockoutorgidNo.Enabled = false; + this.txt_fstockoutorgidNo.Location = new System.Drawing.Point(386, 51); + this.txt_fstockoutorgidNo.Name = "txt_fstockoutorgidNo"; + this.txt_fstockoutorgidNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_fstockoutorgidNo.Properties.Appearance.Options.UseFont = true; + this.txt_fstockoutorgidNo.Size = new System.Drawing.Size(174, 28); + this.txt_fstockoutorgidNo.TabIndex = 369; + // + // txt_fromFcode + // + this.txt_fromFcode.IsReadly = false; + this.txt_fromFcode.Location = new System.Drawing.Point(113, 85); + this.txt_fromFcode.Margin = new System.Windows.Forms.Padding(0); + this.txt_fromFcode.Name = "txt_fromFcode"; + this.txt_fromFcode.Size = new System.Drawing.Size(186, 30); + this.txt_fromFcode.TabIndex = 366; + // + // txt_invFcode + // + this.txt_invFcode.IsReadly = false; + this.txt_invFcode.Location = new System.Drawing.Point(113, 50); + this.txt_invFcode.Margin = new System.Windows.Forms.Padding(0); + this.txt_invFcode.Name = "txt_invFcode"; + this.txt_invFcode.Size = new System.Drawing.Size(186, 30); + this.txt_invFcode.TabIndex = 365; + // + // txt_isWc + // + this.txt_isWc.Enabled = false; + this.txt_isWc.Location = new System.Drawing.Point(941, 88); + this.txt_isWc.Name = "txt_isWc"; + this.txt_isWc.Properties.Caption = ""; + this.txt_isWc.Size = new System.Drawing.Size(39, 24); + this.txt_isWc.TabIndex = 364; + // + // txt_shState + // + this.txt_shState.Enabled = false; + this.txt_shState.Location = new System.Drawing.Point(830, 88); + this.txt_shState.Name = "txt_shState"; + this.txt_shState.Properties.Caption = ""; + this.txt_shState.Size = new System.Drawing.Size(29, 24); + this.txt_shState.TabIndex = 363; + // + // txt_ftransferdirect + // + this.txt_ftransferdirect.EditValue = "鏅��"; + this.txt_ftransferdirect.Location = new System.Drawing.Point(658, 18); + this.txt_ftransferdirect.Name = "txt_ftransferdirect"; + this.txt_ftransferdirect.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.txt_ftransferdirect.Properties.Items.AddRange(new object[] { + "鏅��"}); + this.txt_ftransferdirect.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; + this.txt_ftransferdirect.Size = new System.Drawing.Size(82, 24); + this.txt_ftransferdirect.TabIndex = 362; + // + // txt_fbilltypeid + // + this.txt_fbilltypeid.EditValue = "鏍囧噯鐩存帴璋冩嫧鍗�"; + this.txt_fbilltypeid.Location = new System.Drawing.Point(386, 18); + this.txt_fbilltypeid.Name = "txt_fbilltypeid"; + this.txt_fbilltypeid.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.txt_fbilltypeid.Properties.Items.AddRange(new object[] { + "鏍囧噯鐩存帴璋冩嫧鍗�"}); + this.txt_fbilltypeid.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; + this.txt_fbilltypeid.Size = new System.Drawing.Size(174, 24); + this.txt_fbilltypeid.TabIndex = 361; + // + // labelControl11 + // + this.labelControl11.Location = new System.Drawing.Point(986, 89); + this.labelControl11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.labelControl11.Name = "labelControl11"; + this.labelControl11.Size = new System.Drawing.Size(45, 18); + this.labelControl11.TabIndex = 130; + this.labelControl11.Text = "涓婚敭锛�"; + this.labelControl11.Visible = false; + // + // lbGuid + // + this.lbGuid.AutoSize = true; + this.lbGuid.Location = new System.Drawing.Point(1037, 89); + this.lbGuid.Name = "lbGuid"; + this.lbGuid.Size = new System.Drawing.Size(0, 21); + this.lbGuid.TabIndex = 1; + this.lbGuid.Visible = false; + // + // lb_isWc + // + this.lb_isWc.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_isWc.Appearance.Options.UseFont = true; + this.lb_isWc.Location = new System.Drawing.Point(865, 90); + this.lb_isWc.Name = "lb_isWc"; + this.lb_isWc.Size = new System.Drawing.Size(73, 21); + this.lb_isWc.TabIndex = 360; + this.lb_isWc.Text = "瀹岀粨鏍囪瘑 "; + // + // lb_billno + // + this.lb_billno.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_billno.Appearance.Options.UseFont = true; + this.lb_billno.Location = new System.Drawing.Point(20, 20); + this.lb_billno.Name = "lb_billno"; + this.lb_billno.Size = new System.Drawing.Size(85, 21); + this.lb_billno.TabIndex = 327; + this.lb_billno.Text = "璋冩嫧鐢宠鍗�"; + // + // txt_billno + // + this.txt_billno.Enabled = false; + this.txt_billno.Location = new System.Drawing.Point(113, 16); + this.txt_billno.Name = "txt_billno"; + this.txt_billno.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_billno.Properties.Appearance.Options.UseFont = true; + this.txt_billno.Size = new System.Drawing.Size(186, 28); + this.txt_billno.TabIndex = 327; + // + // lb_fstockorgidNo + // + this.lb_fstockorgidNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_fstockorgidNo.Appearance.Options.UseFont = true; + this.lb_fstockorgidNo.Location = new System.Drawing.Point(312, 90); + this.lb_fstockorgidNo.Name = "lb_fstockorgidNo"; + this.lb_fstockorgidNo.Size = new System.Drawing.Size(68, 21); + this.lb_fstockorgidNo.TabIndex = 319; + this.lb_fstockorgidNo.Text = "璋冨叆缁勭粐"; + // + // lb_fstockoutorgidNo + // + this.lb_fstockoutorgidNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_fstockoutorgidNo.Appearance.Options.UseFont = true; + this.lb_fstockoutorgidNo.Location = new System.Drawing.Point(312, 56); + this.lb_fstockoutorgidNo.Name = "lb_fstockoutorgidNo"; + this.lb_fstockoutorgidNo.Size = new System.Drawing.Size(68, 21); + this.lb_fstockoutorgidNo.TabIndex = 312; + this.lb_fstockoutorgidNo.Text = "璋冨嚭缁勭粐"; + // + // lb_fromFcode + // + this.lb_fromFcode.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_fromFcode.Appearance.Options.UseFont = true; + this.lb_fromFcode.Location = new System.Drawing.Point(37, 90); + this.lb_fromFcode.Name = "lb_fromFcode"; + this.lb_fromFcode.Size = new System.Drawing.Size(68, 21); + this.lb_fromFcode.TabIndex = 298; + this.lb_fromFcode.Text = "璋冨叆浠撳簱"; + // + // lb_invFcode + // + this.lb_invFcode.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_invFcode.Appearance.Options.UseFont = true; + this.lb_invFcode.Location = new System.Drawing.Point(37, 56); + this.lb_invFcode.Name = "lb_invFcode"; + this.lb_invFcode.Size = new System.Drawing.Size(68, 21); + this.lb_invFcode.TabIndex = 285; + this.lb_invFcode.Text = "璋冨嚭浠撳簱"; + // + // lb_shState + // + this.lb_shState.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_shState.Appearance.Options.UseFont = true; + this.lb_shState.Location = new System.Drawing.Point(753, 90); + this.lb_shState.Name = "lb_shState"; + this.lb_shState.Size = new System.Drawing.Size(73, 21); + this.lb_shState.TabIndex = 267; + this.lb_shState.Text = "瀹℃牳鐘舵�� "; + // + // lb_shDate + // + this.lb_shDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_shDate.Appearance.Options.UseFont = true; + this.lb_shDate.Location = new System.Drawing.Point(753, 56); + this.lb_shDate.Name = "lb_shDate"; + this.lb_shDate.Size = new System.Drawing.Size(73, 21); + this.lb_shDate.TabIndex = 262; + this.lb_shDate.Text = "瀹℃牳鏃堕棿 "; + // + // txt_shDate + // + this.txt_shDate.Enabled = false; + this.txt_shDate.Location = new System.Drawing.Point(830, 52); + this.txt_shDate.Name = "txt_shDate"; + this.txt_shDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_shDate.Properties.Appearance.Options.UseFont = true; + this.txt_shDate.Size = new System.Drawing.Size(150, 28); + this.txt_shDate.TabIndex = 262; + // + // lb_shBy + // + this.lb_shBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_shBy.Appearance.Options.UseFont = true; + this.lb_shBy.Location = new System.Drawing.Point(770, 20); + this.lb_shBy.Name = "lb_shBy"; + this.lb_shBy.Size = new System.Drawing.Size(56, 21); + this.lb_shBy.TabIndex = 258; + this.lb_shBy.Text = "瀹℃牳浜� "; + // + // txt_shBy + // + this.txt_shBy.Enabled = false; + this.txt_shBy.Location = new System.Drawing.Point(830, 16); + this.txt_shBy.Name = "txt_shBy"; + this.txt_shBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_shBy.Properties.Appearance.Options.UseFont = true; + this.txt_shBy.Size = new System.Drawing.Size(150, 28); + this.txt_shBy.TabIndex = 258; + // + // lb_fsaleorgid + // + this.lb_fsaleorgid.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_fsaleorgid.Appearance.Options.UseFont = true; + this.lb_fsaleorgid.Location = new System.Drawing.Point(753, 121); + this.lb_fsaleorgid.Name = "lb_fsaleorgid"; + this.lb_fsaleorgid.Size = new System.Drawing.Size(73, 21); + this.lb_fsaleorgid.TabIndex = 235; + this.lb_fsaleorgid.Text = "閿�鍞粍缁� "; + // + // txt_fsaleorgid + // + this.txt_fsaleorgid.Location = new System.Drawing.Point(830, 117); + this.txt_fsaleorgid.Name = "txt_fsaleorgid"; + this.txt_fsaleorgid.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_fsaleorgid.Properties.Appearance.Options.UseFont = true; + this.txt_fsaleorgid.Size = new System.Drawing.Size(150, 28); + this.txt_fsaleorgid.TabIndex = 235; + // + // lb_fowneridhead + // + this.lb_fowneridhead.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_fowneridhead.Appearance.Options.UseFont = true; + this.lb_fowneridhead.Location = new System.Drawing.Point(579, 90); + this.lb_fowneridhead.Name = "lb_fowneridhead"; + this.lb_fowneridhead.Size = new System.Drawing.Size(73, 21); + this.lb_fowneridhead.TabIndex = 231; + this.lb_fowneridhead.Text = "璋冨叆璐т富 "; + // + // txt_fowneridhead + // + this.txt_fowneridhead.Enabled = false; + this.txt_fowneridhead.Location = new System.Drawing.Point(658, 86); + this.txt_fowneridhead.Name = "txt_fowneridhead"; + this.txt_fowneridhead.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_fowneridhead.Properties.Appearance.Options.UseFont = true; + this.txt_fowneridhead.Size = new System.Drawing.Size(82, 28); + this.txt_fowneridhead.TabIndex = 231; + // + // lb_fowneroutidhead + // + this.lb_fowneroutidhead.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_fowneroutidhead.Appearance.Options.UseFont = true; + this.lb_fowneroutidhead.Location = new System.Drawing.Point(579, 56); + this.lb_fowneroutidhead.Name = "lb_fowneroutidhead"; + this.lb_fowneroutidhead.Size = new System.Drawing.Size(73, 21); + this.lb_fowneroutidhead.TabIndex = 226; + this.lb_fowneroutidhead.Text = "璋冨嚭璐т富 "; + // + // txt_fowneroutidhead + // + this.txt_fowneroutidhead.Enabled = false; + this.txt_fowneroutidhead.Location = new System.Drawing.Point(658, 52); + this.txt_fowneroutidhead.Name = "txt_fowneroutidhead"; + this.txt_fowneroutidhead.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_fowneroutidhead.Properties.Appearance.Options.UseFont = true; + this.txt_fowneroutidhead.Size = new System.Drawing.Size(82, 28); + this.txt_fowneroutidhead.TabIndex = 226; + // + // lb_ftransferdirect + // + this.lb_ftransferdirect.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_ftransferdirect.Appearance.Options.UseFont = true; + this.lb_ftransferdirect.Location = new System.Drawing.Point(579, 20); + this.lb_ftransferdirect.Name = "lb_ftransferdirect"; + this.lb_ftransferdirect.Size = new System.Drawing.Size(73, 21); + this.lb_ftransferdirect.TabIndex = 213; + this.lb_ftransferdirect.Text = "璋冩嫧鏂瑰悜 "; + // + // lb_fbilltypeid + // + this.lb_fbilltypeid.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_fbilltypeid.Appearance.Options.UseFont = true; + this.lb_fbilltypeid.Location = new System.Drawing.Point(312, 20); + this.lb_fbilltypeid.Name = "lb_fbilltypeid"; + this.lb_fbilltypeid.Size = new System.Drawing.Size(73, 21); + this.lb_fbilltypeid.TabIndex = 211; + this.lb_fbilltypeid.Text = "鍗曟嵁绫诲瀷 "; + // + // lb_id + // + this.lb_id.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_id.Appearance.Options.UseFont = true; + this.lb_id.Location = new System.Drawing.Point(20, 20); + this.lb_id.Name = "lb_id"; + this.lb_id.Size = new System.Drawing.Size(5, 21); + this.lb_id.TabIndex = 210; + this.lb_id.Text = " "; + // + // picCheckBox + // + this.picCheckBox.Image = global::Gs.DevApp.Properties.Resources.ico_noCheck; + this.picCheckBox.Location = new System.Drawing.Point(950, 55); + this.picCheckBox.Name = "picCheckBox"; + this.picCheckBox.Size = new System.Drawing.Size(100, 50); + this.picCheckBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.picCheckBox.TabIndex = 8; + this.picCheckBox.TabStop = false; + this.picCheckBox.Visible = false; + // + // Frm_MesDbck + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1128, 682); + this.Controls.Add(this.picCheckBox); + this.Controls.Add(this.xtraTabControl1); + this.Controls.Add(this.toolBarMenu1); + this.Name = "Frm_MesDbck"; + this.Text = "璋冩嫧鍑哄簱鐢宠"; + this.tabMxPage1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); + this.xtraTabControl1.ResumeLayout(false); + this.xtraTabPage1.ResumeLayout(false); + this.xtraTabPage2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit(); + this.tabMx.ResumeLayout(false); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fstockorgidNo.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fstockoutorgidNo.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_isWc.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_shState.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_ftransferdirect.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fbilltypeid.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_billno.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_shDate.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_shBy.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fsaleorgid.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fowneridhead.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fowneroutidhead.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).EndInit(); + this.ResumeLayout(false); + + } + #endregion + private UserControl.UcToolBarMenu toolBarMenu1; + private DevExpress.XtraGrid.GridControl gcMain; + private DevExpress.XtraGrid.Views.Grid.GridView gridView1; + private DevExpress.XtraTab.XtraTabControl xtraTabControl1; + private DevExpress.XtraTab.XtraTabPage xtraTabPage1; + private DevExpress.XtraTab.XtraTabPage xtraTabPage2; + private UserControls.Data.UcPageBar pageBar1; + private DevExpress.XtraTab.XtraTabControl tabMx; + private DevExpress.XtraTab.XtraTabPage tabMxPage1; + private DevExpress.XtraGrid.Columns.GridColumn gv_isWc; + private DevExpress.XtraGrid.Columns.GridColumn gv_rkDepot; + private DevExpress.XtraGrid.Columns.GridColumn gv_ckDepot; + private DevExpress.XtraGrid.Columns.GridColumn gv_fbilltypeidNo; + private DevExpress.XtraGrid.Columns.GridColumn gv_billno; + private DevExpress.XtraGrid.Columns.GridColumn gv_fstockorgidNo; + private DevExpress.XtraGrid.Columns.GridColumn gv_fstockoutorgidNo; + private DevExpress.XtraGrid.Columns.GridColumn gv_fromFname; + private DevExpress.XtraGrid.Columns.GridColumn gv_fromFcode; + private DevExpress.XtraGrid.Columns.GridColumn gv_invFname; + private DevExpress.XtraGrid.Columns.GridColumn gv_invFcode; + private DevExpress.XtraGrid.Columns.GridColumn gv_ftransferdirectNo; + private DevExpress.XtraGrid.Columns.GridColumn gv_ftransferbiztypeNo; + private DevExpress.XtraGrid.Columns.GridColumn gv_shState; + private DevExpress.XtraGrid.Columns.GridColumn gv_shDate; + private DevExpress.XtraGrid.Columns.GridColumn gv_shBy; + private DevExpress.XtraGrid.Columns.GridColumn gv_lastupdateDate; + private DevExpress.XtraGrid.Columns.GridColumn gv_lastupdateBy; + private DevExpress.XtraGrid.Columns.GridColumn gv_cteateData; + private DevExpress.XtraGrid.Columns.GridColumn gv_createBy; + private DevExpress.XtraGrid.Columns.GridColumn gv_fsaleorgid; + private DevExpress.XtraGrid.Columns.GridColumn gv_fowneridhead; + private DevExpress.XtraGrid.Columns.GridColumn gv_fownertypeidhead; + private DevExpress.XtraGrid.Columns.GridColumn gv_fowneroutidhead; + private DevExpress.XtraGrid.Columns.GridColumn gv_fownertypeoutidhead; + private DevExpress.XtraGrid.Columns.GridColumn gv_fstockorgid; + private DevExpress.XtraGrid.Columns.GridColumn gv_fstockoutorgid; + private DevExpress.XtraGrid.Columns.GridColumn gv_ftransferbiztype; + private DevExpress.XtraGrid.Columns.GridColumn gv_ftransferdirect; + private DevExpress.XtraGrid.Columns.GridColumn gv_fbilltypeid; + private System.Windows.Forms.PictureBox picCheckBox; + private DevExpress.XtraGrid.GridControl gcMx1; + private DevExpress.XtraGrid.Views.Grid.GridView gvMx1; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1id; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1mid; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld012; + private DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit repositoryItemSearchLookUpEdit1; + private DevExpress.XtraGrid.Views.Grid.GridView gridView2; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld002; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld003; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld004; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld007; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld008; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld009; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld010; + private DevExpress.XtraGrid.Columns.GridColumn gvMxDel; + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; + private System.Windows.Forms.Panel panel1; + private DevExpress.XtraEditors.LabelControl labelControl11; + private System.Windows.Forms.Label lbGuid; + private DevExpress.XtraEditors.LabelControl lb_isWc; + private DevExpress.XtraEditors.LabelControl lb_billno; + private DevExpress.XtraEditors.TextEdit txt_billno; + private DevExpress.XtraEditors.LabelControl lb_fstockorgidNo; + private DevExpress.XtraEditors.LabelControl lb_fstockoutorgidNo; + private DevExpress.XtraEditors.LabelControl lb_fromFcode; + private DevExpress.XtraEditors.LabelControl lb_invFcode; + private DevExpress.XtraEditors.LabelControl lb_shState; + private DevExpress.XtraEditors.LabelControl lb_shDate; + private DevExpress.XtraEditors.TextEdit txt_shDate; + private DevExpress.XtraEditors.LabelControl lb_shBy; + private DevExpress.XtraEditors.TextEdit txt_shBy; + private DevExpress.XtraEditors.LabelControl lb_fsaleorgid; + private DevExpress.XtraEditors.TextEdit txt_fsaleorgid; + private DevExpress.XtraEditors.LabelControl lb_fowneridhead; + private DevExpress.XtraEditors.TextEdit txt_fowneridhead; + private DevExpress.XtraEditors.LabelControl lb_fowneroutidhead; + private DevExpress.XtraEditors.TextEdit txt_fowneroutidhead; + private DevExpress.XtraEditors.LabelControl lb_ftransferdirect; + private DevExpress.XtraEditors.LabelControl lb_fbilltypeid; + private DevExpress.XtraEditors.LabelControl lb_id; + private DevExpress.XtraEditors.ComboBoxEdit txt_fbilltypeid; + private DevExpress.XtraEditors.ComboBoxEdit txt_ftransferdirect; + private DevExpress.XtraEditors.CheckEdit txt_isWc; + private DevExpress.XtraEditors.CheckEdit txt_shState; + private UserControl.UcLookCk txt_invFcode; + private UserControl.UcLookCk txt_fromFcode; + private DevExpress.XtraEditors.TextEdit txt_fstockoutorgidNo; + private DevExpress.XtraEditors.TextEdit txt_fstockorgidNo; + private DevExpress.XtraEditors.LabelControl labelControl1; + private DevExpress.XtraEditors.TextEdit txt_remark; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn4; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn5; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn6; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn7; + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.cs new file mode 100644 index 0000000..d2ae922 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.cs @@ -0,0 +1,518 @@ +using DevExpress.XtraEditors; +using Gs.DevApp.Entity; +using Gs.DevApp.ToolBox; +using Gs.DevApp.UserControl; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.Data; +using System.Drawing; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Gs.DevApp.DevFrm +{ + public partial class Frm_MesDbck : DevExpress.XtraEditors.XtraForm + { + string _webServiceName = "MesInvItemMovesManager/"; + List<FilterEntity> _filterList = new List<FilterEntity>(); + public Frm_MesDbck() + { + InitializeComponent(); + this.toolBarMenu1.btnAddClick += ToolBarMenu1_btnAddClick; + this.toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick; + this.toolBarMenu1.btnSaveClick += ToolBarMenu1_btnSaveClick; + this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; + this.toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick1; + this.toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick; + this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; + toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; + toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "shState", "", (value) => + { + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); + }); + Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) => + { + getModel(value); + }, (value) => + { + getPageList(this.pageBar1.CurrentPage); + }); + getPageList(1); + pageBar1.PagerEvent += PageBar1_PagerEvent; + //璁剧疆浠撳簱閫夋嫨 + txt_invFcode.getSuppler(""); + txt_fromFcode.getSuppler(""); + this.txt_invFcode.EditChanged += (s, e) => + { + var _obj = new + { + currentPage = 1, + everyPageSize = 999999, + sortName = "", + keyWhere = "", + }; + var json = JsonConvert.SerializeObject(_obj); + try + { + var strReturn = UtilityHelper.HttpPost("", + "MesItemsManager/GetListSelect", json); + var rtn = UtilityHelper.ReturnToTablePage(strReturn); + var dt = rtn.rtnData.list; + this.repositoryItemSearchLookUpEdit1.DataSource = dt; + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + }; + } + private void GridView1_ColumnFilterChanged(object sender, EventArgs e) + { + _filterList = Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns); + Task.Delay(100); + getPageList(1); + } + /// <summary> + /// 鍒嗛〉浜嬩欢 + /// </summary> + /// <param name="curPage"></param> + /// <param name="pageSize"></param> + private void PageBar1_PagerEvent(int curPage, int pageSize) + { + getPageList(curPage); + } + /// <summary> + /// 鏌ヨ浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnQueryClick(object sender, EventArgs e) + { + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + gridView1.ActiveFilter.Clear(); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + var frm = new ShowFilter(gridView1.Columns, _filterList); + frm.UpdateParent += Frm_UpdateParent; + frm.ShowDialog(); + } + /// <summary> + /// 鏌ヨ鍥炶皟 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void Frm_UpdateParent(object sender, UpdateParentEventArgs e) + { + _filterList = e.FilterList; + getPageList(1); + } + + /// <summary> + /// 鍙栨秷浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnEscClick(object sender, EventArgs e) + { + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 1); + } + + /// <summary> + /// 鍒犻櫎浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnDelClick1(object sender, EventArgs e) + { + string rowGuid = "", rowName = ""; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, + lbGuid, txt_billno, gridView1, "billno"); + if (string.IsNullOrEmpty(rowGuid)) + { + MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾鍒犻櫎鍚楋紵")) + return; + var _obj = new + { + guid = rowGuid, + mxGuid = Guid.Empty.ToString(), + }; + try + { + var strJson = UtilityHelper.HttpPost("", + _webServiceName + "DeleteModelOrMx", + JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + UtilityHelper.JumpToTab(xtraTabControl1, 0); + getPageList(1); + } + + MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + + } + + /// <summary> + /// 鍒锋柊浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e) + { + if (xtraTabControl1.SelectedTabPageIndex == 1) + getModel(lbGuid.Text.Trim()); + else + { + _filterList.Clear(); + if (gridView1.ActiveFilter.Count > 0) + { + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + gridView1.ActiveFilter.Clear(); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + } + getPageList(1); + } + } + /// <summary> + /// 淇敼浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnEdtClick(object sender, EventArgs e) + { + string rowGuid = "", rowName = ""; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_billno, gridView1, "billno"); + if (string.IsNullOrEmpty(rowGuid)) + { + ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 3); + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + UtilityHelper.ChangeEnableByControl(panel1.Controls, true, gvList); + } + /// <summary> + /// 鏂板浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnAddClick(object sender, EventArgs e) + { + lbGuid.Text = ""; + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 4); + List<DevExpress.XtraGrid.Views.Grid.GridView> gridViews = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gridViews.Add(gvMx1); + UtilityHelper.CleanValueByControl(this.panel1.Controls, true, gridViews); + Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); + + } + /// <summary> + /// 淇濆瓨浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e) + { + toolBarMenu1.isSetBtn = false; + string _inCkId = txt_invFcode.GetId();//鍑� + string _inRkId = txt_fromFcode.GetId();//鍏� + if (string.IsNullOrEmpty(_inCkId)) + { + Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨宸ュ崟锛�"); + txt_invFcode.Focus(); + return; + } + if (string.IsNullOrEmpty(_inRkId)) + { + Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨浠撳簱锛�"); + txt_fromFcode.Focus(); + return; + } + var _obj = new + { + guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓 + inCkId = _inCkId,//鍑轰粨 + inRkId = _inRkId,//鍏ュ簱 + inDjlx= txt_fbilltypeid.Text.Trim(),//鍗曟嵁绫诲瀷 + inDbfx= txt_ftransferdirect.Text.Trim(),//璋冩嫧鏂瑰悜 + inRemark = txt_remark.Text.Trim(),//澶囨敞 + list = new List<dynamic>(), + }; + gvMx1.CloseEditor(); + gvMx1.UpdateCurrentRow(); + if (gvMx1.DataRowCount <= 0) + { + MsgHelper.ShowError("鏄庣粏涓嶈兘涓虹┖锛岃閫夋嫨浣犵殑鐢宠鏄庣粏锛�"); + return; + } + for (var i = 0; i < gvMx1.DataRowCount; i++) + { + var row = gvMx1.GetDataRow(i); + if (row != null) + { + Guid? _guid = UtilityHelper.ToGuid(row["id"].ToString()); + string _msl = row["shNum"].ToString(); + if (string.IsNullOrEmpty(_msl)) + { + MsgHelper.ShowError("鏁伴噺涓嶈兘涓虹┖锛�"); + return; + } + _obj.list.Add(new + { + Guid = _guid, + ItemId = (row["itemId"].ToString()), + Sqsl = (row["shNum"].ToString()), + Bz = (row["remark"].ToString()), + }); + } + } + try + { + string strJson = UtilityHelper.HttpPost("", _webServiceName + "EditModel", JsonConvert.SerializeObject(_obj)); + ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + if (_rtn.rtnCode > 0) + { + lbGuid.Text = _rtn.rtnData; + toolBarMenu1.isSetBtn = true; + UtilityHelper.ChangeEnableByControl(this.panel1.Controls, false); + } + } + catch (Exception ex) + { + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + + /// <summary> + /// + /// </summary> + /// <param name="curPage">绗嚑椤�</param> + /// <param name="pageSize">姣忛〉鍑犳潯</param> + private void getPageList(int curPage) + { + var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); + PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); + string json = JsonConvert.SerializeObject(pgq); + try + { + var strReturn = UtilityHelper.HttpPost("", _webServiceName + "GetListPage", json); + ReturnModel<PageListModel> dd = UtilityHelper.ReturnToTablePage(strReturn); + if (dd.rtnCode > 0) + { + DataTable dt = dd.rtnData.list; + gcMain.BindingContext = new BindingContext(); + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + if (dt.Rows.Count > 0) + { + gcMain.DataSource = dt; + gcMain.ForceInitialize(); + } + else + UtilityHelper.SetDefaultTable(gcMain, gridView1); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + pageBar1.TotalPages = dd.rtnData.pages;//鎬婚〉 + pageBar1.CurrentPage = curPage;//褰撳墠椤� + pageBar1.RecordCount = dd.rtnData.total;//鎬昏褰曟暟 + } + else + { + ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + dd.rtnMsg); + } + } + catch (Exception ex) + { + ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + ex.Message); + } + + } + private void getModel(string strGuid) + { + bool isEdit = false; + if (toolBarMenu1.currentAction == "add") return; + if (toolBarMenu1.currentAction == "edit") isEdit = true; + if (string.IsNullOrEmpty(strGuid)) + { + ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + var _obj = new + { + guid = strGuid,//涓诲缓 + }; + try + { + string strJson = UtilityHelper.HttpPost("", _webServiceName + "GetModel", JsonConvert.SerializeObject(_obj)); + ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + dynamic dy = _rtn.rtnData; + lbGuid.Text = strGuid; + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + UtilityHelper.SetValueByObj(this.panel1.Controls, dy, isEdit, gvList); + JObject _job = JObject.Parse(strJson); + JArray array = new JArray(); + foreach (var a in _job["rtnData"]["list"]) + { + array.Add(a); + } + DataTable dt = JsonConvert.DeserializeObject<DataTable>(array.ToString()); + if (dt.Rows.Count > 0) + { + gcMx1.BindingContext = new BindingContext(); + gcMx1.DataSource = dt; + gcMx1.ForceInitialize(); + } + else + { + Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); + } + } + else + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + + + /// <summary> + /// 瀹℃牳浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnChkClick(object sender, EventArgs e) + { + _toolCk(1); + } + + /// <summary> + /// 鍙嶅鏍� + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + /// <exception cref="NotImplementedException"></exception> + private void ToolBarMenu1_btnFChkClick(object sender, EventArgs e) + { + _toolCk(0); + } + + /// <summary> + /// 宸ュ叿鏉′簨浠� + /// </summary> + /// <param name="inFieldValue"></param> + private void _toolCk(int _inFieldValue) + { + string strMsg = ""; + switch (_inFieldValue) + { + case 1: + strMsg = "瀹℃牳"; + break; + case 0: + strMsg = "鍙嶅鏍�"; + break; + }; + toolBarMenu1.guidKey = ""; + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_billno, gridView1, "blNo"); + if (string.IsNullOrEmpty(rowGuid)) + { + MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾" + strMsg + "鍚楋紵")) + return; + var _obj = new + { + guid = rowGuid, + inFieldValue = _inFieldValue, + }; + try + { + var strJson = UtilityHelper.HttpPost("", + _webServiceName + "EditModelSubmit", + JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + MsgHelper.Warning(_rtn.rtnData.outMsg.ToString()); + if (_rtn.rtnCode > 0) + { + if (xtraTabControl1.SelectedTabPageIndex == 1) + getModel(lbGuid.Text.Trim()); + else + getPageList(this.pageBar1.CurrentPage); + } + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + + } + private void repositoryItemSearchLookUpEdit1_EditValueChanged(object sender, EventArgs e) + { + SearchLookUpEdit LookupEdit = sender as SearchLookUpEdit; + DataRowView SelectedDataRow = (DataRowView)LookupEdit.GetSelectedDataRow(); + gvMx1.SetFocusedRowCellValue("itemNo", SelectedDataRow["itemNo"]); + gvMx1.SetFocusedRowCellValue("itemName", SelectedDataRow["itemName"]); + gvMx1.SetFocusedRowCellValue("itemModel", SelectedDataRow["itemModel"]); + gvMx1.SetFocusedRowCellValue("dwName", SelectedDataRow["dwName"]); + } + + private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) + { + var rowhandle = gvMx1.FocusedRowHandle; + if (rowhandle < 0) + return; + if (e.Button.Index == 0) + { + var dr = gvMx1.GetDataRow(rowhandle); + var mxGuid = dr["guid"].ToString(); + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜�1鏉℃暟鎹紝纭畾鍒犻櫎鍚楋紵")) + return; + if (string.IsNullOrEmpty(mxGuid)) + { + gvMx1.DeleteRow(rowhandle); + return; + } + var _obj = new + { + guid = lbGuid.Text.Trim(), + mxGuid = mxGuid, + }; + try + { + var strJson = UtilityHelper.HttpPost("", + _webServiceName + "DeleteModelOrMx", + JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + if (_rtn.rtnCode > 0) getModel(lbGuid.Text); + } + MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + } + + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.resx b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.resx new file mode 100644 index 0000000..d58980a --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.resx @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root> \ No newline at end of file diff --git a/DevApp/Gs.DevApp/Gs.DevApp.csproj b/DevApp/Gs.DevApp/Gs.DevApp.csproj index f479821..755e8c4 100644 --- a/DevApp/Gs.DevApp/Gs.DevApp.csproj +++ b/DevApp/Gs.DevApp/Gs.DevApp.csproj @@ -357,11 +357,11 @@ <Compile Include="DevFrm\QC\Models\MesQmCheckitemDt.cs" /> <Compile Include="DevFrm\QC\Models\MesSysLookups.cs" /> <Compile Include="DevFrm\QC\Models\MesSysLookupTypes.cs" /> - <Compile Include="DevFrm\Ck\Frm_MesInvItemMoves.cs"> + <Compile Include="DevFrm\Warehouse\Frm_MesDbck.cs"> <SubType>Form</SubType> </Compile> - <Compile Include="DevFrm\Ck\Frm_MesInvItemMoves.Designer.cs"> - <DependentUpon>Frm_MesInvItemMoves.cs</DependentUpon> + <Compile Include="DevFrm\Warehouse\Frm_MesDbck.Designer.cs"> + <DependentUpon>Frm_MesDbck.cs</DependentUpon> </Compile> <Compile Include="DevFrm\Ck\Frm_MesItemQt.cs"> <SubType>Form</SubType> @@ -923,8 +923,8 @@ <EmbeddedResource Include="DevFrm\QC\Frm_MesSysLookups.resx"> <DependentUpon>Frm_MesSysLookups.cs</DependentUpon> </EmbeddedResource> - <EmbeddedResource Include="DevFrm\Ck\Frm_MesInvItemMoves.resx"> - <DependentUpon>Frm_MesInvItemMoves.cs</DependentUpon> + <EmbeddedResource Include="DevFrm\Warehouse\Frm_MesDbck.resx"> + <DependentUpon>Frm_MesDbck.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemQt.resx"> <DependentUpon>Frm_MesItemQt.cs</DependentUpon> -- Gitblit v1.9.3