diff --git a/APP/QMAPP.Web/App_Data/Menu.xml b/APP/QMAPP.Web/App_Data/Menu.xml index 692b69f..71056d4 100644 --- a/APP/QMAPP.Web/App_Data/Menu.xml +++ b/APP/QMAPP.Web/App_Data/Menu.xml @@ -428,6 +428,18 @@ 查询 + + + 查询 + 导出 + + + + + 查询 + 导出 + + - + diff --git a/APPQ5/QMAPP.WinForm/Dictionary.xml b/APPQ5/QMAPP.WinForm/Dictionary.xml index e82ce70..0ba869b 100644 --- a/APPQ5/QMAPP.WinForm/Dictionary.xml +++ b/APPQ5/QMAPP.WinForm/Dictionary.xml @@ -276,6 +276,13 @@ + + + + + + + diff --git a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJFrmPlace.cs b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJFrmPlace.cs index edf8ac8..fa25853 100644 --- a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJFrmPlace.cs +++ b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJFrmPlace.cs @@ -1884,11 +1884,11 @@ namespace QMAPP.WinForm.Forms.TianJin nfindex = 0; QMAPP.ServicesAgent.ServiceAgent agent = ClientContext.GetServiceAgent(); - DataTable tbl = agent.InvokeServiceFunction(QMAPP.ServicesAgent.FrmPlaceManage.FrmPlaceBLL_GetDaspssteCarIndexByPlanName.ToString(), nfpastecard.PLANTNAME.ToString()); + DataTable tbl = agent.InvokeServiceFunction(QMAPP.ServicesAgent.FrmPlaceManage.TJFrmPlaceBLL_GetDaspssteCarIndexByPlanName.ToString(), nfpastecard.PLANTNAME.ToString()); if (tbl.Rows.Count == 0) { nfpastecard.PASTECARDNO = DateTime.Now.ToString("yyyyMMdd") + "0001"; - int delResult = agent.InvokeServiceFunction(QMAPP.ServicesAgent.FrmPlaceManage.FrmPlaceBLL_InsertDaspssteCarIndexByPlanName.ToString(), nfpastecard); + int delResult = agent.InvokeServiceFunction(QMAPP.ServicesAgent.FrmPlaceManage.TJFrmPlaceBLL_InsertDaspssteCarIndexByPlanName.ToString(), nfpastecard); } else { @@ -2203,6 +2203,7 @@ namespace QMAPP.WinForm.Forms.TianJin WORKCENTER_CODE = "IPFY02"; } GetInitData(); + GetLastPastCard(); } #endregion diff --git a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJOutWarehouseForm.Designer.cs b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJOutWarehouseForm.Designer.cs new file mode 100644 index 0000000..b7c6724 --- /dev/null +++ b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJOutWarehouseForm.Designer.cs @@ -0,0 +1,420 @@ +namespace QMAPP.WinForm.Forms.TianJin +{ + partial class TJOutWarehouseForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TJOutWarehouseForm)); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + this.label1 = new System.Windows.Forms.Label(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.tsbSearch = new System.Windows.Forms.ToolStripButton(); + this.tsbOutWarehouse = new System.Windows.Forms.ToolStripButton(); + this.DGMendRecorder = new System.Windows.Forms.DataGridView(); + this.panelSearchTitle = new System.Windows.Forms.Panel(); + this.lblSearchTitle = new System.Windows.Forms.Label(); + this.panelSearch = new System.Windows.Forms.Panel(); + this.txtPRODUCTCODE = new System.Windows.Forms.TextBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.dtpCREATEDATEEND = new DateTimePickerA(); + this.dtpCREATEDATESTART = new DateTimePickerA(); + this.label4 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.comINTTYPE = new System.Windows.Forms.ComboBox(); + this.label5 = new System.Windows.Forms.Label(); + this.零件号 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.物料号 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.物料名称 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.出库类型 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.CreateUser = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.CREATEDATE = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Pid = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.toolStrip1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.DGMendRecorder)).BeginInit(); + this.panelSearchTitle.SuspendLayout(); + this.panelSearch.SuspendLayout(); + this.panel1.SuspendLayout(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label1.Location = new System.Drawing.Point(32, 17); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(39, 20); + this.label1.TabIndex = 0; + this.label1.Text = "条码"; + // + // toolStrip1 + // + this.toolStrip1.AutoSize = false; + this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsbSearch, + this.tsbOutWarehouse}); + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(984, 70); + this.toolStrip1.Stretch = true; + this.toolStrip1.TabIndex = 2; + this.toolStrip1.Text = "toolStrip1"; + // + // tsbSearch + // + this.tsbSearch.AutoSize = false; + this.tsbSearch.Font = new System.Drawing.Font("微软雅黑", 12F); + this.tsbSearch.Image = ((System.Drawing.Image)(resources.GetObject("tsbSearch.Image"))); + this.tsbSearch.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.tsbSearch.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbSearch.Name = "tsbSearch"; + this.tsbSearch.Size = new System.Drawing.Size(100, 60); + this.tsbSearch.Text = "查询"; + this.tsbSearch.Click += new System.EventHandler(this.tsbSearch_Click); + // + // tsbOutWarehouse + // + this.tsbOutWarehouse.AutoSize = false; + this.tsbOutWarehouse.Font = new System.Drawing.Font("微软雅黑", 12F); + this.tsbOutWarehouse.Image = ((System.Drawing.Image)(resources.GetObject("tsbOutWarehouse.Image"))); + this.tsbOutWarehouse.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.tsbOutWarehouse.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbOutWarehouse.Name = "tsbOutWarehouse"; + this.tsbOutWarehouse.Size = new System.Drawing.Size(100, 60); + this.tsbOutWarehouse.Text = "出库"; + this.tsbOutWarehouse.Click += new System.EventHandler(this.tsbOutWarehouse_Click); + // + // DGMendRecorder + // + this.DGMendRecorder.AllowUserToAddRows = false; + this.DGMendRecorder.AllowUserToDeleteRows = false; + this.DGMendRecorder.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; + this.DGMendRecorder.BackgroundColor = System.Drawing.SystemColors.ButtonFace; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.DGMendRecorder.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; + this.DGMendRecorder.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.DGMendRecorder.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.零件号, + this.物料号, + this.物料名称, + this.出库类型, + this.CreateUser, + this.CREATEDATE, + this.Pid}); + this.DGMendRecorder.Dock = System.Windows.Forms.DockStyle.Fill; + this.DGMendRecorder.Location = new System.Drawing.Point(0, 0); + this.DGMendRecorder.Name = "DGMendRecorder"; + this.DGMendRecorder.ReadOnly = true; + dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.DGMendRecorder.RowHeadersDefaultCellStyle = dataGridViewCellStyle8; + this.DGMendRecorder.RowTemplate.Height = 23; + this.DGMendRecorder.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.DGMendRecorder.Size = new System.Drawing.Size(984, 477); + this.DGMendRecorder.TabIndex = 3; + this.DGMendRecorder.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.DG_RowPostPaint); + // + // panelSearchTitle + // + this.panelSearchTitle.BackColor = System.Drawing.SystemColors.ScrollBar; + this.panelSearchTitle.Controls.Add(this.lblSearchTitle); + this.panelSearchTitle.Dock = System.Windows.Forms.DockStyle.Top; + this.panelSearchTitle.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.panelSearchTitle.Location = new System.Drawing.Point(0, 70); + this.panelSearchTitle.Name = "panelSearchTitle"; + this.panelSearchTitle.Size = new System.Drawing.Size(984, 35); + this.panelSearchTitle.TabIndex = 8; + // + // lblSearchTitle + // + this.lblSearchTitle.AutoSize = true; + this.lblSearchTitle.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.lblSearchTitle.Location = new System.Drawing.Point(15, 7); + this.lblSearchTitle.Name = "lblSearchTitle"; + this.lblSearchTitle.Size = new System.Drawing.Size(69, 20); + this.lblSearchTitle.TabIndex = 0; + this.lblSearchTitle.Text = "查询条件"; + // + // panelSearch + // + this.panelSearch.BackColor = System.Drawing.SystemColors.InactiveBorder; + this.panelSearch.Controls.Add(this.dtpCREATEDATEEND); + this.panelSearch.Controls.Add(this.dtpCREATEDATESTART); + this.panelSearch.Controls.Add(this.label4); + this.panelSearch.Controls.Add(this.label7); + this.panelSearch.Controls.Add(this.comINTTYPE); + this.panelSearch.Controls.Add(this.label5); + this.panelSearch.Controls.Add(this.txtPRODUCTCODE); + this.panelSearch.Controls.Add(this.label1); + this.panelSearch.Dock = System.Windows.Forms.DockStyle.Top; + this.panelSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.panelSearch.Location = new System.Drawing.Point(0, 105); + this.panelSearch.Name = "panelSearch"; + this.panelSearch.Size = new System.Drawing.Size(984, 60); + this.panelSearch.TabIndex = 9; + // + // txtPRODUCTCODE + // + this.txtPRODUCTCODE.Font = new System.Drawing.Font("宋体", 11F); + this.txtPRODUCTCODE.Location = new System.Drawing.Point(78, 18); + this.txtPRODUCTCODE.Name = "txtPRODUCTCODE"; + this.txtPRODUCTCODE.Size = new System.Drawing.Size(170, 24); + this.txtPRODUCTCODE.TabIndex = 10; + // + // panel1 + // + this.panel1.Controls.Add(this.DGMendRecorder); + this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel1.Location = new System.Drawing.Point(0, 165); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(984, 477); + this.panel1.TabIndex = 10; + // + // dtpCREATEDATEEND + // + this.dtpCREATEDATEEND.CustomFormat = " "; + this.dtpCREATEDATEEND.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold); + this.dtpCREATEDATEEND.Format = System.Windows.Forms.DateTimePickerFormat.Custom; + this.dtpCREATEDATEEND.FormatString = "yyyy年MM月dd日"; + this.dtpCREATEDATEEND.Location = new System.Drawing.Point(802, 17); + this.dtpCREATEDATEEND.Name = "dtpCREATEDATEEND"; + this.dtpCREATEDATEEND.OriginalFormat = System.Windows.Forms.DateTimePickerFormat.Custom; + this.dtpCREATEDATEEND.Size = new System.Drawing.Size(160, 26); + this.dtpCREATEDATEEND.TabIndex = 20; + this.dtpCREATEDATEEND.ValueX = null; + // + // dtpCREATEDATESTART + // + this.dtpCREATEDATESTART.CustomFormat = " "; + this.dtpCREATEDATESTART.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold); + this.dtpCREATEDATESTART.Format = System.Windows.Forms.DateTimePickerFormat.Custom; + this.dtpCREATEDATESTART.FormatString = "yyyy年MM月dd日"; + this.dtpCREATEDATESTART.Location = new System.Drawing.Point(604, 17); + this.dtpCREATEDATESTART.Name = "dtpCREATEDATESTART"; + this.dtpCREATEDATESTART.OriginalFormat = System.Windows.Forms.DateTimePickerFormat.Custom; + this.dtpCREATEDATESTART.Size = new System.Drawing.Size(160, 26); + this.dtpCREATEDATESTART.TabIndex = 19; + this.dtpCREATEDATESTART.ValueX = null; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label4.Location = new System.Drawing.Point(528, 20); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(69, 20); + this.label4.TabIndex = 15; + this.label4.Text = "出库时间"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label7.Location = new System.Drawing.Point(276, 20); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(69, 20); + this.label7.TabIndex = 16; + this.label7.Text = "出库类型"; + // + // comINTTYPE + // + this.comINTTYPE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comINTTYPE.Font = new System.Drawing.Font("宋体", 11F); + this.comINTTYPE.FormattingEnabled = true; + this.comINTTYPE.Items.AddRange(new object[] { + "否", + "是"}); + this.comINTTYPE.Location = new System.Drawing.Point(352, 19); + this.comINTTYPE.Name = "comINTTYPE"; + this.comINTTYPE.Size = new System.Drawing.Size(169, 23); + this.comINTTYPE.TabIndex = 17; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label5.Location = new System.Drawing.Point(771, 20); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(24, 20); + this.label5.TabIndex = 18; + this.label5.Text = "至"; + // + // 零件号 + // + this.零件号.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.零件号.DataPropertyName = "ProductCode"; + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.零件号.DefaultCellStyle = dataGridViewCellStyle2; + this.零件号.FillWeight = 90F; + this.零件号.HeaderText = "零件号"; + this.零件号.Name = "零件号"; + this.零件号.ReadOnly = true; + this.零件号.Width = 110; + // + // 物料号 + // + this.物料号.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.物料号.DataPropertyName = "MATERIALCODE"; + dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 15.75F); + this.物料号.DefaultCellStyle = dataGridViewCellStyle3; + this.物料号.HeaderText = "物料号"; + this.物料号.Name = "物料号"; + this.物料号.ReadOnly = true; + this.物料号.Width = 120; + // + // 物料名称 + // + this.物料名称.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.物料名称.DataPropertyName = "MATERIALNAME"; + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 15.75F); + dataGridViewCellStyle4.Format = "f"; + dataGridViewCellStyle4.NullValue = null; + this.物料名称.DefaultCellStyle = dataGridViewCellStyle4; + this.物料名称.HeaderText = "物料名称"; + this.物料名称.Name = "物料名称"; + this.物料名称.ReadOnly = true; + this.物料名称.Width = 120; + // + // 出库类型 + // + this.出库类型.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.出库类型.DataPropertyName = "OutStorageType"; + dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 15.75F); + this.出库类型.DefaultCellStyle = dataGridViewCellStyle5; + this.出库类型.HeaderText = "出库类型"; + this.出库类型.Name = "出库类型"; + this.出库类型.ReadOnly = true; + this.出库类型.Width = 110; + // + // CreateUser + // + this.CreateUser.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.CreateUser.DataPropertyName = "CREATEUSERNAME"; + dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 15.75F); + this.CreateUser.DefaultCellStyle = dataGridViewCellStyle6; + this.CreateUser.HeaderText = "操作人"; + this.CreateUser.Name = "CreateUser"; + this.CreateUser.ReadOnly = true; + this.CreateUser.Width = 110; + // + // CREATEDATE + // + this.CREATEDATE.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.CREATEDATE.DataPropertyName = "CREATEDATE"; + dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle7.Font = new System.Drawing.Font("宋体", 15.75F); + this.CREATEDATE.DefaultCellStyle = dataGridViewCellStyle7; + this.CREATEDATE.HeaderText = "操作时间"; + this.CREATEDATE.Name = "CREATEDATE"; + this.CREATEDATE.ReadOnly = true; + this.CREATEDATE.Width = 180; + // + // Pid + // + this.Pid.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; + this.Pid.DataPropertyName = "PID"; + this.Pid.HeaderText = "Pid"; + this.Pid.Name = "Pid"; + this.Pid.ReadOnly = true; + this.Pid.Visible = false; + this.Pid.Width = 60; + // + // TJOutWarehouseForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(984, 642); + this.Controls.Add(this.panel1); + this.Controls.Add(this.panelSearch); + this.Controls.Add(this.panelSearchTitle); + this.Controls.Add(this.toolStrip1); + this.Name = "TJOutWarehouseForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "出库"; + this.Load += new System.EventHandler(this.Form_Load); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.DGMendRecorder)).EndInit(); + this.panelSearchTitle.ResumeLayout(false); + this.panelSearchTitle.PerformLayout(); + this.panelSearch.ResumeLayout(false); + this.panelSearch.PerformLayout(); + this.panel1.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripButton tsbSearch; + private System.Windows.Forms.ToolStripButton tsbOutWarehouse; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.DataGridView DGMendRecorder; + private System.Windows.Forms.Panel panelSearchTitle; + private System.Windows.Forms.Label lblSearchTitle; + private System.Windows.Forms.Panel panelSearch; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.TextBox txtPRODUCTCODE; + private DateTimePickerA dtpCREATEDATEEND; + private DateTimePickerA dtpCREATEDATESTART; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.ComboBox comINTTYPE; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.DataGridViewTextBoxColumn 零件号; + private System.Windows.Forms.DataGridViewTextBoxColumn 物料号; + private System.Windows.Forms.DataGridViewTextBoxColumn 物料名称; + private System.Windows.Forms.DataGridViewTextBoxColumn 出库类型; + private System.Windows.Forms.DataGridViewTextBoxColumn CreateUser; + private System.Windows.Forms.DataGridViewTextBoxColumn CREATEDATE; + private System.Windows.Forms.DataGridViewTextBoxColumn Pid; + } +} \ No newline at end of file diff --git a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJOutWarehouseForm.cs b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJOutWarehouseForm.cs new file mode 100644 index 0000000..a46109a --- /dev/null +++ b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJOutWarehouseForm.cs @@ -0,0 +1,298 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Drawing; +using System.Windows.Forms; +using QMAPP.FJC.Entity; +using QMAPP.FJC.Entity.Injection; +using QMAPP.FJC.Entity.Operation; +using QMAPP.ServicesAgent; +using QMAPP.WinForm.Common; +using QMFrameWork.Common.Serialization; +using QMFrameWork.Data; +using QMAPP.Entity; +using QMAPP.FJC.Entity.ProduceManage; +using QMAPP.MD.Entity.TianJin; + +namespace QMAPP.WinForm.Forms.TianJin +{ + /// + /// 模块编号:M13-3 + /// 作 用:出库操作 + /// 作 者:王丹丹 + /// 编写日期:2015年07月13日 + /// + public partial class TJOutWarehouseForm : Form + { + Storage searchModel = new Storage();//查询条件 + Storage product = new Storage(); + Main main = new Main(); + int isValidate = 0;//0:未校验 1:已校验 + + public TJOutWarehouseForm() + { + InitializeComponent(); + } + + #region 窗体载入 + + private void Form_Load(object sender, EventArgs e) + { + //初始化控件属性 + this.DGMendRecorder.AutoGenerateColumns = false; + + //初始化分页 + //this.pager1.Init(); + //加载默认查询条件 + SetSearchModel(); + } + #endregion + + #region 绑定数据 + + /// + /// 绑定数据列表 + /// + /// + private DataPage BindGirdData() + { + QMAPP.ServicesAgent.ServiceAgent agent = ClientContext.GetServiceAgent(); + DataResult resultProduct = new DataResult(); + DataResult
resultMain = new DataResult
(); + List listProduct = new List(); + List
listMain = new List
(); + DataPage dataPage = new DataPage(); + //获取前台分页设置信息 + //dataPage = pager1.DataPage; + try + { + //获取零件信息 + var result = agent.InvokeServiceFunction>("StorageBLL_GetList", searchModel, dataPage); + + //本体 + //if (resultProduct.Result.PRODUCTTYPE == EnumGeter.ProductType.biaopi.GetHashCode().ToString() && resultProduct.Result.USINGSTATE == EnumGeter.USINGSTATE.USING.GetHashCode().ToString()) + //{ + // Main mainModel = new Main(); + // mainModel.EPIDERMISCODE = resultProduct.Result.PRODUCTCODE; + // //获取本体信息 + // resultMain = agent.InvokeServiceFunction>(B9IPCService.OutWarehouseBLL_GetMainInfo.ToString(), mainModel); + // if (!resultMain.IsSuccess) + // { + // MessageBox.Show(resultMain.Msg, resultMain.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning); + // } + // else + // { + // mainModel = resultMain.Result; + // //绑定本体信息到列表中 + // listMain.Add(resultMain.Result); + // this.DGMendRecorder.DataSource = listMain; + // } + //} + //else + //{ + // //绑定零件信息到列表中 + // listProduct.Add(resultProduct.Result); + // this.DGMendRecorder.DataSource = listProduct; + //} + } + catch (Exception ex) + { + throw ex; + } + + return dataPage; + } + + #endregion + + #region 事件 + + /// + /// 分页事件 + /// + /// + /// + private DataPage pager1_EventPaging(Controls.EventPagingArg e) + { + return BindGirdData(); + } + + /// + /// 查询事件 + /// + /// + /// + private void tsbSearch_Click(object sender, EventArgs e) + { + isValidate = 0; + //设置查询条件 + SetSearchModel(); + //查询条件校验 + bool issuccess = ExistSearchModel(); + + DataResult resultProduct = new DataResult(); + DataResult
resultMain = new DataResult
(); + //获取前台分页设置信息 + //DataPage dataPage = pager1.DataPage; + QMAPP.ServicesAgent.ServiceAgent agent = ClientContext.GetServiceAgent(); + List listProduct = new List(); + List
listMain = new List
(); + if (issuccess) + { + //this.pager1.Init(); + //获取零件信息 + resultProduct = agent.InvokeServiceFunction>(B9IPCService.OutWarehouseBLL_GetProductInfo.ToString(), searchModel); + if (!resultProduct.IsSuccess) + { + MessageBox.Show(resultProduct.Msg, resultProduct.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning); + isValidate = 0; + } + else + { + //product = resultProduct.Result; + ////本体 + //if (product.PRODUCTTYPE == EnumGeter.ProductType.biaopi.GetHashCode().ToString() && product.USINGSTATE == EnumGeter.USINGSTATE.USING.GetHashCode().ToString()) + //{ + // main.EPIDERMISCODE = product.PRODUCTCODE; + // //获取本体信息 + // resultMain = agent.InvokeServiceFunction>(B9IPCService.OutWarehouseBLL_GetMainInfo.ToString(), main); + // if (!resultMain.IsSuccess) + // { + // MessageBox.Show(resultMain.Msg, resultMain.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning); + // isValidate = 0; + // } + // else + // { + // main = resultMain.Result; + // //绑定本体信息到列表中 + // listMain.Add(resultMain.Result); + // this.DGMendRecorder.DataSource = listMain; + // isValidate = 1; + // } + //} + //else + //{ + // //绑定零件信息到列表中 + // listProduct.Add(resultProduct.Result); + // this.DGMendRecorder.DataSource = listProduct; + // isValidate = 1; + //} + } + } + } + + /// + /// 出库 + /// + /// + /// + private void tsbOutWarehouse_Click(object sender, EventArgs e) + { + QMAPP.ServicesAgent.ServiceAgent agent = ClientContext.GetServiceAgent(); + //出库校验 + bool issuccess = ExistOutWarehouse(); + DataResult result = new DataResult(); + if (issuccess) + { + + //if (product.PRODUCTTYPE == EnumGeter.ProductType.biaopi.GetHashCode().ToString() && product.USINGSTATE == EnumGeter.USINGSTATE.USING.GetHashCode().ToString()) + //{ + // //本体 + // result = agent.InvokeServiceFunction(B9IPCService.OutWarehouseBLL_MainOutWarehouse.ToString(), main); + //} + //else + //{ + // //零件 + // result = agent.InvokeServiceFunction(B9IPCService.OutWarehouseBLL_ProductOutWarehouse.ToString(), product); + //} + MessageBox.Show(result.Msg, result.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning); + BindGirdData(); + isValidate = 0; + this.txtPRODUCTCODE.Text = ""; + } + } + #endregion + + #region 设置查询条件 + + /// + /// 设置查询条件 + /// + private void SetSearchModel() + { + searchModel = new Storage(); + + //条码 + if (string.IsNullOrEmpty(this.txtPRODUCTCODE.Text.Trim()) == false) + { + searchModel.ProductCode = this.txtPRODUCTCODE.Text.Trim(); + } + //入库类型 + if (this.comINTTYPE.SelectedValue != null && string.IsNullOrEmpty(this.comINTTYPE.SelectedValue.ToString().Trim()) == false) + { + searchModel.InStorageType = this.comINTTYPE.SelectedValue.ToString().Trim(); + } + + //操作开始时间 + if (string.IsNullOrEmpty(this.dtpCREATEDATESTART.Text.Trim()) == false) + { + searchModel.BeginTime = Convert.ToDateTime((this.dtpCREATEDATESTART.Value).ToString("yyyy-MM-dd") + " 00:00:00"); + } + //操作结束时间 + if (string.IsNullOrEmpty(this.dtpCREATEDATEEND.Text.Trim()) == false) + { + searchModel.EndTime = Convert.ToDateTime((this.dtpCREATEDATEEND.Value).ToString("yyyy-MM-dd") + " 23:59:59"); + } + } + #endregion + + /// + /// 行序号 + /// + /// + /// + private void DG_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) + { + Rectangle rectangle = new Rectangle(e.RowBounds.Location.X, e.RowBounds.Location.Y, this.DGMendRecorder.RowHeadersWidth - 4, e.RowBounds.Height); + TextRenderer.DrawText(e.Graphics, (e.RowIndex + 1).ToString(), new Font("宋体", 12, FontStyle.Bold), rectangle, this.DGMendRecorder.RowHeadersDefaultCellStyle.ForeColor, TextFormatFlags.VerticalCenter | TextFormatFlags.Right); + } + + #region 查询条件校验 + /// + /// 查询条件校验 + /// + private bool ExistSearchModel() + { + //条码 + if (string.IsNullOrEmpty(this.txtPRODUCTCODE.Text.Trim())) + { + MessageBox.Show(Resource1.ProductCodeNullValidate, Resource1.ProductCodeNullValidate, MessageBoxButtons.OK, MessageBoxIcon.Warning); + return false; + } + return true; + } + #endregion + + #region 出库校验 + /// + /// 出库校验 + /// + private bool ExistOutWarehouse() + { + //条码 + if (string.IsNullOrEmpty(this.txtPRODUCTCODE.Text.Trim())) + { + MessageBox.Show(Resource1.ProductCodeNullValidate, Resource1.ProductCodeNullValidate, MessageBoxButtons.OK, MessageBoxIcon.Warning); + return false; + } + //条码是否已验证 + if (isValidate==0) + { + MessageBox.Show(Resource1.ProductCodeValidate, Resource1.ProductCodeValidate, MessageBoxButtons.OK, MessageBoxIcon.Warning); + return false; + } + return true; + } + #endregion + } +} diff --git a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJOutWarehouseForm.resx b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJOutWarehouseForm.resx new file mode 100644 index 0000000..1fc593b --- /dev/null +++ b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJOutWarehouseForm.resx @@ -0,0 +1,307 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABNJSURBVGhD1VkJdFvllU5pCzPTMqUtZaZMWyAFCpwu0ylL + W5YMZS3tcAJJoDOUKQQIgZKQUqCQlr4Q0iS2kzgkzr4oxJZsy4tsbdZi6XmRvFuLLe92ZFmLJVle4t3S + e/839ykvgZyQEnqGOcx3zj0+9v/0v/vd/cqLPgkA+Izah4vLAuxK3Qn2A30f+6lhIHWfIcBuNg6ymzR+ + XKYGPis//ukAz+Nz5d3sGm03lmp7xIyybtGs6xdc+oFUr/5EMmAYXBgmEgOGoVSXLiDUG8Ki2hhirxrD + uMMaYl+Vr/m/h8KPv9O0s59qOsWd5T6hTdsdTmp7GXT9gP4EYBgEjAGgIkgSIgmTRCRh2GJ0MW14dqIi + KtpMUbZOH2FXccBF8tWfLKQw0XjZ9zTt4j6Ne2H4bRUp0w1sLHQxRac/daQpOpZjD4/mmAcX9pj84DI0 + jMsoZXvt/dMKZ3RE1TM9aeRbxQyzm5njgDYcTpojgscUY2u0YVwuv+aTQVkX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x7Co6rHcKDwEI7kPYGdmt3QzGil+2LAE2tTAWqefkE5vVBB4ytBb0SRph1DcvEQUtQjZBgpmmGk + aolOQT+MNIFhHcb/SSrDLtt4DT90/xKHKw7iWQMFGL6D39E/A4fXgYAvAJvNhkMfPY7DqiN4Mvvb2Fmw + Cz8bfkOyL/Fvf7E2FhChAJ5+QRkF2Ahfi3BSOZgLVYQhKPJCoKkmNYSnKtDWEpHsiYRPJP06pHLMXc/S + /OP6T/BYqTjlR/F4HkPlrSM48PeHcPAn5OwhPJzxCPaoH8Tx0TcR5o9Y6yvWpgJUNDzfyjCiFyQSQugR + kdy3Qou5ohKIPBFlV6BUrgSigt0Be4u6NsY9Bj6B4v36Rrzq+mscNj2Fb2r2Yr/+AexV78WTJd/G91v/ + HPb5CskukbR3l9tNBRTz9PPM9EKpTCHf3yFCJLjgVo4oYqSE30DQJqiqozByN9GLn/AJ7t88OvzMo0bm + FQ2611hzlSXCZqNesbkAGp1XQuMtRHgiIULkxTohxVKOEMUrKgqRPLLOM+oECUF3UeyKSugZnmYnYGNo + Li7ItkTZkRPdeaO1oYAwBeSb4sjSxZFjJHydSzG59EguBeVRkARF5VNUPkUJCiisQOSOgMISFFLgF6GA + hSLXHkahI4ypORrBuX9dvm64NvYAq5CVp2fkHy3hqZbwVM18b+YpCiw8NQm63sIYtzCuBVbGtgRnp8Re + KmCyflHE75Rzn1uUbflSAsSi5/5P+aJrUwFflfUVFwD8N7/Nl0gJjQCoAAAAAElFTkSuQmCC + + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + 25 + + \ No newline at end of file diff --git a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJPrintPlanLabel.cs b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJPrintPlanLabel.cs index 0df71d9..fd9a51d 100644 --- a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJPrintPlanLabel.cs +++ b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJPrintPlanLabel.cs @@ -40,7 +40,7 @@ namespace QMAPP.WinForm.Forms.TianJin routes = routes.OrderBy(p => p.ROUTE_CODE).ToList(); cbsource = routes; - cbsource.Insert(0, new QMAPP.FJC.Entity.Basic.ProcessRoute { ROUTE_NAME = "", ROUTE_CODE = "" }); + //cbsource.Insert(0, new QMAPP.FJC.Entity.Basic.ProcessRoute { ROUTE_NAME = "", ROUTE_CODE = "" }); cbRoutes.DisplayMember = "ROUTE_NAME"; cbRoutes.ValueMember = "ROUTE_CODE"; cbRoutes.DataSource = cbsource; @@ -169,7 +169,7 @@ namespace QMAPP.WinForm.Forms.TianJin } //OrderNo,OrderType,PlanDate,Name,Class,CarModel,Text1,Text2,Text3,Text4,Text5,Text6 - dataline.AppendFormat("\"{0}\",\"{1}\",\"{2:yyyy-MM-dd HH:mm:ss}\",\"{3}\",\"{4}\",\"{5}\",\"{6}\",\"{7}\",\"{8}\",\"{9}\",\"{10}\",\"{11}\"\r\n", + dataline.AppendFormat("\"{0}\",\"{1}\",\"{2:yyyy-MM-dd HH:mm:ss}\",\"{3}\",\"{4}\",\"{5}\",\"{6}\",\"{7}\",\"{8}\",\"{9}\",\"{10}\",\"{11}\",\"{12}\"\r\n", label.OrderNo,//计划号 label.OrderType,//计划类型(0:FIS,1:STOCK,2:INSERT) label.PlanDate,//计划日期 @@ -181,7 +181,8 @@ namespace QMAPP.WinForm.Forms.TianJin texts[2],//装配详细信息 texts[3],//装配详细信息 texts[4],//装配详细信息 - texts[5]//装配详细信息 + texts[5],//装配详细信息 + label.MATERIALCODE// ); @@ -448,7 +449,9 @@ namespace QMAPP.WinForm.Forms.TianJin LabelData labeldata = new LabelData(); - + labeldata.MATERIALCODE = order.MATERIAL_CODE; + + labeldata.PlanDate = order.PLAN_DATE; if (book != null) { @@ -498,6 +501,8 @@ namespace QMAPP.WinForm.Forms.TianJin { public string OrderNo { get; set; } + public string MATERIALCODE { get; set; } + public DateTime PlanDate { get; set; } public string Class { get; set; } diff --git a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInForm.Designer.cs b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInForm.Designer.cs new file mode 100644 index 0000000..8443805 --- /dev/null +++ b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInForm.Designer.cs @@ -0,0 +1,433 @@ +namespace QMAPP.WinForm.Forms.TianJin +{ + partial class TJProductInForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TJProductInForm)); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + this.label3 = new System.Windows.Forms.Label(); + this.txtProductCode = new System.Windows.Forms.TextBox(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.tsbSearch = new System.Windows.Forms.ToolStripButton(); + this.tsbAdd = new System.Windows.Forms.ToolStripButton(); + this.panelSearchTitle = new System.Windows.Forms.Panel(); + this.lblSearchTitle = new System.Windows.Forms.Label(); + this.panelSearch = new System.Windows.Forms.Panel(); + this.dtpCREATEDATEEND = new DateTimePickerA(); + this.dtpCREATEDATESTART = new DateTimePickerA(); + this.label4 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.comINTTYPE = new System.Windows.Forms.ComboBox(); + this.label5 = new System.Windows.Forms.Label(); + this.panel1 = new System.Windows.Forms.Panel(); + this.DGView = new System.Windows.Forms.DataGridView(); + this.pager1 = new QMAPP.WinForm.Controls.Pager(); + this.条码 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.物料号 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.物料名称 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.入库类型 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.操作人 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.入库时间 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Pid = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.toolStrip1.SuspendLayout(); + this.panelSearchTitle.SuspendLayout(); + this.panelSearch.SuspendLayout(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.DGView)).BeginInit(); + this.SuspendLayout(); + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label3.Location = new System.Drawing.Point(8, 21); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(39, 20); + this.label3.TabIndex = 4; + this.label3.Text = "条码"; + // + // txtProductCode + // + this.txtProductCode.Font = new System.Drawing.Font("宋体", 11F); + this.txtProductCode.Location = new System.Drawing.Point(54, 19); + this.txtProductCode.Name = "txtProductCode"; + this.txtProductCode.Size = new System.Drawing.Size(237, 24); + this.txtProductCode.TabIndex = 3; + // + // toolStrip1 + // + this.toolStrip1.AutoSize = false; + this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsbSearch, + this.tsbAdd}); + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(998, 70); + this.toolStrip1.Stretch = true; + this.toolStrip1.TabIndex = 2; + this.toolStrip1.Text = "toolStrip1"; + // + // tsbSearch + // + this.tsbSearch.AutoSize = false; + this.tsbSearch.Font = new System.Drawing.Font("微软雅黑", 12F); + this.tsbSearch.Image = ((System.Drawing.Image)(resources.GetObject("tsbSearch.Image"))); + this.tsbSearch.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.tsbSearch.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbSearch.Name = "tsbSearch"; + this.tsbSearch.Size = new System.Drawing.Size(100, 60); + this.tsbSearch.Text = "查询"; + this.tsbSearch.Click += new System.EventHandler(this.tsbSearch_Click); + // + // tsbAdd + // + this.tsbAdd.AutoSize = false; + this.tsbAdd.Font = new System.Drawing.Font("微软雅黑", 12F); + this.tsbAdd.Image = ((System.Drawing.Image)(resources.GetObject("tsbAdd.Image"))); + this.tsbAdd.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbAdd.Name = "tsbAdd"; + this.tsbAdd.Size = new System.Drawing.Size(100, 60); + this.tsbAdd.Text = "入库"; + this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click); + // + // panelSearchTitle + // + this.panelSearchTitle.BackColor = System.Drawing.SystemColors.ScrollBar; + this.panelSearchTitle.Controls.Add(this.lblSearchTitle); + this.panelSearchTitle.Dock = System.Windows.Forms.DockStyle.Top; + this.panelSearchTitle.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.panelSearchTitle.Location = new System.Drawing.Point(0, 70); + this.panelSearchTitle.Name = "panelSearchTitle"; + this.panelSearchTitle.Size = new System.Drawing.Size(998, 35); + this.panelSearchTitle.TabIndex = 8; + // + // lblSearchTitle + // + this.lblSearchTitle.AutoSize = true; + this.lblSearchTitle.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.lblSearchTitle.Location = new System.Drawing.Point(15, 7); + this.lblSearchTitle.Name = "lblSearchTitle"; + this.lblSearchTitle.Size = new System.Drawing.Size(69, 20); + this.lblSearchTitle.TabIndex = 0; + this.lblSearchTitle.Text = "查询条件"; + // + // panelSearch + // + this.panelSearch.BackColor = System.Drawing.SystemColors.InactiveBorder; + this.panelSearch.Controls.Add(this.dtpCREATEDATEEND); + this.panelSearch.Controls.Add(this.dtpCREATEDATESTART); + this.panelSearch.Controls.Add(this.label4); + this.panelSearch.Controls.Add(this.label7); + this.panelSearch.Controls.Add(this.comINTTYPE); + this.panelSearch.Controls.Add(this.label5); + this.panelSearch.Controls.Add(this.txtProductCode); + this.panelSearch.Controls.Add(this.label3); + this.panelSearch.Dock = System.Windows.Forms.DockStyle.Top; + this.panelSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.panelSearch.Location = new System.Drawing.Point(0, 105); + this.panelSearch.Name = "panelSearch"; + this.panelSearch.Size = new System.Drawing.Size(998, 60); + this.panelSearch.TabIndex = 9; + // + // dtpCREATEDATEEND + // + this.dtpCREATEDATEEND.CustomFormat = " "; + this.dtpCREATEDATEEND.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold); + this.dtpCREATEDATEEND.Format = System.Windows.Forms.DateTimePickerFormat.Custom; + this.dtpCREATEDATEEND.FormatString = "yyyy年MM月dd日"; + this.dtpCREATEDATEEND.Location = new System.Drawing.Point(824, 18); + this.dtpCREATEDATEEND.Name = "dtpCREATEDATEEND"; + this.dtpCREATEDATEEND.OriginalFormat = System.Windows.Forms.DateTimePickerFormat.Custom; + this.dtpCREATEDATEEND.Size = new System.Drawing.Size(160, 26); + this.dtpCREATEDATEEND.TabIndex = 14; + this.dtpCREATEDATEEND.ValueX = null; + // + // dtpCREATEDATESTART + // + this.dtpCREATEDATESTART.CustomFormat = " "; + this.dtpCREATEDATESTART.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold); + this.dtpCREATEDATESTART.Format = System.Windows.Forms.DateTimePickerFormat.Custom; + this.dtpCREATEDATESTART.FormatString = "yyyy年MM月dd日"; + this.dtpCREATEDATESTART.Location = new System.Drawing.Point(626, 18); + this.dtpCREATEDATESTART.Name = "dtpCREATEDATESTART"; + this.dtpCREATEDATESTART.OriginalFormat = System.Windows.Forms.DateTimePickerFormat.Custom; + this.dtpCREATEDATESTART.Size = new System.Drawing.Size(160, 26); + this.dtpCREATEDATESTART.TabIndex = 13; + this.dtpCREATEDATESTART.ValueX = null; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label4.Location = new System.Drawing.Point(550, 21); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(69, 20); + this.label4.TabIndex = 9; + this.label4.Text = "入库时间"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label7.Location = new System.Drawing.Point(298, 21); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(69, 20); + this.label7.TabIndex = 10; + this.label7.Text = "入库类型"; + // + // comINTTYPE + // + this.comINTTYPE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comINTTYPE.Font = new System.Drawing.Font("宋体", 11F); + this.comINTTYPE.FormattingEnabled = true; + this.comINTTYPE.Items.AddRange(new object[] { + "否", + "是"}); + this.comINTTYPE.Location = new System.Drawing.Point(374, 20); + this.comINTTYPE.Name = "comINTTYPE"; + this.comINTTYPE.Size = new System.Drawing.Size(169, 23); + this.comINTTYPE.TabIndex = 11; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label5.Location = new System.Drawing.Point(793, 21); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(24, 20); + this.label5.TabIndex = 12; + this.label5.Text = "至"; + // + // panel1 + // + this.panel1.Controls.Add(this.DGView); + this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel1.Location = new System.Drawing.Point(0, 165); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(998, 442); + this.panel1.TabIndex = 10; + // + // DGView + // + this.DGView.AllowUserToAddRows = false; + this.DGView.AllowUserToDeleteRows = false; + this.DGView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; + this.DGView.BackgroundColor = System.Drawing.SystemColors.ButtonFace; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.DGView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; + this.DGView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.DGView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.条码, + this.物料号, + this.物料名称, + this.入库类型, + this.操作人, + this.入库时间, + this.Pid}); + this.DGView.Dock = System.Windows.Forms.DockStyle.Fill; + this.DGView.Location = new System.Drawing.Point(0, 0); + this.DGView.Name = "DGView"; + this.DGView.ReadOnly = true; + dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.DGView.RowHeadersDefaultCellStyle = dataGridViewCellStyle8; + this.DGView.RowTemplate.Height = 23; + this.DGView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.DGView.Size = new System.Drawing.Size(998, 442); + this.DGView.TabIndex = 4; + this.DGView.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.DGView_RowPostPaint); + // + // pager1 + // + this.pager1.DataPage = ((QMFrameWork.Data.DataPage)(resources.GetObject("pager1.DataPage"))); + this.pager1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pager1.Location = new System.Drawing.Point(0, 607); + this.pager1.Name = "pager1"; + this.pager1.OSearch = null; + this.pager1.Size = new System.Drawing.Size(998, 35); + this.pager1.TabIndex = 7; + this.pager1.EventPaging += new QMAPP.WinForm.Controls.EventPagingHandler(this.pager1_EventPaging); + // + // 条码 + // + this.条码.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.条码.DataPropertyName = "ProductCode"; + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.条码.DefaultCellStyle = dataGridViewCellStyle2; + this.条码.FillWeight = 90F; + this.条码.HeaderText = "条码"; + this.条码.Name = "条码"; + this.条码.ReadOnly = true; + this.条码.Width = 220; + // + // 物料号 + // + this.物料号.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.物料号.DataPropertyName = "MATERIALCODE"; + dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 15.75F); + this.物料号.DefaultCellStyle = dataGridViewCellStyle3; + this.物料号.HeaderText = "物料号"; + this.物料号.Name = "物料号"; + this.物料号.ReadOnly = true; + this.物料号.Width = 220; + // + // 物料名称 + // + this.物料名称.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.物料名称.DataPropertyName = "MATERIALNAME"; + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 15.75F); + this.物料名称.DefaultCellStyle = dataGridViewCellStyle4; + this.物料名称.HeaderText = "物料名称"; + this.物料名称.Name = "物料名称"; + this.物料名称.ReadOnly = true; + this.物料名称.Width = 350; + // + // 入库类型 + // + this.入库类型.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.入库类型.DataPropertyName = "InStorageType"; + dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 15.75F); + dataGridViewCellStyle5.Format = "f"; + dataGridViewCellStyle5.NullValue = null; + this.入库类型.DefaultCellStyle = dataGridViewCellStyle5; + this.入库类型.HeaderText = "入库类型"; + this.入库类型.Name = "入库类型"; + this.入库类型.ReadOnly = true; + // + // 操作人 + // + this.操作人.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.操作人.DataPropertyName = "CREATEUSER"; + dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 15.75F); + this.操作人.DefaultCellStyle = dataGridViewCellStyle6; + this.操作人.HeaderText = "操作人"; + this.操作人.Name = "操作人"; + this.操作人.ReadOnly = true; + this.操作人.Width = 90; + // + // 入库时间 + // + this.入库时间.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.入库时间.DataPropertyName = "CREATEDATE"; + dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle7.Font = new System.Drawing.Font("宋体", 15.75F); + this.入库时间.DefaultCellStyle = dataGridViewCellStyle7; + this.入库时间.HeaderText = "入库时间"; + this.入库时间.Name = "入库时间"; + this.入库时间.ReadOnly = true; + this.入库时间.Width = 240; + // + // Pid + // + this.Pid.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; + this.Pid.DataPropertyName = "PID"; + this.Pid.HeaderText = "Pid"; + this.Pid.Name = "Pid"; + this.Pid.ReadOnly = true; + this.Pid.Visible = false; + this.Pid.Width = 60; + // + // TJProductInForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(998, 642); + this.Controls.Add(this.panel1); + this.Controls.Add(this.panelSearch); + this.Controls.Add(this.panelSearchTitle); + this.Controls.Add(this.toolStrip1); + this.Controls.Add(this.pager1); + this.Name = "TJProductInForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "入库"; + this.Load += new System.EventHandler(this.Form_Load); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + this.panelSearchTitle.ResumeLayout(false); + this.panelSearchTitle.PerformLayout(); + this.panelSearch.ResumeLayout(false); + this.panelSearch.PerformLayout(); + this.panel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.DGView)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripButton tsbSearch; + private System.Windows.Forms.TextBox txtProductCode; + private System.Windows.Forms.Label label3; + private Controls.Pager pager1; + private System.Windows.Forms.Panel panelSearchTitle; + private System.Windows.Forms.Label lblSearchTitle; + private System.Windows.Forms.Panel panelSearch; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.ToolStripButton tsbAdd; + private System.Windows.Forms.DataGridView DGView; + private DateTimePickerA dtpCREATEDATEEND; + private DateTimePickerA dtpCREATEDATESTART; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.ComboBox comINTTYPE; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.DataGridViewTextBoxColumn 条码; + private System.Windows.Forms.DataGridViewTextBoxColumn 物料号; + private System.Windows.Forms.DataGridViewTextBoxColumn 物料名称; + private System.Windows.Forms.DataGridViewTextBoxColumn 入库类型; + private System.Windows.Forms.DataGridViewTextBoxColumn 操作人; + private System.Windows.Forms.DataGridViewTextBoxColumn 入库时间; + private System.Windows.Forms.DataGridViewTextBoxColumn Pid; + } +} \ No newline at end of file diff --git a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInForm.cs b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInForm.cs new file mode 100644 index 0000000..64112a5 --- /dev/null +++ b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInForm.cs @@ -0,0 +1,164 @@ +using System; +using System.Collections.Generic; +using System.Drawing; +using System.Windows.Forms; +using QMAPP.Entity; +using QMAPP.MD.Entity.TianJin; +using QMAPP.WinForm.Common; +using QMFrameWork.Common.Serialization; +using QMFrameWork.Data; + +namespace QMAPP.WinForm.Forms.TianJin +{ + /// + /// 作 用:入库 + /// 作 者:周晓东 + /// 编写日期:20180404 + /// + public partial class TJProductInForm : Form + { + Storage searchModel = new Storage();//查询条件 + public TJProductInForm() + { + InitializeComponent(); + } + + #region 窗体载入 + + private void Form_Load(object sender, EventArgs e) + { + //初始化控件属性 + this.DGView.AutoGenerateColumns = false; + //初始化分页 + this.pager1.Init(); + //加载下拉框 + BasicData basicData = new BasicData(); + //入库类型 + this.comINTTYPE.DataSource = basicData.GetDictionaryList("TJINTTYPE"); + this.comINTTYPE.DisplayMember = "value"; + this.comINTTYPE.ValueMember = "key"; + //加载默认查询条件 + SetSearchModel(); + BindGirdData(); + + } + + #endregion + + #region 绑定数据 + + private DataPage BindGirdData() + { + List recorders = null;//查询结果列表 + DataPage dataPage = new DataPage(); + //获取前台分页设置信息 + dataPage = pager1.DataPage; + try + { + //State = 1 为入库记录 + searchModel.State = "1"; + + #region 服务查询 + QMAPP.ServicesAgent.ServiceAgent agent = ClientContext.GetServiceAgent(); + + var result = agent.InvokeServiceFunction>("StorageBLL_GetList", searchModel, dataPage); + recorders = JsonConvertHelper.GetDeserialize>(result.Result.Result.ToString()); + #endregion + + + this.DGView.DataSource = recorders; + this.pager1.DataPage = dataPage; + } + catch (Exception ex) + { + throw ex; + } + return dataPage; + } + + #endregion + /// + /// 分页事件 + /// + /// + /// + private DataPage pager1_EventPaging(Controls.EventPagingArg e) + { + return BindGirdData(); + } + + /// + /// 查询事件 + /// + /// + /// + private void tsbSearch_Click(object sender, EventArgs e) + { + SetSearchModel(); + //this.pager1.Init(); + BindGirdData(); + } + + /// + /// 设置查询条件 + /// + private void SetSearchModel() + { + searchModel = new Storage(); + + //条码 + if (string.IsNullOrEmpty(this.txtProductCode.Text.Trim()) == false) + { + searchModel.ProductCode = this.txtProductCode.Text.Trim(); + } + //入库类型 + if (this.comINTTYPE.SelectedValue != null && string.IsNullOrEmpty(this.comINTTYPE.SelectedValue.ToString().Trim()) == false) + { + searchModel.InStorageType = this.comINTTYPE.SelectedValue.ToString().Trim(); + } + + //操作开始时间 + if (string.IsNullOrEmpty(this.dtpCREATEDATESTART.Text.Trim()) == false) + { + searchModel.BeginTime = Convert.ToDateTime((this.dtpCREATEDATESTART.Value).ToString("yyyy-MM-dd") + " 00:00:00"); + } + //操作结束时间 + if (string.IsNullOrEmpty(this.dtpCREATEDATEEND.Text.Trim()) == false) + { + searchModel.EndTime = Convert.ToDateTime((this.dtpCREATEDATEEND.Value).ToString("yyyy-MM-dd") + " 23:59:59"); + } + + } + + + + /// + /// 入库 + /// + /// + /// + private void tsbAdd_Click(object sender, EventArgs e) + { + //ProductInSendCodeForm editForm = new ProductInSendCodeForm(); + //DialogResult result = editForm.ShowDialog(); + //if (result == System.Windows.Forms.DialogResult.OK)//判断是否投料窗口已做操作 + //{ + // this.pager1.Init(); + // BindGirdData(); + //} + var form = new TJProductInSendCodeForm(); + form.StartPosition = FormStartPosition.CenterScreen; + form.ShowDialog(); + this.pager1.Init(); + BindGirdData(); + + } + // 行序号 + private void DGView_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) + { + Rectangle rectangle = new Rectangle(e.RowBounds.Location.X, e.RowBounds.Location.Y, this.DGView.RowHeadersWidth - 4, e.RowBounds.Height); + TextRenderer.DrawText(e.Graphics, (e.RowIndex + 1).ToString(), new Font("宋体", 12, FontStyle.Bold), rectangle, this.DGView.RowHeadersDefaultCellStyle.ForeColor, TextFormatFlags.VerticalCenter | TextFormatFlags.Right); + } + + } +} diff --git a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInForm.resx b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInForm.resx new file mode 100644 index 0000000..0a66379 --- /dev/null +++ b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInForm.resx @@ -0,0 +1,319 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABNdSURBVGhD1VkJdFvllU5pCzPT0kJLmSnTFkiBAqfLdMrS + liVDWQsdTiAJdIYyhQAhUBJSChTSUkGSSWI7iUPi7I4VYku25UW2ZNlaLD1biy3vki1b3rXbki0v8W7p + vf+b+5SXQE5IE3qGOcx3zj0+9v/0v/vd/cpLPg0A+JzKg4vLAuwq7SD7UUUf+7luIHm/LsBuqfSzm9U+ + XKYCPi89/tkAx+EL5d3sWk03lmt6hLSybsGg7edbKwaSvRWDiYDOvzhMJAZ0waRXG+DrdRFBVRlmr1dG + cKcpzL4uXfN/D7kPf6fuYD9Xdwm7yz18u6Y7ktD0Mmj7gYpBQOcHKgNAVYgkTBIhGRKF4XBDgGkic5NV + UcGsj7INFUPsahlwkXT1pwsxTNRu9gN1h3BA3bY4nGUgZbqBfdUBJu/yJY82RsezLJGxLIN/cZ/eB1m2 + lcmya9l+S/+M3BEdVfbMTFU2+IXs5iAzjACaSCRhGOJd+hhbp4ngCuk1nw7KvOzSklb2stqd7NlTGWDl + nYDaE0nIHePTGar2yMYD1r5X042WF2XanOc3qret3lj2xrNvqTc8u1H9zvMbS3e99K628A+7TM2yHMdg + lqVvTNE9NWtoDQjGOINhNL5QNSpUGmLsjk/FG9U97J91HcLB8vbJubIOBnW7nz9qio7LjrUG123V69e+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w7iWQMFGL6D39E/A4fXgYAvAJvNhkMfPY7DqiN4Mvvb2Fmw + Cz8bfkOyL/Fvf7E2FhChAJ5+QRkF2Ahfi3BSOZgLVYQhKPJCoKkmNYSnKtDWEpHsiYRPJP06pHLMXc/S + /OP6T/BYqTjlR/F4HkPlrSM48PeHcPAn5OwhPJzxCPaoH8Tx0TcR5o9Y6yvWpgJUNDzfyjCiFyQSQugR + kdy3Qou5ohKIPBFlV6BUrgSigt0Be4u6NsY9Bj6B4v36Rrzq+mscNj2Fb2r2Yr/+AexV78WTJd/G91v/ + HPb5CskukbR3l9tNBRTz9PPM9EKpTCHf3yFCJLjgVo4oYqSE30DQJqiqozByN9GLn/AJ7t88OvzMo0bm + FQ2611hzlSXCZqNesbkAGp1XQuMtRHgiIULkxTohxVKOEMUrKgqRPLLOM+oECUF3UeyKSugZnmYnYGNo + Li7ItkTZkRPdeaO1oYAwBeSb4sjSxZFjJHydSzG59EguBeVRkARF5VNUPkUJCiisQOSOgMISFFLgF6GA + hSLXHkahI4ypORrBuX9dvm64NvYAq5CVp2fkHy3hqZbwVM18b+YpCiw8NQm63sIYtzCuBVbGtgRnp8Re + KmCyflHE75Rzn1uUbflSAsSi5/5P+aJrUwFflfUVFwD8N7/Nl0gJjQCoAAAAAElFTkSuQmCC + + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + + AAEAAAD/////AQAAAAAAAAAMAgAAAFJRTUZyYW1lV29yay5EYXRhLkF0dHJpYnV0ZXMsIFZlcnNpb249 + MS4zLjMuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1udWxsBQEAAAAZUU1GcmFtZVdv + cmsuRGF0YS5EYXRhUGFnZQoAAAAaPFBhZ2VJbmRleD5rX19CYWNraW5nRmllbGQZPFBhZ2VTaXplPmtf + X0JhY2tpbmdGaWVsZBo8UGFnZUNvdW50PmtfX0JhY2tpbmdGaWVsZBw8UmVjb3JkQ291bnQ+a19fQmFj + a2luZ0ZpZWxkGDxLZXlOYW1lPmtfX0JhY2tpbmdGaWVsZB88U29ydEV4cHJlc3Npb24+a19fQmFja2lu + Z0ZpZWxkFzxSZXN1bHQ+a19fQmFja2luZ0ZpZWxkGTxDb3VudFNxbD5rX19CYWNraW5nRmllbGQbPElz + UGFyYWxsZWw+a19fQmFja2luZ0ZpZWxkIjxBY2N1cmF0ZVBhcnRpdGlvbj5rX19CYWNraW5nRmllbGQA + AAAAAQECAQAACAgICAEBAgAAAAEAAAAyAAAAAAAAAAAAAAAKCgoKAAAL + + + + 25 + + \ No newline at end of file diff --git a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInSendCodeForm.Designer.cs b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInSendCodeForm.Designer.cs new file mode 100644 index 0000000..d6c1f12 --- /dev/null +++ b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInSendCodeForm.Designer.cs @@ -0,0 +1,161 @@ +namespace QMAPP.WinForm.Forms.TianJin +{ + partial class TJProductInSendCodeForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TJProductInSendCodeForm)); + this.txtCode = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.lblError = new System.Windows.Forms.Label(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.tsbClose = new System.Windows.Forms.ToolStripButton(); + this.btnSubmit = new System.Windows.Forms.Button(); + this.comINTTYPE = new System.Windows.Forms.ComboBox(); + this.label2 = new System.Windows.Forms.Label(); + this.toolStrip1.SuspendLayout(); + this.SuspendLayout(); + // + // txtCode + // + this.txtCode.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.txtCode.Location = new System.Drawing.Point(160, 129); + this.txtCode.Name = "txtCode"; + this.txtCode.Size = new System.Drawing.Size(332, 35); + this.txtCode.TabIndex = 7; + this.txtCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCode_KeyDown); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label1.Location = new System.Drawing.Point(100, 132); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(54, 28); + this.label1.TabIndex = 6; + this.label1.Text = "条码"; + // + // lblError + // + this.lblError.AutoSize = true; + this.lblError.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.lblError.Location = new System.Drawing.Point(21, 190); + this.lblError.Name = "lblError"; + this.lblError.Size = new System.Drawing.Size(54, 28); + this.lblError.TabIndex = 9; + this.lblError.Text = "提示"; + // + // toolStrip1 + // + this.toolStrip1.AutoSize = false; + this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsbClose}); + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(719, 56); + this.toolStrip1.Stretch = true; + this.toolStrip1.TabIndex = 10; + this.toolStrip1.Text = "toolStrip1"; + // + // tsbClose + // + this.tsbClose.AutoSize = false; + this.tsbClose.Font = new System.Drawing.Font("微软雅黑", 12F); + this.tsbClose.Image = ((System.Drawing.Image)(resources.GetObject("tsbClose.Image"))); + this.tsbClose.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.tsbClose.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbClose.Name = "tsbClose"; + this.tsbClose.Size = new System.Drawing.Size(100, 50); + this.tsbClose.Text = "关闭"; + this.tsbClose.Click += new System.EventHandler(this.tsbClose_Click); + // + // btnSubmit + // + this.btnSubmit.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnSubmit.Location = new System.Drawing.Point(498, 129); + this.btnSubmit.Name = "btnSubmit"; + this.btnSubmit.Size = new System.Drawing.Size(92, 35); + this.btnSubmit.TabIndex = 11; + this.btnSubmit.Text = "提交"; + this.btnSubmit.UseVisualStyleBackColor = true; + this.btnSubmit.Click += new System.EventHandler(this.btnSubmit_Click); + // + // comINTTYPE + // + this.comINTTYPE.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.comINTTYPE.FormattingEnabled = true; + this.comINTTYPE.Location = new System.Drawing.Point(160, 76); + this.comINTTYPE.Name = "comINTTYPE"; + this.comINTTYPE.Size = new System.Drawing.Size(216, 35); + this.comINTTYPE.TabIndex = 16; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label2.Location = new System.Drawing.Point(58, 78); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(96, 28); + this.label2.TabIndex = 17; + this.label2.Text = "入库类型"; + // + // ProductInSendCodeForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(719, 315); + this.Controls.Add(this.label2); + this.Controls.Add(this.comINTTYPE); + this.Controls.Add(this.btnSubmit); + this.Controls.Add(this.toolStrip1); + this.Controls.Add(this.lblError); + this.Controls.Add(this.txtCode); + this.Controls.Add(this.label1); + this.Name = "ProductInSendCodeForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "入库"; + this.Load += new System.EventHandler(this.ProductInSendCodeForm_Load_1); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox txtCode; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label lblError; + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripButton tsbClose; + private System.Windows.Forms.Button btnSubmit; + private System.Windows.Forms.ComboBox comINTTYPE; + private System.Windows.Forms.Label label2; + } +} \ No newline at end of file diff --git a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInSendCodeForm.cs b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInSendCodeForm.cs new file mode 100644 index 0000000..835cd32 --- /dev/null +++ b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInSendCodeForm.cs @@ -0,0 +1,112 @@ +using System; +using System.Drawing; +using System.Windows.Forms; +using QMAPP.Entity; +using QMAPP.MD.Entity.TianJin; +using QMAPP.WinForm.Common; + +namespace QMAPP.WinForm.Forms.TianJin +{ + public partial class TJProductInSendCodeForm : Form + { + + public TJProductInSendCodeForm() + { + InitializeComponent(); + } + + #region 回车事件 + /// + /// 回车事件 + /// + /// + /// + private void txtCode_KeyDown(object sender, KeyEventArgs e) + { + //if (e.KeyCode == Keys.Enter) + //{ + // this.tsbSave_Click(sender, e); + //} + + + if (e.KeyCode == Keys.Enter)//如果输入的是回车键 + { + SetProductIn(); + } + } + + private void SetProductIn() + { + + if (string.IsNullOrEmpty(txtCode.Text)) + { + txtCode.Focus(); + txtCode.SelectAll(); + return; + } + QMAPP.ServicesAgent.ServiceAgent agent = ClientContext.GetServiceAgent(); + var scode = txtCode.Text.Trim().ToUpper(); + + var count = agent.InvokeServiceFunction>("StorageBLL_SelectCount", scode); + if (count.Result > 0) + { + txtCode.Text = ""; + txtCode.Focus(); + lblError.ForeColor = Color.Red; + lblError.Text = "库存中已存在此零件:"+ scode; + return; + } + try + { + Storage pi = new Storage(); + pi.ProductCode = scode; + if (comINTTYPE.SelectedItem!=null) + { + pi.InStorageType = comINTTYPE.SelectedValue.ToString();//退返入库 + } + + var result =agent.InvokeServiceFunction>("StorageBLL_Insert", pi); + //保存成功 + txtCode.Text = ""; + txtCode.Focus(); + if (result.IsSuccess) + { + lblError.ForeColor = Color.Black; + lblError.Text = scode + ":入库成功。"; + } + else + { + lblError.ForeColor = Color.Red; + lblError.Text = scode + ":不存在或不是出库状态,无法入库。"; + } + } + catch(Exception ex) + { + lblError.Text = "系统异常:" + ex.Message; + } + } + #endregion + + private void ProductInSendCodeForm_Load_1(object sender, EventArgs e) + { + lblError.Text = ""; + BasicData basicData = new BasicData(); + //返修类别 + var callTypeList =basicData.GetDictionaryList("TJINTTYPE"); + + comINTTYPE.DataSource = callTypeList; + comINTTYPE.DisplayMember = "value"; + comINTTYPE.ValueMember = "key"; + } + + private void tsbClose_Click(object sender, EventArgs e) + { + this.Close(); + } + + private void btnSubmit_Click(object sender, EventArgs e) + { + SetProductIn(); + } + } +} \ No newline at end of file diff --git a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInSendCodeForm.resx b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInSendCodeForm.resx new file mode 100644 index 0000000..a7984b3 --- /dev/null +++ b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJProductInSendCodeForm.resx @@ -0,0 +1,191 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17,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ZOgXTMxLa9T4y3I08HsP + fA/jQD/glagCdwl75j1nSUkvJBa3IPFdyfS/4IEHsHreLZXcq+YV/FXA1xHF0/5nx6xTI2CYLnN8c2sx + 5jYW37wu6Xl0Ynlbumd2pbDbb0AKNIewa+Y5vXZZyBM5LW5Lz/Qu4L1qY+q8SdgCqk6UHrCLI3XdjcNd + JZTNB61KWhHYLOh3RrdDKphuwHBfQtMJ9iABH6j3tzzT53wrBXARkilqU8kA3uhdwaP5ApI2xHebZ/hn + 9rsS0GUenLvhlbUivBTMAaIWVPDaNU8BrJEzV7ej+l3VK5HH4BW4JquCV9mU87tsybwHeF33JKDLbLB2 + k86PPD7gJQpAh6ssqLuZAesC9szoXD3uet0HXsScc6XOkVqq1s6+9877gdd1XwK6zEZ7nJvbOVQX8WKd + DE8DmAXpm9ZxF3AOaNcM8GYqDcBLuQ5TbWx/1j8LeF1nIqBLNzR7Xie5a5mTigBQwIv1qkADPuB7gdbq + UswzmqQKvBjPtzHG3zR1Puc9Z1lnJqBLNzaba2lbgYh2yAhyKQDI+ySfzix6X6jEfCvU7zDV95VavuM+ + Rl70Th5rXddZvZ67HoiAWfle2kdaiyT6IDW9iTNEklzREqgdNEgUFGwVPaE1zQS+4BE/yvgPs9z9HgK8 + rociYNbdwq3f6wlPR181vT8N4IcBbtaHIpC7zgrmUYDOXY+MwP9nifwPc/tF5ZZ5T7oAAAAASUVORK5C + YII= + + + \ No newline at end of file diff --git a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJSendCodeForm.Designer.cs b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJSendCodeForm.Designer.cs new file mode 100644 index 0000000..9eed93c --- /dev/null +++ b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJSendCodeForm.Designer.cs @@ -0,0 +1,154 @@ +namespace QMAPP.WinForm.Forms.TianJin +{ + partial class TJSendCodeForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.txtCode = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.tsb_close = new System.Windows.Forms.Button(); + this.labelError = new System.Windows.Forms.Label(); + this.labelOutReason = new System.Windows.Forms.Label(); + this.comboBoxOutReason = new System.Windows.Forms.ComboBox(); + this.label2 = new System.Windows.Forms.Label(); + this.tsb_submit = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // txtCode + // + this.txtCode.Font = new System.Drawing.Font("Arial", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtCode.Location = new System.Drawing.Point(119, 86); + this.txtCode.Name = "txtCode"; + this.txtCode.Size = new System.Drawing.Size(226, 32); + this.txtCode.TabIndex = 7; + this.txtCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCode_KeyDown); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label1.Location = new System.Drawing.Point(58, 93); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(37, 15); + this.label1.TabIndex = 6; + this.label1.Text = "条码"; + // + // tsb_close + // + this.tsb_close.Location = new System.Drawing.Point(270, 133); + this.tsb_close.Name = "tsb_close"; + this.tsb_close.Size = new System.Drawing.Size(75, 23); + this.tsb_close.TabIndex = 8; + this.tsb_close.Text = "关闭"; + this.tsb_close.UseVisualStyleBackColor = true; + this.tsb_close.Click += new System.EventHandler(this.tsb_close_Click); + // + // labelError + // + this.labelError.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.labelError.ForeColor = System.Drawing.Color.Red; + this.labelError.Location = new System.Drawing.Point(73, 162); + this.labelError.Name = "labelError"; + this.labelError.Size = new System.Drawing.Size(286, 65); + this.labelError.TabIndex = 9; + // + // labelOutReason + // + this.labelOutReason.AutoSize = true; + this.labelOutReason.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.labelOutReason.Location = new System.Drawing.Point(46, 33); + this.labelOutReason.Name = "labelOutReason"; + this.labelOutReason.Size = new System.Drawing.Size(67, 15); + this.labelOutReason.TabIndex = 10; + this.labelOutReason.Text = "出库原因"; + // + // comboBoxOutReason + // + this.comboBoxOutReason.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxOutReason.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.comboBoxOutReason.FormattingEnabled = true; + this.comboBoxOutReason.Location = new System.Drawing.Point(119, 30); + this.comboBoxOutReason.Name = "comboBoxOutReason"; + this.comboBoxOutReason.Size = new System.Drawing.Size(226, 37); + this.comboBoxOutReason.TabIndex = 12; + this.comboBoxOutReason.SelectedIndexChanged += new System.EventHandler(this.comboBoxOutReason_SelectedIndexChanged); + // + // label2 + // + this.label2.AutoSize = true; + this.label2.ForeColor = System.Drawing.Color.Red; + this.label2.Location = new System.Drawing.Point(29, 36); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(11, 12); + this.label2.TabIndex = 13; + this.label2.Text = "*"; + // + // tsb_submit + // + this.tsb_submit.Location = new System.Drawing.Point(119, 133); + this.tsb_submit.Name = "tsb_submit"; + this.tsb_submit.Size = new System.Drawing.Size(75, 23); + this.tsb_submit.TabIndex = 14; + this.tsb_submit.Text = "提交"; + this.tsb_submit.UseVisualStyleBackColor = true; + this.tsb_submit.Click += new System.EventHandler(this.submit_Click); + // + // SendCodeForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(408, 234); + this.Controls.Add(this.tsb_submit); + this.Controls.Add(this.label2); + this.Controls.Add(this.comboBoxOutReason); + this.Controls.Add(this.labelOutReason); + this.Controls.Add(this.labelError); + this.Controls.Add(this.tsb_close); + this.Controls.Add(this.txtCode); + this.Controls.Add(this.label1); + this.Name = "SendCodeForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "出库"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SendCodeForm_FormClosing); + this.Load += new System.EventHandler(this.Form_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox txtCode; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button tsb_close; + private System.Windows.Forms.Label labelError; + private System.Windows.Forms.Label labelOutReason; + private System.Windows.Forms.ComboBox comboBoxOutReason; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Button tsb_submit; + } +} \ No newline at end of file diff --git a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJSendCodeForm.cs b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJSendCodeForm.cs new file mode 100644 index 0000000..5b8ea8a --- /dev/null +++ b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJSendCodeForm.cs @@ -0,0 +1,264 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; +using QMAPP.FJC.Entity.Operation; +using QMAPP.FJC.Entity; +using QMAPP.ServicesAgent; +using QMAPP.Entity; +using QMAPP.WinForm.Common; +using QM.Common; +using QMAPP.MD.Entity; + +namespace QMAPP.WinForm.Forms.TianJin +{ + /// + /// 日 期:2022年3月7日 + /// 模 块:天津出库 + /// 作 者:张松男 + /// + public partial class TJSendCodeForm : Form + { + List productList = new List(); + TJOutWarehouseForm sendmain = new TJOutWarehouseForm(); + public TJSendCodeForm() + { + InitializeComponent(); + } + + #region 窗体载入 + + private void Form_Load(object sender, EventArgs e) + { + new KeyEvent().SetKeyToTxt(this); + //出库原因下拉 + BasicData basicData = new BasicData(); + //初始化控件属性 + //this.comboBoxOutReason.DataSource = basicData.GetDictionaryList(EnumGeter.DictKind.OutReason.ToString()); + //this.comboBoxOutReason.DisplayMember = "VALUE"; + //this.comboBoxOutReason.ValueMember = "KEY"; + //this.comboBoxOutReason.SelectedValue = ""; + + //加载物料类型分类 + OutReason searchModelType = new OutReason(); + this.comboBoxOutReason.DataSource = basicData.GetOutReasonList(true); + this.comboBoxOutReason.DisplayMember = "OUTREASON_NAME"; + this.comboBoxOutReason.ValueMember = "OUTREASON_CODE"; + + + } + + #endregion + + /// + /// 出库原因下拉改变 + /// + /// + /// + private void comboBoxOutReason_SelectedIndexChanged(object sender, EventArgs e) + { + this.ActiveControl = this.txtCode; + this.txtCode.Focus();//落入光标 + } + + + #region 保存出库信息到ProductOut表 + /// + /// 保存出库信息到ProductOut表 + /// + public void SaveInfo(List productList) + { + ProductOut outInfo = new ProductOut(); + outInfo.PID=Guid.NewGuid().ToString();//PID + outInfo.productList = productList; + if (ClientContext.produceShift != null) + { + outInfo.SHIFT_CODE = ClientContext.produceShift.PRODUCESHIFTTCODE; + } + outInfo.CREATEUSER = ClientContext.LoginInfo.UserID; + outInfo.CREATEDATE = DateTime.Now; + foreach (var model in productList) + { + outInfo.PRODUCT_CODE = model.PRODUCTCODE; + outInfo.MATERIAL_CODE = model.MATERIAL_CODE; + outInfo.WORKCENTER_CODE = model.WORKCENTER_CODE; + outInfo.WORKCELL_CODE = model.WORKCELL_CODE; + outInfo.OUTREASON = model.OUTREASON; + } + QMAPP.ServicesAgent.ServiceAgent agent = ClientContext.GetServiceAgent(); + DataResult result = agent.InvokeServiceFunction>("ProductOutBLL_InsertProductOut", outInfo); + //MessageBox.Show(result.Msg); + //this.DialogResult = DialogResult.OK; + productList.Clear(); + this.comboBoxOutReason.SelectedItem = null; + this.txtCode.Text = ""; + } + #endregion + + # region 扫码枪 + /// + /// 扫码枪 + /// + /// + /// + private bool ValidateAndAddCode(string proCode) + { + + if (!string.IsNullOrEmpty(proCode)) + { + if (System.Text.RegularExpressions.Regex.IsMatch(proCode, "^DP\\w+(-\\w+)?-DF[LR][FR]\\w+$"))//扫描输入为门板计划标签 + { + //从计划标签中截取产品码 + proCode = proCode.Substring(proCode.LastIndexOf('-') + 1); + } + //出库原因 + if (this.comboBoxOutReason.Text.ToString() == "") + { + this.labelError.Text ="出库原因不能为空!"; + return false; + } + #region 获取零件信息 + QMAPP.ServicesAgent.ServiceAgent agent = ClientContext.GetServiceAgent(); + Product searchModel = new Product(); + Main mainModel = new Main(); + //去Main表查询数据 + + if (proCode.Substring(0, 3) == "052") + { + //从计划标签中截取产品码 + mainModel.MAINCODE = proCode; + Main mainInfo = agent.InvokeServiceFunction
("MainBLL_GetByCondition", mainModel); + if (mainInfo != null) + { + searchModel.PRODUCTCODE = mainInfo.EPIDERMISCODE; + } + } + else + { + searchModel.PRODUCTCODE = proCode; + } + + this.labelError.ForeColor = System.Drawing.Color.Red; + List list = agent.InvokeServiceFunction>("ProductBLL_GetAllList", searchModel); + + if (list.Count <= 0)//是否存在该零件 + { + this.labelError.Text =this.txtCode.Text +"\r\n"+ Resource1.SendInfoNotFoundCode; + this.txtCode.Text = ""; + return false; + } + list[0].OUTREASON = this.comboBoxOutReason.SelectedValue.ToString(); + Product model = list[0]; + #endregion + + + + #region 判断零件状态 + + //合格返修报废 + if (!model.STATUS.Equals(EnumGeter.PRODUCTSTAUTS.QUALIFIED.GetHashCode().ToString()))//合格 + { + if (model.STATUS.Equals(EnumGeter.PRODUCTSTAUTS.REPAIR.GetHashCode().ToString()))//合格 + { + this.labelError.Text = this.txtCode.Text + "\r\n" + Resource1.SendInfoRepaired; + this.txtCode.Text = ""; + return false; + } + else + { + this.labelError.Text = this.txtCode.Text + "\r\n" + Resource1.SendInfoWadBad; + this.txtCode.Text = ""; + return false; + } + } + //是否已出库 + if (EnumGeter.OUTFLAG.INWAREHOUSE.GetHashCode().ToString().Equals(model.OUTFLAG) == false) + { + this.labelError.Text = this.txtCode.Text + "\r\n" + Resource1.SendInfoNotOk; + this.txtCode.Text = ""; + return false; + } + //是否已经完成 + if (EnumGeter.Finish.ENDOFLINE.GetHashCode().ToString().Equals(model.ENDOFLINE) == false) + { + this.labelError.Text = this.txtCode.Text + "\r\n" + "该本体正在加工中,未完成"; + this.txtCode.Text = ""; + return false; + } + #endregion + + //添加到零件列表 + productList.Add(model); + return true; + } + + this.labelError.Text = "请选择相应信息!"; + return false; + } + #endregion + + #region 回车事件 + /// + /// 回车事件 + /// + /// + /// + private void txtCode_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) + { + if (ValidateAndAddCode(this.txtCode.Text.Trim())) + { + SaveInfo(productList); + this.txtCode.Text = ""; + this.labelError.ForeColor = System.Drawing.Color.Green; + this.labelError.Text = "操作成功"; + } + } + } + #endregion + + #region 窗体关闭 + /// + /// 点击关闭按钮关闭窗体 + /// + /// + /// + private void tsb_close_Click(object sender, EventArgs e) + { + this.DialogResult = DialogResult.OK; + this.Close(); + } + + /// + /// 点击右上角X关闭窗口 + /// + /// + /// + private void SendCodeForm_FormClosing(object sender, FormClosingEventArgs e) + { + this.DialogResult = DialogResult.OK; + e.Cancel = false; + } + + #endregion + + + //提交按钮 + private void submit_Click(object sender, EventArgs e) + { + if (ValidateAndAddCode(this.txtCode.Text.Trim().ToUpper())) + { + SaveInfo(productList); + this.txtCode.Text = ""; + this.labelError.ForeColor = System.Drawing.Color.Green; + this.labelError.Text = "操作成功"; + } + } + + } +} diff --git a/APPQ5/QMAPP.WinForm/Forms/TianJin/TJSendCodeForm.resx b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJSendCodeForm.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/APPQ5/QMAPP.WinForm/Forms/TianJin/TJSendCodeForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/APPQ5/QMAPP.WinForm/Forms/WarehouseManage/SendFinalForm.cs b/APPQ5/QMAPP.WinForm/Forms/WarehouseManage/SendFinalForm.cs index 56a8746..78fac0c 100644 --- a/APPQ5/QMAPP.WinForm/Forms/WarehouseManage/SendFinalForm.cs +++ b/APPQ5/QMAPP.WinForm/Forms/WarehouseManage/SendFinalForm.cs @@ -13,6 +13,8 @@ using QMFrameWork.Common.Serialization; using QMFrameWork.Data; using QMAPP.FJC.Entity; using QMAPP.Entity; +using QMAPP.WinForm.Forms.TianJin; + namespace QMAPP.WinForm.Forms.WarehouseManage { /// @@ -179,7 +181,7 @@ namespace QMAPP.WinForm.Forms.WarehouseManage /// private void stbAdd_Click(object sender, EventArgs e) { - SendCodeForm form = new SendCodeForm(); + TJSendCodeForm form = new TJSendCodeForm(); DialogResult result = form.ShowDialog(); if (result == System.Windows.Forms.DialogResult.OK)//判断是否操作成功 { diff --git a/APPQ5/QMAPP.WinForm/MainForm.Designer.cs b/APPQ5/QMAPP.WinForm/MainForm.Designer.cs index c6e15ae..8b81ae7 100644 --- a/APPQ5/QMAPP.WinForm/MainForm.Designer.cs +++ b/APPQ5/QMAPP.WinForm/MainForm.Designer.cs @@ -57,7 +57,9 @@ this.btnUserOut = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiWarehouse = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiPutIn = new System.Windows.Forms.ToolStripMenuItem(); + this.TJtsmiPutIn = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiTakeOut = new System.Windows.Forms.ToolStripMenuItem(); + this.TJtsmiTakeOut = new System.Windows.Forms.ToolStripMenuItem(); this.tsiShipment = new System.Windows.Forms.ToolStripMenuItem(); this.FrmPlace = new System.Windows.Forms.ToolStripMenuItem(); this.TJFrmPlace = new System.Windows.Forms.ToolStripMenuItem(); @@ -291,7 +293,9 @@ // this.tsmiWarehouse.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmiPutIn, - this.tsmiTakeOut}); + this.tsmiTakeOut, + this.TJtsmiPutIn, + this.TJtsmiTakeOut,}); this.tsmiWarehouse.Name = "tsmiWarehouse"; this.tsmiWarehouse.Size = new System.Drawing.Size(112, 28); this.tsmiWarehouse.Text = "出入库管理"; @@ -309,6 +313,21 @@ this.tsmiTakeOut.Size = new System.Drawing.Size(170, 28); this.tsmiTakeOut.Text = "计划外出库"; this.tsmiTakeOut.Click += new System.EventHandler(this.tsmiTakeOut_Click); + + // + // TJtsmiPutIn + // + this.TJtsmiPutIn.Name = "TJtsmiPutIn"; + this.TJtsmiPutIn.Size = new System.Drawing.Size(170, 28); + this.TJtsmiPutIn.Text = "TJ入库管理"; + this.TJtsmiPutIn.Click += new System.EventHandler(this.TJtsmiPutIn_Click); + // + // tsmiTakeOut + // + this.TJtsmiTakeOut.Name = "TJtsmiTakeOut"; + this.TJtsmiTakeOut.Size = new System.Drawing.Size(170, 28); + this.TJtsmiTakeOut.Text = "TJ出库管理"; + this.TJtsmiTakeOut.Click += new System.EventHandler(this.TJtsmiTakeOut_Click); // // tsiShipment // @@ -487,10 +506,12 @@ private System.Windows.Forms.ToolStripMenuItem tsmiSetStartUp; private System.Windows.Forms.ToolStripMenuItem tsmiWarehouse; private System.Windows.Forms.ToolStripMenuItem tsmiPutIn; + private System.Windows.Forms.ToolStripMenuItem TJtsmiPutIn; private System.Windows.Forms.ToolStripStatusLabel tslServerHost; private System.Windows.Forms.ToolStripMenuItem tsmiPrintPlanlabel; private System.Windows.Forms.ToolStripMenuItem TJtsmiPrintPlanlabel; private System.Windows.Forms.ToolStripMenuItem tsmiTakeOut; + private System.Windows.Forms.ToolStripMenuItem TJtsmiTakeOut; private System.Windows.Forms.ToolStripMenuItem tsmiPartReplace; private System.Windows.Forms.ToolStripMenuItem tsmiCheck; private System.Windows.Forms.ToolStripMenuItem tsmiLabelRegeneration; diff --git a/APPQ5/QMAPP.WinForm/MainForm.cs b/APPQ5/QMAPP.WinForm/MainForm.cs index f86615c..889af9a 100644 --- a/APPQ5/QMAPP.WinForm/MainForm.cs +++ b/APPQ5/QMAPP.WinForm/MainForm.cs @@ -479,6 +479,27 @@ namespace QMAPP.WinForm f.Focus(); //打开过就让其获得焦点 } } + /// + /// 天津出库 + /// + /// + /// + private void TJtsmiTakeOut_Click(object sender, EventArgs e) + { + Form f = Application.OpenForms["TJOutWarehouseForm"]; //查找是否打开过Form1窗体 + if (f == null) //没打开过 + { + TJOutWarehouseForm form = new TJOutWarehouseForm(); + new KeyEvent().SetKeyToTxt(form); + form.MdiParent = this; + form.Show(); //重新new一个Show出来 + } + else + { + f.WindowState = FormWindowState.Normal; + f.Focus(); //打开过就让其获得焦点 + } + } private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { @@ -780,6 +801,28 @@ namespace QMAPP.WinForm } } /// + /// 天津入库 + /// + /// + /// + private void TJtsmiPutIn_Click(object sender, EventArgs e) + { + Form f = Application.OpenForms["TJProductInForm"]; //查找是否打开过Form1窗体 + if (f == null) //没打开过 + { + TJProductInForm form = new TJProductInForm(); + new KeyEvent().SetKeyToTxt(form); + form.MdiParent = this; + form.WindowState = FormWindowState.Maximized; + form.Show(); //重新new一个Show出来 + } + else + { + f.WindowState = FormWindowState.Normal; + f.Focus(); //打开过就让其获得焦点 + } + } + /// /// 门板计划标签打印 /// /// diff --git a/APPQ5/QMAPP.WinForm/QMAPP.WinForm.csproj b/APPQ5/QMAPP.WinForm/QMAPP.WinForm.csproj index c66fa77..0da36a0 100644 --- a/APPQ5/QMAPP.WinForm/QMAPP.WinForm.csproj +++ b/APPQ5/QMAPP.WinForm/QMAPP.WinForm.csproj @@ -801,6 +801,30 @@ ReprintForm.cs + + Form + + + TJOutWarehouseForm.cs + + + Form + + + TJSendCodeForm.cs + + + Form + + + TJProductInForm.cs + + + Form + + + TJProductInSendCodeForm.cs + Form @@ -1290,6 +1314,20 @@ ReprintForm.cs + + TJOutWarehouseForm.cs + Designer + + + TJSendCodeForm.cs + + + TJProductInForm.cs + Designer + + + TJProductInSendCodeForm.cs + TJPrintPlanLabel.cs diff --git a/AppCommon/QMAPP.ServicesAgent/ServiceEnums.cs b/AppCommon/QMAPP.ServicesAgent/ServiceEnums.cs index e619dad..a92b3e0 100644 --- a/AppCommon/QMAPP.ServicesAgent/ServiceEnums.cs +++ b/AppCommon/QMAPP.ServicesAgent/ServiceEnums.cs @@ -228,6 +228,22 @@ namespace QMAPP.ServicesAgent [Description("基础数据方法枚举")] public enum DictService { + #region 天津库存 + + /// + /// 插入 + /// + [Description("插入")] + StorageBLL_Insert, + + /// + /// 更新 + /// + [Description("更新")] + StorageBLL_Update, + + #endregion + #region 生产配置 /// diff --git a/ServicesCenter/WCF/QMFrameWork.WebServiceHost/App_Data/FJCServiceList.xml b/ServicesCenter/WCF/QMFrameWork.WebServiceHost/App_Data/FJCServiceList.xml index d3b3a3c..733bfd5 100644 --- a/ServicesCenter/WCF/QMFrameWork.WebServiceHost/App_Data/FJCServiceList.xml +++ b/ServicesCenter/WCF/QMFrameWork.WebServiceHost/App_Data/FJCServiceList.xml @@ -960,4 +960,18 @@ QMAPP.FJC.BLL.DLL + + StorageBLL + 天津库存模块 + QMAPP.FJC.BLL.TianJin.StorageBLL + QMAPP.FJC.BLL.DLL + + + + StorageLogBLL + 天津库存日志模块 + QMAPP.FJC.BLL.TianJin.StorageLogBLL + QMAPP.FJC.BLL.DLL + + \ No newline at end of file