lu
2024-12-19 3526bbea0a8546d144049731beecf1b34326f2d9
到货条码之前的细节
已添加3个文件
已修改6个文件
2080 ■■■■■ 文件已修改
DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesDepot.Designer.cs 1274 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesDepot.cs 414 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesDepot.resx 120 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesWorkshop.Designer.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_ArrivalBarcode.Designer.cs 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_ArrivalBarcode.cs 147 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_InitialBarcode.Designer.cs 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_InitialBarcode.cs 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesDepot.Designer.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,1274 @@
/* Create By GS EasyCode */
namespace Gs.DevApp.DevFrm
{
    partial class Frm_MesDepot
    {
        /// <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.gvMx1depotSectionNamet = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1kbQty = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1lastupdateDate = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1lastupdateBy = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1description = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1completenessFlag = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1depotSectionName = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1depotSectionCode = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1guid = new DevExpress.XtraGrid.Columns.GridColumn();
            this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage();
            this.gcMx1 = new DevExpress.XtraGrid.GridControl();
            this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gvMxDel = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
            this.lb_materialProperti = new DevExpress.XtraEditors.LabelControl();
            this.txt_materialProperti = new DevExpress.XtraEditors.TextEdit();
            this.lb_isFkc = new DevExpress.XtraEditors.LabelControl();
            this.txt_isFkc = new DevExpress.XtraEditors.TextEdit();
            this.gv_isFkc = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_zuid = new DevExpress.XtraEditors.LabelControl();
            this.txt_zuid = new DevExpress.XtraEditors.TextEdit();
            this.gv_zuid = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_piType = new DevExpress.XtraEditors.LabelControl();
            this.txt_piType = new DevExpress.XtraEditors.TextEdit();
            this.lb_cwhaddress = new DevExpress.XtraEditors.LabelControl();
            this.txt_cwhaddress = new DevExpress.XtraEditors.TextEdit();
            this.lb_isNg = new DevExpress.XtraEditors.LabelControl();
            this.txt_isNg = new DevExpress.XtraEditors.TextEdit();
            this.gv_isNg = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_isWy = new DevExpress.XtraEditors.LabelControl();
            this.txt_isWy = new DevExpress.XtraEditors.TextEdit();
            this.gv_isWy = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_iconType = new DevExpress.XtraEditors.LabelControl();
            this.txt_iconType = new DevExpress.XtraEditors.TextEdit();
            this.lb_depottypecode = new DevExpress.XtraEditors.LabelControl();
            this.txt_depottypecode = new DevExpress.XtraEditors.TextEdit();
            this.gv_depottypecode = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_type2 = new DevExpress.XtraEditors.LabelControl();
            this.txt_type2 = new DevExpress.XtraEditors.TextEdit();
            this.lb_type1 = new DevExpress.XtraEditors.LabelControl();
            this.txt_type1 = new DevExpress.XtraEditors.TextEdit();
            this.lb_factory = new DevExpress.XtraEditors.LabelControl();
            this.txt_factory = new DevExpress.XtraEditors.TextEdit();
            this.lb_depottype = new DevExpress.XtraEditors.LabelControl();
            this.txt_depottype = new DevExpress.XtraEditors.TextEdit();
            this.gv_depottype = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_lastupdateDate = new DevExpress.XtraEditors.LabelControl();
            this.txt_lastupdateDate = new DevExpress.XtraEditors.TextEdit();
            this.lb_lastupdateBy = new DevExpress.XtraEditors.LabelControl();
            this.txt_lastupdateBy = new DevExpress.XtraEditors.TextEdit();
            this.lb_createDate = new DevExpress.XtraEditors.LabelControl();
            this.txt_createDate = new DevExpress.XtraEditors.TextEdit();
            this.lb_createBy = new DevExpress.XtraEditors.LabelControl();
            this.txt_createBy = new DevExpress.XtraEditors.TextEdit();
            this.gv_createBy = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_description = new DevExpress.XtraEditors.LabelControl();
            this.txt_description = new DevExpress.XtraEditors.TextEdit();
            this.gv_description = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_depotName = new DevExpress.XtraEditors.LabelControl();
            this.txt_depotName = new DevExpress.XtraEditors.TextEdit();
            this.gv_depotName = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_depotCode = new DevExpress.XtraEditors.LabelControl();
            this.txt_depotCode = new DevExpress.XtraEditors.TextEdit();
            this.gv_depotCode = 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.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gv_id = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
            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.labelControl11 = new DevExpress.XtraEditors.LabelControl();
            this.lbGuid = new System.Windows.Forms.Label();
            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.repositoryItemButtonEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_materialProperti.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_isFkc.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_zuid.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_piType.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_cwhaddress.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_isNg.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_isWy.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_iconType.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_depottypecode.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_type2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_type1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_factory.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_depottype.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_lastupdateDate.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_lastupdateBy.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_createDate.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_description.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_depotName.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_depotCode.Properties)).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.picCheckBox)).BeginInit();
            this.SuspendLayout();
            //
            // gvMx1depotSectionNamet
            //
            this.gvMx1depotSectionNamet.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1depotSectionNamet.AppearanceCell.Options.UseFont = true;
            this.gvMx1depotSectionNamet.Caption = "仓位全名";
            this.gvMx1depotSectionNamet.FieldName = "depotSectionNamet";
            this.gvMx1depotSectionNamet.MinWidth = 50;
            this.gvMx1depotSectionNamet.Name = "gvMx1depotSectionNamet";
            this.gvMx1depotSectionNamet.Tag = "query_a.depot_section_namet";
            this.gvMx1depotSectionNamet.Visible = true;
            this.gvMx1depotSectionNamet.VisibleIndex = 5;
            this.gvMx1depotSectionNamet.Width = 94;
            //
            // gvMx1kbQty
            //
            this.gvMx1kbQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1kbQty.AppearanceCell.Options.UseFont = true;
            this.gvMx1kbQty.Caption = "卡板数";
            this.gvMx1kbQty.FieldName = "kbQty";
            this.gvMx1kbQty.MinWidth = 50;
            this.gvMx1kbQty.Name = "gvMx1kbQty";
            this.gvMx1kbQty.Tag = "query_a.kb_qty";
            this.gvMx1kbQty.UnboundDataType = typeof(decimal);
            this.gvMx1kbQty.Visible = true;
            this.gvMx1kbQty.VisibleIndex = 4;
            this.gvMx1kbQty.Width = 94;
            //
            // gvMx1lastupdateDate
            //
            this.gvMx1lastupdateDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1lastupdateDate.AppearanceCell.Options.UseFont = true;
            this.gvMx1lastupdateDate.Caption = "最后更新时间";
            this.gvMx1lastupdateDate.FieldName = "lastupdateDate";
            this.gvMx1lastupdateDate.MinWidth = 50;
            this.gvMx1lastupdateDate.Name = "gvMx1lastupdateDate";
            this.gvMx1lastupdateDate.OptionsColumn.ReadOnly = true;
            this.gvMx1lastupdateDate.Tag = "query_a.lastupdate_date";
            this.gvMx1lastupdateDate.Visible = true;
            this.gvMx1lastupdateDate.VisibleIndex = 7;
            this.gvMx1lastupdateDate.Width = 94;
            //
            // gvMx1lastupdateBy
            //
            this.gvMx1lastupdateBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1lastupdateBy.AppearanceCell.Options.UseFont = true;
            this.gvMx1lastupdateBy.Caption = "最后更新人";
            this.gvMx1lastupdateBy.FieldName = "lastupdateBy";
            this.gvMx1lastupdateBy.MinWidth = 50;
            this.gvMx1lastupdateBy.Name = "gvMx1lastupdateBy";
            this.gvMx1lastupdateBy.OptionsColumn.ReadOnly = true;
            this.gvMx1lastupdateBy.Tag = "query_a.lastupdate_by";
            this.gvMx1lastupdateBy.Visible = true;
            this.gvMx1lastupdateBy.VisibleIndex = 6;
            this.gvMx1lastupdateBy.Width = 94;
            //
            // gvMx1description
            //
            this.gvMx1description.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1description.AppearanceCell.Options.UseFont = true;
            this.gvMx1description.Caption = "备注";
            this.gvMx1description.FieldName = "description";
            this.gvMx1description.MinWidth = 50;
            this.gvMx1description.Name = "gvMx1description";
            this.gvMx1description.Tag = "query_a.description";
            this.gvMx1description.Visible = true;
            this.gvMx1description.VisibleIndex = 3;
            this.gvMx1description.Width = 94;
            //
            // gvMx1completenessFlag
            //
            this.gvMx1completenessFlag.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1completenessFlag.AppearanceCell.Options.UseFont = true;
            this.gvMx1completenessFlag.Caption = "参与齐套校验(0:否,1:是)";
            this.gvMx1completenessFlag.FieldName = "completenessFlag";
            this.gvMx1completenessFlag.MinWidth = 50;
            this.gvMx1completenessFlag.Name = "gvMx1completenessFlag";
            this.gvMx1completenessFlag.Tag = "query_a.completeness_flag";
            this.gvMx1completenessFlag.UnboundDataType = typeof(bool);
            this.gvMx1completenessFlag.Visible = true;
            this.gvMx1completenessFlag.VisibleIndex = 2;
            this.gvMx1completenessFlag.Width = 94;
            //
            // gvMx1depotSectionName
            //
            this.gvMx1depotSectionName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1depotSectionName.AppearanceCell.Options.UseFont = true;
            this.gvMx1depotSectionName.Caption = "货位名称";
            this.gvMx1depotSectionName.FieldName = "depotSectionName";
            this.gvMx1depotSectionName.MinWidth = 50;
            this.gvMx1depotSectionName.Name = "gvMx1depotSectionName";
            this.gvMx1depotSectionName.Tag = "query_a.depot_section_name";
            this.gvMx1depotSectionName.Visible = true;
            this.gvMx1depotSectionName.VisibleIndex = 1;
            this.gvMx1depotSectionName.Width = 94;
            //
            // gvMx1depotSectionCode
            //
            this.gvMx1depotSectionCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1depotSectionCode.AppearanceCell.Options.UseFont = true;
            this.gvMx1depotSectionCode.Caption = "货位编码";
            this.gvMx1depotSectionCode.FieldName = "depotSectionCode";
            this.gvMx1depotSectionCode.MinWidth = 50;
            this.gvMx1depotSectionCode.Name = "gvMx1depotSectionCode";
            this.gvMx1depotSectionCode.Tag = "query_a.depot_section_code";
            this.gvMx1depotSectionCode.Visible = true;
            this.gvMx1depotSectionCode.VisibleIndex = 0;
            this.gvMx1depotSectionCode.Width = 94;
            //
            // gvMx1guid
            //
            this.gvMx1guid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1guid.AppearanceCell.Options.UseFont = true;
            this.gvMx1guid.Caption = "主键不能删除";
            this.gvMx1guid.FieldName = "guid";
            this.gvMx1guid.MinWidth = 50;
            this.gvMx1guid.Name = "gvMx1guid";
            this.gvMx1guid.OptionsColumn.ReadOnly = true;
            this.gvMx1guid.Tag = "query_a.guid";
            this.gvMx1guid.Width = 94;
            //
            // tabMxPage1
            //
            this.tabMxPage1.Controls.Add(this.gcMx1);
            this.tabMxPage1.Name = "tabMxPage1";
            this.tabMxPage1.Size = new System.Drawing.Size(1124, 338);
            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.repositoryItemButtonEdit1});
            this.gcMx1.Size = new System.Drawing.Size(1124, 338);
            this.gcMx1.TabIndex = 0;
            this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gvMx1});
            //
            // gvMx1
            //
            this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gvMx1guid,
            this.gvMx1depotSectionCode,
            this.gvMx1depotSectionName,
            this.gvMx1completenessFlag,
            this.gvMx1description,
            this.gvMx1kbQty,
            this.gvMx1depotSectionNamet,
            this.gvMx1lastupdateBy,
            this.gvMx1lastupdateDate,
            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;
            //
            // gvMxDel
            //
            this.gvMxDel.Caption = "移出";
            this.gvMxDel.ColumnEdit = this.repositoryItemButtonEdit1;
            this.gvMxDel.MinWidth = 25;
            this.gvMxDel.Name = "gvMxDel";
            this.gvMxDel.Visible = true;
            this.gvMxDel.VisibleIndex = 8;
            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);
            //
            // lb_materialProperti
            //
            this.lb_materialProperti.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_materialProperti.Appearance.Options.UseFont = true;
            this.lb_materialProperti.Location = new System.Drawing.Point(558, 52);
            this.lb_materialProperti.Name = "lb_materialProperti";
            this.lb_materialProperti.Size = new System.Drawing.Size(73, 21);
            this.lb_materialProperti.TabIndex = 306;
            this.lb_materialProperti.Text = "物料属性 ";
            //
            // txt_materialProperti
            //
            this.txt_materialProperti.Enabled = false;
            this.txt_materialProperti.Location = new System.Drawing.Point(638, 48);
            this.txt_materialProperti.Name = "txt_materialProperti";
            this.txt_materialProperti.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_materialProperti.Properties.Appearance.Options.UseFont = true;
            this.txt_materialProperti.Size = new System.Drawing.Size(150, 28);
            this.txt_materialProperti.TabIndex = 306;
            //
            // lb_isFkc
            //
            this.lb_isFkc.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_isFkc.Appearance.Options.UseFont = true;
            this.lb_isFkc.Location = new System.Drawing.Point(541, 118);
            this.lb_isFkc.Name = "lb_isFkc";
            this.lb_isFkc.Size = new System.Drawing.Size(90, 21);
            this.lb_isFkc.TabIndex = 291;
            this.lb_isFkc.Text = "允许负库存 ";
            //
            // txt_isFkc
            //
            this.txt_isFkc.Enabled = false;
            this.txt_isFkc.Location = new System.Drawing.Point(638, 114);
            this.txt_isFkc.Name = "txt_isFkc";
            this.txt_isFkc.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_isFkc.Properties.Appearance.Options.UseFont = true;
            this.txt_isFkc.Size = new System.Drawing.Size(150, 28);
            this.txt_isFkc.TabIndex = 291;
            //
            // gv_isFkc
            //
            this.gv_isFkc.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_isFkc.AppearanceCell.Options.UseFont = true;
            this.gv_isFkc.Caption = "允许即时库存负库存";
            this.gv_isFkc.FieldName = "isFkc";
            this.gv_isFkc.MinWidth = 50;
            this.gv_isFkc.Name = "gv_isFkc";
            this.gv_isFkc.OptionsColumn.AllowEdit = false;
            this.gv_isFkc.Tag = "query_a.is_fkc";
            this.gv_isFkc.Visible = true;
            this.gv_isFkc.VisibleIndex = 11;
            this.gv_isFkc.Width = 94;
            //
            // lb_zuid
            //
            this.lb_zuid.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_zuid.Appearance.Options.UseFont = true;
            this.lb_zuid.Location = new System.Drawing.Point(592, 149);
            this.lb_zuid.Name = "lb_zuid";
            this.lb_zuid.Size = new System.Drawing.Size(39, 21);
            this.lb_zuid.TabIndex = 285;
            this.lb_zuid.Text = "分组 ";
            //
            // txt_zuid
            //
            this.txt_zuid.Enabled = false;
            this.txt_zuid.Location = new System.Drawing.Point(638, 145);
            this.txt_zuid.Name = "txt_zuid";
            this.txt_zuid.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_zuid.Properties.Appearance.Options.UseFont = true;
            this.txt_zuid.Size = new System.Drawing.Size(150, 28);
            this.txt_zuid.TabIndex = 285;
            //
            // gv_zuid
            //
            this.gv_zuid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_zuid.AppearanceCell.Options.UseFont = true;
            this.gv_zuid.Caption = "分组";
            this.gv_zuid.FieldName = "zuid";
            this.gv_zuid.MinWidth = 50;
            this.gv_zuid.Name = "gv_zuid";
            this.gv_zuid.OptionsColumn.AllowEdit = false;
            this.gv_zuid.Tag = "query_a.zuid";
            this.gv_zuid.Visible = true;
            this.gv_zuid.VisibleIndex = 10;
            this.gv_zuid.Width = 94;
            //
            // lb_piType
            //
            this.lb_piType.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_piType.Appearance.Options.UseFont = true;
            this.lb_piType.Location = new System.Drawing.Point(814, 118);
            this.lb_piType.Name = "lb_piType";
            this.lb_piType.Size = new System.Drawing.Size(107, 21);
            this.lb_piType.TabIndex = 280;
            this.lb_piType.Text = "看板区域编号 ";
            //
            // txt_piType
            //
            this.txt_piType.Enabled = false;
            this.txt_piType.Location = new System.Drawing.Point(927, 114);
            this.txt_piType.Name = "txt_piType";
            this.txt_piType.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_piType.Properties.Appearance.Options.UseFont = true;
            this.txt_piType.Size = new System.Drawing.Size(150, 28);
            this.txt_piType.TabIndex = 280;
            //
            // lb_cwhaddress
            //
            this.lb_cwhaddress.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_cwhaddress.Appearance.Options.UseFont = true;
            this.lb_cwhaddress.Location = new System.Drawing.Point(305, 119);
            this.lb_cwhaddress.Name = "lb_cwhaddress";
            this.lb_cwhaddress.Size = new System.Drawing.Size(73, 21);
            this.lb_cwhaddress.TabIndex = 273;
            this.lb_cwhaddress.Text = "仓库地址 ";
            //
            // txt_cwhaddress
            //
            this.txt_cwhaddress.Enabled = false;
            this.txt_cwhaddress.Location = new System.Drawing.Point(382, 115);
            this.txt_cwhaddress.Name = "txt_cwhaddress";
            this.txt_cwhaddress.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_cwhaddress.Properties.Appearance.Options.UseFont = true;
            this.txt_cwhaddress.Size = new System.Drawing.Size(150, 28);
            this.txt_cwhaddress.TabIndex = 273;
            //
            // lb_isNg
            //
            this.lb_isNg.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_isNg.Appearance.Options.UseFont = true;
            this.lb_isNg.Location = new System.Drawing.Point(271, 148);
            this.lb_isNg.Name = "lb_isNg";
            this.lb_isNg.Size = new System.Drawing.Size(107, 21);
            this.lb_isNg.TabIndex = 267;
            this.lb_isNg.Text = "是否不良品仓 ";
            //
            // txt_isNg
            //
            this.txt_isNg.Enabled = false;
            this.txt_isNg.Location = new System.Drawing.Point(382, 144);
            this.txt_isNg.Name = "txt_isNg";
            this.txt_isNg.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_isNg.Properties.Appearance.Options.UseFont = true;
            this.txt_isNg.Size = new System.Drawing.Size(150, 28);
            this.txt_isNg.TabIndex = 267;
            //
            // gv_isNg
            //
            this.gv_isNg.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_isNg.AppearanceCell.Options.UseFont = true;
            this.gv_isNg.Caption = "是否不良品仓";
            this.gv_isNg.FieldName = "isNg";
            this.gv_isNg.MinWidth = 50;
            this.gv_isNg.Name = "gv_isNg";
            this.gv_isNg.OptionsColumn.AllowEdit = false;
            this.gv_isNg.Tag = "query_a.is_ng";
            this.gv_isNg.Visible = true;
            this.gv_isNg.VisibleIndex = 9;
            this.gv_isNg.Width = 94;
            //
            // lb_isWy
            //
            this.lb_isWy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_isWy.Appearance.Options.UseFont = true;
            this.lb_isWy.Location = new System.Drawing.Point(6, 148);
            this.lb_isWy.Name = "lb_isWy";
            this.lb_isWy.Size = new System.Drawing.Size(107, 21);
            this.lb_isWy.TabIndex = 262;
            this.lb_isWy.Text = "是否委外仓库 ";
            //
            // txt_isWy
            //
            this.txt_isWy.Enabled = false;
            this.txt_isWy.Location = new System.Drawing.Point(118, 144);
            this.txt_isWy.Name = "txt_isWy";
            this.txt_isWy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_isWy.Properties.Appearance.Options.UseFont = true;
            this.txt_isWy.Size = new System.Drawing.Size(150, 28);
            this.txt_isWy.TabIndex = 262;
            //
            // gv_isWy
            //
            this.gv_isWy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_isWy.AppearanceCell.Options.UseFont = true;
            this.gv_isWy.Caption = "是否委外仓库";
            this.gv_isWy.FieldName = "isWy";
            this.gv_isWy.MinWidth = 50;
            this.gv_isWy.Name = "gv_isWy";
            this.gv_isWy.OptionsColumn.AllowEdit = false;
            this.gv_isWy.Tag = "query_a.is_wy";
            this.gv_isWy.Visible = true;
            this.gv_isWy.VisibleIndex = 8;
            this.gv_isWy.Width = 94;
            //
            // lb_iconType
            //
            this.lb_iconType.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_iconType.Appearance.Options.UseFont = true;
            this.lb_iconType.Location = new System.Drawing.Point(848, 149);
            this.lb_iconType.Name = "lb_iconType";
            this.lb_iconType.Size = new System.Drawing.Size(73, 21);
            this.lb_iconType.TabIndex = 258;
            this.lb_iconType.Text = "看板图标 ";
            //
            // txt_iconType
            //
            this.txt_iconType.Enabled = false;
            this.txt_iconType.Location = new System.Drawing.Point(927, 145);
            this.txt_iconType.Name = "txt_iconType";
            this.txt_iconType.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_iconType.Properties.Appearance.Options.UseFont = true;
            this.txt_iconType.Size = new System.Drawing.Size(150, 28);
            this.txt_iconType.TabIndex = 258;
            //
            // lb_depottypecode
            //
            this.lb_depottypecode.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_depottypecode.Appearance.Options.UseFont = true;
            this.lb_depottypecode.Location = new System.Drawing.Point(6, 86);
            this.lb_depottypecode.Name = "lb_depottypecode";
            this.lb_depottypecode.Size = new System.Drawing.Size(107, 21);
            this.lb_depottypecode.TabIndex = 247;
            this.lb_depottypecode.Text = "仓库类型编码 ";
            //
            // txt_depottypecode
            //
            this.txt_depottypecode.Enabled = false;
            this.txt_depottypecode.Location = new System.Drawing.Point(118, 82);
            this.txt_depottypecode.Name = "txt_depottypecode";
            this.txt_depottypecode.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_depottypecode.Properties.Appearance.Options.UseFont = true;
            this.txt_depottypecode.Size = new System.Drawing.Size(150, 28);
            this.txt_depottypecode.TabIndex = 247;
            //
            // gv_depottypecode
            //
            this.gv_depottypecode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_depottypecode.AppearanceCell.Options.UseFont = true;
            this.gv_depottypecode.Caption = "仓库类型编码";
            this.gv_depottypecode.FieldName = "depottypecode";
            this.gv_depottypecode.MinWidth = 50;
            this.gv_depottypecode.Name = "gv_depottypecode";
            this.gv_depottypecode.OptionsColumn.AllowEdit = false;
            this.gv_depottypecode.Tag = "query_a.depottypecode";
            this.gv_depottypecode.Visible = true;
            this.gv_depottypecode.VisibleIndex = 7;
            this.gv_depottypecode.Width = 94;
            //
            // lb_type2
            //
            this.lb_type2.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_type2.Appearance.Options.UseFont = true;
            this.lb_type2.Location = new System.Drawing.Point(40, 116);
            this.lb_type2.Name = "lb_type2";
            this.lb_type2.Size = new System.Drawing.Size(73, 21);
            this.lb_type2.TabIndex = 243;
            this.lb_type2.Text = "成品使用 ";
            //
            // txt_type2
            //
            this.txt_type2.Enabled = false;
            this.txt_type2.Location = new System.Drawing.Point(118, 112);
            this.txt_type2.Name = "txt_type2";
            this.txt_type2.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_type2.Properties.Appearance.Options.UseFont = true;
            this.txt_type2.Size = new System.Drawing.Size(150, 28);
            this.txt_type2.TabIndex = 243;
            //
            // lb_type1
            //
            this.lb_type1.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_type1.Appearance.Options.UseFont = true;
            this.lb_type1.Location = new System.Drawing.Point(305, 86);
            this.lb_type1.Name = "lb_type1";
            this.lb_type1.Size = new System.Drawing.Size(73, 21);
            this.lb_type1.TabIndex = 240;
            this.lb_type1.Text = "物料使用 ";
            //
            // txt_type1
            //
            this.txt_type1.Enabled = false;
            this.txt_type1.Location = new System.Drawing.Point(382, 82);
            this.txt_type1.Name = "txt_type1";
            this.txt_type1.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_type1.Properties.Appearance.Options.UseFont = true;
            this.txt_type1.Size = new System.Drawing.Size(150, 28);
            this.txt_type1.TabIndex = 240;
            //
            // lb_factory
            //
            this.lb_factory.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_factory.Appearance.Options.UseFont = true;
            this.lb_factory.Location = new System.Drawing.Point(558, 86);
            this.lb_factory.Name = "lb_factory";
            this.lb_factory.Size = new System.Drawing.Size(73, 21);
            this.lb_factory.TabIndex = 235;
            this.lb_factory.Text = "分厂编码 ";
            //
            // txt_factory
            //
            this.txt_factory.Enabled = false;
            this.txt_factory.Location = new System.Drawing.Point(638, 82);
            this.txt_factory.Name = "txt_factory";
            this.txt_factory.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_factory.Properties.Appearance.Options.UseFont = true;
            this.txt_factory.Size = new System.Drawing.Size(150, 28);
            this.txt_factory.TabIndex = 235;
            //
            // lb_depottype
            //
            this.lb_depottype.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_depottype.Appearance.Options.UseFont = true;
            this.lb_depottype.Location = new System.Drawing.Point(305, 52);
            this.lb_depottype.Name = "lb_depottype";
            this.lb_depottype.Size = new System.Drawing.Size(73, 21);
            this.lb_depottype.TabIndex = 231;
            this.lb_depottype.Text = "仓库类型 ";
            //
            // txt_depottype
            //
            this.txt_depottype.Enabled = false;
            this.txt_depottype.Location = new System.Drawing.Point(382, 48);
            this.txt_depottype.Name = "txt_depottype";
            this.txt_depottype.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_depottype.Properties.Appearance.Options.UseFont = true;
            this.txt_depottype.Size = new System.Drawing.Size(150, 28);
            this.txt_depottype.TabIndex = 231;
            //
            // gv_depottype
            //
            this.gv_depottype.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_depottype.AppearanceCell.Options.UseFont = true;
            this.gv_depottype.Caption = "仓库类型";
            this.gv_depottype.FieldName = "depottype";
            this.gv_depottype.MinWidth = 50;
            this.gv_depottype.Name = "gv_depottype";
            this.gv_depottype.OptionsColumn.AllowEdit = false;
            this.gv_depottype.Tag = "query_a.depottype";
            this.gv_depottype.Visible = true;
            this.gv_depottype.VisibleIndex = 6;
            this.gv_depottype.Width = 94;
            //
            // lb_lastupdateDate
            //
            this.lb_lastupdateDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_lastupdateDate.Appearance.Options.UseFont = true;
            this.lb_lastupdateDate.Location = new System.Drawing.Point(814, 86);
            this.lb_lastupdateDate.Name = "lb_lastupdateDate";
            this.lb_lastupdateDate.Size = new System.Drawing.Size(107, 21);
            this.lb_lastupdateDate.TabIndex = 228;
            this.lb_lastupdateDate.Text = "最后更新时间 ";
            //
            // txt_lastupdateDate
            //
            this.txt_lastupdateDate.Enabled = false;
            this.txt_lastupdateDate.Location = new System.Drawing.Point(927, 82);
            this.txt_lastupdateDate.Name = "txt_lastupdateDate";
            this.txt_lastupdateDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_lastupdateDate.Properties.Appearance.Options.UseFont = true;
            this.txt_lastupdateDate.Size = new System.Drawing.Size(150, 28);
            this.txt_lastupdateDate.TabIndex = 228;
            //
            // lb_lastupdateBy
            //
            this.lb_lastupdateBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_lastupdateBy.Appearance.Options.UseFont = true;
            this.lb_lastupdateBy.Location = new System.Drawing.Point(831, 52);
            this.lb_lastupdateBy.Name = "lb_lastupdateBy";
            this.lb_lastupdateBy.Size = new System.Drawing.Size(90, 21);
            this.lb_lastupdateBy.TabIndex = 226;
            this.lb_lastupdateBy.Text = "最后更新人 ";
            //
            // txt_lastupdateBy
            //
            this.txt_lastupdateBy.Enabled = false;
            this.txt_lastupdateBy.Location = new System.Drawing.Point(927, 48);
            this.txt_lastupdateBy.Name = "txt_lastupdateBy";
            this.txt_lastupdateBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_lastupdateBy.Properties.Appearance.Options.UseFont = true;
            this.txt_lastupdateBy.Size = new System.Drawing.Size(150, 28);
            this.txt_lastupdateBy.TabIndex = 226;
            //
            // lb_createDate
            //
            this.lb_createDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_createDate.Appearance.Options.UseFont = true;
            this.lb_createDate.Location = new System.Drawing.Point(848, 18);
            this.lb_createDate.Name = "lb_createDate";
            this.lb_createDate.Size = new System.Drawing.Size(73, 21);
            this.lb_createDate.TabIndex = 222;
            this.lb_createDate.Text = "创建时间 ";
            //
            // txt_createDate
            //
            this.txt_createDate.Enabled = false;
            this.txt_createDate.Location = new System.Drawing.Point(927, 14);
            this.txt_createDate.Name = "txt_createDate";
            this.txt_createDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_createDate.Properties.Appearance.Options.UseFont = true;
            this.txt_createDate.Size = new System.Drawing.Size(150, 28);
            this.txt_createDate.TabIndex = 222;
            //
            // lb_createBy
            //
            this.lb_createBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_createBy.Appearance.Options.UseFont = true;
            this.lb_createBy.Location = new System.Drawing.Point(541, 18);
            this.lb_createBy.Name = "lb_createBy";
            this.lb_createBy.Size = new System.Drawing.Size(90, 21);
            this.lb_createBy.TabIndex = 219;
            this.lb_createBy.Text = "仓库负责人 ";
            //
            // txt_createBy
            //
            this.txt_createBy.Enabled = false;
            this.txt_createBy.Location = new System.Drawing.Point(638, 14);
            this.txt_createBy.Name = "txt_createBy";
            this.txt_createBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_createBy.Properties.Appearance.Options.UseFont = true;
            this.txt_createBy.Size = new System.Drawing.Size(150, 28);
            this.txt_createBy.TabIndex = 219;
            //
            // 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 = 5;
            this.gv_createBy.Width = 94;
            //
            // lb_description
            //
            this.lb_description.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_description.Appearance.Options.UseFont = true;
            this.lb_description.Location = new System.Drawing.Point(74, 52);
            this.lb_description.Name = "lb_description";
            this.lb_description.Size = new System.Drawing.Size(39, 21);
            this.lb_description.TabIndex = 217;
            this.lb_description.Text = "备注 ";
            //
            // txt_description
            //
            this.txt_description.Enabled = false;
            this.txt_description.Location = new System.Drawing.Point(118, 48);
            this.txt_description.Name = "txt_description";
            this.txt_description.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_description.Properties.Appearance.Options.UseFont = true;
            this.txt_description.Size = new System.Drawing.Size(150, 28);
            this.txt_description.TabIndex = 217;
            //
            // gv_description
            //
            this.gv_description.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_description.AppearanceCell.Options.UseFont = true;
            this.gv_description.Caption = "备注";
            this.gv_description.FieldName = "description";
            this.gv_description.MinWidth = 50;
            this.gv_description.Name = "gv_description";
            this.gv_description.OptionsColumn.AllowEdit = false;
            this.gv_description.Tag = "query_a.description";
            this.gv_description.Visible = true;
            this.gv_description.VisibleIndex = 4;
            this.gv_description.Width = 94;
            //
            // lb_depotName
            //
            this.lb_depotName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_depotName.Appearance.Options.UseFont = true;
            this.lb_depotName.Location = new System.Drawing.Point(305, 18);
            this.lb_depotName.Name = "lb_depotName";
            this.lb_depotName.Size = new System.Drawing.Size(73, 21);
            this.lb_depotName.TabIndex = 216;
            this.lb_depotName.Text = "仓库名称 ";
            //
            // txt_depotName
            //
            this.txt_depotName.Enabled = false;
            this.txt_depotName.Location = new System.Drawing.Point(382, 14);
            this.txt_depotName.Name = "txt_depotName";
            this.txt_depotName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_depotName.Properties.Appearance.Options.UseFont = true;
            this.txt_depotName.Size = new System.Drawing.Size(150, 28);
            this.txt_depotName.TabIndex = 216;
            //
            // gv_depotName
            //
            this.gv_depotName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_depotName.AppearanceCell.Options.UseFont = true;
            this.gv_depotName.Caption = "仓库名称";
            this.gv_depotName.FieldName = "depotName";
            this.gv_depotName.MinWidth = 150;
            this.gv_depotName.Name = "gv_depotName";
            this.gv_depotName.OptionsColumn.AllowEdit = false;
            this.gv_depotName.Tag = "query_a.depot_name";
            this.gv_depotName.Visible = true;
            this.gv_depotName.VisibleIndex = 3;
            this.gv_depotName.Width = 150;
            //
            // lb_depotCode
            //
            this.lb_depotCode.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_depotCode.Appearance.Options.UseFont = true;
            this.lb_depotCode.Location = new System.Drawing.Point(40, 18);
            this.lb_depotCode.Name = "lb_depotCode";
            this.lb_depotCode.Size = new System.Drawing.Size(73, 21);
            this.lb_depotCode.TabIndex = 213;
            this.lb_depotCode.Text = "仓库编码 ";
            //
            // txt_depotCode
            //
            this.txt_depotCode.Enabled = false;
            this.txt_depotCode.Location = new System.Drawing.Point(118, 14);
            this.txt_depotCode.Name = "txt_depotCode";
            this.txt_depotCode.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_depotCode.Properties.Appearance.Options.UseFont = true;
            this.txt_depotCode.Size = new System.Drawing.Size(150, 28);
            this.txt_depotCode.TabIndex = 213;
            //
            // gv_depotCode
            //
            this.gv_depotCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_depotCode.AppearanceCell.Options.UseFont = true;
            this.gv_depotCode.Caption = "仓库编码";
            this.gv_depotCode.FieldName = "depotCode";
            this.gv_depotCode.MinWidth = 100;
            this.gv_depotCode.Name = "gv_depotCode";
            this.gv_depotCode.OptionsColumn.AllowEdit = false;
            this.gv_depotCode.Tag = "query_a.depot_code";
            this.gv_depotCode.Visible = true;
            this.gv_depotCode.VisibleIndex = 2;
            this.gv_depotCode.Width = 100;
            //
            // toolBarMenu1
            //
            this.toolBarMenu1.chkParameter = "MES_DEPOTS,check_date,check_status,check_by";
            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 = "xlsOut_depots{}";
            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.HeaderPanel.Options.UseTextOptions = true;
            this.gridView1.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
            this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gridView1.Appearance.Row.Options.UseFont = true;
            this.gridView1.ColumnPanelRowHeight = 60;
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gridColumn1,
            this.gv_id,
            this.gv_depotCode,
            this.gv_depotName,
            this.gv_depottype,
            this.gv_description,
            this.gv_createBy,
            this.gv_depottypecode,
            this.gv_isWy,
            this.gv_isNg,
            this.gv_zuid,
            this.gv_isFkc,
            this.gridColumn4,
            this.gridColumn3,
            this.gridColumn2});
            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;
            //
            // gridColumn1
            //
            this.gridColumn1.Caption = "使用组织";
            this.gridColumn1.FieldName = "fSubsidiary";
            this.gridColumn1.MinWidth = 250;
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.OptionsColumn.AllowEdit = false;
            this.gridColumn1.Tag = "org.FNumber";
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 0;
            this.gridColumn1.Width = 250;
            //
            // gv_id
            //
            this.gv_id.Caption = "仓库ID";
            this.gv_id.FieldName = "depotId";
            this.gv_id.MinWidth = 25;
            this.gv_id.Name = "gv_id";
            this.gv_id.OptionsColumn.AllowEdit = false;
            this.gv_id.Tag = "query_a.depot_Id";
            this.gv_id.Visible = true;
            this.gv_id.VisibleIndex = 1;
            this.gv_id.Width = 94;
            //
            // gridColumn4
            //
            this.gridColumn4.Caption = "审核状态";
            this.gridColumn4.FieldName = "checkStatus";
            this.gridColumn4.MinWidth = 50;
            this.gridColumn4.Name = "gridColumn4";
            this.gridColumn4.OptionsColumn.AllowEdit = false;
            this.gridColumn4.UnboundDataType = typeof(bool);
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 12;
            this.gridColumn4.Width = 94;
            //
            // gridColumn3
            //
            this.gridColumn3.Caption = "审核人";
            this.gridColumn3.FieldName = "checkBy";
            this.gridColumn3.MinWidth = 100;
            this.gridColumn3.Name = "gridColumn3";
            this.gridColumn3.OptionsColumn.AllowEdit = false;
            this.gridColumn3.Visible = true;
            this.gridColumn3.VisibleIndex = 13;
            this.gridColumn3.Width = 100;
            //
            // gridColumn2
            //
            this.gridColumn2.Caption = "审核时间";
            this.gridColumn2.FieldName = "checkDate";
            this.gridColumn2.MinWidth = 180;
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.OptionsColumn.AllowEdit = false;
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 14;
            this.gridColumn2.Width = 180;
            //
            // 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.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, 200);
            this.tabMx.Name = "tabMx";
            this.tabMx.SelectedTabPage = this.tabMxPage1;
            this.tabMx.Size = new System.Drawing.Size(1126, 370);
            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.labelControl11);
            this.panel1.Controls.Add(this.lbGuid);
            this.panel1.Controls.Add(this.lb_materialProperti);
            this.panel1.Controls.Add(this.txt_materialProperti);
            this.panel1.Controls.Add(this.lb_isFkc);
            this.panel1.Controls.Add(this.txt_isFkc);
            this.panel1.Controls.Add(this.lb_zuid);
            this.panel1.Controls.Add(this.txt_zuid);
            this.panel1.Controls.Add(this.lb_piType);
            this.panel1.Controls.Add(this.txt_piType);
            this.panel1.Controls.Add(this.lb_cwhaddress);
            this.panel1.Controls.Add(this.txt_cwhaddress);
            this.panel1.Controls.Add(this.lb_isNg);
            this.panel1.Controls.Add(this.txt_isNg);
            this.panel1.Controls.Add(this.lb_isWy);
            this.panel1.Controls.Add(this.txt_isWy);
            this.panel1.Controls.Add(this.lb_iconType);
            this.panel1.Controls.Add(this.txt_iconType);
            this.panel1.Controls.Add(this.lb_depottypecode);
            this.panel1.Controls.Add(this.txt_depottypecode);
            this.panel1.Controls.Add(this.lb_type2);
            this.panel1.Controls.Add(this.txt_type2);
            this.panel1.Controls.Add(this.lb_type1);
            this.panel1.Controls.Add(this.txt_type1);
            this.panel1.Controls.Add(this.lb_factory);
            this.panel1.Controls.Add(this.txt_factory);
            this.panel1.Controls.Add(this.lb_depottype);
            this.panel1.Controls.Add(this.txt_depottype);
            this.panel1.Controls.Add(this.lb_lastupdateDate);
            this.panel1.Controls.Add(this.txt_lastupdateDate);
            this.panel1.Controls.Add(this.lb_lastupdateBy);
            this.panel1.Controls.Add(this.txt_lastupdateBy);
            this.panel1.Controls.Add(this.lb_createDate);
            this.panel1.Controls.Add(this.txt_createDate);
            this.panel1.Controls.Add(this.lb_createBy);
            this.panel1.Controls.Add(this.txt_createBy);
            this.panel1.Controls.Add(this.lb_description);
            this.panel1.Controls.Add(this.txt_description);
            this.panel1.Controls.Add(this.lb_depotName);
            this.panel1.Controls.Add(this.txt_depotName);
            this.panel1.Controls.Add(this.lb_depotCode);
            this.panel1.Controls.Add(this.txt_depotCode);
            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, 200);
            this.panel1.TabIndex = 1;
            //
            // labelControl11
            //
            this.labelControl11.Location = new System.Drawing.Point(918, 177);
            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(969, 177);
            this.lbGuid.Name = "lbGuid";
            this.lbGuid.Size = new System.Drawing.Size(0, 21);
            this.lbGuid.TabIndex = 1;
            this.lbGuid.Visible = false;
            //
            // picCheckBox
            //
            this.picCheckBox.Image = global::Gs.DevApp.Properties.Resources.ico_noCheck;
            this.picCheckBox.Location = new System.Drawing.Point(983, 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 = 5;
            this.picCheckBox.TabStop = false;
            this.picCheckBox.Visible = false;
            //
            // Frm_MesDepot
            //
            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_MesDepot";
            this.Text = "仓库";
            this.tabMxPage1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_materialProperti.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_isFkc.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_zuid.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_piType.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_cwhaddress.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_isNg.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_isWy.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_iconType.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_depottypecode.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_type2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_type1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_factory.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_depottype.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_lastupdateDate.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_lastupdateBy.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_createDate.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_description.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_depotName.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_depotCode.Properties)).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.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 System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.Label lbGuid;
        private DevExpress.XtraEditors.LabelControl labelControl11;
        private DevExpress.XtraTab.XtraTabControl tabMx;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1depotSectionNamet;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1kbQty;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1lastupdateDate;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1lastupdateBy;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1description;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1completenessFlag;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1depotSectionName;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1depotSectionCode;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1guid;
        private DevExpress.XtraTab.XtraTabPage tabMxPage1;
        private DevExpress.XtraGrid.GridControl gcMx1;
        private DevExpress.XtraGrid.Views.Grid.GridView gvMx1;
        private DevExpress.XtraEditors.LabelControl lb_materialProperti;
        private DevExpress.XtraEditors.TextEdit txt_materialProperti;
        private DevExpress.XtraEditors.LabelControl lb_isFkc;
        private DevExpress.XtraEditors.TextEdit txt_isFkc;
        private DevExpress.XtraGrid.Columns.GridColumn gv_isFkc;
        private DevExpress.XtraEditors.LabelControl lb_zuid;
        private DevExpress.XtraEditors.TextEdit txt_zuid;
        private DevExpress.XtraGrid.Columns.GridColumn gv_zuid;
        private DevExpress.XtraEditors.LabelControl lb_piType;
        private DevExpress.XtraEditors.TextEdit txt_piType;
        private DevExpress.XtraEditors.LabelControl lb_cwhaddress;
        private DevExpress.XtraEditors.TextEdit txt_cwhaddress;
        private DevExpress.XtraEditors.LabelControl lb_isNg;
        private DevExpress.XtraEditors.TextEdit txt_isNg;
        private DevExpress.XtraGrid.Columns.GridColumn gv_isNg;
        private DevExpress.XtraEditors.LabelControl lb_isWy;
        private DevExpress.XtraEditors.TextEdit txt_isWy;
        private DevExpress.XtraGrid.Columns.GridColumn gv_isWy;
        private DevExpress.XtraEditors.LabelControl lb_iconType;
        private DevExpress.XtraEditors.TextEdit txt_iconType;
        private DevExpress.XtraEditors.LabelControl lb_depottypecode;
        private DevExpress.XtraEditors.TextEdit txt_depottypecode;
        private DevExpress.XtraGrid.Columns.GridColumn gv_depottypecode;
        private DevExpress.XtraEditors.LabelControl lb_type2;
        private DevExpress.XtraEditors.TextEdit txt_type2;
        private DevExpress.XtraEditors.LabelControl lb_type1;
        private DevExpress.XtraEditors.TextEdit txt_type1;
        private DevExpress.XtraEditors.LabelControl lb_factory;
        private DevExpress.XtraEditors.TextEdit txt_factory;
        private DevExpress.XtraEditors.LabelControl lb_depottype;
        private DevExpress.XtraEditors.TextEdit txt_depottype;
        private DevExpress.XtraGrid.Columns.GridColumn gv_depottype;
        private DevExpress.XtraEditors.LabelControl lb_lastupdateDate;
        private DevExpress.XtraEditors.TextEdit txt_lastupdateDate;
        private DevExpress.XtraEditors.LabelControl lb_lastupdateBy;
        private DevExpress.XtraEditors.TextEdit txt_lastupdateBy;
        private DevExpress.XtraEditors.LabelControl lb_createDate;
        private DevExpress.XtraEditors.TextEdit txt_createDate;
        private DevExpress.XtraEditors.LabelControl lb_createBy;
        private DevExpress.XtraEditors.TextEdit txt_createBy;
        private DevExpress.XtraGrid.Columns.GridColumn gv_createBy;
        private DevExpress.XtraEditors.LabelControl lb_description;
        private DevExpress.XtraEditors.TextEdit txt_description;
        private DevExpress.XtraGrid.Columns.GridColumn gv_description;
        private DevExpress.XtraEditors.LabelControl lb_depotName;
        private DevExpress.XtraEditors.TextEdit txt_depotName;
        private DevExpress.XtraGrid.Columns.GridColumn gv_depotName;
        private DevExpress.XtraEditors.LabelControl lb_depotCode;
        private DevExpress.XtraEditors.TextEdit txt_depotCode;
        private DevExpress.XtraGrid.Columns.GridColumn gv_depotCode;
        private DevExpress.XtraGrid.Columns.GridColumn gvMxDel;
        private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
        private DevExpress.XtraGrid.Columns.GridColumn gv_id;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
        private System.Windows.Forms.PictureBox picCheckBox;
    }
}
DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesDepot.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,414 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DevExpress.XtraEditors.Controls;
using DevExpress.XtraGrid.Views.Grid;
using Gs.DevApp.Entity;
using Gs.DevApp.ToolBox;
using Gs.DevApp.UserControl;
using MES.Service.Modes;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Gs.DevApp.DevFrm
{
    public partial class Frm_MesDepot : XtraForm
    {
        private List<FilterEntity> _filterList = new List<FilterEntity>();
        private readonly string _webServiceName = "MesDepotsManager/";
        public Frm_MesDepot()
        {
            InitializeComponent();
            toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick;
            toolBarMenu1.btnSaveClick += ToolBarMenu1_btnSaveClick;
            toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick;
            toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick;
            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, "checkStatus", "", (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;
        }
        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>
        /// <exception cref="NotImplementedException"></exception>
        private void ToolBarMenu1_btnFChkClick(object sender, EventArgs e)
        {
            _toolCk(0);
        }
        /// <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>
        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_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_depotCode, gridView1);
            if (string.IsNullOrEmpty(rowGuid))
            {
                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_btnSaveClick(object sender, EventArgs e)
        {
            toolBarMenu1.isSetBtn = false;
            if (string.IsNullOrEmpty(txt_depotCode.Text.Trim()))
            {
                MsgHelper.Warning("仓库编码不能为空!");
                txt_depotCode.Focus();
                return;
            }
            if (string.IsNullOrEmpty(txt_depotName.Text.Trim()))
            {
                MsgHelper.Warning("仓库名称不能为空!");
                txt_depotName.Focus();
                return;
            }
            gvMx1.CloseEditor();
            gvMx1.UpdateCurrentRow();
            var lst = new List<MesDepotSections>();
            for (var i = 0; i < gvMx1.DataRowCount; i++)
            {
                var row = gvMx1.GetDataRow(i);
                if (row != null)
                    lst.Add(new MesDepotSections
                    {
                        Guid = UtilityHelper.ToGuid(row["guid"].ToString()),
                        DepotSectionCode = row["depotSectionCode"].ToString(),
                        DepotSectionName = row["DepotSectionName"].ToString(),
                        Description = row["Description"].ToString(),
                        KbQty =Gs.DevApp.ToolBox.UtilityHelper.ToInt(row["KbQty"].ToString()),
                        DepotSectionNamet = row["depotSectionNamet"].ToString(),
                        CompletenessFlag = Gs.DevApp.ToolBox.UtilityHelper.ToInt(row["completenessFlag"].ToString()),
                    });
            }
            var _obj = new MesDepots
            {
                Guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()),
                DepotCode = txt_depotCode.Text,
                DepotName = txt_depotName.Text,
                Description = txt_description.Text,
                list = lst
            };
            try
            {
                var strJson = UtilityHelper.HttpPost("",
                    _webServiceName + "EditModel",
                    JsonConvert.SerializeObject(_obj));
                var _rtn = UtilityHelper.ReturnToDynamic(strJson);
                MsgHelper.Warning("提示:" + _rtn.rtnMsg);
                if (_rtn.rtnCode > 0)
                {
                    lbGuid.Text = _rtn.rtnData;
                    toolBarMenu1.isSetBtn = true;
                    UtilityHelper.ChangeEnableByControl(panel1.Controls, false);
                }
            }
            catch (Exception ex)
            {
                MsgHelper.Warning("提示:" + ex.Message);
            }
        }
        /// <summary>
        /// </summary>
        /// <param name="curPage">第几页</param>
        /// <param name="pageSize">每页几条</param>
        private void getPageList(int curPage)
        {
            var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList);
            var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "a.depot_code", "asc",
                "", _sbSqlWhere.ToString());
            var json = JsonConvert.SerializeObject(pgq);
            try
            {
                var strReturn = UtilityHelper.HttpPost("",
                    _webServiceName + "GetListPage", json);
                var dd = UtilityHelper.ReturnToTablePage(strReturn);
                var dt = dd.rtnData.list;
                gcMain.BindingContext = new BindingContext();
                gcMain.DataSource = dt;
                gcMain.ForceInitialize();
                var dddd = dd.rtnData.pages; //总页
                pageBar1.TotalPages = dddd;
                pageBar1.RecordCount = dd.rtnData.total; //记录总数
                pageBar1.CurrentPage = curPage; //当前页
            }
            catch (Exception ex)
            {
                MsgHelper.Warning("提示:" + 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))
            {
                MsgHelper.Warning("请先选择你要操作的行!");
                return;
            }
            var _obj = new
            {
                guid = strGuid //主建
            };
            try
            {
                var strJson = UtilityHelper.HttpPost("",
                    _webServiceName + "GetModel",
                    JsonConvert.SerializeObject(_obj));
                var _rtn = UtilityHelper.ReturnToDynamic(strJson);
                if (_rtn.rtnCode > 0)
                {
                    var dy = _rtn.rtnData;
                    lbGuid.Text = strGuid;
                    var gvList = new List<GridView>();
                    gvList.Add(gvMx1);
                    UtilityHelper.SetValueByObj(panel1.Controls, dy, isEdit,
                        gvList);
                    var _job = JObject.Parse(strJson);
                    var array = new JArray();
                    foreach (var a in _job["rtnData"]["list"]) array.Add(a);
                    var dt =
                        JsonConvert.DeserializeObject<DataTable>(
                            array.ToString());
                    if (dt.Rows.Count > 0)
                    {
                        gcMx1.BindingContext = new BindingContext();
                        gcMx1.DataSource = dt;
                        gcMx1.ForceInitialize();
                    }
                    else
                    {
                        UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
                    }
                }
                else
                {
                    MsgHelper.Warning("提示:" + _rtn.rtnMsg);
                }
            }
            catch (Exception ex)
            {
                MsgHelper.Warning("提示:" + ex.Message);
            }
        }
        private void repositoryItemButtonEdit1_ButtonClick(object sender,
            ButtonPressedEventArgs e)
        {
            gvMx1.CloseEditor();
            gvMx1.UpdateCurrentRow();
            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 strJson = "";
                var lst = new List<string>();
                lst.Add(mxGuid);
                try
                {
                    strJson = UtilityHelper.HttpPost("",
                        _webServiceName + "DeleteModelMx",
                        JsonConvert.SerializeObject(lst));
                    var _rtn = UtilityHelper.ReturnToDynamic(strJson);
                    if (_rtn.rtnCode > 0) getModel(lbGuid.Text);
                    MsgHelper.Warning("提示:" + _rtn.rtnMsg);
                }
                catch (Exception ex)
                {
                    MsgHelper.Warning("提示:" + ex.Message);
                }
            }
        }
        /// <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_depotName, gridView1, "depotName");
            if (string.IsNullOrEmpty(rowGuid))
            {
                MsgHelper.Warning("请先选择你要操作的行!");
                return;
            }
            if (!MsgHelper.AskQuestion("你选择了【" + rowName + "】,确定" + strMsg + "吗?"))
                return;
            var _obj = new
            {
                guid = rowGuid,
                ckValue = _inFieldValue,
                parameter = "MES_DEPOTS,check_date,check_status,check_by"
            };
            try
            {
                var strJson = UtilityHelper.HttpPost("", "General/GeneralCheck",
                    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);
            }
        }
    }
}
DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesDepot.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>
DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesWorkshop.Designer.cs
@@ -423,11 +423,11 @@
            // 
            this.gridColumn1.Caption = "审核日期";
            this.gridColumn1.FieldName = "checkDate";
            this.gridColumn1.MinWidth = 25;
            this.gridColumn1.MinWidth = 120;
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 6;
            this.gridColumn1.Width = 94;
            this.gridColumn1.Width = 120;
            // 
            // gv_depextr4
            // 
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_ArrivalBarcode.Designer.cs
@@ -29,11 +29,11 @@
        /// </summary>
        private void InitializeComponent()
        {
            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions4 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject13 = new DevExpress.Utils.SerializableAppearanceObject();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject14 = new DevExpress.Utils.SerializableAppearanceObject();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject15 = new DevExpress.Utils.SerializableAppearanceObject();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject16 = new DevExpress.Utils.SerializableAppearanceObject();
            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.gvMx2oldqty = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx2itemNo = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx2itemBarcode = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -204,7 +204,7 @@
            // 
            this.gvMx2itemBarcode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx2itemBarcode.AppearanceCell.Options.UseFont = true;
            this.gvMx2itemBarcode.Caption = "物料条码 ";
            this.gvMx2itemBarcode.Caption = "物料条码";
            this.gvMx2itemBarcode.FieldName = "itemBarcode";
            this.gvMx2itemBarcode.MinWidth = 50;
            this.gvMx2itemBarcode.Name = "gvMx2itemBarcode";
@@ -555,10 +555,10 @@
            // repositoryItemButtonEdit1
            // 
            this.repositoryItemButtonEdit1.AutoHeight = false;
            editorButtonImageOptions4.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16;
            editorButtonImageOptions4.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
            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, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
            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;
            // 
@@ -594,7 +594,7 @@
            // 
            // lbMxGuid
            // 
            this.lbMxGuid.Location = new System.Drawing.Point(552, 75);
            this.lbMxGuid.Location = new System.Drawing.Point(845, 7);
            this.lbMxGuid.Name = "lbMxGuid";
            this.lbMxGuid.Size = new System.Drawing.Size(58, 18);
            this.lbMxGuid.TabIndex = 229;
@@ -749,13 +749,14 @@
            this.gv_urgentFlag.AppearanceCell.Options.UseFont = true;
            this.gv_urgentFlag.Caption = "急料标识";
            this.gv_urgentFlag.FieldName = "urgentFlag";
            this.gv_urgentFlag.MaxWidth = 50;
            this.gv_urgentFlag.MinWidth = 50;
            this.gv_urgentFlag.Name = "gv_urgentFlag";
            this.gv_urgentFlag.OptionsColumn.AllowEdit = false;
            this.gv_urgentFlag.Tag = "query_a.urgent_flag";
            this.gv_urgentFlag.Visible = true;
            this.gv_urgentFlag.VisibleIndex = 0;
            this.gv_urgentFlag.Width = 94;
            this.gv_urgentFlag.Width = 50;
            // 
            // gv_fstatus
            // 
@@ -763,13 +764,14 @@
            this.gv_fstatus.AppearanceCell.Options.UseFont = true;
            this.gv_fstatus.Caption = "已交检验";
            this.gv_fstatus.FieldName = "fstatus";
            this.gv_fstatus.MaxWidth = 50;
            this.gv_fstatus.MinWidth = 50;
            this.gv_fstatus.Name = "gv_fstatus";
            this.gv_fstatus.OptionsColumn.AllowEdit = false;
            this.gv_fstatus.Tag = "query_a.fstatus";
            this.gv_fstatus.Visible = true;
            this.gv_fstatus.VisibleIndex = 1;
            this.gv_fstatus.Width = 94;
            this.gv_fstatus.Width = 50;
            // 
            // gv_suppNo
            // 
@@ -805,13 +807,13 @@
            this.gv_insDate.AppearanceCell.Options.UseFont = true;
            this.gv_insDate.Caption = "来料日期";
            this.gv_insDate.FieldName = "insDate";
            this.gv_insDate.MinWidth = 50;
            this.gv_insDate.MinWidth = 180;
            this.gv_insDate.Name = "gv_insDate";
            this.gv_insDate.OptionsColumn.AllowEdit = false;
            this.gv_insDate.Tag = "query_a.ins_date";
            this.gv_insDate.Visible = true;
            this.gv_insDate.VisibleIndex = 6;
            this.gv_insDate.Width = 94;
            this.gv_insDate.Width = 180;
            // 
            // gv_checkDate
            // 
@@ -819,13 +821,13 @@
            this.gv_checkDate.AppearanceCell.Options.UseFont = true;
            this.gv_checkDate.Caption = "提交日期";
            this.gv_checkDate.FieldName = "checkDate";
            this.gv_checkDate.MinWidth = 50;
            this.gv_checkDate.MinWidth = 180;
            this.gv_checkDate.Name = "gv_checkDate";
            this.gv_checkDate.OptionsColumn.AllowEdit = false;
            this.gv_checkDate.Tag = "query_a.check_date";
            this.gv_checkDate.Visible = true;
            this.gv_checkDate.VisibleIndex = 7;
            this.gv_checkDate.Width = 94;
            this.gv_checkDate.Width = 180;
            // 
            // gv_remark
            // 
@@ -861,13 +863,14 @@
            this.gv_status.AppearanceCell.Options.UseFont = true;
            this.gv_status.Caption = "入库";
            this.gv_status.FieldName = "status";
            this.gv_status.MaxWidth = 50;
            this.gv_status.MinWidth = 50;
            this.gv_status.Name = "gv_status";
            this.gv_status.OptionsColumn.AllowEdit = false;
            this.gv_status.Tag = "query_a.status";
            this.gv_status.Visible = true;
            this.gv_status.VisibleIndex = 2;
            this.gv_status.Width = 94;
            this.gv_status.Width = 50;
            // 
            // gv_billNo
            // 
@@ -875,17 +878,18 @@
            this.gv_billNo.AppearanceCell.Options.UseFont = true;
            this.gv_billNo.Caption = "到货单号";
            this.gv_billNo.FieldName = "billNo";
            this.gv_billNo.MinWidth = 50;
            this.gv_billNo.MinWidth = 120;
            this.gv_billNo.Name = "gv_billNo";
            this.gv_billNo.OptionsColumn.AllowEdit = false;
            this.gv_billNo.Tag = "query_a.bill_no";
            this.gv_billNo.Visible = true;
            this.gv_billNo.VisibleIndex = 3;
            this.gv_billNo.Width = 94;
            this.gv_billNo.Width = 120;
            // 
            // 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;
@@ -911,8 +915,13 @@
            // 
            // gridView1
            // 
            this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true;
            this.gridView1.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
            this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gridView1.Appearance.Row.Options.UseFont = true;
            this.gridView1.Appearance.ViewCaption.Options.UseTextOptions = true;
            this.gridView1.Appearance.ViewCaption.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
            this.gridView1.ColumnPanelRowHeight = 50;
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gv_urgentFlag,
            this.gv_fstatus,
@@ -949,12 +958,12 @@
            // 
            this.gridColumn2.Caption = "供应商名称";
            this.gridColumn2.FieldName = "suppName";
            this.gridColumn2.MinWidth = 25;
            this.gridColumn2.MinWidth = 200;
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.OptionsColumn.AllowEdit = false;
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 9;
            this.gridColumn2.Width = 94;
            this.gridColumn2.Width = 200;
            // 
            // gridColumn3
            // 
@@ -1004,7 +1013,6 @@
            this.xtraTabPage2.Controls.Add(this.tabMx);
            this.xtraTabPage2.Controls.Add(this.panel1);
            this.xtraTabPage2.Name = "xtraTabPage2";
            this.xtraTabPage2.Size = new System.Drawing.Size(1344, 570);
            this.xtraTabPage2.Text = "数据详细";
            // 
@@ -1319,6 +1327,7 @@
            this.Controls.Add(this.xtraTabControl1);
            this.Controls.Add(this.toolBarMenu1);
            this.Name = "Frm_ArrivalBarcode";
            this.Text = "到货条码打印";
            this.tabMxPage2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).EndInit();
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_ArrivalBarcode.cs
@@ -6,8 +6,6 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
@@ -24,10 +22,19 @@
            this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
            toolBarMenu1.btnReportClick += ToolBarMenu1_btnReportClick;
            toolBarMenu1.btnDesignClick += ToolBarMenu1_btnDesignClick;
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, "", "", (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_depotsId.getSuppler("");
@@ -66,17 +73,7 @@
            txtQuantity.Text = row["Quantity"].ToString();
            kyPrtQty.Text = row["kyPrtQty"].ToString();
        }
        /// <summary>
        /// åŒå‡»äº‹ä»¶
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void GcMain_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            string rowGuid = Gs.DevApp.ToolBox.UtilityHelper.GetCurrentDoubleRow(gridView1, e, "guid");
            if (!string.IsNullOrEmpty(rowGuid))
                getModel(rowGuid, false, 999);
        }
        /// <summary>
        /// åˆ†é¡µäº‹ä»¶
        /// </summary>
