From 640f5f3d154538a350306da03ff2528b35949709 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期三, 06 十一月 2024 08:19:31 +0800
Subject: [PATCH] iqc
---
DevApp/Gs.DevApp/UserControl/UcLookCk.cs | 4
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.Designer.cs | 172 +++++++++++++-----
DevApp/Gs.DevApp/UserControl/SelectCgMx.cs | 31 +-
DevApp/Gs.DevApp/UserControl/UcLookCk.Designer.cs | 2
DevApp/Gs.DevApp/DevFrm/Warehouse/Models/MesInvItemArnDetail.cs | 46 ++++
DevApp/Gs.DevApp/DevFrm/Warehouse/Models/MesInvItemArn.cs | 50 ++++
DevApp/Gs.DevApp/UserControl/SelectCgMx.Designer.cs | 89 ++++-----
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs | 142 ++++++++------
8 files changed, 343 insertions(+), 193 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.Designer.cs
index f54c796..86881b0 100644
--- a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.Designer.cs
@@ -29,11 +29,11 @@
/// </summary>
private void InitializeComponent()
{
- DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
- DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject();
+ DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions3 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject9 = new DevExpress.Utils.SerializableAppearanceObject();
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject10 = new DevExpress.Utils.SerializableAppearanceObject();
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject11 = new DevExpress.Utils.SerializableAppearanceObject();
+ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject12 = new DevExpress.Utils.SerializableAppearanceObject();
this.gvMx1states = new DevExpress.XtraGrid.Columns.GridColumn();
this.gvMx1returnFlag = new DevExpress.XtraGrid.Columns.GridColumn();
this.gvMx1cgRkqty = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -97,19 +97,24 @@
this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
this.tabMx = new DevExpress.XtraTab.XtraTabControl();
this.panel1 = new System.Windows.Forms.Panel();
+ this.txtDepotsId = new DevExpress.XtraEditors.TextEdit();
+ this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
+ this.label1 = new System.Windows.Forms.Label();
+ this.txtSupplierId = new DevExpress.XtraEditors.TextEdit();
this.txt_fType = new DevExpress.XtraEditors.CheckEdit();
this.txt_urgentFlag = new DevExpress.XtraEditors.CheckEdit();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
this.txt_ischeck = new DevExpress.XtraEditors.CheckEdit();
- this.txt_depotsCode = new Gs.DevApp.UserControl.UcLookCk();
+ this.txt_depotsId = new Gs.DevApp.UserControl.UcLookCk();
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
this.btnSelect = new DevExpress.XtraEditors.SimpleButton();
- this.txt_suppNo = new Gs.DevApp.UserControl.UcLookSupplier();
+ this.txt_suppId = new Gs.DevApp.UserControl.UcLookSupplier();
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
this.lbGuid = new System.Windows.Forms.Label();
this.lb_remark = new DevExpress.XtraEditors.LabelControl();
this.txt_remark = new DevExpress.XtraEditors.TextEdit();
+ this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.tabMxPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit();
@@ -125,6 +130,8 @@
((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit();
this.tabMx.SuspendLayout();
this.panel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.txtDepotsId.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txtSupplierId.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txt_fType.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txt_urgentFlag.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txt_ischeck.Properties)).BeginInit();
@@ -156,7 +163,7 @@
this.gvMx1returnFlag.OptionsColumn.ReadOnly = true;
this.gvMx1returnFlag.Tag = "query_a.return_flag";
this.gvMx1returnFlag.Visible = true;
- this.gvMx1returnFlag.VisibleIndex = 21;
+ this.gvMx1returnFlag.VisibleIndex = 4;
this.gvMx1returnFlag.Width = 100;
//
// gvMx1cgRkqty
@@ -455,7 +462,7 @@
//
this.tabMxPage1.Controls.Add(this.gcMx1);
this.tabMxPage1.Name = "tabMxPage1";
- this.tabMxPage1.Size = new System.Drawing.Size(1229, 383);
+ this.tabMxPage1.Size = new System.Drawing.Size(1229, 370);
this.tabMxPage1.Text = "鏄庣粏1";
//
// gcMx1
@@ -466,7 +473,7 @@
this.gcMx1.Name = "gcMx1";
this.gcMx1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.repositoryItemButtonEdit1});
- this.gcMx1.Size = new System.Drawing.Size(1229, 383);
+ this.gcMx1.Size = new System.Drawing.Size(1229, 370);
this.gcMx1.TabIndex = 0;
this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gvMx1});
@@ -483,6 +490,7 @@
this.gvMx1returnFlag,
this.gvMx1urgentFlag,
this.gvMx1isdepsIn,
+ this.gridColumn1,
this.gvMx1itemNo,
this.gvMx1boardStyle,
this.gvMx1ebelnQty,
@@ -528,10 +536,10 @@
// repositoryItemButtonEdit1
//
this.repositoryItemButtonEdit1.AutoHeight = false;
- editorButtonImageOptions2.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16;
- editorButtonImageOptions2.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
+ editorButtonImageOptions3.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16;
+ editorButtonImageOptions3.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, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "绉诲嚭", -1, true, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", 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);
@@ -564,7 +572,7 @@
//
this.lb_fType.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.lb_fType.Appearance.Options.UseFont = true;
- this.lb_fType.Location = new System.Drawing.Point(606, 55);
+ this.lb_fType.Location = new System.Drawing.Point(677, 58);
this.lb_fType.Name = "lb_fType";
this.lb_fType.Size = new System.Drawing.Size(68, 21);
this.lb_fType.TabIndex = 378;
@@ -591,7 +599,7 @@
//
this.lb_urgentFlag.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.lb_urgentFlag.Appearance.Options.UseFont = true;
- this.lb_urgentFlag.Location = new System.Drawing.Point(606, 18);
+ this.lb_urgentFlag.Location = new System.Drawing.Point(677, 21);
this.lb_urgentFlag.Name = "lb_urgentFlag";
this.lb_urgentFlag.Size = new System.Drawing.Size(68, 21);
this.lb_urgentFlag.TabIndex = 343;
@@ -629,7 +637,7 @@
//
this.lb_ischeck.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.lb_ischeck.Appearance.Options.UseFont = true;
- this.lb_ischeck.Location = new System.Drawing.Point(606, 91);
+ this.lb_ischeck.Location = new System.Drawing.Point(677, 94);
this.lb_ischeck.Name = "lb_ischeck";
this.lb_ischeck.Size = new System.Drawing.Size(102, 21);
this.lb_ischeck.TabIndex = 319;
@@ -763,7 +771,7 @@
this.txt_paperBillNo.Name = "txt_paperBillNo";
this.txt_paperBillNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.txt_paperBillNo.Properties.Appearance.Options.UseFont = true;
- this.txt_paperBillNo.Size = new System.Drawing.Size(150, 28);
+ this.txt_paperBillNo.Size = new System.Drawing.Size(215, 28);
this.txt_paperBillNo.TabIndex = 243;
//
// gv_paperBillNo
@@ -960,10 +968,10 @@
// tabMx
//
this.tabMx.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tabMx.Location = new System.Drawing.Point(0, 155);
+ this.tabMx.Location = new System.Drawing.Point(0, 168);
this.tabMx.Name = "tabMx";
this.tabMx.SelectedTabPage = this.tabMxPage1;
- this.tabMx.Size = new System.Drawing.Size(1231, 415);
+ this.tabMx.Size = new System.Drawing.Size(1231, 402);
this.tabMx.TabIndex = 2;
this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
this.tabMxPage1});
@@ -971,14 +979,18 @@
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
+ this.panel1.Controls.Add(this.txtDepotsId);
+ this.panel1.Controls.Add(this.labelControl4);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Controls.Add(this.txtSupplierId);
this.panel1.Controls.Add(this.txt_fType);
this.panel1.Controls.Add(this.txt_urgentFlag);
this.panel1.Controls.Add(this.labelControl2);
this.panel1.Controls.Add(this.txt_ischeck);
- this.panel1.Controls.Add(this.txt_depotsCode);
+ this.panel1.Controls.Add(this.txt_depotsId);
this.panel1.Controls.Add(this.labelControl3);
this.panel1.Controls.Add(this.btnSelect);
- this.panel1.Controls.Add(this.txt_suppNo);
+ this.panel1.Controls.Add(this.txt_suppId);
this.panel1.Controls.Add(this.labelControl1);
this.panel1.Controls.Add(this.labelControl11);
this.panel1.Controls.Add(this.lbGuid);
@@ -995,12 +1007,51 @@
this.panel1.Font = new System.Drawing.Font("Tahoma", 10F);
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(1231, 155);
+ this.panel1.Size = new System.Drawing.Size(1231, 168);
this.panel1.TabIndex = 1;
+ //
+ // txtDepotsId
+ //
+ this.txtDepotsId.Enabled = false;
+ this.txtDepotsId.Location = new System.Drawing.Point(421, 89);
+ this.txtDepotsId.Name = "txtDepotsId";
+ this.txtDepotsId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.txtDepotsId.Properties.Appearance.Options.UseFont = true;
+ this.txtDepotsId.Size = new System.Drawing.Size(215, 28);
+ this.txtDepotsId.TabIndex = 454;
+ //
+ // labelControl4
+ //
+ this.labelControl4.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.labelControl4.Appearance.Options.UseFont = true;
+ this.labelControl4.Location = new System.Drawing.Point(357, 93);
+ this.labelControl4.Name = "labelControl4";
+ this.labelControl4.Size = new System.Drawing.Size(52, 21);
+ this.labelControl4.TabIndex = 453;
+ this.labelControl4.Text = "浠撳簱ID";
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(26, 91);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(62, 21);
+ this.label1.TabIndex = 452;
+ this.label1.Text = "渚涘簲ID";
+ //
+ // txtSupplierId
+ //
+ this.txtSupplierId.Enabled = false;
+ this.txtSupplierId.Location = new System.Drawing.Point(98, 87);
+ this.txtSupplierId.Name = "txtSupplierId";
+ this.txtSupplierId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.txtSupplierId.Properties.Appearance.Options.UseFont = true;
+ this.txtSupplierId.Size = new System.Drawing.Size(215, 28);
+ this.txtSupplierId.TabIndex = 451;
//
// txt_fType
//
- this.txt_fType.Location = new System.Drawing.Point(714, 53);
+ this.txt_fType.Location = new System.Drawing.Point(785, 56);
this.txt_fType.Name = "txt_fType";
this.txt_fType.Properties.Caption = "";
this.txt_fType.Size = new System.Drawing.Size(35, 24);
@@ -1008,7 +1059,7 @@
//
// txt_urgentFlag
//
- this.txt_urgentFlag.Location = new System.Drawing.Point(714, 16);
+ this.txt_urgentFlag.Location = new System.Drawing.Point(785, 19);
this.txt_urgentFlag.Name = "txt_urgentFlag";
this.txt_urgentFlag.Properties.Caption = "";
this.txt_urgentFlag.Size = new System.Drawing.Size(35, 24);
@@ -1016,7 +1067,7 @@
//
// labelControl2
//
- this.labelControl2.Location = new System.Drawing.Point(28, 128);
+ this.labelControl2.Location = new System.Drawing.Point(349, 133);
this.labelControl2.Name = "labelControl2";
this.labelControl2.Size = new System.Drawing.Size(60, 18);
this.labelControl2.TabIndex = 448;
@@ -1025,26 +1076,26 @@
// txt_ischeck
//
this.txt_ischeck.Enabled = false;
- this.txt_ischeck.Location = new System.Drawing.Point(714, 89);
+ this.txt_ischeck.Location = new System.Drawing.Point(785, 92);
this.txt_ischeck.Name = "txt_ischeck";
this.txt_ischeck.Properties.Caption = "";
this.txt_ischeck.Size = new System.Drawing.Size(47, 24);
this.txt_ischeck.TabIndex = 447;
//
- // txt_depotsCode
+ // txt_depotsId
//
- this.txt_depotsCode.KeyFile = "";
- this.txt_depotsCode.Location = new System.Drawing.Point(98, 84);
- this.txt_depotsCode.Margin = new System.Windows.Forms.Padding(0);
- this.txt_depotsCode.Name = "txt_depotsCode";
- this.txt_depotsCode.Size = new System.Drawing.Size(215, 34);
- this.txt_depotsCode.TabIndex = 445;
+ this.txt_depotsId.KeyFile = "";
+ this.txt_depotsId.Location = new System.Drawing.Point(421, 50);
+ this.txt_depotsId.Margin = new System.Windows.Forms.Padding(0);
+ this.txt_depotsId.Name = "txt_depotsId";
+ this.txt_depotsId.Size = new System.Drawing.Size(215, 28);
+ this.txt_depotsId.TabIndex = 445;
//
// labelControl3
//
this.labelControl3.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.labelControl3.Appearance.Options.UseFont = true;
- this.labelControl3.Location = new System.Drawing.Point(20, 91);
+ this.labelControl3.Location = new System.Drawing.Point(341, 57);
this.labelControl3.Name = "labelControl3";
this.labelControl3.Size = new System.Drawing.Size(68, 21);
this.labelControl3.TabIndex = 444;
@@ -1053,34 +1104,34 @@
// btnSelect
//
this.btnSelect.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.lookup_reference_16x16;
- this.btnSelect.Location = new System.Drawing.Point(98, 123);
+ this.btnSelect.Location = new System.Drawing.Point(421, 128);
this.btnSelect.Name = "btnSelect";
this.btnSelect.Size = new System.Drawing.Size(74, 29);
this.btnSelect.TabIndex = 443;
this.btnSelect.Text = "鍘婚�夋嫨";
//
- // txt_suppNo
+ // txt_suppId
//
- this.txt_suppNo.KeyFile = "";
- this.txt_suppNo.Location = new System.Drawing.Point(98, 50);
- this.txt_suppNo.Margin = new System.Windows.Forms.Padding(0);
- this.txt_suppNo.Name = "txt_suppNo";
- this.txt_suppNo.Size = new System.Drawing.Size(215, 28);
- this.txt_suppNo.TabIndex = 440;
+ this.txt_suppId.KeyFile = "";
+ this.txt_suppId.Location = new System.Drawing.Point(98, 50);
+ this.txt_suppId.Margin = new System.Windows.Forms.Padding(0);
+ this.txt_suppId.Name = "txt_suppId";
+ this.txt_suppId.Size = new System.Drawing.Size(215, 28);
+ this.txt_suppId.TabIndex = 440;
//
// labelControl1
//
this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.labelControl1.Appearance.Options.UseFont = true;
- this.labelControl1.Location = new System.Drawing.Point(37, 55);
+ this.labelControl1.Location = new System.Drawing.Point(3, 55);
this.labelControl1.Name = "labelControl1";
- this.labelControl1.Size = new System.Drawing.Size(51, 21);
+ this.labelControl1.Size = new System.Drawing.Size(85, 21);
this.labelControl1.TabIndex = 439;
- this.labelControl1.Text = "渚涘簲鍟�";
+ this.labelControl1.Text = "閫夋嫨渚涘簲鍟�";
//
// labelControl11
//
- this.labelControl11.Location = new System.Drawing.Point(916, 99);
+ this.labelControl11.Location = new System.Drawing.Point(851, 99);
this.labelControl11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.labelControl11.Name = "labelControl11";
this.labelControl11.Size = new System.Drawing.Size(45, 18);
@@ -1091,7 +1142,7 @@
// lbGuid
//
this.lbGuid.AutoSize = true;
- this.lbGuid.Location = new System.Drawing.Point(967, 99);
+ this.lbGuid.Location = new System.Drawing.Point(902, 99);
this.lbGuid.Name = "lbGuid";
this.lbGuid.Size = new System.Drawing.Size(0, 21);
this.lbGuid.TabIndex = 1;
@@ -1101,7 +1152,7 @@
//
this.lb_remark.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.lb_remark.Appearance.Options.UseFont = true;
- this.lb_remark.Location = new System.Drawing.Point(375, 55);
+ this.lb_remark.Location = new System.Drawing.Point(54, 132);
this.lb_remark.Name = "lb_remark";
this.lb_remark.Size = new System.Drawing.Size(34, 21);
this.lb_remark.TabIndex = 240;
@@ -1109,12 +1160,22 @@
//
// txt_remark
//
- this.txt_remark.Location = new System.Drawing.Point(421, 51);
+ this.txt_remark.Location = new System.Drawing.Point(98, 128);
this.txt_remark.Name = "txt_remark";
this.txt_remark.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
this.txt_remark.Properties.Appearance.Options.UseFont = true;
- this.txt_remark.Size = new System.Drawing.Size(150, 28);
+ this.txt_remark.Size = new System.Drawing.Size(215, 28);
this.txt_remark.TabIndex = 240;
+ //
+ // gridColumn1
+ //
+ this.gridColumn1.Caption = "鐗╂枡ID";
+ this.gridColumn1.FieldName = "itemId";
+ this.gridColumn1.MinWidth = 60;
+ this.gridColumn1.Name = "gridColumn1";
+ this.gridColumn1.Visible = true;
+ this.gridColumn1.VisibleIndex = 5;
+ this.gridColumn1.Width = 94;
//
// Frm_MesInvItemArn
//
@@ -1140,6 +1201,8 @@
this.tabMx.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.txtDepotsId.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txtSupplierId.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.txt_fType.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.txt_urgentFlag.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.txt_ischeck.Properties)).EndInit();
@@ -1217,10 +1280,10 @@
private DevExpress.XtraEditors.TextEdit txt_billNo;
private DevExpress.XtraGrid.Columns.GridColumn gv_billNo;
private DevExpress.XtraEditors.LabelControl labelControl1;
- private UserControl.UcLookSupplier txt_suppNo;
+ private UserControl.UcLookSupplier txt_suppId;
private DevExpress.XtraEditors.SimpleButton btnSelect;
private DevExpress.XtraEditors.LabelControl labelControl3;
- private UserControl.UcLookCk txt_depotsCode;
+ private UserControl.UcLookCk txt_depotsId;
private DevExpress.XtraGrid.Columns.GridColumn gvAbtGuid;
private DevExpress.XtraEditors.LabelControl lb_remark;
private DevExpress.XtraEditors.TextEdit txt_remark;
@@ -1231,5 +1294,10 @@
private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
private DevExpress.XtraEditors.CheckEdit txt_fType;
private DevExpress.XtraEditors.CheckEdit txt_urgentFlag;
+ private DevExpress.XtraEditors.TextEdit txtSupplierId;
+ private DevExpress.XtraEditors.LabelControl labelControl4;
+ private System.Windows.Forms.Label label1;
+ private DevExpress.XtraEditors.TextEdit txtDepotsId;
+ private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
}
}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs
index 19ab028..6e3b0e4 100644
--- a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs
@@ -4,10 +4,8 @@
using System.Drawing;
using System.Text;
using System.Windows.Forms;
-using DevExpress.DataAccess.DataFederation;
using DevExpress.XtraEditors;
using DevExpress.XtraEditors.Controls;
-using DevExpress.XtraGrid.Views.Base.ViewInfo;
using DevExpress.XtraGrid.Views.Grid;
using Gs.DevApp.Entity;
using Gs.DevApp.ToolBox;
@@ -54,19 +52,28 @@
e.Bounds.Top + 45, e.Bounds.Right - 5, e.Bounds.Height - 5);
e.Graphics.DrawString(str, f, Brushes.Gray, r);
};
- this.txt_depotsCode.KeyFile = "depotCode";
- this.txt_suppNo.KeyFile = "suppNo";
+ //璁剧疆浠撳簱閫夋嫨
+ this.txt_depotsId.KeyFile = "depotId";
+ this.txt_depotsId.EditChanged += (s, e) =>
+ {
+ txtDepotsId.Text = this.txt_depotsId.GetId();
+ };
+ //璁剧疆渚涘簲鍟嗛�夋嫨
+ this.txt_suppId.KeyFile = "id";
+ this.txt_suppId.EditChanged += (s, e) =>
+ {
+ txtSupplierId.Text = this.txt_suppId.GetId();
+ };
//閫夋嫨闇�瑕佸叆搴撶殑鏄庣粏
btnSelect.Click += (s, e) =>
{
- if (string.IsNullOrEmpty(this.txt_suppNo.GetId()))
+ if (string.IsNullOrEmpty(this.txt_suppId.GetId()))
{
Gs.DevApp.ToolBox.MsgHelper.ShowError("璇峰厛閫夋嫨渚涘簲鍟嗭紝鎵嶈兘閫夋嫨鏉ユ枡鏄庣粏锛�");
return;
}
- System.Text.StringBuilder sbWhere = new StringBuilder();
- sbWhere.Append(" and A.SUPPLIER=" + this.txt_suppNo.GetId());
- var frm = new SelectCgMx(this.txt_suppNo.GetCode(), sbWhere.ToString());
+ var frm = new SelectCgMx(this.txt_suppId.GetId());
+ //璧嬪�肩粰鏄庣粏琛�
frm.UpdateParent += (ss, ee) =>
{
var lst = new List<string>();
@@ -90,45 +97,7 @@
frm.ShowDialog();
};
}
-
- private void ToolBarMenu1_btnLogClick(object sender, EventArgs e)
- {
- toolBarMenu1.guidKey = "";
- string rowGuid, rowName;
- (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
- lbGuid, txt_billNo, gridView1);
- toolBarMenu1.guidKey = rowGuid;
- }
-
- /// <summary>
- /// 鍙嶆楠�
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- /// <exception cref="NotImplementedException"></exception>
- private void ToolBarMenu1_btnFjianYanClick(object sender, EventArgs e)
- {
- toolBarMenu1.guidKey = "";
- string rowGuid, rowName;
- (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
- lbGuid, txt_billNo, gridView1);
- toolBarMenu1.guidKey = rowGuid;
- }
-
- /// <summary>
- /// 妫�楠�
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- /// <exception cref="NotImplementedException"></exception>
- private void ToolBarMenu1_btnJianYanClick(object sender, EventArgs e)
- {
- toolBarMenu1.guidKey = "";
- string rowGuid, rowName;
- (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
- lbGuid, txt_billNo, gridView1);
- toolBarMenu1.guidKey = rowGuid;
- }
+
/// <summary>
/// 鍙屽嚮浜嬩欢
@@ -175,7 +144,49 @@
_filterList = e.FilterList;
getPageList(1, pageBar1.RowsCount);
}
+ /// <summary>
+ /// 鏃ュ織
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void ToolBarMenu1_btnLogClick(object sender, EventArgs e)
+ {
+ toolBarMenu1.guidKey = "";
+ string rowGuid, rowName;
+ (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
+ lbGuid, txt_billNo, gridView1);
+ toolBarMenu1.guidKey = rowGuid;
+ }
+ /// <summary>
+ /// 鍙嶆楠�
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ /// <exception cref="NotImplementedException"></exception>
+ private void ToolBarMenu1_btnFjianYanClick(object sender, EventArgs e)
+ {
+ toolBarMenu1.guidKey = "";
+ string rowGuid, rowName;
+ (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
+ lbGuid, txt_billNo, gridView1);
+ toolBarMenu1.guidKey = rowGuid;
+ }
+
+ /// <summary>
+ /// 妫�楠�
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ /// <exception cref="NotImplementedException"></exception>
+ private void ToolBarMenu1_btnJianYanClick(object sender, EventArgs e)
+ {
+ toolBarMenu1.guidKey = "";
+ string rowGuid, rowName;
+ (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
+ lbGuid, txt_billNo, gridView1);
+ toolBarMenu1.guidKey = rowGuid;
+ }
/// <summary>
/// 鍙栨秷浜嬩欢
/// </summary>
@@ -280,30 +291,32 @@
private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e)
{
toolBarMenu1.isSetBtn = false;
- var _ckCode = txt_depotsCode.GetCode(); //浠撳簱缂栧彿 depots_code
- var _gysCode = txt_suppNo.GetCode(); //渚涘簲鍟嗙紪鍙�
- if (string.IsNullOrEmpty(_gysCode))
+ var _ckId = txt_depotsId.GetId(); //浠撳簱缂栧彿 depots_code
+ var _gysId = txt_suppId.GetId(); //渚涘簲鍟嗙紪鍙�
+ if (string.IsNullOrEmpty(_gysId))
{
MsgHelper.Warning("璇烽�夋嫨渚涘簲鍟嗭紒");
- txt_suppNo.Focus();
+ txt_suppId.Focus();
return;
}
- if (string.IsNullOrEmpty(_ckCode))
+ if (string.IsNullOrEmpty(_ckId))
{
MsgHelper.Warning("璇烽�夋嫨浠撳簱锛�");
- txt_depotsCode.Focus();
+ txt_depotsId.Focus();
return;
}
- var _obj = new MesInvItemArn();
- _obj.Guid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(lbGuid.Text.Trim()); //鍒拌揣鍗曚富閿�
- _obj.PaperBillNo = txt_paperBillNo.Text.Trim(); //閫佽揣鍗曞彿;
- _obj.Remark = txt_remark.Text.Trim(); //澶囨敞
- _obj.SuppNo = _gysCode; //渚涘簲鍟嗙紪鍙�
- _obj.DepotsCode = _ckCode; //浠撳簱缂栧彿 depots_code
- _obj.FType = txt_fType.Checked; //0=閲囪喘锛�1=濮斿
- _obj.UrgentFlag = txt_urgentFlag.Checked;//0=涓嶆�ワ紝1=鎬�
- _obj.list = new List<MesInvItemArnDetail>();
+ var _obj = new MesInvItemArn()
+ {
+ Guid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(lbGuid.Text.Trim()), //鍒拌揣鍗曚富閿�
+ PaperBillNo = txt_paperBillNo.Text.Trim(), //閫佽揣鍗曞彿;
+ Remark = txt_remark.Text.Trim(), //澶囨敞
+ SuppId = _gysId, //渚涘簲鍟�
+ DepotsId = _ckId,//浠撳簱
+ FType = txt_fType.Checked,//0=閲囪喘锛�1=濮斿
+ UrgentFlag = txt_urgentFlag.Checked,//0=涓嶆�ワ紝1=鎬�
+ list = new List<MesInvItemArnDetail>(),
+ };
gvMx1.CloseEditor();
gvMx1.UpdateCurrentRow();
if (gvMx1.DataRowCount <= 0)
@@ -444,6 +457,11 @@
}
}
+ /// <summary>
+ /// 鏄庣粏鍒犻櫎
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
private void repositoryItemButtonEdit1_ButtonClick(object sender,
ButtonPressedEventArgs e)
{
diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Models/MesInvItemArn.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Models/MesInvItemArn.cs
index c30e86c..077bfcc 100644
--- a/DevApp/Gs.DevApp/DevFrm/Warehouse/Models/MesInvItemArn.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Warehouse/Models/MesInvItemArn.cs
@@ -1,175 +1,213 @@
锘縰sing System;
using System.Collections.Generic;
-using System.Linq;
namespace MES.Service.Modes
{
/// <summary>
///
///</summary>
-
+
public class MesInvItemArn
{
/// <summary>
/// 涓婚敭
/// 榛樿鍊�: (newid())
///</summary>
+
public Guid Guid { get; set; }
/// <summary>
/// 鍒拌揣鍗曞彿
///</summary>
+
public string BillNo { get; set; }
/// <summary>
/// 鐘舵�亅0-鏈鏍�1-瀹℃牳鍏ュ簱\缁撴
/// 榛樿鍊�: ((0))
///</summary>
+
public int? Status { get; set; }
/// <summary>
/// 鍘熷洜
///</summary>
+
public string Reason { get; set; }
/// <summary>
/// 鍒涘缓浜�
///</summary>
+
public string CreateBy { get; set; }
/// <summary>
/// 鍒涘缓鏃堕棿
///</summary>
+
public DateTime? CreateDate { get; set; }
/// <summary>
/// 鏈�鍚庢洿鏂颁汉
///</summary>
+
public string LastupdateBy { get; set; }
/// <summary>
/// 鏈�鍚庢洿鏂版椂闂�
///</summary>
+
public DateTime? LastupdateDate { get; set; }
/// <summary>
/// 鍗曟嵁绫诲瀷ID
///</summary>
+
public int? BillTypeId { get; set; }
/// <summary>
/// 浜嬪姟绫诲瀷ID
///</summary>
+
public int? TransactionId { get; set; }
/// <summary>
/// 澶囨敞
///</summary>
+
public string Remark { get; set; }
/// <summary>
/// 閫佽揣鍗曞彿
///</summary>
+
public string PaperBillNo { get; set; }
/// <summary>
/// 閫�鏂欎汉宸ュ彿
///</summary>
+
public string UserNoBack { get; set; }
/// <summary>
/// 鎻愪氦浜�
///</summary>
+
public string CheckUser { get; set; }
/// <summary>
/// 鎻愪氦鏃ユ湡
///</summary>
+
public DateTime? CheckDate { get; set; }
/// <summary>
/// 鍏ュ簱鏃ユ湡
///</summary>
+
public DateTime? InsDate { get; set; }
/// <summary>
/// 妫�楠岀粨鏋�
///</summary>
+
public string CheckRes { get; set; }
/// <summary>
/// 宸叉崱鏁伴噺
///</summary>
+
public int? CheckQty { get; set; }
/// <summary>
- /// 浠撳簱缂栫爜
+ /// 浠撳簱id
///</summary>
- public string DepotsCode { get; set; }
+
+ public string DepotsId { get; set; }
/// <summary>
/// 浜嬪姟绫诲瀷缂栫爜
///</summary>
+
public string TransctionNo { get; set; }
/// <summary>
- /// 渚涘簲鍟嗙紪鐮�
+ /// 渚涘簲鍟唅d
///</summary>
- public string SuppNo { get; set; }
+
+ public string SuppId { get; set; }
/// <summary>
/// 鎻愪氦鐘舵��
/// 榛樿鍊�: ((0))
///</summary>
+
public bool? Fstatus { get; set; }
/// <summary>
/// 宸ュ巶缂栫爜
///</summary>
+
public string Factory { get; set; }
/// <summary>
/// 鏄惁宸插洖鍐橲AP
/// 榛樿鍊�: ((0))
///</summary>
+
public int? Sapstatus { get; set; }
/// <summary>
/// 鏄惁妫�楠�
///</summary>
+
public bool? Ischeck { get; set; }
/// <summary>
/// 瀹℃牳鍏ュ簱浜�
///</summary>
+
public string Insby { get; set; }
/// <summary>
/// 鍏徃浠g爜
///</summary>
+
public string Company { get; set; }
/// <summary>
/// 鎬ユ枡鏍囪瘑
/// 榛樿鍊�: ((0))
///</summary>
+
public bool? UrgentFlag { get; set; }
/// <summary>
/// 鍐查攢浜嬪姟绫诲瀷缂栫爜
///</summary>
+
public int? MttransctionNo { get; set; }
/// <summary>
/// IQC妫�楠屽崟鍙�
///</summary>
+
public string IqcReleaseNo { get; set; }
/// <summary>
/// 鏄惁鏄剧ず
/// 榛樿鍊�: ((0))
///</summary>
+
public int? IsVisual { get; set; }
/// <summary>
/// 0=閲囪喘锛�1=濮斿
/// 榛樿鍊�: ((1))
///</summary>
+
public bool? FType { get; set; }
/// <summary>
/// ERP鍒拌揣鍗旾D
///</summary>
+
public string EbelnK3id { get; set; }
/// <summary>
/// 鏉$爜鏉″嵃杩涘害
///</summary>
+
public int? BarcodeRatio { get; set; }
/// <summary>
/// ERP鍗曞彿
///</summary>
+
public string Erpno { get; set; }
/// <summary>
/// 鏄惁宸查��璐�0-鏈��璐э紝1-閫�璐�
///</summary>
+
public int? Thstatus { get; set; }
/// <summary>
/// ERP閫�璐у崟鍙�
///</summary>
+
public string Erpthno { get; set; }
/// <summary>
/// 缁勭粐缂栫爜
///</summary>
+
public string OrganizeCode { get; set; }
+
public List<MesInvItemArnDetail> list { get; set; }
}
}
diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Models/MesInvItemArnDetail.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Models/MesInvItemArnDetail.cs
index 494424b..a8e01d3 100644
--- a/DevApp/Gs.DevApp/DevFrm/Warehouse/Models/MesInvItemArnDetail.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Warehouse/Models/MesInvItemArnDetail.cs
@@ -1,179 +1,221 @@
锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
+
namespace MES.Service.Modes
{
/// <summary>
///
///</summary>
+
public class MesInvItemArnDetail
{
/// <summary>
///
/// 榛樿鍊�: (newid())
///</summary>
+
public Guid? Guid { get; set; }
/// <summary>
///
///</summary>
+
public Guid? ParentGuid { get; set; }
/// <summary>
/// MES_ROH_IN_DATA鐨刧uid
///</summary>
+
public Guid? AboutGuid { get; set; }
/// <summary>
/// 閲囪喘鍗曞彿
///</summary>
+
public string Ebeln { get; set; }
/// <summary>
/// 閲囪喘璁㈠崟琛屽彿
///</summary>
+
public int? EbelnLine { get; set; }
/// <summary>
/// 閲囪喘璁㈠崟鏁伴噺
///</summary>
+
public decimal? EbelnQty { get; set; }
/// <summary>
/// 鐗╂枡缂栫爜
///</summary>
+
public string ItemNo { get; set; }
/// <summary>
/// 鏀惰揣鏁伴噺
///</summary>
+
public decimal? Quantity { get; set; }
/// <summary>
/// 鍒涘缓浜�
///</summary>
+
public string CreateBy { get; set; }
/// <summary>
/// 鍒涘缓鏃堕棿
///</summary>
+
public DateTime? CreateDate { get; set; }
/// <summary>
/// 鏈�鍚庢洿鏂颁汉
///</summary>
+
public string LastupdateBy { get; set; }
/// <summary>
/// 鏈�鍚庢洿鏂版椂闂�
///</summary>
+
public DateTime? LastupdateDate { get; set; }
/// <summary>
/// 鍒嗗巶缂栫爜
///</summary>
+
public string Factory { get; set; }
/// <summary>
/// 鍏徃浠g爜
///</summary>
+
public string Company { get; set; }
/// <summary>
/// 閲囪喘鍗旾D
///</summary>
+
public int? EbelnK3id { get; set; }
/// <summary>
/// 閲囪喘鍗曡ID
///</summary>
+
public int? LineK3id { get; set; }
/// <summary>
/// 鏈搴旀敹鏁伴噺
///</summary>
+
public decimal? SubQty { get; set; }
/// <summary>
/// 浣欓噺
///</summary>
+
public int? MarginQty { get; set; }
/// <summary>
/// 浠诲姟鍗曞彿
///</summary>
+
public string WorkNo { get; set; }
/// <summary>
/// 鎬ユ枡鏍囪瘑
/// 榛樿鍊�: ((0))
///</summary>
+
public bool? UrgentFlag { get; set; }
/// <summary>
/// 澶囨敞
///</summary>
+
public string Memo { get; set; }
/// <summary>
/// 妫�楠岀粨鏋�
///</summary>
+
public string CheckRes { get; set; }
/// <summary>
/// 妫�楠岀姸鎬� 锛堝緟妫�銆佸垎閫夈�佺壒閲囥�佸凡妫�锛�
/// 榛樿鍊�: ('寰呮')
///</summary>
+
public string CheckStates { get; set; }
/// <summary>
/// 鏀惰揣浣欓噺
///</summary>
+
public int? QuantityM { get; set; }
/// <summary>
/// 鏈搴旀敹浣欓噺
///</summary>
+
public int? SubMqty { get; set; }
/// <summary>
/// 妫�楠屾棩鏈�
///</summary>
+
public DateTime? CheckDate { get; set; }
/// <summary>
/// 鏄惁妫�楠�
/// 榛樿鍊�: ((0))
///</summary>
+
public int? Ischeck { get; set; }
/// <summary>
/// 宸叉敹鏁伴噺
///</summary>
+
public int? OkQty { get; set; }
/// <summary>
/// 宸叉敹浣欓噺
///</summary>
+
public int? OkMqty { get; set; }
/// <summary>
/// 浜у搧鍨嬪彿
///</summary>
+
public string BoardStyle { get; set; }
/// <summary>
/// 浠诲姟鍗曡鍙�
///</summary>
+
public int? WorkLine { get; set; }
/// <summary>
/// 0銆侀噰璐崟锛�1銆佸澶栧崟
/// 榛樿鍊�: ((0))
///</summary>
+
public int? FType { get; set; }
/// <summary>
/// 鏄惁鍏ュ簱
/// 榛樿鍊�: ((0))
///</summary>
+
public bool? IsdepsIn { get; set; }
/// <summary>
/// 鍒拌揣鍗曞彿
///</summary>
+
public string Dha001 { get; set; }
/// <summary>
/// 宸插叆搴撴暟閲�
///</summary>
+
public int? OkRkqty { get; set; }
/// <summary>
/// 鍒拌揣鍗曞彿
///</summary>
+
public string CbillNo { get; set; }
/// <summary>
/// 閲囪喘鍏ュ簱鏁伴噺
///</summary>
+
public int? CgRkqty { get; set; }
/// <summary>
/// 鐗╂枡ID
///</summary>
+
public int? ItemId { get; set; }
/// <summary>
/// 閫�璐ф爣璇�
/// 榛樿鍊�: ((0))
///</summary>
+
public int? ReturnFlag { get; set; }
/// <summary>
/// 鎺ㄩ�佺姸鎬�
///</summary>
+
public string States { get; set; }
+
+
}
}
diff --git a/DevApp/Gs.DevApp/UserControl/SelectCgMx.Designer.cs b/DevApp/Gs.DevApp/UserControl/SelectCgMx.Designer.cs
index 227a996..22f4179 100644
--- a/DevApp/Gs.DevApp/UserControl/SelectCgMx.Designer.cs
+++ b/DevApp/Gs.DevApp/UserControl/SelectCgMx.Designer.cs
@@ -35,7 +35,6 @@
this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn();
this.gv_ebelnK3id = new DevExpress.XtraGrid.Columns.GridColumn();
this.gv_billNo = new DevExpress.XtraGrid.Columns.GridColumn();
- this.gv_itemId = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gv_purchaseUnit = new DevExpress.XtraGrid.Columns.GridColumn();
this.gv_purchaseQty = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -59,12 +58,12 @@
this.gv_returnableReceivedQty = new DevExpress.XtraGrid.Columns.GridColumn();
this.gv_returnableStoredQty = new DevExpress.XtraGrid.Columns.GridColumn();
this.gv_changeFlag = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
this.btnIn = new DevExpress.XtraEditors.SimpleButton();
this.pageBar1 = new UserControls.Data.UcPageBar();
- this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
@@ -95,7 +94,6 @@
this.gv_guid,
this.gv_ebelnK3id,
this.gv_billNo,
- this.gv_itemId,
this.gridColumn1,
this.gv_purchaseUnit,
this.gv_purchaseQty,
@@ -154,7 +152,7 @@
this.gv_ebelnK3id.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
this.gv_ebelnK3id.AppearanceCell.Options.UseFont = true;
this.gv_ebelnK3id.Caption = "ERP琛孖D鍙�";
- this.gv_ebelnK3id.FieldName = "ebelnK3id";
+ this.gv_ebelnK3id.FieldName = "erpMxId";
this.gv_ebelnK3id.MinWidth = 100;
this.gv_ebelnK3id.Name = "gv_ebelnK3id";
this.gv_ebelnK3id.OptionsColumn.AllowEdit = false;
@@ -177,20 +175,6 @@
this.gv_billNo.VisibleIndex = 2;
this.gv_billNo.Width = 110;
//
- // gv_itemId
- //
- this.gv_itemId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
- this.gv_itemId.AppearanceCell.Options.UseFont = true;
- this.gv_itemId.Caption = "鐗╂枡缂栫爜";
- this.gv_itemId.FieldName = "itemId";
- this.gv_itemId.MinWidth = 100;
- 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 = 3;
- this.gv_itemId.Width = 100;
- //
// gridColumn1
//
this.gridColumn1.Caption = "鐗╂枡ID";
@@ -198,7 +182,7 @@
this.gridColumn1.MinWidth = 80;
this.gridColumn1.Name = "gridColumn1";
this.gridColumn1.Visible = true;
- this.gridColumn1.VisibleIndex = 4;
+ this.gridColumn1.VisibleIndex = 3;
this.gridColumn1.Width = 94;
//
// gv_purchaseUnit
@@ -212,7 +196,7 @@
this.gv_purchaseUnit.OptionsColumn.AllowEdit = false;
this.gv_purchaseUnit.Tag = "query_a.PURCHASE_UNIT";
this.gv_purchaseUnit.Visible = true;
- this.gv_purchaseUnit.VisibleIndex = 5;
+ this.gv_purchaseUnit.VisibleIndex = 4;
this.gv_purchaseUnit.Width = 100;
//
// gv_purchaseQty
@@ -226,7 +210,7 @@
this.gv_purchaseQty.OptionsColumn.AllowEdit = false;
this.gv_purchaseQty.Tag = "query_a.PURCHASE_QTY";
this.gv_purchaseQty.Visible = true;
- this.gv_purchaseQty.VisibleIndex = 6;
+ this.gv_purchaseQty.VisibleIndex = 5;
this.gv_purchaseQty.Width = 100;
//
// gv_inventoryUnit
@@ -234,13 +218,13 @@
this.gv_inventoryUnit.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
this.gv_inventoryUnit.AppearanceCell.Options.UseFont = true;
this.gv_inventoryUnit.Caption = "搴撳瓨鍗曚綅";
- this.gv_inventoryUnit.FieldName = "inventoryUnit";
+ this.gv_inventoryUnit.FieldName = "fname";
this.gv_inventoryUnit.MinWidth = 100;
this.gv_inventoryUnit.Name = "gv_inventoryUnit";
this.gv_inventoryUnit.OptionsColumn.AllowEdit = false;
this.gv_inventoryUnit.Tag = "query_a.INVENTORY_UNIT";
this.gv_inventoryUnit.Visible = true;
- this.gv_inventoryUnit.VisibleIndex = 7;
+ this.gv_inventoryUnit.VisibleIndex = 6;
this.gv_inventoryUnit.Width = 100;
//
// gv_pricingUnit
@@ -254,7 +238,7 @@
this.gv_pricingUnit.OptionsColumn.AllowEdit = false;
this.gv_pricingUnit.Tag = "query_a.PRICING_UNIT";
this.gv_pricingUnit.Visible = true;
- this.gv_pricingUnit.VisibleIndex = 8;
+ this.gv_pricingUnit.VisibleIndex = 7;
this.gv_pricingUnit.Width = 100;
//
// gv_pricingQty
@@ -268,7 +252,7 @@
this.gv_pricingQty.OptionsColumn.AllowEdit = false;
this.gv_pricingQty.Tag = "query_a.PRICING_QTY";
this.gv_pricingQty.Visible = true;
- this.gv_pricingQty.VisibleIndex = 9;
+ this.gv_pricingQty.VisibleIndex = 8;
this.gv_pricingQty.Width = 100;
//
// gv_deliveryDate
@@ -282,7 +266,7 @@
this.gv_deliveryDate.OptionsColumn.AllowEdit = false;
this.gv_deliveryDate.Tag = "query_a.DELIVERY_DATE";
this.gv_deliveryDate.Visible = true;
- this.gv_deliveryDate.VisibleIndex = 10;
+ this.gv_deliveryDate.VisibleIndex = 9;
this.gv_deliveryDate.Width = 100;
//
// gv_earliestDeliveryDate
@@ -296,7 +280,7 @@
this.gv_earliestDeliveryDate.OptionsColumn.AllowEdit = false;
this.gv_earliestDeliveryDate.Tag = "query_a.EARLIEST_DELIVERY_DATE";
this.gv_earliestDeliveryDate.Visible = true;
- this.gv_earliestDeliveryDate.VisibleIndex = 11;
+ this.gv_earliestDeliveryDate.VisibleIndex = 10;
this.gv_earliestDeliveryDate.Width = 100;
//
// gv_latestDeliveryDate
@@ -310,7 +294,7 @@
this.gv_latestDeliveryDate.OptionsColumn.AllowEdit = false;
this.gv_latestDeliveryDate.Tag = "query_a.LATEST_DELIVERY_DATE";
this.gv_latestDeliveryDate.Visible = true;
- this.gv_latestDeliveryDate.VisibleIndex = 12;
+ this.gv_latestDeliveryDate.VisibleIndex = 11;
this.gv_latestDeliveryDate.Width = 100;
//
// gv_isGift
@@ -324,7 +308,7 @@
this.gv_isGift.OptionsColumn.AllowEdit = false;
this.gv_isGift.Tag = "query_a.IS_GIFT";
this.gv_isGift.Visible = true;
- this.gv_isGift.VisibleIndex = 13;
+ this.gv_isGift.VisibleIndex = 12;
this.gv_isGift.Width = 94;
//
// gv_remarks
@@ -338,7 +322,7 @@
this.gv_remarks.OptionsColumn.AllowEdit = false;
this.gv_remarks.Tag = "query_a.REMARKS";
this.gv_remarks.Visible = true;
- this.gv_remarks.VisibleIndex = 14;
+ this.gv_remarks.VisibleIndex = 13;
this.gv_remarks.Width = 100;
//
// gv_supplierItemCode
@@ -352,7 +336,7 @@
this.gv_supplierItemCode.OptionsColumn.AllowEdit = false;
this.gv_supplierItemCode.Tag = "query_a.SUPPLIER_ITEM_CODE";
this.gv_supplierItemCode.Visible = true;
- this.gv_supplierItemCode.VisibleIndex = 15;
+ this.gv_supplierItemCode.VisibleIndex = 14;
this.gv_supplierItemCode.Width = 100;
//
// gv_supplierItemName
@@ -366,7 +350,7 @@
this.gv_supplierItemName.OptionsColumn.AllowEdit = false;
this.gv_supplierItemName.Tag = "query_a.SUPPLIER_ITEM_NAME";
this.gv_supplierItemName.Visible = true;
- this.gv_supplierItemName.VisibleIndex = 16;
+ this.gv_supplierItemName.VisibleIndex = 15;
this.gv_supplierItemName.Width = 100;
//
// gv_outsourcingOrderId
@@ -380,7 +364,7 @@
this.gv_outsourcingOrderId.OptionsColumn.AllowEdit = false;
this.gv_outsourcingOrderId.Tag = "query_a.OUTSOURCING_ORDER_ID";
this.gv_outsourcingOrderId.Visible = true;
- this.gv_outsourcingOrderId.VisibleIndex = 17;
+ this.gv_outsourcingOrderId.VisibleIndex = 16;
this.gv_outsourcingOrderId.Width = 94;
//
// gv_batchNumber
@@ -394,7 +378,7 @@
this.gv_batchNumber.OptionsColumn.AllowEdit = false;
this.gv_batchNumber.Tag = "query_a.BATCH_NUMBER";
this.gv_batchNumber.Visible = true;
- this.gv_batchNumber.VisibleIndex = 18;
+ this.gv_batchNumber.VisibleIndex = 17;
this.gv_batchNumber.Width = 94;
//
// gv_totalReceivedQty
@@ -408,7 +392,7 @@
this.gv_totalReceivedQty.OptionsColumn.AllowEdit = false;
this.gv_totalReceivedQty.Tag = "query_a.TOTAL_RECEIVED_QTY";
this.gv_totalReceivedQty.Visible = true;
- this.gv_totalReceivedQty.VisibleIndex = 19;
+ this.gv_totalReceivedQty.VisibleIndex = 18;
this.gv_totalReceivedQty.Width = 100;
//
// gv_remainingReceivedQty
@@ -422,7 +406,7 @@
this.gv_remainingReceivedQty.OptionsColumn.AllowEdit = false;
this.gv_remainingReceivedQty.Tag = "query_a.REMAINING_RECEIVED_QTY";
this.gv_remainingReceivedQty.Visible = true;
- this.gv_remainingReceivedQty.VisibleIndex = 20;
+ this.gv_remainingReceivedQty.VisibleIndex = 19;
this.gv_remainingReceivedQty.Width = 100;
//
// gv_totalStoredQty
@@ -436,7 +420,7 @@
this.gv_totalStoredQty.OptionsColumn.AllowEdit = false;
this.gv_totalStoredQty.Tag = "query_a.TOTAL_STORED_QTY";
this.gv_totalStoredQty.Visible = true;
- this.gv_totalStoredQty.VisibleIndex = 21;
+ this.gv_totalStoredQty.VisibleIndex = 20;
this.gv_totalStoredQty.Width = 100;
//
// gv_remainingStoredQty
@@ -450,7 +434,7 @@
this.gv_remainingStoredQty.OptionsColumn.AllowEdit = false;
this.gv_remainingStoredQty.Tag = "query_a.REMAINING_STORED_QTY";
this.gv_remainingStoredQty.Visible = true;
- this.gv_remainingStoredQty.VisibleIndex = 22;
+ this.gv_remainingStoredQty.VisibleIndex = 21;
this.gv_remainingStoredQty.Width = 100;
//
// gv_totalReturnedQty
@@ -464,7 +448,7 @@
this.gv_totalReturnedQty.OptionsColumn.AllowEdit = false;
this.gv_totalReturnedQty.Tag = "query_a.TOTAL_RETURNED_QTY";
this.gv_totalReturnedQty.Visible = true;
- this.gv_totalReturnedQty.VisibleIndex = 23;
+ this.gv_totalReturnedQty.VisibleIndex = 22;
this.gv_totalReturnedQty.Width = 100;
//
// gv_returnableReceivedQty
@@ -478,7 +462,7 @@
this.gv_returnableReceivedQty.OptionsColumn.AllowEdit = false;
this.gv_returnableReceivedQty.Tag = "query_a.RETURNABLE_RECEIVED_QTY";
this.gv_returnableReceivedQty.Visible = true;
- this.gv_returnableReceivedQty.VisibleIndex = 24;
+ this.gv_returnableReceivedQty.VisibleIndex = 23;
this.gv_returnableReceivedQty.Width = 100;
//
// gv_returnableStoredQty
@@ -492,7 +476,7 @@
this.gv_returnableStoredQty.OptionsColumn.AllowEdit = false;
this.gv_returnableStoredQty.Tag = "query_a.RETURNABLE_STORED_QTY";
this.gv_returnableStoredQty.Visible = true;
- this.gv_returnableStoredQty.VisibleIndex = 25;
+ this.gv_returnableStoredQty.VisibleIndex = 24;
this.gv_returnableStoredQty.Width = 100;
//
// gv_changeFlag
@@ -506,8 +490,18 @@
this.gv_changeFlag.OptionsColumn.AllowEdit = false;
this.gv_changeFlag.Tag = "query_a.CHANGE_FLAG";
this.gv_changeFlag.Visible = true;
- this.gv_changeFlag.VisibleIndex = 26;
+ this.gv_changeFlag.VisibleIndex = 25;
this.gv_changeFlag.Width = 100;
+ //
+ // gridColumn2
+ //
+ this.gridColumn2.Caption = "ERP澶碔D";
+ this.gridColumn2.FieldName = "erpId";
+ this.gridColumn2.MinWidth = 25;
+ this.gridColumn2.Name = "gridColumn2";
+ this.gridColumn2.Visible = true;
+ this.gridColumn2.VisibleIndex = 26;
+ this.gridColumn2.Width = 94;
//
// xtraTabControl1
//
@@ -561,16 +555,6 @@
this.pageBar1.TabIndex = 3;
this.pageBar1.TotalPages = 0;
//
- // gridColumn2
- //
- this.gridColumn2.Caption = "ERP澶碔D";
- this.gridColumn2.FieldName = "erpId";
- this.gridColumn2.MinWidth = 25;
- this.gridColumn2.Name = "gridColumn2";
- this.gridColumn2.Visible = true;
- this.gridColumn2.VisibleIndex = 27;
- this.gridColumn2.Width = 94;
- //
// SelectCgMx
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
@@ -622,7 +606,6 @@
private DevExpress.XtraGrid.Columns.GridColumn gv_inventoryUnit;
private DevExpress.XtraGrid.Columns.GridColumn gv_purchaseQty;
private DevExpress.XtraGrid.Columns.GridColumn gv_purchaseUnit;
- private DevExpress.XtraGrid.Columns.GridColumn gv_itemId;
private DevExpress.XtraGrid.Columns.GridColumn gv_billNo;
private DevExpress.XtraGrid.Columns.GridColumn gv_guid;
private DevExpress.XtraGrid.Columns.GridColumn gv_chk;
diff --git a/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs b/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs
index 677d751..7cb1a81 100644
--- a/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs
+++ b/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
+using DevExpress.Utils.DirectXPaint;
using DevExpress.XtraEditors;
using Gs.DevApp.Entity;
using Gs.DevApp.ToolBox;
@@ -15,17 +16,15 @@
new List<FilterEntity>();
private readonly string _webServiceName = "MesRohInDataManager/";
- private string suppCode = "";
- private string strWhere = "";
+ private string suppId = "";
/// <summary>
/// 渚涘簲鍟嗙紪鍙�
/// </summary>
/// <param name="supp_no"></param>
- public SelectCgMx(string _suppCode, string _strWhere)
+ public SelectCgMx(string _suppId)
{
InitializeComponent();
- this.suppCode = _suppCode;
- this.strWhere = _strWhere;
+ this.suppId = _suppId;
pageBar1.PagerEvent += PageBar1_PagerEvent;
getPageList(1, UtilityHelper.GetPageSize());
gridView1.IndicatorWidth = 50;
@@ -54,7 +53,7 @@
}
/// <summary>
- /// 鍥炶皟浜嬩欢
+ /// 閫夋嫨鍚庣殑鍥炶皟浜嬩欢
/// </summary>
public event EventHandler<UpdateParentEventArgs> UpdateParent;
@@ -74,18 +73,20 @@
/// <param name="pageSize">姣忛〉鍑犳潯</param>
private void getPageList(int curPage, int pageSize)
{
- var _sbSqlWhere = new StringBuilder();
- _sbSqlWhere.Append(strWhere);
- foreach (var itm in _filterList)
- _sbSqlWhere.Append(" and " + itm.fileId + itm.fileOper + "'" +
- itm.fileValue + "'");
- var pgq = new PageQueryModel(curPage, pageSize, "B.BILL_NO", "asc",
- "", _sbSqlWhere.ToString());
- var json = JsonConvert.SerializeObject(pgq);
+ var _obj = new
+ {
+ currentPage = curPage,
+ everyPageSize = pageSize,
+ sortName = "",
+ keyWhere = "",
+ inBusType = "CG",
+ inSupId = this.suppId
+ };
+ var json = JsonConvert.SerializeObject(_obj);
try
{
var strReturn = UtilityHelper.HttpPost("",
- _webServiceName + "GetListPage", json);
+ _webServiceName + "GetListPage2", json);
var dd = UtilityHelper.ReturnToTablePage(strReturn);
var dt = dd.rtnData.list;
gcMain.BindingContext = new BindingContext();
diff --git a/DevApp/Gs.DevApp/UserControl/UcLookCk.Designer.cs b/DevApp/Gs.DevApp/UserControl/UcLookCk.Designer.cs
index 61000ab..be868cb 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookCk.Designer.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookCk.Designer.cs
@@ -71,7 +71,7 @@
this.gridColumn1.MaxWidth = 100;
this.gridColumn1.MinWidth = 80;
this.gridColumn1.Name = "gridColumn1";
- this.gridColumn1.UnboundDataType = typeof(short);
+ this.gridColumn1.UnboundDataType = typeof(string);
this.gridColumn1.Visible = true;
this.gridColumn1.VisibleIndex = 0;
this.gridColumn1.Width = 80;
diff --git a/DevApp/Gs.DevApp/UserControl/UcLookCk.cs b/DevApp/Gs.DevApp/UserControl/UcLookCk.cs
index e5db0e4..0abcedc 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookCk.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookCk.cs
@@ -94,8 +94,8 @@
lookSearchSupplier.EditValue = null;
return;
}
- if (KeyFile == "depotId")
- lookSearchSupplier.EditValue = Int64.Parse((Code.ToString().Trim()));
+ if (KeyFile.ToUpper() == "depotId".ToUpper())
+ lookSearchSupplier.EditValue =Int64.Parse( ((Code.ToString().Trim())));
else
lookSearchSupplier.EditValue = ((Code.ToString().Trim()));
}
--
Gitblit v1.9.3