From f65c60f600d23538329d72109ac22292b032e8ba Mon Sep 17 00:00:00 2001
From: wbc <2597324127@qq.com>
Date: 星期三, 03 十二月 2025 18:27:26 +0800
Subject: [PATCH] 蓝宝模具相关维护表更新
---
DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldManagement.cs | 429 ++++++++
DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldManagement.resx | 126 ++
DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldArchives.Designer.cs | 1047 +++++++++++++++++++
DevApp/Gs.DevApp/FastReport.Editor.dll | 0
DevApp/Gs.DevApp/App.config | 4
DevApp/Gs.DevApp/FastReport.dll | 0
DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldArchives.cs | 452 ++++++++
DevApp/Gs.DevApp/DevFrm/MJGL/Models/MesMoldArchives.cs | 44
DevApp/Gs.DevApp/FastReport.Bars.dll | 0
DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldManagement.Designer.cs | 926 +++++++++++++++++
DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldArchives.resx | 123 ++
11 files changed, 3,149 insertions(+), 2 deletions(-)
diff --git a/DevApp/Gs.DevApp/App.config b/DevApp/Gs.DevApp/App.config
index fffabf7..32abf8c 100644
--- a/DevApp/Gs.DevApp/App.config
+++ b/DevApp/Gs.DevApp/App.config
@@ -36,8 +36,8 @@
</runtime>
<appSettings>
- <!--<add key="webapiurl" value="http://localhost:5263/" />-->
- <add key="WebApiUrl" value="http://192.168.0.51:8081/" />
+ <add key="webapiurl" value="http://localhost:5263/" />
+ <!--<add key="WebApiUrl" value="http://192.168.0.51:8081/" />-->
<!--<add key="WebApiUrl" value="http://192.168.0.51:8181/" />-->
<add key="LogPath" value="logs" />
<add key="ProductName" value="G-MES V2.0" />
diff --git a/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldArchives.Designer.cs b/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldArchives.Designer.cs
new file mode 100644
index 0000000..6c3a550
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldArchives.Designer.cs
@@ -0,0 +1,1047 @@
+
+namespace Gs.DevApp.DevFrm.MJGL
+{
+ partial class Frm_MesMoldArchives
+ {
+ /// <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()
+ {
+ this.components = new System.ComponentModel.Container();
+ DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition();
+ DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition();
+ DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition();
+ DevExpress.XtraLayout.ColumnDefinition columnDefinition4 = new DevExpress.XtraLayout.ColumnDefinition();
+ DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition();
+ DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition();
+ DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition();
+ 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.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu();
+ this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
+ this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
+ this.split1 = new DevExpress.XtraEditors.SplitContainerControl();
+ this.gcMain1 = new DevExpress.XtraGrid.GridControl();
+ this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
+ this.gv_moldType = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_typeName = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_createBy = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_createDate = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_mustSpecifyLoc = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.repositoryItemCheckEditMain = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
+ this.pageBar1 = new UserControls.Data.UcPageBar();
+ this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
+ this.splitMx1 = new DevExpress.XtraEditors.SplitContainerControl();
+ this.layoutMx1 = new DevExpress.XtraLayout.LayoutControl();
+ this.lbGuid = new System.Windows.Forms.Label();
+ this.txt_createBy = new DevExpress.XtraEditors.TextEdit();
+ this.txt_description = new DevExpress.XtraEditors.TextEdit();
+ this.chk_mustSpecifyLoc = new DevExpress.XtraEditors.CheckEdit();
+ this.txt_typeName = new DevExpress.XtraEditors.TextEdit();
+ this.txt_moldType = new DevExpress.XtraEditors.TextEdit();
+ this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
+ this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
+ this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
+ this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
+ this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
+ this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
+ this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
+ this.tabMx = new DevExpress.XtraTab.XtraTabControl();
+ this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage();
+ this.gcMx1 = new DevExpress.XtraGrid.GridControl();
+ this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView();
+ this.gvMx1guid = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx_moldCode = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx_moldName = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx_moldSpec = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx_scrapFlag = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx_scrapper = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx_scrapTime = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.repositoryItemDateEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
+ this.gvMx_inStockFlag = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx_location = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx_fixedLocation = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx_moldStatus = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx_cavityCount = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx_openCloseCount = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx_manufacturer = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx_maintainWarnCount = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx_maintainWarnDays = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx_remark = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMxDel = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
+ this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
+ this.bandedGridView1 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridView();
+ this.gridBand1 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand();
+ this.gvMx1lastupdateBy = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx1lastupdateDate = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.tips = new DevExpress.Utils.ToolTipController(this.components);
+ ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
+ this.xtraTabControl1.SuspendLayout();
+ this.xtraTabPage1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.split1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.split1.Panel1)).BeginInit();
+ this.split1.Panel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.split1.Panel2)).BeginInit();
+ this.split1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEditMain)).BeginInit();
+ this.xtraTabPage3.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitMx1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel1)).BeginInit();
+ this.splitMx1.Panel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel2)).BeginInit();
+ this.splitMx1.Panel2.SuspendLayout();
+ this.splitMx1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutMx1)).BeginInit();
+ this.layoutMx1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_description.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.chk_mustSpecifyLoc.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_typeName.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_moldType.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit();
+ this.tabMx.SuspendLayout();
+ this.tabMxPage1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bandedGridView1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // toolBarMenu1
+ //
+ this.toolBarMenu1.chkParameter = "MES_DEPOTS,check_date,check_status,check_by";
+ this.toolBarMenu1.currentAction = null;
+ this.toolBarMenu1.defaultActions = 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.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.toolBarMenu1.Name = "toolBarMenu1";
+ this.toolBarMenu1.rptParameter = null;
+ this.toolBarMenu1.Size = new System.Drawing.Size(1266, 79);
+ this.toolBarMenu1.TabIndex = 0;
+ this.toolBarMenu1.xlsInService = "xlsOut_depots{}";
+ this.toolBarMenu1.xlsOutParameter = null;
+ //
+ // xtraTabControl1
+ //
+ this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.xtraTabControl1.Location = new System.Drawing.Point(0, 79);
+ this.xtraTabControl1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.xtraTabControl1.Name = "xtraTabControl1";
+ this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
+ this.xtraTabControl1.Size = new System.Drawing.Size(1266, 603);
+ this.xtraTabControl1.TabIndex = 3;
+ this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
+ this.xtraTabPage1,
+ this.xtraTabPage3});
+ //
+ // xtraTabPage1
+ //
+ this.xtraTabPage1.Controls.Add(this.split1);
+ this.xtraTabPage1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.xtraTabPage1.Name = "xtraTabPage1";
+ this.xtraTabPage1.Size = new System.Drawing.Size(1264, 571);
+ this.xtraTabPage1.Text = "鏁版嵁鍒楄〃";
+ //
+ // split1
+ //
+ this.split1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.split1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2;
+ this.split1.Horizontal = false;
+ this.split1.Location = new System.Drawing.Point(0, 0);
+ this.split1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.split1.Name = "split1";
+ //
+ // split1.Panel1
+ //
+ this.split1.Panel1.Controls.Add(this.gcMain1);
+ this.split1.Panel1.Controls.Add(this.pageBar1);
+ this.split1.Panel1.Text = "Panel1";
+ //
+ // split1.Panel2
+ //
+ this.split1.Panel2.Text = "Panel2";
+ this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True;
+ this.split1.Size = new System.Drawing.Size(1264, 571);
+ this.split1.SplitterPosition = 0;
+ this.split1.TabIndex = 0;
+ //
+ // gcMain1
+ //
+ this.gcMain1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.gcMain1.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.gcMain1.Location = new System.Drawing.Point(0, 0);
+ this.gcMain1.MainView = this.gridView1;
+ this.gcMain1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.gcMain1.Name = "gcMain1";
+ this.gcMain1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
+ this.repositoryItemCheckEditMain});
+ this.gcMain1.Size = new System.Drawing.Size(1264, 521);
+ this.gcMain1.TabIndex = 2;
+ this.gcMain1.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.Options.UseFont = true;
+ this.gridView1.ColumnPanelRowHeight = 61;
+ this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+ this.gv_moldType,
+ this.gv_typeName,
+ this.gv_createBy,
+ this.gv_createDate,
+ this.gv_mustSpecifyLoc,
+ this.gridColumn8});
+ this.gridView1.DetailHeight = 349;
+ this.gridView1.GridControl = this.gcMain1;
+ this.gridView1.IndicatorWidth = 50;
+ this.gridView1.Name = "gridView1";
+ this.gridView1.OptionsFind.ShowSearchNavButtons = false;
+ this.gridView1.OptionsView.ShowAutoFilterRow = true;
+ this.gridView1.OptionsView.ShowGroupPanel = false;
+ //
+ // gv_moldType
+ //
+ this.gv_moldType.AppearanceCell.Options.UseFont = true;
+ this.gv_moldType.Caption = "妯″叿绫诲瀷";
+ this.gv_moldType.FieldName = "moldTypeCode";
+ this.gv_moldType.MinWidth = 50;
+ this.gv_moldType.Name = "gv_moldType";
+ this.gv_moldType.OptionsColumn.AllowEdit = false;
+ this.gv_moldType.Tag = "query_a.mold_type_code";
+ this.gv_moldType.Visible = true;
+ this.gv_moldType.VisibleIndex = 0;
+ this.gv_moldType.Width = 99;
+ //
+ // gv_typeName
+ //
+ this.gv_typeName.AppearanceCell.Options.UseFont = true;
+ this.gv_typeName.Caption = "绫诲瀷鍚嶇О";
+ this.gv_typeName.FieldName = "typeName";
+ this.gv_typeName.MinWidth = 50;
+ this.gv_typeName.Name = "gv_typeName";
+ this.gv_typeName.OptionsColumn.AllowEdit = false;
+ this.gv_typeName.Tag = "query_a.type_name";
+ this.gv_typeName.Visible = true;
+ this.gv_typeName.VisibleIndex = 1;
+ this.gv_typeName.Width = 150;
+ //
+ // gv_createBy
+ //
+ 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 = 2;
+ this.gv_createBy.Width = 80;
+ //
+ // gv_createDate
+ //
+ this.gv_createDate.AppearanceCell.Options.UseFont = true;
+ this.gv_createDate.Caption = "鍒涘缓鏃堕棿";
+ this.gv_createDate.FieldName = "createDate";
+ this.gv_createDate.MinWidth = 50;
+ this.gv_createDate.Name = "gv_createDate";
+ this.gv_createDate.OptionsColumn.AllowEdit = false;
+ this.gv_createDate.Tag = "query_a.create_date";
+ this.gv_createDate.Visible = true;
+ this.gv_createDate.VisibleIndex = 3;
+ this.gv_createDate.Width = 71;
+ //
+ // gv_mustSpecifyLoc
+ //
+ this.gv_mustSpecifyLoc.Caption = "蹇呴』鎸囧畾搴撲綅";
+ this.gv_mustSpecifyLoc.FieldName = "requireDepotLocation";
+ this.gv_mustSpecifyLoc.MinWidth = 25;
+ this.gv_mustSpecifyLoc.Name = "gv_mustSpecifyLoc";
+ this.gv_mustSpecifyLoc.OptionsColumn.AllowEdit = false;
+ this.gv_mustSpecifyLoc.Tag = "query_a.must_specify_loc";
+ this.gv_mustSpecifyLoc.Visible = true;
+ this.gv_mustSpecifyLoc.VisibleIndex = 4;
+ this.gv_mustSpecifyLoc.Width = 94;
+ //
+ // gridColumn8
+ //
+ this.gridColumn8.Caption = "涓婚敭Guid";
+ this.gridColumn8.FieldName = "guid";
+ this.gridColumn8.MinWidth = 25;
+ this.gridColumn8.Name = "gridColumn8";
+ this.gridColumn8.Width = 94;
+ //
+ // repositoryItemCheckEditMain
+ //
+ this.repositoryItemCheckEditMain.Name = "repositoryItemCheckEditMain";
+ //
+ // pageBar1
+ //
+ this.pageBar1.CurrentPage = 1;
+ this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.pageBar1.Location = new System.Drawing.Point(0, 521);
+ 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(1264, 38);
+ this.pageBar1.TabIndex = 4;
+ this.pageBar1.TotalPages = 0;
+ //
+ // xtraTabPage3
+ //
+ this.xtraTabPage3.Controls.Add(this.splitMx1);
+ this.xtraTabPage3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.xtraTabPage3.Name = "xtraTabPage3";
+ this.xtraTabPage3.Size = new System.Drawing.Size(1264, 571);
+ this.xtraTabPage3.Text = "鏁版嵁璇︾粏";
+ //
+ // splitMx1
+ //
+ this.splitMx1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitMx1.Horizontal = false;
+ this.splitMx1.Location = new System.Drawing.Point(0, 0);
+ this.splitMx1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.splitMx1.Name = "splitMx1";
+ //
+ // splitMx1.Panel1
+ //
+ this.splitMx1.Panel1.Controls.Add(this.layoutMx1);
+ this.splitMx1.Panel1.Text = "Panel1";
+ //
+ // splitMx1.Panel2
+ //
+ this.splitMx1.Panel2.Controls.Add(this.tabMx);
+ this.splitMx1.Panel2.Text = "Panel2";
+ this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True;
+ this.splitMx1.Size = new System.Drawing.Size(1264, 571);
+ this.splitMx1.SplitterPosition = 144;
+ this.splitMx1.TabIndex = 0;
+ //
+ // layoutMx1
+ //
+ this.layoutMx1.Controls.Add(this.lbGuid);
+ this.layoutMx1.Controls.Add(this.txt_createBy);
+ this.layoutMx1.Controls.Add(this.txt_description);
+ this.layoutMx1.Controls.Add(this.chk_mustSpecifyLoc);
+ this.layoutMx1.Controls.Add(this.txt_typeName);
+ this.layoutMx1.Controls.Add(this.txt_moldType);
+ this.layoutMx1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.layoutMx1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
+ this.layoutControlItem9});
+ this.layoutMx1.Location = new System.Drawing.Point(0, 0);
+ this.layoutMx1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.layoutMx1.Name = "layoutMx1";
+ this.layoutMx1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(460, 453, 812, 500);
+ this.layoutMx1.Root = this.Root;
+ this.layoutMx1.Size = new System.Drawing.Size(1264, 144);
+ this.layoutMx1.TabIndex = 0;
+ this.layoutMx1.Text = "layoutControl1";
+ //
+ // lbGuid
+ //
+ this.lbGuid.Location = new System.Drawing.Point(943, 95);
+ this.lbGuid.Name = "lbGuid";
+ this.lbGuid.Size = new System.Drawing.Size(307, 34);
+ this.lbGuid.TabIndex = 1;
+ this.lbGuid.Text = "lbGuid";
+ this.lbGuid.Visible = false;
+ //
+ // txt_createBy
+ //
+ this.txt_createBy.Location = new System.Drawing.Point(736, 12);
+ this.txt_createBy.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.txt_createBy.Name = "txt_createBy";
+ this.txt_createBy.Properties.Appearance.Options.UseFont = true;
+ this.txt_createBy.Size = new System.Drawing.Size(205, 24);
+ this.txt_createBy.StyleController = this.layoutMx1;
+ this.txt_createBy.TabIndex = 219;
+ this.txt_createBy.Tag = "readonly";
+ //
+ // txt_description
+ //
+ this.txt_description.Location = new System.Drawing.Point(114, 53);
+ this.txt_description.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.txt_description.Name = "txt_description";
+ this.txt_description.Properties.Appearance.Options.UseFont = true;
+ this.txt_description.Size = new System.Drawing.Size(205, 24);
+ this.txt_description.StyleController = this.layoutMx1;
+ this.txt_description.TabIndex = 217;
+ this.txt_description.Tag = "edit";
+ //
+ // chk_mustSpecifyLoc
+ //
+ this.chk_mustSpecifyLoc.Location = new System.Drawing.Point(425, 53);
+ this.chk_mustSpecifyLoc.Name = "chk_mustSpecifyLoc";
+ this.chk_mustSpecifyLoc.Properties.Caption = "";
+ this.chk_mustSpecifyLoc.Size = new System.Drawing.Size(205, 24);
+ this.chk_mustSpecifyLoc.StyleController = this.layoutMx1;
+ this.chk_mustSpecifyLoc.TabIndex = 220;
+ this.chk_mustSpecifyLoc.Tag = "edit";
+ //
+ // txt_typeName
+ //
+ this.txt_typeName.Location = new System.Drawing.Point(425, 12);
+ this.txt_typeName.Name = "txt_typeName";
+ this.txt_typeName.Size = new System.Drawing.Size(205, 24);
+ this.txt_typeName.StyleController = this.layoutMx1;
+ this.txt_typeName.TabIndex = 221;
+ this.txt_typeName.Tag = "edit";
+ //
+ // txt_moldType
+ //
+ this.txt_moldType.Location = new System.Drawing.Point(114, 12);
+ this.txt_moldType.Name = "txt_moldType";
+ this.txt_moldType.Size = new System.Drawing.Size(205, 24);
+ this.txt_moldType.StyleController = this.layoutMx1;
+ this.txt_moldType.TabIndex = 222;
+ this.txt_moldType.Tag = "edit";
+ //
+ // layoutControlItem9
+ //
+ this.layoutControlItem9.Control = this.lbGuid;
+ this.layoutControlItem9.Location = new System.Drawing.Point(813, 62);
+ this.layoutControlItem9.Name = "layoutControlItem9";
+ this.layoutControlItem9.OptionsTableLayoutItem.ColumnIndex = 3;
+ this.layoutControlItem9.OptionsTableLayoutItem.RowIndex = 2;
+ this.layoutControlItem9.Size = new System.Drawing.Size(273, 31);
+ this.layoutControlItem9.Text = "lbGuid";
+ this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0);
+ this.layoutControlItem9.TextVisible = false;
+ //
+ // Root
+ //
+ this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
+ this.Root.GroupBordersVisible = false;
+ this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
+ this.layoutControlItem2,
+ this.layoutControlItem3,
+ this.layoutControlItem4,
+ this.layoutControlItem5,
+ this.layoutControlItem1});
+ this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
+ this.Root.Name = "Root";
+ columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
+ columnDefinition1.Width = 100D;
+ columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent;
+ columnDefinition2.Width = 100D;
+ columnDefinition3.SizeType = System.Windows.Forms.SizeType.Percent;
+ columnDefinition3.Width = 100D;
+ columnDefinition4.SizeType = System.Windows.Forms.SizeType.Percent;
+ columnDefinition4.Width = 100D;
+ this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] {
+ columnDefinition1,
+ columnDefinition2,
+ columnDefinition3,
+ columnDefinition4});
+ rowDefinition1.Height = 100D;
+ rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
+ rowDefinition2.Height = 100D;
+ rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent;
+ rowDefinition3.Height = 100D;
+ rowDefinition3.SizeType = System.Windows.Forms.SizeType.Percent;
+ this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
+ rowDefinition1,
+ rowDefinition2,
+ rowDefinition3});
+ this.Root.Size = new System.Drawing.Size(1264, 144);
+ this.Root.TextVisible = false;
+ //
+ // layoutControlItem2
+ //
+ this.layoutControlItem2.Control = this.txt_typeName;
+ this.layoutControlItem2.Location = new System.Drawing.Point(311, 0);
+ this.layoutControlItem2.Name = "layoutControlItem2";
+ this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1;
+ this.layoutControlItem2.Size = new System.Drawing.Size(311, 41);
+ this.layoutControlItem2.Text = "绫诲瀷鍚嶇О";
+ this.layoutControlItem2.TextSize = new System.Drawing.Size(90, 18);
+ //
+ // layoutControlItem3
+ //
+ this.layoutControlItem3.Control = this.txt_createBy;
+ this.layoutControlItem3.Location = new System.Drawing.Point(622, 0);
+ this.layoutControlItem3.Name = "layoutControlItem3";
+ this.layoutControlItem3.OptionsTableLayoutItem.ColumnIndex = 2;
+ this.layoutControlItem3.Size = new System.Drawing.Size(311, 41);
+ this.layoutControlItem3.Text = "鍒涘缓浜�";
+ this.layoutControlItem3.TextSize = new System.Drawing.Size(90, 18);
+ //
+ // layoutControlItem4
+ //
+ this.layoutControlItem4.Control = this.txt_description;
+ this.layoutControlItem4.Location = new System.Drawing.Point(0, 41);
+ this.layoutControlItem4.Name = "layoutControlItem4";
+ this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1;
+ this.layoutControlItem4.Size = new System.Drawing.Size(311, 41);
+ this.layoutControlItem4.Text = "澶囨敞";
+ this.layoutControlItem4.TextSize = new System.Drawing.Size(90, 18);
+ //
+ // layoutControlItem5
+ //
+ this.layoutControlItem5.Control = this.chk_mustSpecifyLoc;
+ this.layoutControlItem5.Location = new System.Drawing.Point(311, 41);
+ this.layoutControlItem5.Name = "layoutControlItem5";
+ this.layoutControlItem5.OptionsTableLayoutItem.ColumnIndex = 1;
+ this.layoutControlItem5.OptionsTableLayoutItem.RowIndex = 1;
+ this.layoutControlItem5.Size = new System.Drawing.Size(311, 41);
+ this.layoutControlItem5.Text = "蹇呴』鎸囧畾搴撲綅";
+ this.layoutControlItem5.TextSize = new System.Drawing.Size(90, 18);
+ //
+ // layoutControlItem1
+ //
+ this.layoutControlItem1.Control = this.txt_moldType;
+ this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
+ this.layoutControlItem1.Name = "layoutControlItem1";
+ this.layoutControlItem1.Size = new System.Drawing.Size(311, 41);
+ this.layoutControlItem1.Text = "妯″叿绫诲瀷";
+ this.layoutControlItem1.TextSize = new System.Drawing.Size(90, 18);
+ //
+ // tabMx
+ //
+ this.tabMx.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tabMx.Location = new System.Drawing.Point(0, 0);
+ this.tabMx.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.tabMx.Name = "tabMx";
+ this.tabMx.SelectedTabPage = this.tabMxPage1;
+ this.tabMx.Size = new System.Drawing.Size(1264, 415);
+ this.tabMx.TabIndex = 3;
+ this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
+ this.tabMxPage1});
+ //
+ // tabMxPage1
+ //
+ this.tabMxPage1.Controls.Add(this.gcMx1);
+ this.tabMxPage1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.tabMxPage1.Name = "tabMxPage1";
+ this.tabMxPage1.Size = new System.Drawing.Size(1262, 383);
+ this.tabMxPage1.Text = "娉ㄥ妗f妯″叿鏄庣粏";
+ //
+ // gcMx1
+ //
+ this.gcMx1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.gcMx1.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.gcMx1.Location = new System.Drawing.Point(0, 0);
+ this.gcMx1.MainView = this.gvMx1;
+ this.gcMx1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.gcMx1.Name = "gcMx1";
+ this.gcMx1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
+ this.repositoryItemButtonEdit1,
+ this.repositoryItemCheckEdit1,
+ this.repositoryItemDateEdit1});
+ this.gcMx1.Size = new System.Drawing.Size(1262, 383);
+ this.gcMx1.TabIndex = 0;
+ this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
+ this.gvMx1,
+ this.bandedGridView1});
+ //
+ // gvMx1
+ //
+ this.gvMx1.Appearance.Row.Options.UseFont = true;
+ this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+ this.gvMx1guid,
+ this.gvMx_moldCode,
+ this.gvMx_moldName,
+ this.gvMx_moldSpec,
+ this.gvMx_scrapFlag,
+ this.gvMx_scrapper,
+ this.gvMx_scrapTime,
+ this.gvMx_inStockFlag,
+ this.gvMx_location,
+ this.gvMx_fixedLocation,
+ this.gvMx_moldStatus,
+ this.gvMx_cavityCount,
+ this.gvMx_openCloseCount,
+ this.gvMx_manufacturer,
+ this.gvMx_maintainWarnCount,
+ this.gvMx_maintainWarnDays,
+ this.gvMx_remark,
+ this.gvMxDel});
+ this.gvMx1.DetailHeight = 349;
+ 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;
+ //
+ // gvMx1guid
+ //
+ 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;
+ //
+ // gvMx_moldCode
+ //
+ this.gvMx_moldCode.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_moldCode.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_moldCode.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_moldCode.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_moldCode.Caption = "妯″叿缂栫爜";
+ this.gvMx_moldCode.FieldName = "moldCode";
+ this.gvMx_moldCode.MinWidth = 50;
+ this.gvMx_moldCode.Name = "gvMx_moldCode";
+ this.gvMx_moldCode.Tag = "edit";
+ this.gvMx_moldCode.Visible = true;
+ this.gvMx_moldCode.VisibleIndex = 0;
+ this.gvMx_moldCode.Width = 94;
+ //
+ // gvMx_moldName
+ //
+ this.gvMx_moldName.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_moldName.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_moldName.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_moldName.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_moldName.Caption = "妯″叿鍚嶇О";
+ this.gvMx_moldName.FieldName = "moldName";
+ this.gvMx_moldName.MinWidth = 50;
+ this.gvMx_moldName.Name = "gvMx_moldName";
+ this.gvMx_moldName.Tag = "edit";
+ this.gvMx_moldName.Visible = true;
+ this.gvMx_moldName.VisibleIndex = 1;
+ this.gvMx_moldName.Width = 94;
+ //
+ // gvMx_moldSpec
+ //
+ this.gvMx_moldSpec.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_moldSpec.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_moldSpec.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_moldSpec.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_moldSpec.Caption = "妯″叿瑙勬牸";
+ this.gvMx_moldSpec.FieldName = "moldSpec";
+ this.gvMx_moldSpec.MinWidth = 50;
+ this.gvMx_moldSpec.Name = "gvMx_moldSpec";
+ this.gvMx_moldSpec.Tag = "edit";
+ this.gvMx_moldSpec.Visible = true;
+ this.gvMx_moldSpec.VisibleIndex = 2;
+ this.gvMx_moldSpec.Width = 94;
+ //
+ // gvMx_scrapFlag
+ //
+ this.gvMx_scrapFlag.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_scrapFlag.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_scrapFlag.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_scrapFlag.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_scrapFlag.Caption = "鎶ュ簾鏍囪瘑";
+ this.gvMx_scrapFlag.ColumnEdit = this.repositoryItemCheckEdit1;
+ this.gvMx_scrapFlag.FieldName = "scrapFlag";
+ this.gvMx_scrapFlag.MinWidth = 50;
+ this.gvMx_scrapFlag.Name = "gvMx_scrapFlag";
+ this.gvMx_scrapFlag.Tag = "edit";
+ this.gvMx_scrapFlag.Visible = true;
+ this.gvMx_scrapFlag.VisibleIndex = 3;
+ this.gvMx_scrapFlag.Width = 60;
+ //
+ // gvMx_scrapper
+ //
+ this.gvMx_scrapper.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_scrapper.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_scrapper.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_scrapper.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_scrapper.Caption = "鎶ュ簾浜�";
+ this.gvMx_scrapper.FieldName = "scrapper";
+ this.gvMx_scrapper.MinWidth = 50;
+ this.gvMx_scrapper.Name = "gvMx_scrapper";
+ this.gvMx_scrapper.Tag = "edit";
+ this.gvMx_scrapper.Visible = true;
+ this.gvMx_scrapper.VisibleIndex = 4;
+ this.gvMx_scrapper.Width = 80;
+ //
+ // gvMx_scrapTime
+ //
+ this.gvMx_scrapTime.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_scrapTime.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_scrapTime.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_scrapTime.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_scrapTime.Caption = "鎶ュ簾鏃堕棿";
+ this.gvMx_scrapTime.ColumnEdit = this.repositoryItemDateEdit1;
+ this.gvMx_scrapTime.FieldName = "scrapTime";
+ this.gvMx_scrapTime.MinWidth = 50;
+ this.gvMx_scrapTime.Name = "gvMx_scrapTime";
+ this.gvMx_scrapTime.Tag = "edit";
+ this.gvMx_scrapTime.Visible = true;
+ this.gvMx_scrapTime.VisibleIndex = 5;
+ this.gvMx_scrapTime.Width = 94;
+ //
+ // repositoryItemDateEdit1
+ //
+ this.repositoryItemDateEdit1.AutoHeight = false;
+ this.repositoryItemDateEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.repositoryItemDateEdit1.CalendarTimeEditing = DevExpress.Utils.DefaultBoolean.True;
+ this.repositoryItemDateEdit1.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.repositoryItemDateEdit1.CalendarView = DevExpress.XtraEditors.Repository.CalendarView.Vista;
+ this.repositoryItemDateEdit1.Mask.EditMask = "yyyy-MM-dd HH:mm:ss";
+ this.repositoryItemDateEdit1.Mask.UseMaskAsDisplayFormat = true;
+ this.repositoryItemDateEdit1.Name = "repositoryItemDateEdit1";
+ this.repositoryItemDateEdit1.VistaDisplayMode = DevExpress.Utils.DefaultBoolean.True;
+ //
+ // gvMx_inStockFlag
+ //
+ this.gvMx_inStockFlag.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_inStockFlag.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_inStockFlag.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_inStockFlag.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_inStockFlag.Caption = "鍦ㄥ簱鏍囪瘑";
+ this.gvMx_inStockFlag.ColumnEdit = this.repositoryItemCheckEdit1;
+ this.gvMx_inStockFlag.FieldName = "inStockFlag";
+ this.gvMx_inStockFlag.MinWidth = 50;
+ this.gvMx_inStockFlag.Name = "gvMx_inStockFlag";
+ this.gvMx_inStockFlag.Tag = "edit";
+ this.gvMx_inStockFlag.Visible = true;
+ this.gvMx_inStockFlag.VisibleIndex = 6;
+ this.gvMx_inStockFlag.Width = 60;
+ //
+ // gvMx_location
+ //
+ this.gvMx_location.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_location.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_location.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_location.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_location.Caption = "搴撲綅";
+ this.gvMx_location.FieldName = "location";
+ this.gvMx_location.MinWidth = 50;
+ this.gvMx_location.Name = "gvMx_location";
+ this.gvMx_location.Tag = "edit";
+ this.gvMx_location.Visible = true;
+ this.gvMx_location.VisibleIndex = 8;
+ this.gvMx_location.Width = 94;
+ //
+ // gvMx_fixedLocation
+ //
+ this.gvMx_fixedLocation.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_fixedLocation.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_fixedLocation.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_fixedLocation.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_fixedLocation.Caption = "鍥哄畾搴撲綅";
+ this.gvMx_fixedLocation.FieldName = "fixedLocation";
+ this.gvMx_fixedLocation.MinWidth = 50;
+ this.gvMx_fixedLocation.Name = "gvMx_fixedLocation";
+ this.gvMx_fixedLocation.Tag = "edit";
+ this.gvMx_fixedLocation.Visible = true;
+ this.gvMx_fixedLocation.VisibleIndex = 9;
+ this.gvMx_fixedLocation.Width = 94;
+ //
+ // gvMx_moldStatus
+ //
+ this.gvMx_moldStatus.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_moldStatus.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_moldStatus.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_moldStatus.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_moldStatus.Caption = "妯″叿鐘舵��";
+ this.gvMx_moldStatus.FieldName = "moldStatus";
+ this.gvMx_moldStatus.MinWidth = 50;
+ this.gvMx_moldStatus.Name = "gvMx_moldStatus";
+ this.gvMx_moldStatus.Tag = "edit";
+ this.gvMx_moldStatus.Visible = true;
+ this.gvMx_moldStatus.VisibleIndex = 10;
+ this.gvMx_moldStatus.Width = 94;
+ //
+ // gvMx_cavityCount
+ //
+ this.gvMx_cavityCount.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_cavityCount.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_cavityCount.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_cavityCount.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_cavityCount.Caption = "妯$┐鏁�";
+ this.gvMx_cavityCount.FieldName = "cavityCount";
+ this.gvMx_cavityCount.MinWidth = 50;
+ this.gvMx_cavityCount.Name = "gvMx_cavityCount";
+ this.gvMx_cavityCount.Tag = "edit";
+ this.gvMx_cavityCount.Visible = true;
+ this.gvMx_cavityCount.VisibleIndex = 11;
+ this.gvMx_cavityCount.Width = 60;
+ //
+ // gvMx_openCloseCount
+ //
+ this.gvMx_openCloseCount.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_openCloseCount.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_openCloseCount.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_openCloseCount.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_openCloseCount.Caption = "寮�鍚堟ā鏁�";
+ this.gvMx_openCloseCount.FieldName = "openCloseCount";
+ this.gvMx_openCloseCount.MinWidth = 50;
+ this.gvMx_openCloseCount.Name = "gvMx_openCloseCount";
+ this.gvMx_openCloseCount.Tag = "edit";
+ this.gvMx_openCloseCount.Visible = true;
+ this.gvMx_openCloseCount.VisibleIndex = 12;
+ this.gvMx_openCloseCount.Width = 80;
+ //
+ // gvMx_manufacturer
+ //
+ this.gvMx_manufacturer.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_manufacturer.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_manufacturer.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_manufacturer.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_manufacturer.Caption = "鍘傚晢";
+ this.gvMx_manufacturer.FieldName = "manufacturer";
+ this.gvMx_manufacturer.MinWidth = 50;
+ this.gvMx_manufacturer.Name = "gvMx_manufacturer";
+ this.gvMx_manufacturer.Tag = "edit";
+ this.gvMx_manufacturer.Visible = true;
+ this.gvMx_manufacturer.VisibleIndex = 13;
+ this.gvMx_manufacturer.Width = 94;
+ //
+ // gvMx_maintainWarnCount
+ //
+ this.gvMx_maintainWarnCount.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_maintainWarnCount.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_maintainWarnCount.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_maintainWarnCount.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_maintainWarnCount.Caption = "淇濆吇棰勮鏁伴噺";
+ this.gvMx_maintainWarnCount.FieldName = "maintainWarnCount";
+ this.gvMx_maintainWarnCount.MinWidth = 50;
+ this.gvMx_maintainWarnCount.Name = "gvMx_maintainWarnCount";
+ this.gvMx_maintainWarnCount.Tag = "edit";
+ this.gvMx_maintainWarnCount.Visible = true;
+ this.gvMx_maintainWarnCount.VisibleIndex = 14;
+ this.gvMx_maintainWarnCount.Width = 94;
+ //
+ // gvMx_maintainWarnDays
+ //
+ this.gvMx_maintainWarnDays.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_maintainWarnDays.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_maintainWarnDays.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_maintainWarnDays.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_maintainWarnDays.Caption = "淇濆吇棰勮澶╂暟";
+ this.gvMx_maintainWarnDays.FieldName = "maintainWarnDays";
+ this.gvMx_maintainWarnDays.MinWidth = 50;
+ this.gvMx_maintainWarnDays.Name = "gvMx_maintainWarnDays";
+ this.gvMx_maintainWarnDays.Tag = "edit";
+ this.gvMx_maintainWarnDays.Visible = true;
+ this.gvMx_maintainWarnDays.VisibleIndex = 15;
+ this.gvMx_maintainWarnDays.Width = 94;
+ //
+ // gvMx_remark
+ //
+ this.gvMx_remark.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_remark.AppearanceCell.Options.UseForeColor = true;
+ this.gvMx_remark.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.gvMx_remark.AppearanceHeader.Options.UseForeColor = true;
+ this.gvMx_remark.Caption = "澶囨敞鏍�";
+ this.gvMx_remark.FieldName = "remark";
+ this.gvMx_remark.MinWidth = 50;
+ this.gvMx_remark.Name = "gvMx_remark";
+ this.gvMx_remark.Tag = "edit";
+ this.gvMx_remark.Visible = true;
+ this.gvMx_remark.VisibleIndex = 16;
+ this.gvMx_remark.Width = 94;
+ //
+ // gvMxDel
+ //
+ this.gvMxDel.Caption = "绉诲嚭";
+ this.gvMxDel.ColumnEdit = this.repositoryItemButtonEdit1;
+ this.gvMxDel.MinWidth = 25;
+ this.gvMxDel.Name = "gvMxDel";
+ this.gvMxDel.Visible = true;
+ this.gvMxDel.VisibleIndex = 7;
+ this.gvMxDel.Width = 99;
+ //
+ // 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);
+ //
+ // repositoryItemCheckEdit1
+ //
+ this.repositoryItemCheckEdit1.AutoHeight = false;
+ this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
+ //
+ // bandedGridView1
+ //
+ this.bandedGridView1.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] {
+ this.gridBand1});
+ this.bandedGridView1.DetailHeight = 450;
+ this.bandedGridView1.GridControl = this.gcMx1;
+ this.bandedGridView1.Name = "bandedGridView1";
+ //
+ // gridBand1
+ //
+ this.gridBand1.Caption = "gridBand1";
+ this.gridBand1.MinWidth = 11;
+ this.gridBand1.Name = "gridBand1";
+ this.gridBand1.VisibleIndex = 0;
+ this.gridBand1.Width = 80;
+ //
+ // gvMx1lastupdateBy
+ //
+ this.gvMx1lastupdateBy.Name = "gvMx1lastupdateBy";
+ //
+ // gvMx1lastupdateDate
+ //
+ this.gvMx1lastupdateDate.Name = "gvMx1lastupdateDate";
+ //
+ // Frm_MesMoldArchives
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(1266, 682);
+ this.Controls.Add(this.xtraTabControl1);
+ this.Controls.Add(this.toolBarMenu1);
+ this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.Name = "Frm_MesMoldArchives";
+ this.Text = "娉ㄥ妗f妯″叿";
+ ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
+ this.xtraTabControl1.ResumeLayout(false);
+ this.xtraTabPage1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.split1.Panel1)).EndInit();
+ this.split1.Panel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.split1.Panel2)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.split1)).EndInit();
+ this.split1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEditMain)).EndInit();
+ this.xtraTabPage3.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel1)).EndInit();
+ this.splitMx1.Panel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel2)).EndInit();
+ this.splitMx1.Panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitMx1)).EndInit();
+ this.splitMx1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.layoutMx1)).EndInit();
+ this.layoutMx1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_description.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.chk_mustSpecifyLoc.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_typeName.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_moldType.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit();
+ this.tabMx.ResumeLayout(false);
+ this.tabMxPage1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bandedGridView1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+ #endregion
+ private UserControl.UcToolBarMenu toolBarMenu1;
+ private DevExpress.XtraTab.XtraTabControl xtraTabControl1;
+ private DevExpress.XtraTab.XtraTabPage xtraTabPage1;
+ private DevExpress.XtraEditors.SplitContainerControl split1;
+ private DevExpress.XtraGrid.GridControl gcMain1;
+ private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_moldType;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_typeName;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_createBy;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_createDate;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_mustSpecifyLoc;
+ private UserControls.Data.UcPageBar pageBar1;
+ private DevExpress.XtraTab.XtraTabPage xtraTabPage3;
+ private DevExpress.XtraEditors.SplitContainerControl splitMx1;
+ private DevExpress.XtraLayout.LayoutControl layoutMx1;
+ private DevExpress.XtraLayout.LayoutControlGroup Root;
+ private System.Windows.Forms.Label lbGuid;
+ private DevExpress.XtraEditors.CheckEdit chk_mustSpecifyLoc;
+ private DevExpress.XtraEditors.TextEdit txt_createBy;
+ private DevExpress.XtraEditors.TextEdit txt_description;
+ private DevExpress.XtraEditors.TextEdit txt_typeName;
+ private DevExpress.XtraEditors.TextEdit txt_moldType;
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
+ private DevExpress.XtraTab.XtraTabControl tabMx;
+ private DevExpress.XtraTab.XtraTabPage tabMxPage1;
+ private DevExpress.XtraGrid.GridControl gcMx1;
+ private DevExpress.XtraGrid.Views.Grid.GridView gvMx1;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx1guid;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_moldCode;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_moldName;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_moldSpec;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_scrapFlag;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_scrapper;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_scrapTime;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_inStockFlag;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_location;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_fixedLocation;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_moldStatus;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_cavityCount;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_openCloseCount;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_manufacturer;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_maintainWarnCount;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_maintainWarnDays;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx_remark;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx1lastupdateBy;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx1lastupdateDate;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMxDel;
+ private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
+ private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit repositoryItemCheckEdit1;
+ private DevExpress.XtraEditors.Repository.RepositoryItemDateEdit repositoryItemDateEdit1;
+ private DevExpress.Utils.ToolTipController tips;
+ private DevExpress.XtraGrid.Columns.GridColumn gridColumn8;
+ private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit repositoryItemCheckEditMain;
+
+ private DevExpress.XtraGrid.Views.BandedGrid.BandedGridView bandedGridView1;
+ private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBand1;
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9;
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
+ }
+}
diff --git a/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldArchives.cs b/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldArchives.cs
new file mode 100644
index 0000000..45afdf9
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldArchives.cs
@@ -0,0 +1,452 @@
+using DevExpress.XtraEditors;
+using DevExpress.XtraEditors.Controls;
+using DevExpress.XtraGrid.Views.Grid;
+using Gs.DevApp.DevFrm.Rpt;
+using Gs.DevApp.ToolBox;
+using Gs.DevApp.UserControl;
+using Gs.DevApp.Entity;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Linq;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using Gs.DevApp.DevFrm.MJGL.Models;
+
+namespace Gs.DevApp.DevFrm.MJGL
+{
+ public partial class Frm_MesMoldArchives : XtraForm
+ {
+ private List<FilterEntity> _filterList = new List<FilterEntity>();
+ private readonly string _webServiceName = "MesMoldArchivesManager/";
+
+ public Frm_MesMoldArchives()
+ {
+ InitializeComponent();
+ toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick;
+ toolBarMenu1.btnSaveClick += ToolBarMenu1_btnSaveClick;
+ toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick;
+ toolBarMenu1.btnAddClick += ToolBarMenu1_btnAddClick;
+ toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick;
+ toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
+ this.toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick1;
+ this.toolBarMenu1.getXmlConfig();
+ Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
+ Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", (value) =>
+ {
+ Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0);
+ }, tips);
+ Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) =>
+ {
+ getModel(value);
+ }, (value) =>
+ {
+ getPageList(this.pageBar1.CurrentPage);
+ }, lbGuid);
+ getPageList(1);
+ pageBar1.PagerEvent += PageBar1_PagerEvent;
+ }
+
+ private void GridView1_ColumnFilterChanged(object sender, EventArgs e)
+ {
+ _filterList = Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1);
+ 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, this.GetType().FullName);
+ frm.UpdateParent += Frm_UpdateParent;
+ frm.ShowDialog();
+ }
+
+ /// <summary>
+ /// 鏌ヨ鍥炶皟
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void Frm_UpdateParent(object sender, UpdateParentEventArgs e)
+ {
+ _filterList = e.FilterList;
+ getPageList(1);
+ }
+
+ /// <summary>
+ /// 鍙栨秷浜嬩欢
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void ToolBarMenu1_btnEscClick(object sender, EventArgs e)
+ {
+ Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 1);
+ }
+
+ /// <summary>
+ /// 鍒锋柊浜嬩欢
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e)
+ {
+ if (xtraTabControl1.SelectedTabPageIndex == 1)
+ getModel(lbGuid.Text.Trim());
+ else
+ {
+ getPageList(this.pageBar1.CurrentPage);
+ }
+ }
+
+ /// <summary>
+ /// 淇敼浜嬩欢
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void ToolBarMenu1_btnEdtClick(object sender, EventArgs e)
+ {
+ toolBarMenu1.currentAction = "edit";
+ string rowGuid, rowName;
+ // Note: txt_moldType corresponds to the first identifying column usually, adapting based on original code logic
+ (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
+ lbGuid, txt_moldType, gridView1);
+ if (string.IsNullOrEmpty(rowGuid))
+ {
+ MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
+ return;
+ }
+ Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 3);
+ if (xtraTabControl1.SelectedTabPageIndex == 1)
+ {
+ getModel(rowGuid);
+ }
+ else
+ {
+ List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
+ gvList.Add(gvMx1);
+ UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, true, gvList);
+ }
+ }
+
+
+ /// <summary>
+ /// 鏂板浜嬩欢
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void ToolBarMenu1_btnAddClick(object sender, EventArgs e)
+ {
+ lbGuid.Text = "";
+ Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 4);
+ var gridViews = new List<GridView>();
+ gridViews.Add(gvMx1);
+ UtilityHelper.CleanValueByControl(this.layoutMx1.Controls, true, gridViews);
+ UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
+ gvMx1.BestFitColumns();
+ gvMx1.OptionsView.NewItemRowPosition = NewItemRowPosition.Bottom;
+ gvMx1.OptionsBehavior.Editable = true;
+ gvMx1.OptionsBehavior.ReadOnly = false;
+ }
+
+ /// <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_moldType.Text.Trim()))
+ {
+ MsgHelper.Warning("妯″叿绫诲瀷涓嶈兘涓虹┖锛�");
+ txt_moldType.Focus();
+ return;
+ }
+
+ if (string.IsNullOrEmpty(txt_typeName.Text.Trim()))
+ {
+ MsgHelper.Warning("绫诲瀷鍚嶇О涓嶈兘涓虹┖锛�");
+ txt_typeName.Focus();
+ return;
+ }
+ gvMx1.CloseEditor();
+ gvMx1.UpdateCurrentRow();
+ var lst = new List<MesMoldArchivesMx>();
+ for (var i = 0; i < gvMx1.DataRowCount; i++)
+ {
+ var row = gvMx1.GetDataRow(i);
+ if (row != null)
+ {
+ if (string.IsNullOrEmpty(row["moldCode"].ToString()))
+ {
+ MsgHelper.ShowError("妯″叿缂栫爜涓嶈兘涓虹┖锛�");
+ return;
+ }
+ if (string.IsNullOrEmpty(row["moldName"].ToString()))
+ {
+ MsgHelper.ShowError("妯″叿鍚嶇О涓嶈兘涓虹┖锛�");
+ return;
+ }
+ lst.Add(new MesMoldArchivesMx
+ {
+ Guid = UtilityHelper.ToGuid(row["guid"].ToString()),
+ MoldCode = row["moldCode"].ToString(),
+ MoldName = row["moldName"].ToString(),
+ MoldSpec = row["moldSpec"].ToString(),
+ ScrapFlag = row["scrapFlag"] == DBNull.Value ? false : Convert.ToBoolean(row["scrapFlag"]),
+ Scrapper = row["scrapper"].ToString(),
+ ScrapTime = row["scrapTime"] == DBNull.Value ? (DateTime?)null : Convert.ToDateTime(row["scrapTime"]),
+ InStockFlag = row["inStockFlag"] == DBNull.Value ? false : Convert.ToBoolean(row["inStockFlag"]),
+ Location = row["location"].ToString(),
+ FixedLocation = row["fixedLocation"].ToString(),
+ MoldStatus = row["moldStatus"].ToString(),
+ CavityCount = row["cavityCount"] == DBNull.Value ? 0 : Convert.ToInt32(row["cavityCount"]),
+ OpenCloseCount = row["openCloseCount"] == DBNull.Value ? 0 : Convert.ToInt32(row["openCloseCount"]),
+ Manufacturer = row["manufacturer"].ToString(),
+ MaintainWarnCount = row["maintainWarnCount"] == DBNull.Value ? 0 : Convert.ToInt32(row["maintainWarnCount"]),
+ MaintainWarnDays = row["maintainWarnDays"] == DBNull.Value ? 0 : Convert.ToInt32(row["maintainWarnDays"]),
+ Remark = row["remark"].ToString()
+ });
+ }
+ }
+ var _obj = new MesMoldArchives
+ {
+ Guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓,
+ MoldType = txt_moldType.Text,
+ TypeName = txt_typeName.Text,
+ MustSpecifyLoc = chk_mustSpecifyLoc.Checked,
+ 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.outGuid;
+ toolBarMenu1.isSetBtn = true;
+ var gridViews = new List<GridView>();
+ gridViews.Add(gvMx1);
+ UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, false, gridViews);
+ toolBarMenu1.currentAction = "";
+ Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 6);
+ }
+ }
+ catch (Exception ex)
+ {
+ MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ }
+ }
+
+ /// <summary>
+ /// </summary>
+ /// <param name="curPage">绗嚑椤�</param>
+ /// <param name="pageSize">姣忛〉鍑犳潯</param>
+ private void getPageList(int curPage)
+ {
+ gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList);
+ var pgq = new PageQueryModel(curPage,
+ this.pageBar1.RowsCount,
+ "a.mold_type", "asc",
+ "", _sbSqlWhere.ToString());
+ var json = JsonConvert.SerializeObject(pgq);
+ try
+ {
+ var strReturn = UtilityHelper.HttpPost("",
+ _webServiceName + "GetListPage", json);
+ var dd = UtilityHelper.ReturnToTablePage(strReturn);
+ if (dd.rtnCode > 0)
+ {
+ DataTable dt = dd.rtnData.list;
+ gcMain1.BindingContext = new BindingContext();
+ gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged;
+ if (dt.Rows.Count > 0)
+ {
+ gcMain1.DataSource = dt;
+ gcMain1.ForceInitialize();
+ gridView1.BestFitColumns();
+ Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1);
+ }
+ else
+ UtilityHelper.SetDefaultTable(gcMain1, gridView1);
+ gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged;
+ pageBar1.TotalPages = dd.rtnData.pages;//鎬婚〉
+ pageBar1.CurrentPage = curPage;//褰撳墠椤�
+ pageBar1.RecordCount = dd.rtnData.total;//鎬昏褰曟暟
+ }
+ else
+ {
+ ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + dd.rtnMsg);
+ }
+ }
+ catch (Exception ex)
+ {
+ 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(this.layoutMx1.Controls, dy, isEdit, gvList);
+ UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, isEdit, gvList);
+ var _job = JObject.Parse(strJson);
+ var _rtnObj = _job["rtnData"] as JObject;
+ 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();
+ gvMx1.BestFitColumns();
+ }
+ else
+ {
+ UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
+ }
+ gvMx1.OptionsBehavior.Editable = isEdit;
+ gvMx1.OptionsBehavior.ReadOnly = !isEdit;
+ gvMx1.OptionsView.NewItemRowPosition = isEdit ? NewItemRowPosition.Bottom : NewItemRowPosition.None;
+ }
+ 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 + "DeleteModelOrMx",
+ 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="sender"></param>
+ /// <param name="e"></param>
+ private void ToolBarMenu1_btnDelClick1(object sender, EventArgs e)
+ {
+ string rowGuid, rowName;
+ (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_moldType, gridView1);
+ if (string.IsNullOrEmpty(rowGuid))
+ {
+ ToolBox.MsgHelper.ShowError("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
+ return;
+ }
+ if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾鍒犻櫎鍚楋紵"))
+ return;
+ var _obj = new
+ {
+ guid = rowGuid,
+ mxGuid = Guid.Empty.ToString(),
+ };
+ try
+ {
+ var strJson = UtilityHelper.HttpPost("",
+ _webServiceName + "DeleteModelOrMx",
+ JsonConvert.SerializeObject(_obj));
+ var _rtn = UtilityHelper.ReturnToDynamic(strJson);
+ if (_rtn.rtnCode > 0)
+ {
+ MsgHelper.ShowInformation("鎻愮ず锛�" + _rtn.rtnMsg);
+ if (xtraTabControl1.SelectedTabPageIndex == 0)
+ { }
+ else
+ Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 2);
+ getPageList(this.pageBar1.CurrentPage);
+ }
+ else
+ MsgHelper.ShowError("鎻愮ず锛�" + _rtn.rtnMsg);
+ }
+ catch (Exception ex)
+ {
+ ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + ex.Message);
+ }
+ }
+
+ }
+}
diff --git a/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldArchives.resx b/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldArchives.resx
new file mode 100644
index 0000000..a4826a3
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldArchives.resx
@@ -0,0 +1,123 @@
+<?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>
+ <metadata name="tips.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <value>17, 17</value>
+ </metadata>
+</root>
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldManagement.Designer.cs b/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldManagement.Designer.cs
new file mode 100644
index 0000000..2801955
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldManagement.Designer.cs
@@ -0,0 +1,926 @@
+namespace Gs.DevApp.DevFrm.MJGL
+{
+ partial class Frm_MesMoldManagement
+ {
+ private System.ComponentModel.IContainer components = null;
+
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null)) components.Dispose();
+ base.Dispose(disposing);
+ }
+
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ DevExpress.XtraLayout.ColumnDefinition columnDefinition5 = new DevExpress.XtraLayout.ColumnDefinition();
+ DevExpress.XtraLayout.ColumnDefinition columnDefinition6 = new DevExpress.XtraLayout.ColumnDefinition();
+ DevExpress.XtraLayout.ColumnDefinition columnDefinition7 = new DevExpress.XtraLayout.ColumnDefinition();
+ DevExpress.XtraLayout.ColumnDefinition columnDefinition8 = new DevExpress.XtraLayout.ColumnDefinition();
+ DevExpress.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition();
+ DevExpress.XtraLayout.RowDefinition rowDefinition5 = new DevExpress.XtraLayout.RowDefinition();
+ DevExpress.XtraLayout.RowDefinition rowDefinition6 = new DevExpress.XtraLayout.RowDefinition();
+ this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu();
+ this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
+ this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
+ this.split1 = new DevExpress.XtraEditors.SplitContainerControl();
+ this.gcMain1 = new DevExpress.XtraGrid.GridControl();
+ this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
+ this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_mold_code = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_item_no = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_item_name = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_item_model = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_pack_qty = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_capacity = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_status = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_create_by = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_create_date = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_update_time = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_remarks = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_item_id = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.pageBar1 = new UserControls.Data.UcPageBar();
+ this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
+ this.splitMx1 = new DevExpress.XtraEditors.SplitContainerControl();
+ this.layoutMx1 = new DevExpress.XtraLayout.LayoutControl();
+ this.lbGuid = new System.Windows.Forms.Label();
+ this.txt_moldCode = new DevExpress.XtraEditors.SearchLookUpEdit();
+ this.lookMoldView = new DevExpress.XtraGrid.Views.Grid.GridView();
+ this.txt_itemCode = new DevExpress.XtraEditors.ButtonEdit();
+ this.txt_status = new DevExpress.XtraEditors.TextEdit();
+ this.txt_description = new DevExpress.XtraEditors.TextEdit();
+ this.txt_moldName = new DevExpress.XtraEditors.TextEdit();
+ this.txt_moldSpec = new DevExpress.XtraEditors.TextEdit();
+ this.txt_itemName = new DevExpress.XtraEditors.TextEdit();
+ this.txt_itemModel = new DevExpress.XtraEditors.TextEdit();
+ this.txt_itemId = new DevExpress.XtraEditors.ButtonEdit();
+ this.txt_packQty = new DevExpress.XtraEditors.TextEdit();
+ this.txt_capacity = new DevExpress.XtraEditors.TextEdit();
+ this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
+ this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
+ this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
+ this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
+ this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
+ this.layoutItem_moldName = new DevExpress.XtraLayout.LayoutControlItem();
+ this.layoutItem_itemName = new DevExpress.XtraLayout.LayoutControlItem();
+ this.layoutItem_itemModel = new DevExpress.XtraLayout.LayoutControlItem();
+ this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
+ this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
+ this.layoutItem_moldSpec = new DevExpress.XtraLayout.LayoutControlItem();
+ this.layoutItem_packQty = new DevExpress.XtraLayout.LayoutControlItem();
+ this.layoutItem_capacity = new DevExpress.XtraLayout.LayoutControlItem();
+ this.tips = new DevExpress.Utils.ToolTipController(this.components);
+ this.lookItem = new DevExpress.XtraEditors.SearchLookUpEdit();
+ this.lookItemView = new DevExpress.XtraGrid.Views.Grid.GridView();
+ this.colItemNo = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.colItemName = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.colItemModel = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.colItemId = new DevExpress.XtraGrid.Columns.GridColumn();
+ ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
+ this.xtraTabControl1.SuspendLayout();
+ this.xtraTabPage1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.split1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.split1.Panel1)).BeginInit();
+ this.split1.Panel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.split1.Panel2)).BeginInit();
+ this.split1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
+ this.xtraTabPage2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitMx1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel1)).BeginInit();
+ this.splitMx1.Panel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel2)).BeginInit();
+ this.splitMx1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutMx1)).BeginInit();
+ this.layoutMx1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_moldCode.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.lookMoldView)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_itemCode.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_status.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_description.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_moldName.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_moldSpec.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_itemName.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_itemModel.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_itemId.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_packQty.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_capacity.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutItem_moldName)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutItem_itemName)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutItem_itemModel)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutItem_moldSpec)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutItem_packQty)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutItem_capacity)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.lookItem.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.lookItemView)).BeginInit();
+ this.SuspendLayout();
+ //
+ // toolBarMenu1
+ //
+ this.toolBarMenu1.chkParameter = null;
+ this.toolBarMenu1.currentAction = null;
+ this.toolBarMenu1.defaultActions = 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.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.toolBarMenu1.Name = "toolBarMenu1";
+ this.toolBarMenu1.rptParameter = null;
+ this.toolBarMenu1.Size = new System.Drawing.Size(1371, 95);
+ this.toolBarMenu1.TabIndex = 1;
+ this.toolBarMenu1.xlsInService = null;
+ this.toolBarMenu1.xlsOutParameter = null;
+ //
+ // xtraTabControl1
+ //
+ this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.xtraTabControl1.Location = new System.Drawing.Point(0, 95);
+ this.xtraTabControl1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.xtraTabControl1.Name = "xtraTabControl1";
+ this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
+ this.xtraTabControl1.Size = new System.Drawing.Size(1371, 720);
+ this.xtraTabControl1.TabIndex = 0;
+ this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
+ this.xtraTabPage1,
+ this.xtraTabPage2});
+ //
+ // xtraTabPage1
+ //
+ this.xtraTabPage1.Controls.Add(this.split1);
+ this.xtraTabPage1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.xtraTabPage1.Name = "xtraTabPage1";
+ this.xtraTabPage1.Size = new System.Drawing.Size(1369, 688);
+ this.xtraTabPage1.Text = "鏁版嵁鍒楄〃";
+ //
+ // split1
+ //
+ this.split1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.split1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2;
+ this.split1.Horizontal = false;
+ this.split1.Location = new System.Drawing.Point(0, 0);
+ this.split1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.split1.Name = "split1";
+ //
+ // split1.Panel1
+ //
+ this.split1.Panel1.Controls.Add(this.gcMain1);
+ this.split1.Panel1.Controls.Add(this.pageBar1);
+ this.split1.Panel1.Text = "Panel1";
+ //
+ // split1.Panel2
+ //
+ this.split1.Panel2.Text = "Panel2";
+ this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True;
+ this.split1.Size = new System.Drawing.Size(1369, 688);
+ this.split1.SplitterPosition = 0;
+ this.split1.TabIndex = 0;
+ //
+ // gcMain1
+ //
+ this.gcMain1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.gcMain1.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.gcMain1.Location = new System.Drawing.Point(0, 0);
+ this.gcMain1.MainView = this.gridView1;
+ this.gcMain1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.gcMain1.Name = "gcMain1";
+ this.gcMain1.Size = new System.Drawing.Size(1369, 628);
+ this.gcMain1.TabIndex = 0;
+ this.gcMain1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
+ this.gridView1});
+ //
+ // gridView1
+ //
+ this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+ this.gv_guid,
+ this.gv_mold_code,
+ this.gv_item_no,
+ this.gv_item_name,
+ this.gv_item_model,
+ this.gv_pack_qty,
+ this.gv_capacity,
+ this.gv_status,
+ this.gv_create_by,
+ this.gv_create_date,
+ this.gv_update_time,
+ this.gv_remarks,
+ this.gv_item_id});
+ this.gridView1.DetailHeight = 420;
+ this.gridView1.GridControl = this.gcMain1;
+ this.gridView1.Name = "gridView1";
+ this.gridView1.OptionsCustomization.AllowGroup = false;
+ this.gridView1.OptionsView.ColumnAutoWidth = false;
+ this.gridView1.OptionsView.ShowAutoFilterRow = true;
+ this.gridView1.OptionsView.ShowGroupPanel = false;
+ //
+ // gv_guid
+ //
+ this.gv_guid.Caption = "涓婚敭";
+ this.gv_guid.FieldName = "guid";
+ this.gv_guid.MinWidth = 23;
+ this.gv_guid.Name = "gv_guid";
+ this.gv_guid.OptionsColumn.AllowEdit = false;
+ this.gv_guid.Tag = "guid";
+ this.gv_guid.Width = 86;
+ //
+ // gv_mold_code
+ //
+ this.gv_mold_code.Caption = "妯″叿缂栫爜";
+ this.gv_mold_code.FieldName = "moldCode";
+ this.gv_mold_code.MinWidth = 23;
+ this.gv_mold_code.Name = "gv_mold_code";
+ this.gv_mold_code.OptionsColumn.AllowEdit = false;
+ this.gv_mold_code.Tag = "mold_code";
+ this.gv_mold_code.Visible = true;
+ this.gv_mold_code.VisibleIndex = 0;
+ this.gv_mold_code.Width = 120;
+ //
+ // gv_item_no
+ //
+ this.gv_item_no.Caption = "鐗╂枡缂栫爜";
+ this.gv_item_no.FieldName = "itemNo";
+ this.gv_item_no.MinWidth = 23;
+ this.gv_item_no.Name = "gv_item_no";
+ this.gv_item_no.OptionsColumn.AllowEdit = false;
+ this.gv_item_no.Tag = "item_no";
+ this.gv_item_no.Visible = true;
+ this.gv_item_no.VisibleIndex = 1;
+ this.gv_item_no.Width = 140;
+ //
+ // gv_item_name
+ //
+ this.gv_item_name.Caption = "鐗╂枡鍚嶇О";
+ this.gv_item_name.FieldName = "itemName";
+ this.gv_item_name.MinWidth = 25;
+ this.gv_item_name.Name = "gv_item_name";
+ this.gv_item_name.Visible = true;
+ this.gv_item_name.VisibleIndex = 3;
+ this.gv_item_name.Width = 94;
+ //
+ // gv_item_model
+ //
+ this.gv_item_model.Caption = "瑙勬牸鍨嬪彿";
+ this.gv_item_model.FieldName = "itemModel";
+ this.gv_item_model.MinWidth = 25;
+ this.gv_item_model.Name = "gv_item_model";
+ this.gv_item_model.Visible = true;
+ this.gv_item_model.VisibleIndex = 4;
+ this.gv_item_model.Width = 94;
+ //
+ // gv_pack_qty
+ //
+ this.gv_pack_qty.Caption = "鍖呰鏁伴噺";
+ this.gv_pack_qty.FieldName = "packQty";
+ this.gv_pack_qty.MinWidth = 23;
+ this.gv_pack_qty.Name = "gv_pack_qty";
+ this.gv_pack_qty.OptionsColumn.AllowEdit = false;
+ this.gv_pack_qty.Tag = "cavity_qty";
+ this.gv_pack_qty.Visible = true;
+ this.gv_pack_qty.VisibleIndex = 2;
+ this.gv_pack_qty.Width = 80;
+ //
+ // gv_capacity
+ //
+ this.gv_capacity.Caption = "浜ц兘(姣忓皬鏃�)";
+ this.gv_capacity.FieldName = "capacity";
+ this.gv_capacity.MinWidth = 23;
+ this.gv_capacity.Name = "gv_capacity";
+ this.gv_capacity.OptionsColumn.AllowEdit = false;
+ this.gv_capacity.Tag = "capacity";
+ this.gv_capacity.Visible = true;
+ this.gv_capacity.VisibleIndex = 5;
+ this.gv_capacity.Width = 120;
+ //
+ // gv_status
+ //
+ this.gv_status.Caption = "鐘舵��";
+ this.gv_status.FieldName = "status";
+ this.gv_status.MinWidth = 23;
+ this.gv_status.Name = "gv_status";
+ this.gv_status.OptionsColumn.AllowEdit = false;
+ this.gv_status.Tag = "status";
+ this.gv_status.UnboundExpression = "Bit绫诲瀷";
+ this.gv_status.Visible = true;
+ this.gv_status.VisibleIndex = 6;
+ this.gv_status.Width = 86;
+ //
+ // gv_create_by
+ //
+ this.gv_create_by.Caption = "鍒涘缓浜�";
+ this.gv_create_by.FieldName = "createBy";
+ this.gv_create_by.MinWidth = 23;
+ this.gv_create_by.Name = "gv_create_by";
+ this.gv_create_by.OptionsColumn.AllowEdit = false;
+ this.gv_create_by.Tag = "create_by";
+ this.gv_create_by.Visible = true;
+ this.gv_create_by.VisibleIndex = 7;
+ this.gv_create_by.Width = 86;
+ //
+ // gv_create_date
+ //
+ this.gv_create_date.Caption = "鍒涘缓鏃堕棿";
+ this.gv_create_date.FieldName = "createDate";
+ this.gv_create_date.MinWidth = 23;
+ this.gv_create_date.Name = "gv_create_date";
+ this.gv_create_date.OptionsColumn.AllowEdit = false;
+ this.gv_create_date.Tag = "create_date";
+ this.gv_create_date.UnboundExpression = "鏃堕棿绫诲瀷";
+ this.gv_create_date.Visible = true;
+ this.gv_create_date.VisibleIndex = 8;
+ this.gv_create_date.Width = 120;
+ //
+ // gv_update_time
+ //
+ this.gv_update_time.Caption = "鏇存柊鏃堕棿";
+ this.gv_update_time.FieldName = "updateTime";
+ this.gv_update_time.MinWidth = 23;
+ this.gv_update_time.Name = "gv_update_time";
+ this.gv_update_time.OptionsColumn.AllowEdit = false;
+ this.gv_update_time.Tag = "update_time";
+ this.gv_update_time.UnboundExpression = "鏃堕棿绫诲瀷";
+ this.gv_update_time.Visible = true;
+ this.gv_update_time.VisibleIndex = 9;
+ this.gv_update_time.Width = 120;
+ //
+ // gv_remarks
+ //
+ this.gv_remarks.Caption = "澶囨敞";
+ this.gv_remarks.FieldName = "remarks";
+ this.gv_remarks.MinWidth = 23;
+ this.gv_remarks.Name = "gv_remarks";
+ this.gv_remarks.OptionsColumn.AllowEdit = false;
+ this.gv_remarks.Tag = "remarks";
+ this.gv_remarks.Visible = true;
+ this.gv_remarks.VisibleIndex = 10;
+ this.gv_remarks.Width = 160;
+ //
+ // gv_item_id
+ //
+ this.gv_item_id.Caption = "鐗╂枡ID";
+ this.gv_item_id.FieldName = "itemId";
+ this.gv_item_id.MinWidth = 23;
+ this.gv_item_id.Name = "gv_item_id";
+ this.gv_item_id.OptionsColumn.AllowEdit = false;
+ this.gv_item_id.Tag = "item_id";
+ this.gv_item_id.Width = 100;
+ //
+ // pageBar1
+ //
+ this.pageBar1.CurrentPage = 1;
+ this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.pageBar1.Location = new System.Drawing.Point(0, 628);
+ this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.pageBar1.Name = "pageBar1";
+ this.pageBar1.RecordCount = 0;
+ this.pageBar1.Size = new System.Drawing.Size(1369, 48);
+ this.pageBar1.TabIndex = 1;
+ this.pageBar1.TotalPages = 0;
+ //
+ // xtraTabPage2
+ //
+ this.xtraTabPage2.Controls.Add(this.splitMx1);
+ this.xtraTabPage2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.xtraTabPage2.Name = "xtraTabPage2";
+ this.xtraTabPage2.Size = new System.Drawing.Size(1369, 688);
+ this.xtraTabPage2.Text = "鏁版嵁璇︾粏";
+ //
+ // splitMx1
+ //
+ this.splitMx1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitMx1.Horizontal = false;
+ this.splitMx1.Location = new System.Drawing.Point(0, 0);
+ this.splitMx1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.splitMx1.Name = "splitMx1";
+ //
+ // splitMx1.Panel1
+ //
+ this.splitMx1.Panel1.Controls.Add(this.layoutMx1);
+ this.splitMx1.Panel1.Text = "Panel1";
+ //
+ // splitMx1.Panel2
+ //
+ this.splitMx1.Panel2.Text = "Panel2";
+ this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True;
+ this.splitMx1.Size = new System.Drawing.Size(1369, 688);
+ this.splitMx1.SplitterPosition = 209;
+ this.splitMx1.TabIndex = 0;
+ //
+ // layoutMx1
+ //
+ this.layoutMx1.Controls.Add(this.lbGuid);
+ this.layoutMx1.Controls.Add(this.txt_moldCode);
+ this.layoutMx1.Controls.Add(this.txt_itemCode);
+ this.layoutMx1.Controls.Add(this.txt_status);
+ this.layoutMx1.Controls.Add(this.txt_description);
+ this.layoutMx1.Controls.Add(this.txt_moldName);
+ this.layoutMx1.Controls.Add(this.txt_moldSpec);
+ this.layoutMx1.Controls.Add(this.txt_itemName);
+ this.layoutMx1.Controls.Add(this.txt_itemModel);
+ this.layoutMx1.Controls.Add(this.txt_itemId);
+ this.layoutMx1.Controls.Add(this.txt_packQty);
+ this.layoutMx1.Controls.Add(this.txt_capacity);
+ this.layoutMx1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.layoutMx1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
+ this.layoutControlItem7});
+ this.layoutMx1.Location = new System.Drawing.Point(0, 0);
+ this.layoutMx1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.layoutMx1.Name = "layoutMx1";
+ this.layoutMx1.Root = this.Root;
+ this.layoutMx1.Size = new System.Drawing.Size(1369, 209);
+ this.layoutMx1.TabIndex = 0;
+ //
+ // lbGuid
+ //
+ this.lbGuid.Location = new System.Drawing.Point(0, 0);
+ this.lbGuid.Name = "lbGuid";
+ this.lbGuid.Size = new System.Drawing.Size(114, 28);
+ this.lbGuid.TabIndex = 4;
+ this.lbGuid.Visible = false;
+ //
+ // txt_moldCode
+ //
+ this.txt_moldCode.Location = new System.Drawing.Point(84, 12);
+ this.txt_moldCode.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.txt_moldCode.Name = "txt_moldCode";
+ this.txt_moldCode.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.txt_moldCode.Properties.NullText = "璇烽�夋嫨";
+ this.txt_moldCode.Properties.PopupView = this.lookMoldView;
+ this.txt_moldCode.Size = new System.Drawing.Size(261, 24);
+ this.txt_moldCode.StyleController = this.layoutMx1;
+ this.txt_moldCode.TabIndex = 5;
+ this.txt_moldCode.Tag = "edit";
+ //
+ // lookMoldView
+ //
+ this.lookMoldView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
+ this.lookMoldView.Name = "lookMoldView";
+ this.lookMoldView.OptionsSelection.EnableAppearanceFocusedCell = false;
+ this.lookMoldView.OptionsView.ShowAutoFilterRow = true;
+ this.lookMoldView.OptionsView.ShowGroupPanel = false;
+ //
+ // txt_itemCode
+ //
+ this.txt_itemCode.Location = new System.Drawing.Point(84, 75);
+ this.txt_itemCode.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.txt_itemCode.Name = "txt_itemCode";
+ this.txt_itemCode.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton()});
+ this.txt_itemCode.Size = new System.Drawing.Size(261, 24);
+ this.txt_itemCode.StyleController = this.layoutMx1;
+ this.txt_itemCode.TabIndex = 6;
+ this.txt_itemCode.Tag = "edit";
+ //
+ // txt_status
+ //
+ this.txt_status.Location = new System.Drawing.Point(1095, 138);
+ this.txt_status.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.txt_status.Name = "txt_status";
+ this.txt_status.Size = new System.Drawing.Size(262, 24);
+ this.txt_status.StyleController = this.layoutMx1;
+ this.txt_status.TabIndex = 9;
+ this.txt_status.Tag = "edit";
+ //
+ // txt_description
+ //
+ this.txt_description.Location = new System.Drawing.Point(84, 138);
+ this.txt_description.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.txt_description.Name = "txt_description";
+ this.txt_description.Size = new System.Drawing.Size(935, 24);
+ this.txt_description.StyleController = this.layoutMx1;
+ this.txt_description.TabIndex = 10;
+ this.txt_description.Tag = "edit";
+ //
+ // txt_moldName
+ //
+ this.txt_moldName.Location = new System.Drawing.Point(421, 12);
+ this.txt_moldName.Name = "txt_moldName";
+ this.txt_moldName.Properties.ReadOnly = true;
+ this.txt_moldName.Size = new System.Drawing.Size(261, 24);
+ this.txt_moldName.StyleController = this.layoutMx1;
+ this.txt_moldName.TabIndex = 13;
+ this.txt_moldName.Tag = "readOnly";
+ //
+ // txt_moldSpec
+ //
+ this.txt_moldSpec.Location = new System.Drawing.Point(758, 12);
+ this.txt_moldSpec.Name = "txt_moldSpec";
+ this.txt_moldSpec.Properties.ReadOnly = true;
+ this.txt_moldSpec.Size = new System.Drawing.Size(261, 24);
+ this.txt_moldSpec.StyleController = this.layoutMx1;
+ this.txt_moldSpec.TabIndex = 17;
+ this.txt_moldSpec.Tag = "readOnly";
+ //
+ // txt_itemName
+ //
+ this.txt_itemName.Location = new System.Drawing.Point(421, 75);
+ this.txt_itemName.Name = "txt_itemName";
+ this.txt_itemName.Properties.ReadOnly = true;
+ this.txt_itemName.Size = new System.Drawing.Size(261, 24);
+ this.txt_itemName.StyleController = this.layoutMx1;
+ this.txt_itemName.TabIndex = 14;
+ this.txt_itemName.Tag = "readOnly";
+ //
+ // txt_itemModel
+ //
+ this.txt_itemModel.Location = new System.Drawing.Point(758, 75);
+ this.txt_itemModel.Name = "txt_itemModel";
+ this.txt_itemModel.Properties.ReadOnly = true;
+ this.txt_itemModel.Size = new System.Drawing.Size(261, 24);
+ this.txt_itemModel.StyleController = this.layoutMx1;
+ this.txt_itemModel.TabIndex = 15;
+ this.txt_itemModel.Tag = "readOnly";
+ //
+ // txt_itemId
+ //
+ this.txt_itemId.Location = new System.Drawing.Point(1095, 75);
+ this.txt_itemId.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.txt_itemId.Name = "txt_itemId";
+ this.txt_itemId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton()});
+ this.txt_itemId.Properties.ReadOnly = true;
+ this.txt_itemId.Size = new System.Drawing.Size(262, 24);
+ this.txt_itemId.StyleController = this.layoutMx1;
+ this.txt_itemId.TabIndex = 11;
+ this.txt_itemId.Visible = false;
+ //
+ // txt_packQty
+ //
+ this.txt_packQty.Location = new System.Drawing.Point(1095, 12);
+ this.txt_packQty.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.txt_packQty.Name = "txt_packQty";
+ this.txt_packQty.Size = new System.Drawing.Size(262, 24);
+ this.txt_packQty.StyleController = this.layoutMx1;
+ this.txt_packQty.TabIndex = 18;
+ this.txt_packQty.Tag = "edit";
+ //
+ // txt_capacity
+ //
+ this.txt_capacity.Location = new System.Drawing.Point(1095, 75);
+ this.txt_capacity.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.txt_capacity.Name = "txt_capacity";
+ this.txt_capacity.Size = new System.Drawing.Size(262, 24);
+ this.txt_capacity.StyleController = this.layoutMx1;
+ this.txt_capacity.TabIndex = 19;
+ this.txt_capacity.Tag = "edit";
+ //
+ // layoutControlItem7
+ //
+ this.layoutControlItem7.Control = this.lbGuid;
+ this.layoutControlItem7.Location = new System.Drawing.Point(696, 96);
+ this.layoutControlItem7.Name = "layoutControlItem7";
+ this.layoutControlItem7.OptionsTableLayoutItem.ColumnIndex = 3;
+ this.layoutControlItem7.OptionsTableLayoutItem.RowIndex = 2;
+ this.layoutControlItem7.Size = new System.Drawing.Size(0, 0);
+ this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0);
+ this.layoutControlItem7.TextVisible = false;
+ //
+ // Root
+ //
+ this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
+ this.Root.GroupBordersVisible = false;
+ this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
+ this.layoutControlItem1,
+ this.layoutControlItem3,
+ this.layoutControlItem6,
+ this.layoutItem_moldName,
+ this.layoutItem_itemName,
+ this.layoutItem_itemModel,
+ this.layoutControlItem8,
+ this.layoutControlItem5,
+ this.layoutItem_moldSpec,
+ this.layoutItem_packQty,
+ this.layoutItem_capacity});
+ this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
+ this.Root.Name = "Root";
+ columnDefinition5.SizeType = System.Windows.Forms.SizeType.Percent;
+ columnDefinition5.Width = 100D;
+ columnDefinition6.SizeType = System.Windows.Forms.SizeType.Percent;
+ columnDefinition6.Width = 100D;
+ columnDefinition7.SizeType = System.Windows.Forms.SizeType.Percent;
+ columnDefinition7.Width = 100D;
+ columnDefinition8.SizeType = System.Windows.Forms.SizeType.Percent;
+ columnDefinition8.Width = 100D;
+ this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] {
+ columnDefinition5,
+ columnDefinition6,
+ columnDefinition7,
+ columnDefinition8});
+ rowDefinition4.Height = 100D;
+ rowDefinition4.SizeType = System.Windows.Forms.SizeType.Percent;
+ rowDefinition5.Height = 100D;
+ rowDefinition5.SizeType = System.Windows.Forms.SizeType.Percent;
+ rowDefinition6.Height = 100D;
+ rowDefinition6.SizeType = System.Windows.Forms.SizeType.Percent;
+ this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
+ rowDefinition4,
+ rowDefinition5,
+ rowDefinition6});
+ this.Root.Size = new System.Drawing.Size(1369, 209);
+ //
+ // layoutControlItem1
+ //
+ this.layoutControlItem1.Control = this.txt_moldCode;
+ this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
+ this.layoutControlItem1.Name = "layoutControlItem1";
+ this.layoutControlItem1.Size = new System.Drawing.Size(337, 63);
+ this.layoutControlItem1.Text = "妯″叿缂栫爜";
+ this.layoutControlItem1.TextSize = new System.Drawing.Size(60, 18);
+ //
+ // layoutControlItem3
+ //
+ this.layoutControlItem3.Control = this.txt_itemCode;
+ this.layoutControlItem3.Location = new System.Drawing.Point(0, 63);
+ this.layoutControlItem3.Name = "layoutControlItem3";
+ this.layoutControlItem3.OptionsTableLayoutItem.RowIndex = 1;
+ this.layoutControlItem3.Size = new System.Drawing.Size(337, 63);
+ this.layoutControlItem3.Text = "鐗╂枡缂栫爜";
+ this.layoutControlItem3.TextSize = new System.Drawing.Size(60, 18);
+ //
+ // layoutControlItem6
+ //
+ this.layoutControlItem6.Control = this.txt_description;
+ this.layoutControlItem6.Location = new System.Drawing.Point(0, 126);
+ this.layoutControlItem6.Name = "layoutControlItem6";
+ this.layoutControlItem6.OptionsTableLayoutItem.ColumnSpan = 3;
+ this.layoutControlItem6.OptionsTableLayoutItem.RowIndex = 2;
+ this.layoutControlItem6.Size = new System.Drawing.Size(1011, 63);
+ this.layoutControlItem6.Text = "鎻忚堪";
+ this.layoutControlItem6.TextSize = new System.Drawing.Size(60, 18);
+ //
+ // layoutItem_moldName
+ //
+ this.layoutItem_moldName.Control = this.txt_moldName;
+ this.layoutItem_moldName.Location = new System.Drawing.Point(337, 0);
+ this.layoutItem_moldName.Name = "layoutItem_moldName";
+ this.layoutItem_moldName.OptionsTableLayoutItem.ColumnIndex = 1;
+ this.layoutItem_moldName.Size = new System.Drawing.Size(337, 63);
+ this.layoutItem_moldName.Text = "妯″叿鍚嶇О";
+ this.layoutItem_moldName.TextSize = new System.Drawing.Size(60, 18);
+ //
+ // layoutItem_itemName
+ //
+ this.layoutItem_itemName.Control = this.txt_itemName;
+ this.layoutItem_itemName.Location = new System.Drawing.Point(337, 63);
+ this.layoutItem_itemName.Name = "layoutItem_itemName";
+ this.layoutItem_itemName.OptionsTableLayoutItem.ColumnIndex = 1;
+ this.layoutItem_itemName.OptionsTableLayoutItem.RowIndex = 1;
+ this.layoutItem_itemName.Size = new System.Drawing.Size(337, 63);
+ this.layoutItem_itemName.Text = "鐗╂枡鍚嶇О";
+ this.layoutItem_itemName.TextSize = new System.Drawing.Size(60, 18);
+ //
+ // layoutItem_itemModel
+ //
+ this.layoutItem_itemModel.Control = this.txt_itemModel;
+ this.layoutItem_itemModel.Location = new System.Drawing.Point(674, 63);
+ this.layoutItem_itemModel.Name = "layoutItem_itemModel";
+ this.layoutItem_itemModel.OptionsTableLayoutItem.ColumnIndex = 2;
+ this.layoutItem_itemModel.OptionsTableLayoutItem.RowIndex = 1;
+ this.layoutItem_itemModel.Size = new System.Drawing.Size(337, 63);
+ this.layoutItem_itemModel.Text = "瑙勬牸鍨嬪彿";
+ this.layoutItem_itemModel.TextSize = new System.Drawing.Size(60, 18);
+ //
+ // layoutControlItem8
+ //
+ this.layoutControlItem8.Control = this.txt_itemId;
+ this.layoutControlItem8.Location = new System.Drawing.Point(1011, 63);
+ this.layoutControlItem8.Name = "layoutControlItem8";
+ this.layoutControlItem8.OptionsTableLayoutItem.ColumnIndex = 3;
+ this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 1;
+ this.layoutControlItem8.Size = new System.Drawing.Size(338, 63);
+ this.layoutControlItem8.Text = "鐗╂枡ID";
+ this.layoutControlItem8.TextSize = new System.Drawing.Size(60, 18);
+ this.layoutControlItem8.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
+ //
+ // layoutControlItem5
+ //
+ this.layoutControlItem5.Control = this.txt_status;
+ this.layoutControlItem5.Location = new System.Drawing.Point(1011, 126);
+ this.layoutControlItem5.Name = "layoutControlItem5";
+ this.layoutControlItem5.OptionsTableLayoutItem.ColumnIndex = 3;
+ this.layoutControlItem5.OptionsTableLayoutItem.RowIndex = 2;
+ this.layoutControlItem5.Size = new System.Drawing.Size(338, 63);
+ this.layoutControlItem5.Text = "鐘舵��";
+ this.layoutControlItem5.TextSize = new System.Drawing.Size(60, 18);
+ //
+ // layoutItem_moldSpec
+ //
+ this.layoutItem_moldSpec.Control = this.txt_moldSpec;
+ this.layoutItem_moldSpec.Location = new System.Drawing.Point(674, 0);
+ this.layoutItem_moldSpec.Name = "layoutItem_moldSpec";
+ this.layoutItem_moldSpec.OptionsTableLayoutItem.ColumnIndex = 2;
+ this.layoutItem_moldSpec.Size = new System.Drawing.Size(337, 63);
+ this.layoutItem_moldSpec.Text = "妯″叿瑙勬牸";
+ this.layoutItem_moldSpec.TextSize = new System.Drawing.Size(60, 18);
+ //
+ // layoutItem_packQty
+ //
+ this.layoutItem_packQty.Control = this.txt_packQty;
+ this.layoutItem_packQty.Location = new System.Drawing.Point(1011, 0);
+ this.layoutItem_packQty.Name = "layoutItem_packQty";
+ this.layoutItem_packQty.OptionsTableLayoutItem.ColumnIndex = 3;
+ this.layoutItem_packQty.Size = new System.Drawing.Size(338, 63);
+ this.layoutItem_packQty.Text = "鍖呰鏁伴噺";
+ this.layoutItem_packQty.TextSize = new System.Drawing.Size(60, 18);
+ //
+ // layoutItem_capacity
+ //
+ this.layoutItem_capacity.Control = this.txt_capacity;
+ this.layoutItem_capacity.Location = new System.Drawing.Point(1011, 63);
+ this.layoutItem_capacity.Name = "layoutItem_capacity";
+ this.layoutItem_capacity.OptionsTableLayoutItem.ColumnIndex = 3;
+ this.layoutItem_capacity.OptionsTableLayoutItem.RowIndex = 1;
+ this.layoutItem_capacity.Size = new System.Drawing.Size(338, 63);
+ this.layoutItem_capacity.Text = "浜ц兘";
+ this.layoutItem_capacity.TextSize = new System.Drawing.Size(60, 18);
+ //
+ // lookItem
+ //
+ this.lookItem.Location = new System.Drawing.Point(84, 59);
+ this.lookItem.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.lookItem.Name = "lookItem";
+ this.lookItem.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.lookItem.Properties.NullText = "璇烽�夋嫨";
+ this.lookItem.Properties.PopupView = this.lookItemView;
+ this.lookItem.Size = new System.Drawing.Size(261, 24);
+ this.lookItem.StyleController = this.layoutMx1;
+ this.lookItem.TabIndex = 16;
+ //
+ // lookItemView
+ //
+ this.lookItemView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+ this.colItemNo,
+ this.colItemName,
+ this.colItemModel,
+ this.colItemId});
+ this.lookItemView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
+ this.lookItemView.Name = "lookItemView";
+ this.lookItemView.OptionsSelection.EnableAppearanceFocusedCell = false;
+ this.lookItemView.OptionsView.ShowAutoFilterRow = true;
+ this.lookItemView.OptionsView.ShowGroupPanel = false;
+ //
+ // colItemNo
+ //
+ this.colItemNo.Caption = "鐗╂枡缂栫爜";
+ this.colItemNo.FieldName = "ItemNo";
+ this.colItemNo.MinWidth = 80;
+ this.colItemNo.Name = "colItemNo";
+ this.colItemNo.Visible = true;
+ this.colItemNo.VisibleIndex = 0;
+ this.colItemNo.Width = 80;
+ //
+ // colItemName
+ //
+ this.colItemName.Caption = "鐗╂枡鍚嶇О";
+ this.colItemName.FieldName = "ItemName";
+ this.colItemName.MinWidth = 100;
+ this.colItemName.Name = "colItemName";
+ this.colItemName.Visible = true;
+ this.colItemName.VisibleIndex = 1;
+ this.colItemName.Width = 100;
+ //
+ // colItemModel
+ //
+ this.colItemModel.Caption = "瑙勬牸鍨嬪彿";
+ this.colItemModel.FieldName = "ItemModel";
+ this.colItemModel.MinWidth = 100;
+ this.colItemModel.Name = "colItemModel";
+ this.colItemModel.Visible = true;
+ this.colItemModel.VisibleIndex = 2;
+ this.colItemModel.Width = 100;
+ //
+ // colItemId
+ //
+ this.colItemId.Caption = "ID";
+ this.colItemId.FieldName = "Id";
+ this.colItemId.MinWidth = 60;
+ this.colItemId.Name = "colItemId";
+ //
+ // Frm_MesMoldManagement
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(1371, 815);
+ this.Controls.Add(this.xtraTabControl1);
+ this.Controls.Add(this.toolBarMenu1);
+ this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.Name = "Frm_MesMoldManagement";
+ this.Text = "妯″叿鐗╂枡浜ц兘缁存姢琛�";
+ ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
+ this.xtraTabControl1.ResumeLayout(false);
+ this.xtraTabPage1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.split1.Panel1)).EndInit();
+ this.split1.Panel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.split1.Panel2)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.split1)).EndInit();
+ this.split1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
+ this.xtraTabPage2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel1)).EndInit();
+ this.splitMx1.Panel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel2)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.splitMx1)).EndInit();
+ this.splitMx1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.layoutMx1)).EndInit();
+ this.layoutMx1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.txt_moldCode.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.lookMoldView)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_itemCode.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_status.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_description.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_moldName.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_moldSpec.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_itemName.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_itemModel.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_itemId.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_packQty.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_capacity.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutItem_moldName)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutItem_itemName)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutItem_itemModel)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutItem_moldSpec)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutItem_packQty)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutItem_capacity)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.lookItem.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.lookItemView)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ private Gs.DevApp.UserControl.UcToolBarMenu toolBarMenu1;
+ private DevExpress.XtraTab.XtraTabControl xtraTabControl1;
+ private DevExpress.XtraTab.XtraTabPage xtraTabPage1;
+ private DevExpress.XtraEditors.SplitContainerControl split1;
+ private DevExpress.XtraGrid.GridControl gcMain1;
+ private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_guid;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_mold_code;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_item_no;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_item_id;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_pack_qty;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_capacity;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_status;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_create_by;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_create_date;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_update_time;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_remarks;
+ private UserControls.Data.UcPageBar pageBar1;
+ private DevExpress.XtraTab.XtraTabPage xtraTabPage2;
+ private DevExpress.XtraEditors.SplitContainerControl splitMx1;
+ private DevExpress.XtraLayout.LayoutControl layoutMx1;
+ private System.Windows.Forms.Label lbGuid;
+ private DevExpress.XtraEditors.SearchLookUpEdit txt_moldCode;
+ private DevExpress.XtraEditors.ButtonEdit txt_itemCode;
+ private DevExpress.XtraEditors.TextEdit txt_itemName;
+ private DevExpress.XtraEditors.TextEdit txt_itemModel;
+ private DevExpress.XtraEditors.TextEdit txt_moldName;
+ private DevExpress.XtraEditors.TextEdit txt_moldSpec;
+ private DevExpress.XtraEditors.TextEdit txt_packQty;
+ private DevExpress.XtraEditors.TextEdit txt_capacity;
+ private DevExpress.XtraEditors.SearchLookUpEdit lookItem;
+ private DevExpress.XtraGrid.Views.Grid.GridView viewItem;
+ private DevExpress.XtraGrid.Columns.GridColumn colItemNo;
+ private DevExpress.XtraGrid.Columns.GridColumn colItemName;
+ private DevExpress.XtraGrid.Columns.GridColumn colItemModel;
+ private DevExpress.XtraGrid.Columns.GridColumn colItemId;
+ private DevExpress.XtraEditors.ButtonEdit txt_itemId;
+ private DevExpress.XtraGrid.Views.Grid.GridView viewMold;
+ private DevExpress.XtraEditors.TextEdit txt_status;
+ private DevExpress.XtraEditors.TextEdit txt_description;
+ private DevExpress.Utils.ToolTipController tips;
+ private DevExpress.XtraLayout.LayoutControlGroup Root;
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
+ private DevExpress.XtraLayout.LayoutControlItem layoutItem_itemName;
+ private DevExpress.XtraLayout.LayoutControlItem layoutItem_moldName;
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
+ private DevExpress.XtraGrid.Views.Grid.GridView lookItemView;
+ private DevExpress.XtraGrid.Views.Grid.GridView lookMoldView;
+ private DevExpress.XtraLayout.LayoutControlItem layoutItem_itemModel;
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8;
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
+ private DevExpress.XtraLayout.LayoutControlItem layoutItem_moldSpec;
+ private DevExpress.XtraLayout.LayoutControlItem layoutItem_packQty;
+ private DevExpress.XtraLayout.LayoutControlItem layoutItem_capacity;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_item_name;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_item_model;
+ }
+}
diff --git a/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldManagement.cs b/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldManagement.cs
new file mode 100644
index 0000000..02acf57
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldManagement.cs
@@ -0,0 +1,429 @@
+using DevExpress.XtraEditors;
+using DevExpress.XtraGrid.Views.Grid;
+using Gs.DevApp.ToolBox;
+using Gs.DevApp.UserControl;
+using Gs.DevApp.Entity;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Linq;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Windows.Forms;
+
+namespace Gs.DevApp.DevFrm.MJGL
+{
+ public partial class Frm_MesMoldManagement : XtraForm
+ {
+ private readonly string _webServiceName = "MesMoldManagementManager/";
+ private List<FilterEntity> _filterList = new List<FilterEntity>();
+ private DataTable _moldListDt;
+
+ public Frm_MesMoldManagement()
+ {
+ InitializeComponent();
+ toolBarMenu1.btnAddClick += ToolBarMenu1_btnAddClick;
+ toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick;
+ toolBarMenu1.btnSaveClick += ToolBarMenu1_btnSaveClick;
+ toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick;
+ toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick;
+ toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
+ toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick1;
+ toolBarMenu1.getXmlConfig();
+
+ UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", (value) =>
+ {
+ UtilityHelper.JumpTab(xtraTabControl1, 0);
+ }, tips);
+ UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) =>
+ {
+ getModel(value);
+ }, (value) =>
+ {
+ getPageList(pageBar1.CurrentPage);
+ }, lbGuid);
+
+
+
+ txt_itemCode.DoubleClick += (s, e) =>
+ {
+ try
+ {
+ var frm = new Gs.DevApp.DevFrm.QC.JyxmShow("");
+ frm.UpdateParent += (ss, ee) =>
+ {
+ try
+ {
+ var lst = ee.DynamicList;
+ txt_itemId.Text = Convert.ToString(lst[0].itemId);
+ txt_itemCode.Text = Convert.ToString(lst[0].itemNo);
+ txt_itemName.Text = Convert.ToString(lst[0].itemName);
+ txt_itemModel.Text = Convert.ToString(lst[0].itemModel);
+ }
+ catch (Exception ex2)
+ {
+ MsgHelper.Warning("鎻愮ず锛�" + ex2.Message);
+ }
+ };
+ frm.ShowDialog();
+ }
+ catch (Exception ex)
+ {
+ MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ }
+ };
+
+
+ // 鐗╂枡ID閫夋嫨锛屽鐢≦C妫�楠岄」鐩殑閫夋嫨寮圭獥
+ txt_itemId.ButtonClick += (s, e) =>
+ {
+ try
+ {
+ var frm = new Gs.DevApp.DevFrm.QC.JyxmShow("");
+ frm.UpdateParent += (ss, ee) =>
+ {
+ try
+ {
+ var lst = ee.DynamicList;
+ txt_itemId.Text = Convert.ToString(lst[0].itemId);
+ txt_itemCode.Text = Convert.ToString(lst[0].itemNo);
+ }
+ catch (Exception ex2)
+ {
+ MsgHelper.Warning("鎻愮ず锛�" + ex2.Message);
+ }
+ };
+ frm.ShowDialog();
+ }
+ catch (Exception ex)
+ {
+ MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ }
+ };
+
+ // 妯″叿涓嬫媺鏁版嵁缁戝畾锛堥泦鎴愬埌妯″叿缂栫爜鎺т欢锛�
+ try
+ {
+ var pgqMold = new PageQueryModel(1, 999999, "mold_code", "asc", "", "");
+ var jMold = JsonConvert.SerializeObject(pgqMold);
+ var strMold = UtilityHelper.HttpPost("", "MesMoldArchivesManager/GetMoldCodeList", jMold);
+ var rtnMold = UtilityHelper.ReturnToTablePage(strMold);
+ var dtMold = rtnMold.rtnData.list;
+ _moldListDt = dtMold;
+
+ string codeField = _moldListDt.Columns.Contains("mold_code") ? "mold_code" : (_moldListDt.Columns.Contains("moldCode") ? "moldCode" : "");
+ string nameField = _moldListDt.Columns.Contains("mold_name") ? "mold_name" : (_moldListDt.Columns.Contains("moldName") ? "moldName" : "");
+ string specField = _moldListDt.Columns.Contains("mold_spec") ? "mold_spec" : (_moldListDt.Columns.Contains("moldSpec") ? "moldSpec" : "");
+
+ txt_moldCode.Properties.DataSource = _moldListDt;
+ txt_moldCode.Properties.DisplayMember = string.IsNullOrEmpty(codeField) ? nameField : codeField;
+ txt_moldCode.Properties.ValueMember = string.IsNullOrEmpty(codeField) ? nameField : codeField;
+ txt_moldCode.ForceInitialize();
+ txt_moldCode.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
+
+ var view = lookMoldView;
+ view.Columns.Clear();
+ view.OptionsBehavior.AutoPopulateColumns = false;
+ if (!string.IsNullOrEmpty(codeField))
+ {
+ var colCode = view.Columns.AddVisible(codeField, "妯″叿缂栫爜");
+ colCode.VisibleIndex = 0;
+ }
+ if (!string.IsNullOrEmpty(nameField))
+ {
+ var colName = view.Columns.AddVisible(nameField, "妯″叿鍚嶇О");
+ colName.VisibleIndex = 1;
+ }
+ if (!string.IsNullOrEmpty(specField))
+ {
+ var colSpec = view.Columns.AddVisible(specField, "妯″叿瑙勬牸");
+ colSpec.VisibleIndex = 2;
+ }
+ view.OptionsView.ShowAutoFilterRow = true;
+ view.BestFitColumns();
+
+ txt_moldCode.EditValueChanged += (s, e) =>
+ {
+ try
+ {
+ var row = txt_moldCode.GetSelectedDataRow() as DataRowView;
+ if (row != null)
+ {
+ if (!string.IsNullOrEmpty(nameField)) txt_moldName.Text = Convert.ToString(row[nameField]);
+ if (!string.IsNullOrEmpty(specField)) txt_moldSpec.Text = Convert.ToString(row[specField]);
+ }
+ }
+ catch { }
+ };
+ }
+ catch (Exception ex)
+ {
+ MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ }
+
+ // 鐗╂枡涓嬫媺鏁版嵁缁戝畾
+ try
+ {
+ var objItems = new
+ {
+ currentPage = 1,
+ everyPageSize = 999999,
+ sortName = "",
+ keyWhere = "",
+ keyType = ""
+ };
+ var jItems = JsonConvert.SerializeObject(objItems);
+ var strItems = UtilityHelper.HttpPost("", "MesItemsManager/GetListSelect", jItems);
+ var rtnItems = UtilityHelper.ReturnToTablePage(strItems);
+ var dtItems = rtnItems.rtnData.list;
+ lookItem.Properties.DataSource = dtItems;
+ lookItem.Properties.DisplayMember = "ItemNo";
+ lookItem.Properties.ValueMember = "Id";
+ lookItem.ForceInitialize();
+ lookItem.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
+ lookItem.EditValueChanged += (s, e) =>
+ {
+ try
+ {
+ var row = lookItem.GetSelectedDataRow() as DataRowView;
+ if (row != null)
+ {
+ txt_itemCode.Text = Convert.ToString(row["ItemNo"]);
+ txt_itemId.Text = Convert.ToString(row["Id"]);
+ txt_itemName.Text = Convert.ToString(row["ItemName"]);
+ txt_itemModel.Text = Convert.ToString(row["ItemModel"]);
+ }
+ }
+ catch { }
+ };
+ }
+ catch (Exception ex)
+ {
+ MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ }
+
+
+
+ getPageList(1);
+ pageBar1.PagerEvent += PageBar1_PagerEvent;
+ }
+
+ private void PageBar1_PagerEvent(int curPage, int pageSize)
+ {
+ getPageList(curPage);
+ }
+
+ 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, this.GetType().FullName);
+ frm.UpdateParent += Frm_UpdateParent;
+ frm.ShowDialog();
+ }
+
+ private void Frm_UpdateParent(object sender, UpdateParentEventArgs e)
+ {
+ _filterList = e.FilterList;
+ getPageList(1);
+ }
+
+ private void GridView1_ColumnFilterChanged(object sender, EventArgs e)
+ {
+ _filterList = UtilityHelper.GetDilter(gridView1.Columns, gridView1);
+ getPageList(1);
+ }
+
+ private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e)
+ {
+ if (xtraTabControl1.SelectedTabPageIndex == 1)
+ getModel(lbGuid.Text.Trim());
+ else
+ getPageList(pageBar1.CurrentPage);
+ }
+
+ private void ToolBarMenu1_btnEscClick(object sender, EventArgs e)
+ {
+ UtilityHelper.JumpTab(xtraTabControl1, 1);
+ }
+
+ private void ToolBarMenu1_btnEdtClick(object sender, EventArgs e)
+ {
+ toolBarMenu1.currentAction = "edit";
+ string rowGuid, rowName;
+ (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_moldCode, gridView1);
+ if (string.IsNullOrEmpty(rowGuid))
+ {
+ MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
+ return;
+ }
+ UtilityHelper.JumpTab(xtraTabControl1, 3);
+ getModel(rowGuid);
+ }
+
+ private void ToolBarMenu1_btnAddClick(object sender, EventArgs e)
+ {
+ lbGuid.Text = "";
+ UtilityHelper.JumpTab(xtraTabControl1, 4);
+ UtilityHelper.CleanValueByControl(this.layoutMx1.Controls, true);
+ }
+
+ private void ToolBarMenu1_btnDelClick1(object sender, EventArgs e)
+ {
+ string rowGuid, rowName;
+ (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_moldCode, gridView1);
+ if (string.IsNullOrEmpty(rowGuid))
+ {
+ MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
+ return;
+ }
+ try
+ {
+ var strJson = UtilityHelper.HttpPost("", _webServiceName + "DeleteModel", JsonConvert.SerializeObject(new List<string> { rowGuid }));
+ var rtn = UtilityHelper.ReturnToDynamic(strJson);
+ MsgHelper.Warning("鎻愮ず锛�" + rtn.rtnMsg);
+ if (rtn.rtnCode > 0) getPageList(pageBar1.CurrentPage);
+ }
+ catch (Exception ex)
+ {
+ MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ }
+ }
+
+ private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e)
+ {
+ toolBarMenu1.isSetBtn = false;
+ var moldCodeVal = Convert.ToString(txt_moldCode.EditValue)?.Trim();
+ if (string.IsNullOrEmpty(moldCodeVal))
+ {
+ MsgHelper.Warning("妯″叿缂栫爜涓嶈兘涓虹┖锛�");
+ txt_moldCode.Focus();
+ return;
+ }
+ var obj = new
+ {
+ Guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()),
+ MoldCode = moldCodeVal,
+ ItemCode = txt_itemCode.Text.Trim(),
+ ItemId = txt_itemId.Text.Trim(),
+ Status = txt_status.Text.Trim(),
+ PackQty = txt_packQty.Text.Trim(),
+ Capacity = txt_capacity.Text.Trim(),
+ Description = txt_description.Text.Trim()
+ };
+ if (string.IsNullOrEmpty(txt_itemCode.Text.Trim()) || string.IsNullOrEmpty(txt_itemId.Text.Trim()))
+ {
+ MsgHelper.Warning("鐗╂枡缂栫爜涓庣墿鏂橧D蹇呴』閫夋嫨锛�");
+ txt_itemId.Focus();
+ return;
+ }
+ 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(this.layoutMx1.Controls, false);
+ toolBarMenu1.currentAction = "";
+ UtilityHelper.JumpTab(xtraTabControl1, 6);
+ }
+ }
+ catch (Exception ex)
+ {
+ MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ }
+ }
+
+ private void getPageList(int curPage)
+ {
+ gcMain1.DataSource = null;
+ var sbWhere = UtilityHelper.GetSearchWhere(_filterList);
+ var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "mold_code", "asc", "", sbWhere.ToString());
+ var json = JsonConvert.SerializeObject(pgq);
+ try
+ {
+ var strReturn = UtilityHelper.HttpPost("", _webServiceName + "GetListPage", json);
+ var dd = UtilityHelper.ReturnToTablePage(strReturn);
+ if (dd.rtnCode > 0)
+ {
+ DataTable dt = dd.rtnData.list;
+ gcMain1.BindingContext = new BindingContext();
+ gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged;
+ if (dt.Rows.Count > 0)
+ {
+ gcMain1.DataSource = dt;
+ gcMain1.ForceInitialize();
+ gridView1.BestFitColumns(); UtilityHelper.SetGridLayout(gridView1);
+ }
+ else
+ SetDefaultTableSafe();
+ gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged;
+ pageBar1.TotalPages = dd.rtnData.pages;
+ pageBar1.CurrentPage = curPage;
+ pageBar1.RecordCount = dd.rtnData.total;
+ }
+ else
+ {
+ MsgHelper.ShowError("鎻愮ず锛�" + dd.rtnMsg);
+ SetDefaultTableSafe();
+ }
+ }
+ catch (Exception ex)
+ {
+ MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ }
+ }
+
+ private void getModel(string strGuid)
+ {
+ bool isEdit = toolBarMenu1.currentAction == "edit";
+ 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;
+ UtilityHelper.SetValueByObj(this.layoutMx1.Controls, dy, isEdit);
+
+ }
+ else
+ {
+ MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg);
+ }
+ }
+ catch (Exception ex)
+ {
+ MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ }
+ }
+
+ private void SetDefaultTableSafe()
+ {
+ var dt = new DataTable();
+ foreach (DevExpress.XtraGrid.Columns.GridColumn col in gridView1.Columns)
+ {
+ var field = col.FieldName;
+ if (string.IsNullOrEmpty(field)) continue;
+ if (col.UnboundDataType == typeof(System.Boolean))
+ dt.Columns.Add(field, typeof(System.Boolean));
+ else
+ dt.Columns.Add(field, typeof(string));
+ }
+ gcMain1.BindingContext = new BindingContext();
+ gcMain1.DataSource = dt;
+ gcMain1.ForceInitialize();
+ gridView1.BestFitColumns();
+ }
+ }
+}
diff --git a/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldManagement.resx b/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldManagement.resx
new file mode 100644
index 0000000..25d6b3c
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/MJGL/Frm_MesMoldManagement.resx
@@ -0,0 +1,126 @@
+<?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>
+ <metadata name="tips.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <value>17, 17</value>
+ </metadata>
+ <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>25</value>
+ </metadata>
+</root>
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/MJGL/Models/MesMoldArchives.cs b/DevApp/Gs.DevApp/DevFrm/MJGL/Models/MesMoldArchives.cs
new file mode 100644
index 0000000..4a1f4f3
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/MJGL/Models/MesMoldArchives.cs
@@ -0,0 +1,44 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Gs.DevApp.DevFrm.MJGL.Models
+{
+ public class MesMoldArchives
+ {
+ public Guid? Guid { get; set; }
+ public string MoldType { get; set; }
+ public string TypeName { get; set; }
+ public string CreateBy { get; set; }
+ public DateTime? CreateDate { get; set; }
+ public bool? MustSpecifyLoc { get; set; }
+ public string Description { get; set; }
+ public List<MesMoldArchivesMx> list { get; set; }
+ }
+
+ public class MesMoldArchivesMx
+ {
+ /// <summary>
+ /// 默认值: (newid())
+ /// </summary>
+ public Guid? Guid { get; set; }
+ public string MoldCode { get; set; }
+ public string MoldName { get; set; }
+ public string MoldSpec { get; set; }
+ public bool? ScrapFlag { get; set; }
+ public string Scrapper { get; set; }
+ public DateTime? ScrapTime { get; set; }
+ public bool? InStockFlag { get; set; }
+ public string Location { get; set; }
+ public string FixedLocation { get; set; }
+ public string MoldStatus { get; set; }
+ public int? CavityCount { get; set; }
+ public int? OpenCloseCount { get; set; }
+ public string Manufacturer { get; set; }
+ public int? MaintainWarnCount { get; set; }
+ public int? MaintainWarnDays { get; set; }
+ public string Remark { get; set; }
+ }
+}
diff --git a/DevApp/Gs.DevApp/FastReport.Bars.dll b/DevApp/Gs.DevApp/FastReport.Bars.dll
new file mode 100644
index 0000000..1ed0d59
--- /dev/null
+++ b/DevApp/Gs.DevApp/FastReport.Bars.dll
Binary files differ
diff --git a/DevApp/Gs.DevApp/FastReport.Editor.dll b/DevApp/Gs.DevApp/FastReport.Editor.dll
new file mode 100644
index 0000000..b64b4e2
--- /dev/null
+++ b/DevApp/Gs.DevApp/FastReport.Editor.dll
Binary files differ
diff --git a/DevApp/Gs.DevApp/FastReport.dll b/DevApp/Gs.DevApp/FastReport.dll
new file mode 100644
index 0000000..e5e41c0
--- /dev/null
+++ b/DevApp/Gs.DevApp/FastReport.dll
Binary files differ
--
Gitblit v1.9.3