@@ -121,44 +118,7 @@
        }
        private void ToolBarMenu1_btnReportClick(object sender, EventArgs e)
        {
            toolBarMenu1.guidKey = "";
            string rowGuid, rowName;
            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
                lbGuid, txt_billNo, gridView1);
            toolBarMenu1.guidKey = rowGuid;
            if (xtraTabControl1.SelectedTabPageIndex == 0)
            {
                getModel(rowGuid, false, 999);
                this.toolBarMenu1.rptParameter = "return false";
                return;
            }
            if (lbMxGuid.Text.Trim().Length < 36)
            {
                Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择你要打印的行!");
                this.toolBarMenu1.rptParameter = "return false";
                return;
            }
            if (string.IsNullOrEmpty(txt_iCount_1.Text.Trim()))
            {
                Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择打印条码张数!");
                txt_iCount_1.Focus();
                this.toolBarMenu1.rptParameter = "return false";
                return;
            }
            if (string.IsNullOrEmpty(txt_psnQty_1.Text.Trim()))
            {
                Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择打印条码数量!");
                txt_psnQty_1.Focus();
                this.toolBarMenu1.rptParameter = "return false";
                return;
            }
            toolBarMenu1.guidKey = lbMxGuid.Text;
            this.toolBarMenu1.rptParameter = "rpt_Arrival{" + ""
                   + "," + ""
                   + "," + ""
                   + "," + txt_iCount_1.Text.Trim()
                   + "," + txt_psnQty_1.Text.Trim()
                   + "}";
            _print();
        }
        /// <summary>
