From b894e19f3411841646b5d225d06ec974ba1cfb27 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期五, 01 十一月 2024 14:59:20 +0800
Subject: [PATCH] 细节优化
---
DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.cs | 34 ++++++--
DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.Designer.cs | 175 +++++++++++++++++++------------------------
DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.Designer.cs | 16 +++-
3 files changed, 114 insertions(+), 111 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.Designer.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.Designer.cs
index 6438e1c..ccd0487 100644
--- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.Designer.cs
@@ -30,13 +30,10 @@
private void InitializeComponent()
{
this.lb_suppNo = new DevExpress.XtraEditors.LabelControl();
- this.txt_suppNo = new DevExpress.XtraEditors.TextEdit();
this.gv_suppNo = new DevExpress.XtraGrid.Columns.GridColumn();
this.lb_itemId = new DevExpress.XtraEditors.LabelControl();
- this.txt_itemId = new DevExpress.XtraEditors.TextEdit();
this.gv_itemId = new DevExpress.XtraGrid.Columns.GridColumn();
this.lb_status = new DevExpress.XtraEditors.LabelControl();
- this.txt_status = new DevExpress.XtraEditors.TextEdit();
this.gv_status = new DevExpress.XtraGrid.Columns.GridColumn();
this.lb_checkDate = new DevExpress.XtraEditors.LabelControl();
this.txt_checkDate = new DevExpress.XtraEditors.TextEdit();
@@ -59,7 +56,6 @@
this.lb_itemNo = new DevExpress.XtraEditors.LabelControl();
this.txt_itemNo = new DevExpress.XtraEditors.TextEdit();
this.gv_itemNo = new DevExpress.XtraGrid.Columns.GridColumn();
- this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn();
this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu();
this.gcMain = new DevExpress.XtraGrid.GridControl();
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
@@ -68,10 +64,10 @@
this.pageBar1 = new UserControls.Data.UcPageBar();
this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
this.panel1 = new System.Windows.Forms.Panel();
+ this.txt_suppNo = new Gs.DevApp.UserControl.UcLookSupplier();
+ this.txt_itemId = new Gs.DevApp.UserControl.UcLookItems();
+ this.txt_status = new DevExpress.XtraEditors.CheckEdit();
this.lbGuid = new System.Windows.Forms.Label();
- ((System.ComponentModel.ISupportInitialize)(this.txt_suppNo.Properties)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_itemId.Properties)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_status.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txt_checkDate.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txt_checkUser.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txt_lastupdateDate.Properties)).BeginInit();
@@ -86,112 +82,86 @@
this.xtraTabPage1.SuspendLayout();
this.xtraTabPage2.SuspendLayout();
this.panel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_status.Properties)).BeginInit();
this.SuspendLayout();
//
// lb_suppNo
//
this.lb_suppNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.lb_suppNo.Appearance.Options.UseFont = true;
- this.lb_suppNo.Location = new System.Drawing.Point(544, 16);
+ this.lb_suppNo.Location = new System.Drawing.Point(4, 89);
this.lb_suppNo.Name = "lb_suppNo";
this.lb_suppNo.Size = new System.Drawing.Size(90, 21);
this.lb_suppNo.TabIndex = 235;
this.lb_suppNo.Text = "渚涘簲鍟嗙紪鐮� ";
//
- // txt_suppNo
- //
- this.txt_suppNo.Location = new System.Drawing.Point(634, 13);
- this.txt_suppNo.Name = "txt_suppNo";
- this.txt_suppNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
- this.txt_suppNo.Properties.Appearance.Options.UseFont = true;
- this.txt_suppNo.Size = new System.Drawing.Size(150, 28);
- this.txt_suppNo.TabIndex = 235;
- //
// gv_suppNo
//
this.gv_suppNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
this.gv_suppNo.AppearanceCell.Options.UseFont = true;
- this.gv_suppNo.Caption = "渚涘簲鍟嗙紪鐮� ";
+ this.gv_suppNo.Caption = "渚涘簲鍟嗙紪鐮�";
this.gv_suppNo.FieldName = "suppNo";
this.gv_suppNo.MinWidth = 50;
this.gv_suppNo.Name = "gv_suppNo";
this.gv_suppNo.OptionsColumn.AllowEdit = false;
this.gv_suppNo.Tag = "query_a.SUPP_NO";
this.gv_suppNo.Visible = true;
- this.gv_suppNo.VisibleIndex = 10;
+ this.gv_suppNo.VisibleIndex = 9;
this.gv_suppNo.Width = 94;
//
// lb_itemId
//
this.lb_itemId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.lb_itemId.Appearance.Options.UseFont = true;
- this.lb_itemId.Location = new System.Drawing.Point(20, 13);
+ this.lb_itemId.Location = new System.Drawing.Point(37, 13);
this.lb_itemId.Name = "lb_itemId";
this.lb_itemId.Size = new System.Drawing.Size(57, 21);
this.lb_itemId.TabIndex = 231;
this.lb_itemId.Text = "鐗╂枡ID ";
//
- // txt_itemId
- //
- this.txt_itemId.Location = new System.Drawing.Point(114, 10);
- this.txt_itemId.Name = "txt_itemId";
- this.txt_itemId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
- this.txt_itemId.Properties.Appearance.Options.UseFont = true;
- this.txt_itemId.Size = new System.Drawing.Size(150, 28);
- this.txt_itemId.TabIndex = 231;
- //
// gv_itemId
//
this.gv_itemId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
this.gv_itemId.AppearanceCell.Options.UseFont = true;
- this.gv_itemId.Caption = "鐗╂枡ID ";
+ this.gv_itemId.Caption = "鐗╂枡ID";
this.gv_itemId.FieldName = "itemId";
this.gv_itemId.MinWidth = 50;
this.gv_itemId.Name = "gv_itemId";
this.gv_itemId.OptionsColumn.AllowEdit = false;
this.gv_itemId.Tag = "query_a.ITEM_ID";
this.gv_itemId.Visible = true;
- this.gv_itemId.VisibleIndex = 9;
+ this.gv_itemId.VisibleIndex = 8;
this.gv_itemId.Width = 94;
//
// lb_status
//
this.lb_status.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.lb_status.Appearance.Options.UseFont = true;
- this.lb_status.Location = new System.Drawing.Point(20, 84);
+ this.lb_status.Location = new System.Drawing.Point(286, 89);
this.lb_status.Name = "lb_status";
this.lb_status.Size = new System.Drawing.Size(73, 21);
this.lb_status.TabIndex = 228;
this.lb_status.Text = "瀹℃牳鏍囪瘑 ";
//
- // txt_status
- //
- this.txt_status.Location = new System.Drawing.Point(114, 81);
- this.txt_status.Name = "txt_status";
- this.txt_status.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
- this.txt_status.Properties.Appearance.Options.UseFont = true;
- this.txt_status.Size = new System.Drawing.Size(150, 28);
- this.txt_status.TabIndex = 228;
- //
// gv_status
//
this.gv_status.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
this.gv_status.AppearanceCell.Options.UseFont = true;
- this.gv_status.Caption = "瀹℃牳鏍囪瘑 ";
+ this.gv_status.Caption = "瀹℃牳鏍囪瘑";
this.gv_status.FieldName = "status";
this.gv_status.MinWidth = 50;
this.gv_status.Name = "gv_status";
this.gv_status.OptionsColumn.AllowEdit = false;
this.gv_status.Tag = "query_a.STATUS";
this.gv_status.Visible = true;
- this.gv_status.VisibleIndex = 8;
+ this.gv_status.VisibleIndex = 7;
this.gv_status.Width = 94;
//
// lb_checkDate
//
this.lb_checkDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.lb_checkDate.Appearance.Options.UseFont = true;
- this.lb_checkDate.Location = new System.Drawing.Point(555, 84);
+ this.lb_checkDate.Location = new System.Drawing.Point(528, 51);
this.lb_checkDate.Name = "lb_checkDate";
this.lb_checkDate.Size = new System.Drawing.Size(73, 21);
this.lb_checkDate.TabIndex = 226;
@@ -199,7 +169,7 @@
//
// txt_checkDate
//
- this.txt_checkDate.Location = new System.Drawing.Point(634, 81);
+ this.txt_checkDate.Location = new System.Drawing.Point(606, 47);
this.txt_checkDate.Name = "txt_checkDate";
this.txt_checkDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.txt_checkDate.Properties.Appearance.Options.UseFont = true;
@@ -210,21 +180,21 @@
//
this.gv_checkDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
this.gv_checkDate.AppearanceCell.Options.UseFont = true;
- this.gv_checkDate.Caption = "瀹℃牳鏃堕棿 ";
+ this.gv_checkDate.Caption = "瀹℃牳鏃堕棿";
this.gv_checkDate.FieldName = "checkDate";
this.gv_checkDate.MinWidth = 50;
this.gv_checkDate.Name = "gv_checkDate";
this.gv_checkDate.OptionsColumn.AllowEdit = false;
this.gv_checkDate.Tag = "query_a.CHECK_DATE";
this.gv_checkDate.Visible = true;
- this.gv_checkDate.VisibleIndex = 7;
+ this.gv_checkDate.VisibleIndex = 6;
this.gv_checkDate.Width = 94;
//
// lb_checkUser
//
this.lb_checkUser.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.lb_checkUser.Appearance.Options.UseFont = true;
- this.lb_checkUser.Location = new System.Drawing.Point(320, 82);
+ this.lb_checkUser.Location = new System.Drawing.Point(545, 13);
this.lb_checkUser.Name = "lb_checkUser";
this.lb_checkUser.Size = new System.Drawing.Size(56, 21);
this.lb_checkUser.TabIndex = 222;
@@ -232,7 +202,7 @@
//
// txt_checkUser
//
- this.txt_checkUser.Location = new System.Drawing.Point(382, 80);
+ this.txt_checkUser.Location = new System.Drawing.Point(606, 9);
this.txt_checkUser.Name = "txt_checkUser";
this.txt_checkUser.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.txt_checkUser.Properties.Appearance.Options.UseFont = true;
@@ -243,21 +213,21 @@
//
this.gv_checkUser.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
this.gv_checkUser.AppearanceCell.Options.UseFont = true;
- this.gv_checkUser.Caption = "瀹℃牳浜� ";
+ this.gv_checkUser.Caption = "瀹℃牳浜�";
this.gv_checkUser.FieldName = "checkUser";
this.gv_checkUser.MinWidth = 50;
this.gv_checkUser.Name = "gv_checkUser";
this.gv_checkUser.OptionsColumn.AllowEdit = false;
this.gv_checkUser.Tag = "query_a.CHECK_USER";
this.gv_checkUser.Visible = true;
- this.gv_checkUser.VisibleIndex = 6;
+ this.gv_checkUser.VisibleIndex = 5;
this.gv_checkUser.Width = 94;
//
// lb_lastupdateDate
//
this.lb_lastupdateDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.lb_lastupdateDate.Appearance.Options.UseFont = true;
- this.lb_lastupdateDate.Location = new System.Drawing.Point(270, 48);
+ this.lb_lastupdateDate.Location = new System.Drawing.Point(769, 51);
this.lb_lastupdateDate.Name = "lb_lastupdateDate";
this.lb_lastupdateDate.Size = new System.Drawing.Size(107, 21);
this.lb_lastupdateDate.TabIndex = 219;
@@ -265,7 +235,7 @@
//
// txt_lastupdateDate
//
- this.txt_lastupdateDate.Location = new System.Drawing.Point(383, 45);
+ this.txt_lastupdateDate.Location = new System.Drawing.Point(882, 47);
this.txt_lastupdateDate.Name = "txt_lastupdateDate";
this.txt_lastupdateDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.txt_lastupdateDate.Properties.Appearance.Options.UseFont = true;
@@ -276,21 +246,21 @@
//
this.gv_lastupdateDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
this.gv_lastupdateDate.AppearanceCell.Options.UseFont = true;
- this.gv_lastupdateDate.Caption = "鏈�鍚庢洿鏂版椂闂� ";
+ this.gv_lastupdateDate.Caption = "鏈�鍚庢洿鏂版椂闂�";
this.gv_lastupdateDate.FieldName = "lastupdateDate";
this.gv_lastupdateDate.MinWidth = 50;
this.gv_lastupdateDate.Name = "gv_lastupdateDate";
this.gv_lastupdateDate.OptionsColumn.AllowEdit = false;
this.gv_lastupdateDate.Tag = "query_a.LASTUPDATE_DATE";
this.gv_lastupdateDate.Visible = true;
- this.gv_lastupdateDate.VisibleIndex = 5;
+ this.gv_lastupdateDate.VisibleIndex = 4;
this.gv_lastupdateDate.Width = 94;
//
// lb_lastupdateBy
//
this.lb_lastupdateBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.lb_lastupdateBy.Appearance.Options.UseFont = true;
- this.lb_lastupdateBy.Location = new System.Drawing.Point(20, 48);
+ this.lb_lastupdateBy.Location = new System.Drawing.Point(786, 13);
this.lb_lastupdateBy.Name = "lb_lastupdateBy";
this.lb_lastupdateBy.Size = new System.Drawing.Size(90, 21);
this.lb_lastupdateBy.TabIndex = 217;
@@ -298,7 +268,7 @@
//
// txt_lastupdateBy
//
- this.txt_lastupdateBy.Location = new System.Drawing.Point(114, 45);
+ this.txt_lastupdateBy.Location = new System.Drawing.Point(882, 9);
this.txt_lastupdateBy.Name = "txt_lastupdateBy";
this.txt_lastupdateBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.txt_lastupdateBy.Properties.Appearance.Options.UseFont = true;
@@ -309,21 +279,21 @@
//
this.gv_lastupdateBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
this.gv_lastupdateBy.AppearanceCell.Options.UseFont = true;
- this.gv_lastupdateBy.Caption = "鏈�鍚庢洿鏂颁汉 ";
+ this.gv_lastupdateBy.Caption = "鏈�鍚庢洿鏂颁汉";
this.gv_lastupdateBy.FieldName = "lastupdateBy";
this.gv_lastupdateBy.MinWidth = 50;
this.gv_lastupdateBy.Name = "gv_lastupdateBy";
this.gv_lastupdateBy.OptionsColumn.AllowEdit = false;
this.gv_lastupdateBy.Tag = "query_a.LASTUPDATE_BY";
this.gv_lastupdateBy.Visible = true;
- this.gv_lastupdateBy.VisibleIndex = 4;
+ this.gv_lastupdateBy.VisibleIndex = 3;
this.gv_lastupdateBy.Width = 94;
//
// lb_createDate
//
this.lb_createDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.lb_createDate.Appearance.Options.UseFont = true;
- this.lb_createDate.Location = new System.Drawing.Point(800, 48);
+ this.lb_createDate.Location = new System.Drawing.Point(286, 51);
this.lb_createDate.Name = "lb_createDate";
this.lb_createDate.Size = new System.Drawing.Size(73, 21);
this.lb_createDate.TabIndex = 216;
@@ -331,7 +301,7 @@
//
// txt_createDate
//
- this.txt_createDate.Location = new System.Drawing.Point(879, 45);
+ this.txt_createDate.Location = new System.Drawing.Point(365, 47);
this.txt_createDate.Name = "txt_createDate";
this.txt_createDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.txt_createDate.Properties.Appearance.Options.UseFont = true;
@@ -342,21 +312,21 @@
//
this.gv_createDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
this.gv_createDate.AppearanceCell.Options.UseFont = true;
- this.gv_createDate.Caption = "鍒涘缓鏃堕棿 ";
+ 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.VisibleIndex = 2;
this.gv_createDate.Width = 94;
//
// lb_createBy
//
this.lb_createBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.lb_createBy.Appearance.Options.UseFont = true;
- this.lb_createBy.Location = new System.Drawing.Point(555, 48);
+ this.lb_createBy.Location = new System.Drawing.Point(303, 13);
this.lb_createBy.Name = "lb_createBy";
this.lb_createBy.Size = new System.Drawing.Size(56, 21);
this.lb_createBy.TabIndex = 213;
@@ -364,7 +334,7 @@
//
// txt_createBy
//
- this.txt_createBy.Location = new System.Drawing.Point(634, 45);
+ this.txt_createBy.Location = new System.Drawing.Point(365, 9);
this.txt_createBy.Name = "txt_createBy";
this.txt_createBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.txt_createBy.Properties.Appearance.Options.UseFont = true;
@@ -375,21 +345,21 @@
//
this.gv_createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
this.gv_createBy.AppearanceCell.Options.UseFont = true;
- this.gv_createBy.Caption = "鍒涘缓浜� ";
+ this.gv_createBy.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.VisibleIndex = 1;
this.gv_createBy.Width = 94;
//
// lb_itemNo
//
this.lb_itemNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.lb_itemNo.Appearance.Options.UseFont = true;
- this.lb_itemNo.Location = new System.Drawing.Point(287, 13);
+ this.lb_itemNo.Location = new System.Drawing.Point(21, 51);
this.lb_itemNo.Name = "lb_itemNo";
this.lb_itemNo.Size = new System.Drawing.Size(73, 21);
this.lb_itemNo.TabIndex = 211;
@@ -397,7 +367,7 @@
//
// txt_itemNo
//
- this.txt_itemNo.Location = new System.Drawing.Point(383, 13);
+ this.txt_itemNo.Location = new System.Drawing.Point(114, 47);
this.txt_itemNo.Name = "txt_itemNo";
this.txt_itemNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.txt_itemNo.Properties.Appearance.Options.UseFont = true;
@@ -408,29 +378,15 @@
//
this.gv_itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
this.gv_itemNo.AppearanceCell.Options.UseFont = true;
- this.gv_itemNo.Caption = "鐗╂枡缂栫爜 ";
+ this.gv_itemNo.Caption = "鐗╂枡缂栫爜";
this.gv_itemNo.FieldName = "itemNo";
this.gv_itemNo.MinWidth = 50;
this.gv_itemNo.Name = "gv_itemNo";
this.gv_itemNo.OptionsColumn.AllowEdit = false;
this.gv_itemNo.Tag = "query_a.ITEM_NO";
this.gv_itemNo.Visible = true;
- this.gv_itemNo.VisibleIndex = 1;
+ this.gv_itemNo.VisibleIndex = 0;
this.gv_itemNo.Width = 94;
- //
- // gv_guid
- //
- this.gv_guid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
- this.gv_guid.AppearanceCell.Options.UseFont = true;
- this.gv_guid.Caption = "guid ";
- this.gv_guid.FieldName = "guid";
- this.gv_guid.MinWidth = 50;
- this.gv_guid.Name = "gv_guid";
- this.gv_guid.OptionsColumn.AllowEdit = false;
- this.gv_guid.Tag = "query_a.guid";
- this.gv_guid.Visible = true;
- this.gv_guid.VisibleIndex = 0;
- this.gv_guid.Width = 94;
//
// toolBarMenu1
//
@@ -463,7 +419,6 @@
this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F);
this.gridView1.Appearance.Row.Options.UseFont = true;
this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
- this.gv_guid,
this.gv_itemNo,
this.gv_createBy,
this.gv_createDate,
@@ -525,13 +480,13 @@
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
+ this.panel1.Controls.Add(this.txt_suppNo);
+ this.panel1.Controls.Add(this.txt_itemId);
+ this.panel1.Controls.Add(this.txt_status);
this.panel1.Controls.Add(this.lbGuid);
this.panel1.Controls.Add(this.lb_suppNo);
- this.panel1.Controls.Add(this.txt_suppNo);
this.panel1.Controls.Add(this.lb_itemId);
- this.panel1.Controls.Add(this.txt_itemId);
this.panel1.Controls.Add(this.lb_status);
- this.panel1.Controls.Add(this.txt_status);
this.panel1.Controls.Add(this.lb_checkDate);
this.panel1.Controls.Add(this.txt_checkDate);
this.panel1.Controls.Add(this.lb_checkUser);
@@ -549,16 +504,42 @@
this.panel1.Font = new System.Drawing.Font("Tahoma", 10F);
this.panel1.Location = new System.Drawing.Point(23, 20);
this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(1092, 524);
+ this.panel1.Size = new System.Drawing.Size(1052, 196);
this.panel1.TabIndex = 1;
+ //
+ // txt_suppNo
+ //
+ this.txt_suppNo.KeyFile = "";
+ this.txt_suppNo.Location = new System.Drawing.Point(114, 90);
+ this.txt_suppNo.Margin = new System.Windows.Forms.Padding(0);
+ this.txt_suppNo.Name = "txt_suppNo";
+ this.txt_suppNo.Size = new System.Drawing.Size(150, 30);
+ this.txt_suppNo.TabIndex = 238;
+ //
+ // txt_itemId
+ //
+ this.txt_itemId.KeyFile = "";
+ this.txt_itemId.Location = new System.Drawing.Point(114, 12);
+ this.txt_itemId.Name = "txt_itemId";
+ this.txt_itemId.Size = new System.Drawing.Size(150, 33);
+ this.txt_itemId.TabIndex = 237;
+ //
+ // txt_status
+ //
+ this.txt_status.Location = new System.Drawing.Point(364, 87);
+ this.txt_status.Name = "txt_status";
+ this.txt_status.Properties.Caption = "";
+ this.txt_status.Size = new System.Drawing.Size(94, 24);
+ this.txt_status.TabIndex = 236;
//
// lbGuid
//
this.lbGuid.AutoSize = true;
- this.lbGuid.Location = new System.Drawing.Point(29, 125);
+ this.lbGuid.Location = new System.Drawing.Point(29, 115);
this.lbGuid.Name = "lbGuid";
this.lbGuid.Size = new System.Drawing.Size(0, 21);
this.lbGuid.TabIndex = 1;
+ this.lbGuid.Visible = false;
//
// Frm_MesQaMj
//
@@ -568,9 +549,6 @@
this.Controls.Add(this.xtraTabControl1);
this.Controls.Add(this.toolBarMenu1);
this.Name = "Frm_MesQaMj";
- ((System.ComponentModel.ISupportInitialize)(this.txt_suppNo.Properties)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_itemId.Properties)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_status.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.txt_checkDate.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.txt_checkUser.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.txt_lastupdateDate.Properties)).EndInit();
@@ -586,6 +564,7 @@
this.xtraTabPage2.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_status.Properties)).EndInit();
this.ResumeLayout(false);
}
@@ -601,15 +580,12 @@
private System.Windows.Forms.Label lbGuid;
//BQCreateConrolObejct
private DevExpress.XtraEditors.LabelControl lb_suppNo;
- private DevExpress.XtraEditors.TextEdit txt_suppNo;
private DevExpress.XtraGrid.Columns.GridColumn gv_suppNo;
private DevExpress.XtraEditors.LabelControl lb_itemId;
- private DevExpress.XtraEditors.TextEdit txt_itemId;
private DevExpress.XtraGrid.Columns.GridColumn gv_itemId;
private DevExpress.XtraEditors.LabelControl lb_status;
- private DevExpress.XtraEditors.TextEdit txt_status;
private DevExpress.XtraGrid.Columns.GridColumn gv_status;
private DevExpress.XtraEditors.LabelControl lb_checkDate;
@@ -639,7 +615,8 @@
private DevExpress.XtraEditors.LabelControl lb_itemNo;
private DevExpress.XtraEditors.TextEdit txt_itemNo;
private DevExpress.XtraGrid.Columns.GridColumn gv_itemNo;
- private DevExpress.XtraGrid.Columns.GridColumn gv_guid;
-
+ private DevExpress.XtraEditors.CheckEdit txt_status;
+ private UserControl.UcLookSupplier txt_suppNo;
+ private UserControl.UcLookItems txt_itemId;
}
}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.cs
index a9243a2..f10e068 100644
--- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.cs
+++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.cs
@@ -45,8 +45,17 @@
Rectangle r = new Rectangle(gridView1.GridControl.Width / 2 - 100, e.Bounds.Top + 45, e.Bounds.Right - 5, e.Bounds.Height - 5);
e.Graphics.DrawString(str, f, Brushes.Gray, r);
};
+ _setIno();
}
-
+ private void _setIno()
+ {
+ this.txt_itemId.KeyFile = "id";
+ this.txt_suppNo.KeyFile = "suppNo";
+ txt_itemId.EditChanged += (s, e) =>
+ {
+ txt_itemNo.Text = this.txt_itemId.GetCode();
+ };
+ }
/// <summary>
/// 鍙屽嚮浜嬩欢
/// </summary>
@@ -189,17 +198,26 @@
private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e)
{
toolBarMenu1.isSetBtn = false;
- if (string.IsNullOrEmpty(txt_itemNo.Text.Trim()))
+ string _ItemId = txt_itemId.GetId();
+ string _suppNo = txt_suppNo.GetCode();
+ if (string.IsNullOrEmpty(_ItemId))
{
- Gs.DevApp.ToolBox.MsgHelper.Warning("鐗╂枡缂栫爜涓嶈兘涓虹┖锛�");
- // txt_account.Focus();
+ Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨鐗╂枡锛�");
+ txt_itemId.Focus();
+ return;
+ }
+ if (string.IsNullOrEmpty(_suppNo))
+ {
+ Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨渚涘簲鍟嗭紒");
+ txt_suppNo.Focus();
return;
}
var _obj = new MesQaMj
{
Guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓
- ItemId = Convert.ToInt32(txt_itemId.Text.Trim()),
- ItemNo = txt_itemNo.Text.Trim(),
+ ItemId = Convert.ToInt32(_ItemId),
+ ItemNo = txt_itemId.GetCode(),
+ SuppNo= _suppNo,
};
try
{
@@ -310,7 +328,7 @@
toolBarMenu1.guidKey = "";
string rowGuid, rowName;
(rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
- lbGuid, txt_itemId, gridView1);
+ lbGuid, txt_itemNo, gridView1);
toolBarMenu1.guidKey = rowGuid;
}
@@ -324,7 +342,7 @@
toolBarMenu1.guidKey = "";
string rowGuid, rowName;
(rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
- lbGuid, txt_itemId, gridView1);
+ lbGuid, txt_itemNo, gridView1);
toolBarMenu1.guidKey = rowGuid;
}
}
diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.Designer.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.Designer.cs
index 070fd60..40818c0 100644
--- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.Designer.cs
@@ -426,7 +426,7 @@
//
this.lb_isenabled.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.lb_isenabled.Appearance.Options.UseFont = true;
- this.lb_isenabled.Location = new System.Drawing.Point(601, 131);
+ this.lb_isenabled.Location = new System.Drawing.Point(978, 92);
this.lb_isenabled.Name = "lb_isenabled";
this.lb_isenabled.Size = new System.Drawing.Size(73, 21);
this.lb_isenabled.TabIndex = 306;
@@ -491,6 +491,7 @@
//
// txt_ftwoCheckdate
//
+ this.txt_ftwoCheckdate.Enabled = false;
this.txt_ftwoCheckdate.Location = new System.Drawing.Point(674, 49);
this.txt_ftwoCheckdate.Name = "txt_ftwoCheckdate";
this.txt_ftwoCheckdate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
@@ -510,6 +511,7 @@
//
// txt_ftwoCheckor
//
+ this.txt_ftwoCheckor.Enabled = false;
this.txt_ftwoCheckor.Location = new System.Drawing.Point(674, 15);
this.txt_ftwoCheckor.Name = "txt_ftwoCheckor";
this.txt_ftwoCheckor.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
@@ -567,11 +569,12 @@
//
// txt_foneCheckdate
//
+ this.txt_foneCheckdate.Enabled = false;
this.txt_foneCheckdate.Location = new System.Drawing.Point(917, 49);
this.txt_foneCheckdate.Name = "txt_foneCheckdate";
this.txt_foneCheckdate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.txt_foneCheckdate.Properties.Appearance.Options.UseFont = true;
- this.txt_foneCheckdate.Size = new System.Drawing.Size(178, 28);
+ this.txt_foneCheckdate.Size = new System.Drawing.Size(150, 28);
this.txt_foneCheckdate.TabIndex = 267;
//
// gv_foneCheckdate
@@ -600,6 +603,7 @@
//
// txt_foneCheckor
//
+ this.txt_foneCheckor.Enabled = false;
this.txt_foneCheckor.Location = new System.Drawing.Point(917, 15);
this.txt_foneCheckor.Name = "txt_foneCheckor";
this.txt_foneCheckor.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
@@ -921,7 +925,7 @@
// btnSelect
//
this.btnSelect.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.lookup_reference_16x16;
- this.btnSelect.Location = new System.Drawing.Point(722, 126);
+ this.btnSelect.Location = new System.Drawing.Point(601, 127);
this.btnSelect.Name = "btnSelect";
this.btnSelect.Size = new System.Drawing.Size(85, 29);
this.btnSelect.TabIndex = 449;
@@ -947,7 +951,7 @@
//
// txt_isenabled
//
- this.txt_isenabled.Location = new System.Drawing.Point(674, 129);
+ this.txt_isenabled.Location = new System.Drawing.Point(1051, 90);
this.txt_isenabled.Name = "txt_isenabled";
this.txt_isenabled.Properties.Caption = "";
this.txt_isenabled.Size = new System.Drawing.Size(27, 24);
@@ -955,6 +959,7 @@
//
// txt_ftwoChecked
//
+ this.txt_ftwoChecked.Enabled = false;
this.txt_ftwoChecked.Location = new System.Drawing.Point(674, 91);
this.txt_ftwoChecked.Name = "txt_ftwoChecked";
this.txt_ftwoChecked.Properties.Caption = "";
@@ -963,6 +968,7 @@
//
// txt_foneChecked
//
+ this.txt_foneChecked.Enabled = false;
this.txt_foneChecked.Location = new System.Drawing.Point(917, 91);
this.txt_foneChecked.Name = "txt_foneChecked";
this.txt_foneChecked.Properties.Caption = "";
@@ -991,6 +997,7 @@
//
// txt_createDate
//
+ this.txt_createDate.Enabled = false;
this.txt_createDate.Location = new System.Drawing.Point(433, 55);
this.txt_createDate.Name = "txt_createDate";
this.txt_createDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
@@ -1010,6 +1017,7 @@
//
// txt_userName
//
+ this.txt_userName.Enabled = false;
this.txt_userName.Location = new System.Drawing.Point(433, 16);
this.txt_userName.Name = "txt_userName";
this.txt_userName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
--
Gitblit v1.9.3