@@ -169,7 +129,7 @@
        private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e)
        {
            if (xtraTabControl1.SelectedTabPageIndex == 1)
                getModel(lbGuid.Text.Trim(), false, 999);
                getModel(lbGuid.Text.Trim());
            else
            {
                _filterList.Clear();
@@ -225,14 +185,16 @@
                MsgHelper.Warning("提示:" + ex.Message);
            }
        }
        private void getModel(string strGuid, bool isEdit, int tabIdx)
        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;
            }
            UtilityHelper.JumpToTab(xtraTabControl1, tabIdx);
            var _obj = new
            {
                guid = strGuid,//主建
@@ -247,6 +209,7 @@
                    lbGuid.Text = strGuid;
                    List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
                    gvList.Add(gvMx1);
                    gvList.Add(gvMx2);
                    UtilityHelper.SetValueByObj(this.panel1.Controls, dy, isEdit, gvList);
                    JArray array1 = new JArray();
                    foreach (var a in dy["list1"])
@@ -264,21 +227,22 @@
                    {
                        Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
                    }
                    //foreach (var a in _job["rtnData"]["list3"])
                    //{
                    //    list3.Add(a);
                    //}
                    //DataTable dt1 = JsonConvert.DeserializeObject<DataTable>(list3.ToString());
                    //if (dt1.Rows.Count > 0)
                    //{
                    //    gcMx2.BindingContext = new BindingContext();
                    //    gcMx2.DataSource = dt1;
                    //    gcMx2.ForceInitialize();
                    //}
                    //else
                    //{
                    //    Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx2, gvMx2);
                    //}
                    JArray array2 = new JArray();
                    foreach (var a in dy["list2"])
                    {
                        array2.Add(a);
                    }
                    DataTable dt2 = JsonConvert.DeserializeObject<DataTable>(array2.ToString());
                    if (dt2.Rows.Count > 0)
                    {
                        gcMx2.BindingContext = new BindingContext();
                        gcMx2.DataSource = dt2;
                        gcMx2.ForceInitialize();
                    }
                    else
                    {
                        Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx2, gvMx2);
                    }
                }
                else
                    ToolBox.MsgHelper.Warning("提示:" + _rtn.rtnMsg);
@@ -288,5 +252,46 @@
                ToolBox.MsgHelper.Warning("提示:" + ex.Message);
            }
        }
        private void _print()
        {
            toolBarMenu1.guidKey = "";
            string rowGuid, rowName;
            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
                lbGuid, txt_billNo, gridView1);
            toolBarMenu1.guidKey = rowGuid;
            if (xtraTabControl1.SelectedTabPageIndex == 0)
            {
                Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 5);
                this.toolBarMenu1.rptParameter = "return false";
                return;
            }
            if (lbMxGuid.Text.Trim().Length < 36)
            {
                Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择你要打印的行!");
                this.toolBarMenu1.rptParameter = "return false";
                return;
            }
            if (string.IsNullOrEmpty(txt_iCount_1.Text.Trim()))
            {
                Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择打印条码张数!");
                txt_iCount_1.Focus();
                this.toolBarMenu1.rptParameter = "return false";
                return;
            }
            if (string.IsNullOrEmpty(txt_psnQty_1.Text.Trim()))
            {
                Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择打印条码数量!");
                txt_psnQty_1.Focus();
                this.toolBarMenu1.rptParameter = "return false";
                return;
            }
            toolBarMenu1.guidKey = lbMxGuid.Text;
            this.toolBarMenu1.rptParameter = "rpt_Arrival{" + ""
                   + "," + ""
                   + "," + ""
                   + "," + txt_iCount_1.Text.Trim()
                   + "," + txt_psnQty_1.Text.Trim()
                   + "}";
        }
    }
}
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_InitialBarcode.Designer.cs
@@ -173,12 +173,12 @@
            this.gvMx1itemBarcode.AppearanceCell.Options.UseFont = true;
            this.gvMx1itemBarcode.Caption = "物料条码 ";
            this.gvMx1itemBarcode.FieldName = "itemBarcode";
            this.gvMx1itemBarcode.MinWidth = 50;
            this.gvMx1itemBarcode.MinWidth = 120;
            this.gvMx1itemBarcode.Name = "gvMx1itemBarcode";
            this.gvMx1itemBarcode.Tag = "query_a.ITEM_BARCODE";
            this.gvMx1itemBarcode.Visible = true;
            this.gvMx1itemBarcode.VisibleIndex = 0;
            this.gvMx1itemBarcode.Width = 94;
            this.gvMx1itemBarcode.Width = 120;
            // 
            // gvMx1guid
            // 
@@ -336,13 +336,13 @@
            this.gv_itemModel.AppearanceCell.Options.UseFont = true;
            this.gv_itemModel.Caption = "规格型号";
            this.gv_itemModel.FieldName = "itemModel";
            this.gv_itemModel.MinWidth = 50;
            this.gv_itemModel.MinWidth = 250;
            this.gv_itemModel.Name = "gv_itemModel";
            this.gv_itemModel.OptionsColumn.AllowEdit = false;
            this.gv_itemModel.Tag = "query_a.item_model";
            this.gv_itemModel.Visible = true;
            this.gv_itemModel.VisibleIndex = 4;
            this.gv_itemModel.Width = 94;
            this.gv_itemModel.Width = 250;
            // 
            // lb_itemName
            // 
@@ -369,13 +369,13 @@
            this.gv_itemName.AppearanceCell.Options.UseFont = true;
            this.gv_itemName.Caption = "物料名称";
            this.gv_itemName.FieldName = "itemName";
            this.gv_itemName.MinWidth = 50;
            this.gv_itemName.MinWidth = 150;
            this.gv_itemName.Name = "gv_itemName";
            this.gv_itemName.OptionsColumn.AllowEdit = false;
            this.gv_itemName.Tag = "query_a.item_name";
            this.gv_itemName.Visible = true;
            this.gv_itemName.VisibleIndex = 3;
            this.gv_itemName.Width = 94;
            this.gv_itemName.Width = 150;
            // 
            // lb_itemNo
            // 
@@ -402,13 +402,13 @@
            this.gv_itemNo.AppearanceCell.Options.UseFont = true;
            this.gv_itemNo.Caption = "物料编码";
            this.gv_itemNo.FieldName = "itemNo";
            this.gv_itemNo.MinWidth = 50;
            this.gv_itemNo.MinWidth = 120;
            this.gv_itemNo.Name = "gv_itemNo";
            this.gv_itemNo.OptionsColumn.AllowEdit = false;
            this.gv_itemNo.Tag = "query_a.item_no";
            this.gv_itemNo.Visible = true;
            this.gv_itemNo.VisibleIndex = 2;
            this.gv_itemNo.Width = 94;
            this.gv_itemNo.Width = 120;
            // 
            // gv_id
            // 
@@ -427,6 +427,7 @@
            // 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;
@@ -472,13 +473,13 @@
            // 
            this.gridColumn4.Caption = "组织";
            this.gridColumn4.FieldName = "fSubsidiary";
            this.gridColumn4.MinWidth = 125;
            this.gridColumn4.MinWidth = 250;
            this.gridColumn4.Name = "gridColumn4";
            this.gridColumn4.OptionsColumn.AllowEdit = false;
            this.gridColumn4.Tag = "org.fnumber";
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 0;
            this.gridColumn4.Width = 125;
            this.gridColumn4.Width = 250;
            // 
            // xtraTabControl1
            // 
@@ -517,7 +518,6 @@
            this.xtraTabPage2.Controls.Add(this.tabMx);
            this.xtraTabPage2.Controls.Add(this.panel1);
            this.xtraTabPage2.Name = "xtraTabPage2";
            this.xtraTabPage2.Size = new System.Drawing.Size(1126, 570);
            this.xtraTabPage2.Text = "数据详细";
            // 
@@ -683,6 +683,7 @@
            this.Controls.Add(this.xtraTabControl1);
            this.Controls.Add(this.toolBarMenu1);
            this.Name = "Frm_InitialBarcode";
            this.Text = "期初条码打印";
            this.tabMxPage1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit();
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_InitialBarcode.cs
@@ -6,7 +6,6 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Threading.Tasks;
using System.Windows.Forms;
@@ -23,8 +22,18 @@
            this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
            toolBarMenu1.btnReportClick += ToolBarMenu1_btnReportClick;
            toolBarMenu1.btnDesignClick += ToolBarMenu1_btnDesignClick;
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, "", "", (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_suppNo_1.getSuppler("");
@@ -40,17 +49,7 @@
           Task.Delay(100);
            getPageList(1);
        }
        /// <summary>
        /// åŒå‡»äº‹ä»¶
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void GcMain_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            string rowGuid = Gs.DevApp.ToolBox.UtilityHelper.GetCurrentDoubleRow(gridView1, e, "guid");
            if (!string.IsNullOrEmpty(rowGuid))
                getModel(rowGuid, false, 999);
        }
        /// <summary>
        /// åˆ†é¡µäº‹ä»¶
        /// </summary>
@@ -93,7 +92,7 @@
        private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e)
        {
            if (xtraTabControl1.SelectedTabPageIndex == 1)
                getModel(lbGuid.Text.Trim(), false, 999);
                getModel(lbGuid.Text.Trim());
            else
            {
                _filterList.Clear();
@@ -124,7 +123,7 @@
            toolBarMenu1.guidKey = rowGuid;
            if (xtraTabControl1.SelectedTabPageIndex == 0)
            {
                getModel(rowGuid, false, 999);
                Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 5);
                this.toolBarMenu1.rptParameter = "return false";
                return;
            }
@@ -164,7 +163,6 @@
        /// <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);
@@ -200,14 +198,16 @@
            }
            
        }
        private void getModel(string strGuid, bool isEdit, int tabIdx)
        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;
            }
            UtilityHelper.JumpToTab(xtraTabControl1, tabIdx);
            txt_iCount_1.Text = "";
            txt_psnQty_1.Text = "";
            txt_suppNo_1.SetIdOrCode("-1");
DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -1106,6 +1106,13 @@
                tabControl.SelectedTabPageIndex = 1;
                return;
            }
            if (action == 5)
            {
                tabControl.TabPages[0].PageEnabled = true;
                tabControl.TabPages[1].PageEnabled = true;
                tabControl.SelectedTabPageIndex = 1;
                return;
            }
        }
        /// <summary>