Просмотр исходного кода

金蝶代码对应页面(未完成)

ztl 3 лет назад
Родитель
Сommit
547c59bf0c

+ 197 - 12
DK.Client/SystemModule/F_MST_1301.Designer.cs

@@ -29,9 +29,13 @@
         private void InitializeComponent()
         {
 			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(F_MST_1301));
+			System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = 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();
 			this.tsrOperate = new Dongke.IBOSS.PRD.Basics.BaseControls.C_ToolStrip();
 			this.tsbtnAdd = new System.Windows.Forms.ToolStripButton();
 			this.tsbtnEdit = new System.Windows.Forms.ToolStripButton();
+			this.tsbtnAdaptive = new System.Windows.Forms.ToolStripButton();
 			this.tsbtnClose = new System.Windows.Forms.ToolStripButton();
 			this.lblGoodsCode = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
 			this.txtGoodsCode = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
@@ -39,10 +43,19 @@
 			this.btnClearCondition = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
 			this.lblGlazeTypeID = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
 			this.gbxCondition = new Dongke.IBOSS.PRD.Basics.BaseControls.C_GroupBox();
+			this.c_Label2 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+			this.txtKingdeeCode = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
+			this.ddlLogoName = new Dongke.IBOSS.PRD.Basics.BaseControls.DKListBoxComboBox();
+			this.c_Label1 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
 			this.ddlGlazeTypeID = new Dongke.IBOSS.PRD.Basics.BaseControls.DKListBoxComboBox();
-			this.tsbtnAdaptive = new System.Windows.Forms.ToolStripButton();
+			this.dgvGoosKingdeecode = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView();
+			this.GOODSCODE = new System.Windows.Forms.DataGridViewTextBoxColumn();
+			this.GLAZETYPE = new System.Windows.Forms.DataGridViewTextBoxColumn();
+			this.LOGONAME = new System.Windows.Forms.DataGridViewTextBoxColumn();
+			this.KINGDEECODE = new System.Windows.Forms.DataGridViewTextBoxColumn();
 			this.tsrOperate.SuspendLayout();
 			this.gbxCondition.SuspendLayout();
+			((System.ComponentModel.ISupportInitialize)(this.dgvGoosKingdeecode)).BeginInit();
 			this.SuspendLayout();
 			// 
 			// tsrOperate
@@ -72,6 +85,7 @@
 			this.tsbtnAdd.Name = "tsbtnAdd";
 			this.tsbtnAdd.Size = new System.Drawing.Size(60, 25);
 			this.tsbtnAdd.Text = "新建(&N)";
+			this.tsbtnAdd.Click += new System.EventHandler(this.tsbtnAdd_Click);
 			// 
 			// tsbtnEdit
 			// 
@@ -82,6 +96,18 @@
 			this.tsbtnEdit.Name = "tsbtnEdit";
 			this.tsbtnEdit.Size = new System.Drawing.Size(60, 25);
 			this.tsbtnEdit.Text = "编辑(&E)";
+			this.tsbtnEdit.Click += new System.EventHandler(this.tsbtnEdit_Click);
+			// 
+			// tsbtnAdaptive
+			// 
+			this.tsbtnAdaptive.AutoSize = false;
+			this.tsbtnAdaptive.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.tsbtnAdaptive.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+			this.tsbtnAdaptive.ImageTransparentColor = System.Drawing.Color.Magenta;
+			this.tsbtnAdaptive.Name = "tsbtnAdaptive";
+			this.tsbtnAdaptive.Size = new System.Drawing.Size(90, 25);
+			this.tsbtnAdaptive.Text = "自适应列宽(&A)";
+			this.tsbtnAdaptive.Click += new System.EventHandler(this.tsbtnAdaptive_Click);
 			// 
 			// tsbtnClose
 			// 
@@ -92,6 +118,7 @@
 			this.tsbtnClose.Name = "tsbtnClose";
 			this.tsbtnClose.Size = new System.Drawing.Size(60, 25);
 			this.tsbtnClose.Text = "关闭(&X)";
+			this.tsbtnClose.Click += new System.EventHandler(this.tsbtnClose_Click);
 			// 
 			// lblGoodsCode
 			// 
@@ -126,13 +153,14 @@
 			this.btnSearch.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSearch.BackgroundImage")));
 			this.btnSearch.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
 			this.btnSearch.ForeColor = System.Drawing.Color.White;
-			this.btnSearch.Location = new System.Drawing.Point(843, 41);
+			this.btnSearch.Location = new System.Drawing.Point(849, 14);
 			this.btnSearch.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
 			this.btnSearch.Name = "btnSearch";
 			this.btnSearch.Size = new System.Drawing.Size(85, 30);
 			this.btnSearch.TabIndex = 10;
 			this.btnSearch.Text = "查询(&Q)";
 			this.btnSearch.UseVisualStyleBackColor = false;
+			this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
 			// 
 			// btnClearCondition
 			// 
@@ -141,13 +169,14 @@
 			this.btnClearCondition.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnClearCondition.BackgroundImage")));
 			this.btnClearCondition.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
 			this.btnClearCondition.ForeColor = System.Drawing.Color.White;
-			this.btnClearCondition.Location = new System.Drawing.Point(934, 41);
+			this.btnClearCondition.Location = new System.Drawing.Point(940, 14);
 			this.btnClearCondition.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
 			this.btnClearCondition.Name = "btnClearCondition";
 			this.btnClearCondition.Size = new System.Drawing.Size(85, 30);
 			this.btnClearCondition.TabIndex = 11;
 			this.btnClearCondition.Text = "清空条件(&C)";
 			this.btnClearCondition.UseVisualStyleBackColor = false;
+			this.btnClearCondition.Click += new System.EventHandler(this.btnClearCondition_Click);
 			// 
 			// lblGlazeTypeID
 			// 
@@ -167,6 +196,10 @@
             | System.Windows.Forms.AnchorStyles.Right)));
 			this.gbxCondition.BackColor = System.Drawing.Color.Transparent;
 			this.gbxCondition.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gbxCondition.BackgroundImage")));
+			this.gbxCondition.Controls.Add(this.c_Label2);
+			this.gbxCondition.Controls.Add(this.txtKingdeeCode);
+			this.gbxCondition.Controls.Add(this.ddlLogoName);
+			this.gbxCondition.Controls.Add(this.c_Label1);
 			this.gbxCondition.Controls.Add(this.ddlGlazeTypeID);
 			this.gbxCondition.Controls.Add(this.btnClearCondition);
 			this.gbxCondition.Controls.Add(this.btnSearch);
@@ -179,11 +212,70 @@
 			this.gbxCondition.Location = new System.Drawing.Point(0, 38);
 			this.gbxCondition.Name = "gbxCondition";
 			this.gbxCondition.OriginalHeight = -1;
-			this.gbxCondition.Size = new System.Drawing.Size(1025, 82);
+			this.gbxCondition.Size = new System.Drawing.Size(1037, 56);
 			this.gbxCondition.TabIndex = 23;
 			this.gbxCondition.TabStop = false;
 			this.gbxCondition.Text = "查询条件 ▼";
 			// 
+			// c_Label2
+			// 
+			this.c_Label2.AutoSize = true;
+			this.c_Label2.BackColor = System.Drawing.SystemColors.Control;
+			this.c_Label2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.c_Label2.ForeColor = System.Drawing.SystemColors.ControlText;
+			this.c_Label2.Location = new System.Drawing.Point(580, 24);
+			this.c_Label2.Name = "c_Label2";
+			this.c_Label2.Size = new System.Drawing.Size(53, 12);
+			this.c_Label2.TabIndex = 19;
+			this.c_Label2.Text = "金蝶代码";
+			// 
+			// txtKingdeeCode
+			// 
+			this.txtKingdeeCode.BackColor = System.Drawing.SystemColors.Window;
+			this.txtKingdeeCode.BackgroundColor = System.Drawing.SystemColors.Window;
+			this.txtKingdeeCode.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
+			this.txtKingdeeCode.ErrorMessage = "";
+			this.txtKingdeeCode.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.txtKingdeeCode.ImeMode = System.Windows.Forms.ImeMode.Off;
+			this.txtKingdeeCode.Location = new System.Drawing.Point(639, 20);
+			this.txtKingdeeCode.MaxLength = 50;
+			this.txtKingdeeCode.Name = "txtKingdeeCode";
+			this.txtKingdeeCode.Size = new System.Drawing.Size(120, 21);
+			this.txtKingdeeCode.TabIndex = 18;
+			// 
+			// ddlLogoName
+			// 
+			this.ddlLogoName.BackColor = System.Drawing.SystemColors.Window;
+			this.ddlLogoName.BackgroundColor = System.Drawing.SystemColors.Window;
+			this.ddlLogoName.DataSource = null;
+			this.ddlLogoName.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.ddlLogoName.FormattingEnabled = true;
+			// 
+			// 
+			// 
+			this.ddlLogoName.ListBox.Dock = System.Windows.Forms.DockStyle.Fill;
+			this.ddlLogoName.ListBox.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.ddlLogoName.ListBox.Location = new System.Drawing.Point(0, 0);
+			this.ddlLogoName.ListBox.Name = "";
+			this.ddlLogoName.ListBox.Size = new System.Drawing.Size(118, 136);
+			this.ddlLogoName.ListBox.TabIndex = 0;
+			this.ddlLogoName.Location = new System.Drawing.Point(447, 21);
+			this.ddlLogoName.Name = "ddlLogoName";
+			this.ddlLogoName.Size = new System.Drawing.Size(120, 20);
+			this.ddlLogoName.TabIndex = 16;
+			// 
+			// c_Label1
+			// 
+			this.c_Label1.AutoSize = true;
+			this.c_Label1.BackColor = System.Drawing.SystemColors.Control;
+			this.c_Label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.c_Label1.ForeColor = System.Drawing.SystemColors.ControlText;
+			this.c_Label1.Location = new System.Drawing.Point(412, 24);
+			this.c_Label1.Name = "c_Label1";
+			this.c_Label1.Size = new System.Drawing.Size(29, 12);
+			this.c_Label1.TabIndex = 17;
+			this.c_Label1.Text = "商标";
+			// 
 			// ddlGlazeTypeID
 			// 
 			this.ddlGlazeTypeID.BackColor = System.Drawing.SystemColors.Window;
@@ -205,21 +297,104 @@
 			this.ddlGlazeTypeID.Size = new System.Drawing.Size(120, 20);
 			this.ddlGlazeTypeID.TabIndex = 5;
 			// 
-			// tsbtnAdaptive
+			// dgvGoosKingdeecode
 			// 
-			this.tsbtnAdaptive.AutoSize = false;
-			this.tsbtnAdaptive.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.tsbtnAdaptive.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
-			this.tsbtnAdaptive.ImageTransparentColor = System.Drawing.Color.Magenta;
-			this.tsbtnAdaptive.Name = "tsbtnAdaptive";
-			this.tsbtnAdaptive.Size = new System.Drawing.Size(90, 25);
-			this.tsbtnAdaptive.Text = "自适应列宽(&A)";
+			this.dgvGoosKingdeecode.AllowUserToModifyRows = true;
+			dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
+			this.dgvGoosKingdeecode.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
+			this.dgvGoosKingdeecode.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+			this.dgvGoosKingdeecode.CellBackColorNochanged = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
+			this.dgvGoosKingdeecode.CellBackColorReadOnly = System.Drawing.SystemColors.Control;
+			this.dgvGoosKingdeecode.CellHeight = 23;
+			this.dgvGoosKingdeecode.ChildNodeColumnName = null;
+			this.dgvGoosKingdeecode.ChildNodeColumnText = null;
+			this.dgvGoosKingdeecode.ColumnDeep = 1;
+			this.dgvGoosKingdeecode.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+			dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+			dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
+			dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
+			dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+			dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+			dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+			this.dgvGoosKingdeecode.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
+			this.dgvGoosKingdeecode.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+			this.dgvGoosKingdeecode.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.GOODSCODE,
+            this.GLAZETYPE,
+            this.LOGONAME,
+            this.KINGDEECODE});
+			this.dgvGoosKingdeecode.ColumnTreeView = null;
+			this.dgvGoosKingdeecode.ContextMenuVisible = ((Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags)((Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.Refine | Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.FileOut)));
+			this.dgvGoosKingdeecode.DynamicColumnName = "";
+			this.dgvGoosKingdeecode.EnableHeadersVisualStyles = false;
+			this.dgvGoosKingdeecode.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.dgvGoosKingdeecode.FormatQuantityColumns = null;
+			this.dgvGoosKingdeecode.HorizontalMergeColumn = null;
+			this.dgvGoosKingdeecode.IsAutoCountSum = true;
+			this.dgvGoosKingdeecode.IsAutoResizeColumns = false;
+			this.dgvGoosKingdeecode.IsClickF12 = false;
+			this.dgvGoosKingdeecode.IsOpenMergeCellFlag = false;
+			this.dgvGoosKingdeecode.IsSubTotalFlag = false;
+			this.dgvGoosKingdeecode.IsTopDeep = false;
+			this.dgvGoosKingdeecode.Location = new System.Drawing.Point(0, 100);
+			this.dgvGoosKingdeecode.MergeColumnNames = null;
+			this.dgvGoosKingdeecode.MergeDetailColumnNames = null;
+			this.dgvGoosKingdeecode.MergeDetailOnlyColumn = null;
+			this.dgvGoosKingdeecode.MergeOnlyColumn = null;
+			this.dgvGoosKingdeecode.Name = "dgvGoosKingdeecode";
+			this.dgvGoosKingdeecode.ReadOnly = true;
+			this.dgvGoosKingdeecode.RefreshAtHscroll = false;
+			this.dgvGoosKingdeecode.RowHeadersWidth = 50;
+			this.dgvGoosKingdeecode.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
+			dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
+			this.dgvGoosKingdeecode.RowsDefaultCellStyle = dataGridViewCellStyle3;
+			this.dgvGoosKingdeecode.RowTemplate.Height = 21;
+			this.dgvGoosKingdeecode.Size = new System.Drawing.Size(1031, 349);
+			this.dgvGoosKingdeecode.SortOrderColumnName = null;
+			this.dgvGoosKingdeecode.TabIndex = 24;
+			this.dgvGoosKingdeecode.Tag = true;
+			this.dgvGoosKingdeecode.TotalSumColumns = null;
+			this.dgvGoosKingdeecode.ViewRowFilter = "";
+			// 
+			// GOODSCODE
+			// 
+			this.GOODSCODE.DataPropertyName = "GOODSCODE";
+			this.GOODSCODE.HeaderText = "产品编码";
+			this.GOODSCODE.Name = "GOODSCODE";
+			this.GOODSCODE.ReadOnly = true;
+			// 
+			// GLAZETYPE
+			// 
+			this.GLAZETYPE.DataPropertyName = "GLAZETYPE";
+			this.GLAZETYPE.HeaderText = "釉料类别";
+			this.GLAZETYPE.Name = "GLAZETYPE";
+			this.GLAZETYPE.ReadOnly = true;
+			// 
+			// LOGONAME
+			// 
+			this.LOGONAME.DataPropertyName = "LOGONAME";
+			this.LOGONAME.HeaderText = "商标";
+			this.LOGONAME.Name = "LOGONAME";
+			this.LOGONAME.ReadOnly = true;
+			this.LOGONAME.Width = 150;
+			// 
+			// KINGDEECODE
+			// 
+			this.KINGDEECODE.DataPropertyName = "KINGDEECODE";
+			this.KINGDEECODE.HeaderText = "金蝶代码";
+			this.KINGDEECODE.Name = "KINGDEECODE";
+			this.KINGDEECODE.ReadOnly = true;
+			this.KINGDEECODE.Width = 150;
 			// 
 			// F_MST_1301
 			// 
 			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
 			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 			this.ClientSize = new System.Drawing.Size(1037, 461);
+			this.Controls.Add(this.dgvGoosKingdeecode);
 			this.Controls.Add(this.gbxCondition);
 			this.Controls.Add(this.tsrOperate);
 			this.Name = "F_MST_1301";
@@ -230,6 +405,7 @@
 			this.tsrOperate.PerformLayout();
 			this.gbxCondition.ResumeLayout(false);
 			this.gbxCondition.PerformLayout();
+			((System.ComponentModel.ISupportInitialize)(this.dgvGoosKingdeecode)).EndInit();
 			this.ResumeLayout(false);
 
         }
@@ -248,5 +424,14 @@
 		private Basics.BaseControls.C_GroupBox gbxCondition;
         private Basics.BaseControls.DKListBoxComboBox ddlGlazeTypeID;
 		private System.Windows.Forms.ToolStripButton tsbtnAdaptive;
+		private Basics.BaseControls.C_DataGridView dgvGoosKingdeecode;
+		private System.Windows.Forms.DataGridViewTextBoxColumn GOODSCODE;
+		private System.Windows.Forms.DataGridViewTextBoxColumn GLAZETYPE;
+		private System.Windows.Forms.DataGridViewTextBoxColumn LOGONAME;
+		private System.Windows.Forms.DataGridViewTextBoxColumn KINGDEECODE;
+		private Basics.BaseControls.DKListBoxComboBox ddlLogoName;
+		private Basics.BaseControls.C_Label c_Label1;
+		private Basics.BaseControls.C_Label c_Label2;
+		private Basics.BaseControls.C_TextBox txtKingdeeCode;
 	}
 }

+ 174 - 3
DK.Client/SystemModule/F_MST_1301.cs

@@ -61,7 +61,7 @@ namespace Dongke.IBOSS.PRD.Client.SystemModule
 		{
 			try
 			{
-				
+				this.loadDataSource();
 			}
 			catch (Exception ex)
 			{
@@ -70,9 +70,180 @@ namespace Dongke.IBOSS.PRD.Client.SystemModule
 					System.Reflection.MethodBase.GetCurrentMethod().Name, this.Text, ex);
 			}
 		}
+
+		/// <summary>
+		/// 清空事件
+		/// </summary>
+		/// <param name="sender"></param>
+		/// <param name="e"></param>
+		private void btnClearCondition_Click(object sender, EventArgs e)
+		{
+			this.txtGoodsCode.Clear();
+
+			this.txtKingdeeCode.Clear();
+		}
+
+		/// <summary>
+		/// 查询事件
+		/// </summary>
+		/// <param name="sender"></param>
+		/// <param name="e"></param>
+		private void btnSearch_Click(object sender, EventArgs e)
+		{
+			try
+			{
+				this.DataSource = this.GetSearchData();
+				if (this.DataSource != null)
+				{
+					this.dgvGoosKingdeecode.DataSource = this.DataSource.Tables[0];
+				}
+			}
+			catch (Exception ex)
+			{
+				// 对异常进行共通处理
+				ExceptionManager.HandleEventException(this.ToString(),
+					System.Reflection.MethodBase.GetCurrentMethod().Name, this.Text, ex);
+			}
+		}
+
+		/// <summary>
+		/// 新建事件
+		/// </summary>
+		/// <param name="sender"></param>
+		/// <param name="e"></param>
+		private void tsbtnAdd_Click(object sender, EventArgs e)
+		{
+			try
+			{
+				F_MST_1302 frmMST1302 = new F_MST_1302(Constant.FormMode.Add,"");
+				DialogResult dialogResult = frmMST1302.ShowDialog();
+				// 重新加载GridView
+				btnSearch_Click(sender, null);
+			}
+			catch (Exception ex)
+			{
+				// 对异常进行共通处理
+				ExceptionManager.HandleEventException(this.ToString(),
+					System.Reflection.MethodBase.GetCurrentMethod().Name, this.Text, ex);
+			}
+		}
+
+		/// <summary>
+		/// 编辑事件
+		/// </summary>
+		/// <param name="sender"></param>
+		/// <param name="e"></param>
+		private void tsbtnEdit_Click(object sender, EventArgs e)
+		{
+			try
+			{
+				if (this.dgvGoosKingdeecode.SelectedRows.Count != 0)
+				{
+					string KingdeeCode = this.dgvGoosKingdeecode.SelectedRows[0].Cells["KINGDEECODE"].Value.ToString();
+					F_MST_1302 frmFPC1302 = new F_MST_1302(Constant.FormMode.Edit, KingdeeCode);
+					DialogResult dialogresult = frmFPC1302.ShowDialog();
+					btnSearch_Click(sender, null);
+				}
+			}
+			catch (Exception ex)
+			{
+				// 对异常进行共通处理
+				ExceptionManager.HandleEventException(this.ToString(),
+					System.Reflection.MethodBase.GetCurrentMethod().Name, this.Text, ex);
+			}
+		}
+
+		/// <summary>
+		/// 自适应列宽
+		/// </summary>
+		/// <param name="sender"></param>
+		/// <param name="e"></param>
+		private void tsbtnAdaptive_Click(object sender, EventArgs e)
+		{
+			this.dgvGoosKingdeecode.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.AllCells);
+		}
+
+		/// <summary>
+		/// 关闭事件
+		/// </summary>
+		/// <param name="sender"></param>
+		/// <param name="e"></param>
+		private void tsbtnClose_Click(object sender, EventArgs e)
+		{
+			this.Close();
+		}
 		#endregion
 
 		#region 私有方法
-        #endregion
-    }
+		private DataSet GetSearchData()
+		{
+			try
+			{
+				ClientRequestEntity cre = new ClientRequestEntity();
+				cre.NameSpace = "F_MST_1301";
+				cre.Name = "GetKingdeeCode";
+				cre.Properties["GoodsCode"] = this.txtGoodsCode.Text;
+				cre.Properties["GlazeType"] = this.ddlGlazeTypeID.Text;
+				cre.Properties["LogoName"] = this.ddlLogoName.Text;
+				cre.Properties["KingdeeCode"] = this.txtKingdeeCode.Text;
+				ServiceResultEntity sre = SystemModuleProxy.Service.DoRequest(cre);
+				if (sre.Status == Basics.BaseResources.Constant.ServiceResultStatus.Success)
+				{
+					return sre.Data;
+				}
+
+				return null;
+			}
+			catch (Exception ex)
+			{
+				throw ex;
+			}
+		}
+
+		/// <summary>
+		/// 下拉框获取数据
+		/// </summary>
+		private void loadDataSource()
+		{
+			try
+			{
+				ClientRequestEntity cre = new ClientRequestEntity();
+				cre.NameSpace = "F_MST_1301";
+				cre.Name = "GetGlazeType";
+				ServiceResultEntity sre = SystemModuleProxy.Service.DoRequest(cre);
+				if (sre.Status == Basics.BaseResources.Constant.ServiceResultStatus.Success)
+				{
+					DataTable dtGlazeType = sre.Data.Tables[0];
+					if (dtGlazeType != null)
+					{
+						ddlGlazeTypeID.DisplayMember = "GLAZETYPE";
+						ddlGlazeTypeID.ValueMember = "ROWNUM";
+						ddlGlazeTypeID.DataSource = dtGlazeType;
+					}
+				}
+				cre = new ClientRequestEntity();
+				cre.NameSpace = "F_MST_1301";
+				cre.Name = "GetLogoName";
+				sre = SystemModuleProxy.Service.DoRequest(cre);
+				if (sre.Status == Basics.BaseResources.Constant.ServiceResultStatus.Success)
+				{
+					DataTable dtLogoName = sre.Data.Tables[0];
+					if (dtLogoName != null)
+					{
+						ddlLogoName.DisplayMember = "LOGONAME";
+						ddlLogoName.ValueMember = "ROWNUM";
+						ddlLogoName.DataSource = dtLogoName;
+					}
+				}
+			}
+			catch (Exception ex)
+			{
+				throw ex;
+			}
+}
+
+		#endregion
+
+		
+	}
 }

+ 12 - 0
DK.Client/SystemModule/F_MST_1301.resx

@@ -194,6 +194,18 @@
         TcjuBwk6Lpiwp2VcAAAAAElFTkSuQmCC
 </value>
   </data>
+  <metadata name="GOODSCODE.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="GLAZETYPE.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="LOGONAME.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="KINGDEECODE.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
   <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>49</value>
   </metadata>

+ 230 - 0
DK.Client/SystemModule/F_MST_1302.Designer.cs

@@ -0,0 +1,230 @@
+
+namespace Dongke.IBOSS.PRD.Client.SystemModule
+{
+	partial class F_MST_1302
+	{
+		/// <summary>
+		/// Required designer variable.
+		/// </summary>
+		private System.ComponentModel.IContainer components = null;
+
+		/// <summary>
+		/// Clean up any resources being used.
+		/// </summary>
+		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+		protected override void Dispose(bool disposing)
+		{
+			if (disposing && (components != null))
+			{
+				components.Dispose();
+			}
+			base.Dispose(disposing);
+		}
+
+		#region Windows Form Designer generated code
+
+		/// <summary>
+		/// Required method for Designer support - do not modify
+		/// the contents of this method with the code editor.
+		/// </summary>
+		private void InitializeComponent()
+		{
+			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(F_MST_1302));
+			this.c_Label1 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+			this.c_Label6 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+			this.btnSave = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
+			this.btnCancel = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
+			this.txtGoodsCode = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
+			this.c_Label5 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+			this.c_Label4 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+			this.txtKingdeeCode = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
+			this.ddlLogoName = new Dongke.IBOSS.PRD.Basics.BaseControls.DKListBoxComboBox();
+			this.ddlGlazeTypeID = new Dongke.IBOSS.PRD.Basics.BaseControls.DKListBoxComboBox();
+			this.SuspendLayout();
+			// 
+			// c_Label1
+			// 
+			this.c_Label1.AutoSize = true;
+			this.c_Label1.BackColor = System.Drawing.Color.Transparent;
+			this.c_Label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.c_Label1.ForeColor = System.Drawing.Color.Red;
+			this.c_Label1.Location = new System.Drawing.Point(228, 71);
+			this.c_Label1.Name = "c_Label1";
+			this.c_Label1.Size = new System.Drawing.Size(53, 12);
+			this.c_Label1.TabIndex = 80;
+			this.c_Label1.Text = "釉料类别";
+			// 
+			// c_Label6
+			// 
+			this.c_Label6.AutoSize = true;
+			this.c_Label6.BackColor = System.Drawing.Color.Transparent;
+			this.c_Label6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.c_Label6.ForeColor = System.Drawing.Color.Red;
+			this.c_Label6.Location = new System.Drawing.Point(15, 74);
+			this.c_Label6.Name = "c_Label6";
+			this.c_Label6.Size = new System.Drawing.Size(53, 12);
+			this.c_Label6.TabIndex = 78;
+			this.c_Label6.Text = "商标名称";
+			// 
+			// btnSave
+			// 
+			this.btnSave.BackColor = System.Drawing.SystemColors.ControlDark;
+			this.btnSave.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSave.BackgroundImage")));
+			this.btnSave.Font = new System.Drawing.Font("宋体", 9F);
+			this.btnSave.ForeColor = System.Drawing.Color.White;
+			this.btnSave.Location = new System.Drawing.Point(244, 119);
+			this.btnSave.Name = "btnSave";
+			this.btnSave.Size = new System.Drawing.Size(85, 30);
+			this.btnSave.TabIndex = 75;
+			this.btnSave.Text = "保存(&S)";
+			this.btnSave.UseVisualStyleBackColor = false;
+			this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
+			// 
+			// btnCancel
+			// 
+			this.btnCancel.BackColor = System.Drawing.SystemColors.ControlDark;
+			this.btnCancel.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnCancel.BackgroundImage")));
+			this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+			this.btnCancel.Font = new System.Drawing.Font("宋体", 9F);
+			this.btnCancel.ForeColor = System.Drawing.Color.White;
+			this.btnCancel.Location = new System.Drawing.Point(335, 119);
+			this.btnCancel.Name = "btnCancel";
+			this.btnCancel.Size = new System.Drawing.Size(85, 30);
+			this.btnCancel.TabIndex = 76;
+			this.btnCancel.Text = "关闭";
+			this.btnCancel.UseVisualStyleBackColor = false;
+			this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
+			// 
+			// txtGoodsCode
+			// 
+			this.txtGoodsCode.BackColor = System.Drawing.SystemColors.Window;
+			this.txtGoodsCode.BackgroundColor = System.Drawing.SystemColors.Window;
+			this.txtGoodsCode.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
+			this.txtGoodsCode.ErrorMessage = "";
+			this.txtGoodsCode.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.txtGoodsCode.Location = new System.Drawing.Point(74, 20);
+			this.txtGoodsCode.MaxLength = 20;
+			this.txtGoodsCode.Name = "txtGoodsCode";
+			this.txtGoodsCode.Size = new System.Drawing.Size(130, 21);
+			this.txtGoodsCode.TabIndex = 72;
+			// 
+			// c_Label5
+			// 
+			this.c_Label5.AutoSize = true;
+			this.c_Label5.BackColor = System.Drawing.Color.Transparent;
+			this.c_Label5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.c_Label5.ForeColor = System.Drawing.Color.Red;
+			this.c_Label5.Location = new System.Drawing.Point(15, 23);
+			this.c_Label5.Name = "c_Label5";
+			this.c_Label5.Size = new System.Drawing.Size(53, 12);
+			this.c_Label5.TabIndex = 71;
+			this.c_Label5.Text = "产品编码";
+			this.c_Label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+			// 
+			// c_Label4
+			// 
+			this.c_Label4.AutoSize = true;
+			this.c_Label4.BackColor = System.Drawing.Color.Transparent;
+			this.c_Label4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.c_Label4.ForeColor = System.Drawing.Color.Red;
+			this.c_Label4.Location = new System.Drawing.Point(228, 23);
+			this.c_Label4.Name = "c_Label4";
+			this.c_Label4.Size = new System.Drawing.Size(53, 12);
+			this.c_Label4.TabIndex = 70;
+			this.c_Label4.Text = "金蝶代码";
+			this.c_Label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+			// 
+			// txtKingdeeCode
+			// 
+			this.txtKingdeeCode.BackColor = System.Drawing.SystemColors.Window;
+			this.txtKingdeeCode.BackgroundColor = System.Drawing.SystemColors.Window;
+			this.txtKingdeeCode.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
+			this.txtKingdeeCode.ErrorMessage = "";
+			this.txtKingdeeCode.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.txtKingdeeCode.Location = new System.Drawing.Point(287, 20);
+			this.txtKingdeeCode.MaxLength = 20;
+			this.txtKingdeeCode.Name = "txtKingdeeCode";
+			this.txtKingdeeCode.Size = new System.Drawing.Size(130, 21);
+			this.txtKingdeeCode.TabIndex = 69;
+			// 
+			// ddlLogoName
+			// 
+			this.ddlLogoName.BackColor = System.Drawing.SystemColors.Window;
+			this.ddlLogoName.BackgroundColor = System.Drawing.SystemColors.Window;
+			this.ddlLogoName.DataSource = null;
+			this.ddlLogoName.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.ddlLogoName.FormattingEnabled = true;
+			// 
+			// 
+			// 
+			this.ddlLogoName.ListBox.Dock = System.Windows.Forms.DockStyle.Fill;
+			this.ddlLogoName.ListBox.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.ddlLogoName.ListBox.Location = new System.Drawing.Point(0, 0);
+			this.ddlLogoName.ListBox.Name = "";
+			this.ddlLogoName.ListBox.Size = new System.Drawing.Size(128, 136);
+			this.ddlLogoName.ListBox.TabIndex = 0;
+			this.ddlLogoName.Location = new System.Drawing.Point(74, 68);
+			this.ddlLogoName.Name = "ddlLogoName";
+			this.ddlLogoName.Size = new System.Drawing.Size(130, 20);
+			this.ddlLogoName.TabIndex = 81;
+			// 
+			// ddlGlazeTypeID
+			// 
+			this.ddlGlazeTypeID.BackColor = System.Drawing.SystemColors.Window;
+			this.ddlGlazeTypeID.BackgroundColor = System.Drawing.SystemColors.Window;
+			this.ddlGlazeTypeID.DataSource = null;
+			this.ddlGlazeTypeID.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.ddlGlazeTypeID.FormattingEnabled = true;
+			// 
+			// 
+			// 
+			this.ddlGlazeTypeID.ListBox.Dock = System.Windows.Forms.DockStyle.Fill;
+			this.ddlGlazeTypeID.ListBox.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+			this.ddlGlazeTypeID.ListBox.Location = new System.Drawing.Point(0, 0);
+			this.ddlGlazeTypeID.ListBox.Name = "";
+			this.ddlGlazeTypeID.ListBox.Size = new System.Drawing.Size(128, 136);
+			this.ddlGlazeTypeID.ListBox.TabIndex = 0;
+			this.ddlGlazeTypeID.Location = new System.Drawing.Point(287, 68);
+			this.ddlGlazeTypeID.Name = "ddlGlazeTypeID";
+			this.ddlGlazeTypeID.Size = new System.Drawing.Size(130, 20);
+			this.ddlGlazeTypeID.TabIndex = 82;
+			// 
+			// F_MST_1302
+			// 
+			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+			this.ClientSize = new System.Drawing.Size(431, 172);
+			this.Controls.Add(this.ddlGlazeTypeID);
+			this.Controls.Add(this.ddlLogoName);
+			this.Controls.Add(this.c_Label1);
+			this.Controls.Add(this.c_Label6);
+			this.Controls.Add(this.btnSave);
+			this.Controls.Add(this.btnCancel);
+			this.Controls.Add(this.txtGoodsCode);
+			this.Controls.Add(this.c_Label5);
+			this.Controls.Add(this.c_Label4);
+			this.Controls.Add(this.txtKingdeeCode);
+			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
+			this.Name = "F_MST_1302";
+			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+			this.Text = "F_MST_1302";
+			this.Load += new System.EventHandler(this.F_MST_1302_Load);
+			this.ResumeLayout(false);
+			this.PerformLayout();
+
+		}
+
+		#endregion
+
+		private Basics.BaseControls.C_Label c_Label6;
+		private Basics.BaseControls.C_Button btnSave;
+		private Basics.BaseControls.C_Button btnCancel;
+		private Basics.BaseControls.C_TextBox txtGoodsCode;
+		private Basics.BaseControls.C_Label c_Label5;
+		private Basics.BaseControls.C_Label c_Label4;
+		private Basics.BaseControls.C_TextBox txtKingdeeCode;
+		private Basics.BaseControls.C_Label c_Label1;
+		private Basics.BaseControls.DKListBoxComboBox ddlLogoName;
+		private Basics.BaseControls.DKListBoxComboBox ddlGlazeTypeID;
+	}
+}

+ 275 - 0
DK.Client/SystemModule/F_MST_1302.cs

@@ -0,0 +1,275 @@
+using Dongke.IBOSS.PRD.Basics.BaseControls;
+using Dongke.IBOSS.PRD.Basics.BaseResources;
+using Dongke.IBOSS.PRD.Client.CommonModule;
+using Dongke.IBOSS.PRD.WCF.DataModels;
+using Dongke.IBOSS.PRD.WCF.Proxys;
+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;
+
+namespace Dongke.IBOSS.PRD.Client.SystemModule
+{
+	public partial class F_MST_1302 : Form
+	{
+		#region 成员变量
+		// 编辑状态
+		private Constant.FormMode _editStatus;
+		//记录金蝶代码
+		private string KingdeeCodeOne;
+		#endregion
+
+		#region 构造函数
+		public F_MST_1302()
+		{
+			InitializeComponent();
+		}
+
+		public F_MST_1302(Constant.FormMode frmStatus, string KingdeeCode)
+		{
+			InitializeComponent();
+			_editStatus = frmStatus;
+			// 设置窗口标题,当为新建状态时显示新建用户,当为编辑状态时显示编辑用户
+			if (frmStatus == Constant.FormMode.Add)
+			{
+				FromStatus = "Add";
+				this.Text = "新建";
+			}
+			else if (frmStatus == Constant.FormMode.Edit)
+			{
+				FromStatus = "Edit";
+				this.Text = "编辑";
+				KingdeeCodeOne = KingdeeCode;
+				if (!string.IsNullOrEmpty(KingdeeCode))
+				{
+					//CustomerCodeOne = CustomerCode;
+					ClientRequestEntity cre = new ClientRequestEntity();
+					cre.NameSpace = "F_MST_1301";
+					cre.Name = "GetKingdeeCode";
+					cre.Properties["KingdeeCode"] = KingdeeCode;
+					cre.Properties["GoodsCode"] = "";
+					cre.Properties["GlazeType"] = "";
+					cre.Properties["LogoName"] = "";
+					ServiceResultEntity sre = SystemModuleProxy.Service.DoRequest(cre);
+					if (sre.Status == Basics.BaseResources.Constant.ServiceResultStatus.Success)
+					{
+						//金蝶代码
+						this.txtKingdeeCode.Text = KingdeeCode;
+						//产品编码
+						this.txtGoodsCode.Text = sre.Data.Tables[0].Rows[0]["GOODSCODE"].ToString();
+						//商标名称
+						this.ddlLogoName.Text = sre.Data.Tables[0].Rows[0]["LOGONAME"].ToString();
+						//釉料类别
+						this.ddlGlazeTypeID.Text = sre.Data.Tables[0].Rows[0]["KINGDEECODE"].ToString();
+					}
+				}
+			}
+			// 工具栏按钮文本赋值
+			this.btnSave.Text = ButtonText.BTN_SAVE;
+			this.btnCancel.Text = ButtonText.BTN_CLOSE;
+		}
+		#endregion
+
+		#region 属性
+		/// <summary>
+		/// 页面状态
+		/// </summary>
+		public string FromStatus
+		{
+			get;
+			set;
+		}
+		#endregion
+
+		#region 事件
+		/// <summary>
+		/// 保存事件
+		/// </summary>
+		/// <param name="sender"></param>
+		/// <param name="e"></param>
+		private void btnSave_Click(object sender, EventArgs e)
+		{
+			try
+			{
+				//商品编码
+				if (string.IsNullOrEmpty(this.txtGoodsCode.Text.ToString()))
+				{
+					//必须输入
+					MessageBox.Show(string.Format(Messages.MSG_CMN_W005, "商品编码"),
+						this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1);
+					this.txtGoodsCode.Focus();
+					return;
+				}
+
+				//金蝶代码
+				if (string.IsNullOrEmpty(this.txtKingdeeCode.Text.ToString()))
+				{
+					//必须输入
+					MessageBox.Show(string.Format(Messages.MSG_CMN_W005, "金蝶代码"),
+						this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1);
+					this.txtKingdeeCode.Focus();
+					return;
+				}
+				//商标
+				if (this.ddlLogoName.Text == "")
+				{
+					MessageBox.Show(string.Format(Messages.MSG_CMN_W005, "商标"),
+						this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1);
+					this.ddlLogoName.Focus();
+					return;
+				}
+				//釉料类别
+				if (this.ddlGlazeTypeID.Text == "")
+				{
+					//商标
+					MessageBox.Show(string.Format(Messages.MSG_CMN_W005, "釉料类别"),
+						this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1);
+					this.ddlGlazeTypeID.Focus();
+					return;
+				}
+				//int returnCustomerID = Constant.INT_IS_ZERO;
+				//_CustomerEntity = this.SetCustomerEntity();
+				if (_editStatus == Constant.FormMode.Add)
+				{
+					// 新建用户,返回新建的用户ID
+					this.btnSave.Enabled = false;
+					this.btnCancel.Enabled = false;
+					this.AddCustomerInfo();
+					this.Clear();
+				}
+				if (_editStatus == Constant.FormMode.Edit)
+				{
+					this.btnSave.Enabled = false;
+					this.btnCancel.Enabled = false;
+					this.EditCustomer();
+					this.Close();
+				}
+			}
+			catch (Exception ex)
+			{
+				// 对异常进行共通处理
+				ExceptionManager.HandleEventException(this.ToString(),
+					System.Reflection.MethodBase.GetCurrentMethod().Name, this.Text, ex);
+			}
+		}
+		/// <summary>
+		/// 退出事件
+		/// </summary>
+		/// <param name="sender"></param>
+		/// <param name="e"></param>
+		private void btnCancel_Click(object sender, EventArgs e)
+		{
+
+		}
+		/// <summary>
+		/// 页面加载事件
+		/// </summary>
+		/// <param name="sender"></param>
+		/// <param name="e"></param>
+		private void F_MST_1302_Load(object sender, EventArgs e)
+		{
+			try
+			{
+				this.loadDataSource();
+			}
+			catch (Exception ex)
+			{
+				// 对异常进行共通处理
+				ExceptionManager.HandleEventException(this.ToString(),
+					System.Reflection.MethodBase.GetCurrentMethod().Name, this.Text, ex);
+			}
+		}
+		#endregion
+
+		#region 私有方法
+		/// <summary>
+		/// 下拉框获取数据
+		/// </summary>
+		private void loadDataSource()
+		{
+			try
+			{
+				ClientRequestEntity cre = new ClientRequestEntity();
+				cre.NameSpace = "F_MST_1301";
+				cre.Name = "GetGlazeType";
+				ServiceResultEntity sre = SystemModuleProxy.Service.DoRequest(cre);
+				if (sre.Status == Basics.BaseResources.Constant.ServiceResultStatus.Success)
+				{
+					DataTable dtGlazeType = sre.Data.Tables[0];
+					if (dtGlazeType != null)
+					{
+						ddlGlazeTypeID.DisplayMember = "GLAZETYPE";
+						ddlGlazeTypeID.ValueMember = "ROWNUM";
+						ddlGlazeTypeID.DataSource = dtGlazeType;
+					}
+				}
+				cre = new ClientRequestEntity();
+				cre.NameSpace = "F_MST_1301";
+				cre.Name = "GetLogoName";
+				sre = SystemModuleProxy.Service.DoRequest(cre);
+				if (sre.Status == Basics.BaseResources.Constant.ServiceResultStatus.Success)
+				{
+					DataTable dtLogoName = sre.Data.Tables[0];
+					if (dtLogoName != null)
+					{
+						ddlLogoName.DisplayMember = "LOGONAME";
+						ddlLogoName.ValueMember = "ROWNUM";
+						ddlLogoName.DataSource = dtLogoName;
+					}
+				}
+			}
+			catch (Exception ex)
+			{
+				throw ex;
+			}
+			#endregion
+		}
+
+		private void Clear()
+		{
+			this.txtGoodsCode.Clear();
+			this.txtKingdeeCode.Clear();
+			this.ddlLogoName.SelectedText = "";
+			this.ddlGlazeTypeID.SelectedText = "";
+		}
+
+		private void AddCustomerInfo()
+		{
+
+		}
+
+		private void EditCustomer()
+		{
+			ClientRequestEntity cre = new ClientRequestEntity();
+			cre.NameSpace = "F_MST_1401";
+			cre.Name = "AddKingdeeCode";
+			cre.Properties["GOODSCODE"] = this.txtGoodsCode.Text;
+			cre.Properties["GLAZETYPE"] = this.ddlGlazeTypeID.Text;
+			cre.Properties["LOGONAME"] = this.ddlLogoName.Text;
+			cre.Properties["KINGDEECODE"] = this.txtKingdeeCode.Text;
+			cre.Properties["KINGDEECODEONE"] = KingdeeCodeOne;
+			cre.Properties["FromStatus"] = FromStatus.ToString();
+			ServiceResultEntity sre = SystemModuleProxy.Service.DoRequest(cre);
+			this.btnSave.Enabled = true;
+			this.btnCancel.Enabled = true;
+			if (sre.OtherStatus > 0)
+			{
+				DKMessageBox.ShowDialog(this, DKMessageCode.I_CMN_S_002);
+				return;
+			}
+			else if (Convert.ToInt32(sre.OtherStatus) == -1001)
+			{
+				MessageBox.Show(string.Format(Messages.MSG_CMN_W007,
+							"存在相同金蝶代码"),
+							"",
+							MessageBoxButtons.OK,
+							MessageBoxIcon.Warning);
+				return;
+			}
+		}
+	}
+}

+ 137 - 0
DK.Client/SystemModule/F_MST_1302.resx

@@ -0,0 +1,137 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+  <data name="btnSave.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAAFUAAAAeCAYAAABdalL1AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+        vAAADrwBlbxySQAAAI5JREFUaEPt0KERxCAUQMFrEImOowUsioJSAb3gaOLfnLjJRMNzT2wD+ymlhPb1
+        3mOMEWutMPUQUwGmAkwFmAowFWAqwFSAqQBTAaYCTAWYCnilXtcV2tdaM/U0UwGmAmqtT2rOObTvnzrn
+        NPUUUwGmAkwFmAowFWAqwFSAqYBf6n3fpp70Sk0phfY9qTO+PIZEBQZ3CrAAAAAASUVORK5CYII=
+</value>
+  </data>
+  <data name="btnCancel.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAAFUAAAAeCAYAAABdalL1AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+        vAAADrwBlbxySQAAAI5JREFUaEPt0KERxCAUQMFrEImOowUsioJSAb3gaOLfnLjJRMNzT2wD+ymlhPb1
+        3mOMEWutMPUQUwGmAkwFmAowFWAqwFSAqQBTAaYCTAWYCnilXtcV2tdaM/U0UwGmAmqtT2rOObTvnzrn
+        NPUUUwGmAkwFmAowFWAqwFSAqYBf6n3fpp70Sk0phfY9qTO+PIZEBQZ3CrAAAAAASUVORK5CYII=
+</value>
+  </data>
+</root>

+ 9 - 0
DK.Client/SystemModule/SystemModule.csproj

@@ -362,6 +362,12 @@
     <Compile Include="F_MST_1103.Designer.cs">
       <DependentUpon>F_MST_1103.cs</DependentUpon>
     </Compile>
+    <Compile Include="F_MST_1302.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="F_MST_1302.Designer.cs">
+      <DependentUpon>F_MST_1302.cs</DependentUpon>
+    </Compile>
     <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="Resource1.Designer.cs">
       <AutoGen>True</AutoGen>
@@ -572,6 +578,9 @@
     <EmbeddedResource Include="F_MST_1103.resx">
       <DependentUpon>F_MST_1103.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="F_MST_1302.resx">
+      <DependentUpon>F_MST_1302.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="Resource1.resx">
       <Generator>ResXFileCodeGenerator</Generator>
       <LastGenOutput>Resource1.Designer.cs</LastGenOutput>

+ 262 - 0
DK.Service/SystemModuleLogic/SystemModuleLogicPartial.cs

@@ -1274,5 +1274,267 @@ namespace Dongke.IBOSS.PRD.Service.SystemModuleLogic
 				}
 			}
 		}
+
+
+		/// <summary>
+		/// 查询金蝶代码数据
+		/// </summary>
+		/// <param name="sUserInfo"></param>
+		/// <param name="goodsID"></param>
+		/// <returns></returns>
+		public static ServiceResultEntity GetKingdeeCode(SUserInfo sUserInfo,ClientRequestEntity cre)
+		{
+			IDBConnection conn = null;
+			try
+			{
+				conn = ClsDbFactory.CreateDBConnection(DataBaseType.ORACLE, DataManager.ConnectionString);
+
+				string sqlString = @"
+								SELECT
+									GOODSCODE,
+									GLAZETYPE,
+									LOGONAME,
+									KINGDEECODE 
+								FROM
+									TP_MST_GOODSKINGDEECODE
+								WHERE 1=1";
+				if (!string.IsNullOrEmpty(cre.Properties["GoodsCode"].ToString()))
+				{
+					sqlString += " AND GOODSCODE like :GOODSCODE";
+				}
+				if (!string.IsNullOrEmpty(cre.Properties["GlazeType"].ToString()))
+				{
+					sqlString += " AND GLAZETYPE = :GLAZETYPE";
+				}
+				if (!string.IsNullOrEmpty(cre.Properties["LogoName"].ToString()))
+				{
+					sqlString += " AND LOGONAME = :LOGONAME";
+				}
+				if (!string.IsNullOrEmpty(cre.Properties["KingdeeCode"].ToString()))
+				{
+					sqlString += " AND KINGDEECODE like :KINGDEECODE";
+				}
+				OracleParameter[] paras = new OracleParameter[]{
+					new OracleParameter(":GOODSCODE",'%'+cre.Properties["GoodsCode"].ToString()+'%'),
+					new OracleParameter(":GLAZETYPE",cre.Properties["GlazeType"].ToString()),
+					new OracleParameter(":LOGONAME",cre.Properties["LogoName"].ToString()),
+					new OracleParameter(":KINGDEECODE",'%'+cre.Properties["KingdeeCode"].ToString()+'%'),
+				};
+				ServiceResultEntity sre = new ServiceResultEntity();
+				sre.Data = conn.GetSqlResultToDs(sqlString, paras);
+				return sre;
+			}
+			catch (Exception ex)
+			{
+				throw ex;
+			}
+			finally
+			{
+				if (conn != null &&
+					conn.ConnState == ConnectionState.Open)
+				{
+					conn.Close();
+				}
+			}
+		}
+
+		/// <summary>
+		/// 查询釉料类别
+		/// </summary>
+		/// <param name="sUserInfo"></param>
+		/// <param name="goodsID"></param>
+		/// <returns></returns>
+		public static ServiceResultEntity GetGlazeType(SUserInfo sUserInfo, ClientRequestEntity cre)
+		{
+			IDBConnection conn = null;
+			try
+			{
+				conn = ClsDbFactory.CreateDBConnection(DataBaseType.ORACLE, DataManager.ConnectionString);
+
+				string sqlString = @"
+							SELECT 
+								ROWNUM,
+								GLAZETYPE 
+							FROM
+							( SELECT DISTINCT GLAZETYPE FROM TP_MST_GOODSKINGDEECODE )";
+				ServiceResultEntity sre = new ServiceResultEntity();
+				sre.Data = conn.GetSqlResultToDs(sqlString, null);
+				return sre;
+			}
+			catch (Exception ex)
+			{
+				throw ex;
+			}
+			finally
+			{
+				if (conn != null &&
+					conn.ConnState == ConnectionState.Open)
+				{
+					conn.Close();
+				}
+			}
+		}
+
+
+		/// <summary>
+		/// 查询商标名称
+		/// </summary>
+		/// <param name="sUserInfo"></param>
+		/// <param name="goodsID"></param>
+		/// <returns></returns>
+		public static ServiceResultEntity GetLogoName(SUserInfo sUserInfo, ClientRequestEntity cre)
+		{
+			IDBConnection conn = null;
+			try
+			{
+				conn = ClsDbFactory.CreateDBConnection(DataBaseType.ORACLE, DataManager.ConnectionString);
+
+				string sqlString = @"
+							SELECT
+								ROWNUM,
+								LOGONAME
+							FROM
+								( SELECT DISTINCT LOGONAME FROM TP_MST_GOODSKINGDEECODE )";
+				ServiceResultEntity sre = new ServiceResultEntity();
+				sre.Data = conn.GetSqlResultToDs(sqlString, null);
+				return sre;
+			}
+			catch (Exception ex)
+			{
+				throw ex;
+			}
+			finally
+			{
+				if (conn != null &&
+					conn.ConnState == ConnectionState.Open)
+				{
+					conn.Close();
+				}
+			}
+		}
+		
+			///<summary>
+			///保存金蝶代码信息
+			/// </summary>
+			public static ServiceResultEntity AddKingdeeCode(SUserInfo sUserInfo, ClientRequestEntity cre)
+			{
+				IDBTransaction conn = null;
+				try
+				{
+					conn = ClsDbFactory.CreateDBTransaction(DataBaseType.ORACLE, DataManager.ConnectionString);
+					ServiceResultEntity sre = new ServiceResultEntity();
+					DataTable dt = new DataTable();
+					string sqlString = string.Empty;
+					OracleParameter[] paras = new OracleParameter[] { };
+					//如果版面信息是新建的情况下,是否存在相同版面编码
+					if (cre.Properties["FromStatus"].ToString() == "Add")
+					{
+						sqlString = @"
+											SELECT 1 FROM TP_MST_GOODSKINGDEECODE WHERE KINGDEECODE = :KINGDEECODE";
+
+						paras = new OracleParameter[] { new OracleParameter(":KINGDEECODE", cre.Properties["KINGDEECODE"].ToString()), };
+						dt = new DataTable();
+						dt = conn.GetSqlResultToDt(sqlString, paras);
+						if (dt != null && dt.Rows.Count > 0)
+						{
+							//存在相同金蝶代码
+							sre.OtherStatus = -1001;
+							return sre;
+						}
+					}
+					#region 新增
+					if (cre.Properties["FromStatus"].ToString() == "Add")
+					{
+						//保存客户信息
+						sqlString = @"INSERT INTO TP_PC_LAYOUTINFORMATION(
+											CUSTOMERCODE,
+											LAYOUTCODE,
+											LAYOUTNAME,
+											REMARKS,
+											ACCOUNTID,
+											VALUEFLAG,
+											CREATEUSERID,
+											UPDATEUSERID
+										) VALUES(
+											:CUSTOMERCODE,
+											:LAYOUTCODE,
+											:LAYOUTNAME,
+											:REMARKS,
+											 1,
+											:VALUEFLAG,
+											:USERID,
+											:USERID)";
+						paras = new OracleParameter[] {
+					new OracleParameter(":LAYOUTCODE", cre.Properties["LAYOUTCODE"].ToString()),
+					new OracleParameter(":CUSTOMERCODE", cre.Properties["CUSTOMERCODE"].ToString()) ,
+					new OracleParameter(":LAYOUTNAME", cre.Properties["LAYOUTNAME"].ToString()) ,
+					new OracleParameter(":REMARKS", cre.Properties["REMARKS"].ToString()) ,
+					new OracleParameter(":VALUEFLAG", cre.Properties["VALUEFLAG"].ToString()) ,
+					new OracleParameter(":USERID", sUserInfo.UserID)
+				};
+					}
+					#endregion
+					#region 编辑
+					if (cre.Properties["FromStatus"].ToString() == "Edit")
+					{
+						sqlString = @"
+											SELECT 1 FROM TP_MST_GOODSKINGDEECODE WHERE KINGDEECODE = :KINGDEECODE AND KINGDEECODE != " + cre.Properties["KINGDEECODE"].ToString();
+
+						paras = new OracleParameter[] { new OracleParameter(":KINGDEECODE", cre.Properties["KINGDEECODE"].ToString()), };
+						dt = new DataTable();
+						dt = conn.GetSqlResultToDt(sqlString, paras);
+						if (dt != null && dt.Rows.Count > 0)
+						{
+							//存在相同版面编码
+							sre.OtherStatus = -1001;
+							return sre;
+						}
+						sqlString = @"UPDATE TP_MST_GOODSKINGDEECODE
+											SET
+												GOODSCODE=:GOODSCODE,
+												GLAZETYPE = :GLAZETYPE,
+												LOGONAME =:LOGONAME,
+												KINGDEECODE = :KINGDEECODE,
+											WHERE
+												KINGDEECODE = :KINGDEECODEONE";
+						paras = new OracleParameter[] {
+					new OracleParameter(":GOODSCODE", cre.Properties["GOODSCODE"].ToString()) ,
+					new OracleParameter(":GLAZETYPE", cre.Properties["GLAZETYPE"].ToString()) ,
+					new OracleParameter(":LOGONAME", cre.Properties["LOGONAME"].ToString()) ,
+					new OracleParameter(":KINGDEECODE", cre.Properties["KINGDEECODE"].ToString()) ,
+					new OracleParameter(":KINGDEECODEONE", cre.Properties["KINGDEECODEONE"].ToString()) ,
+				};
+					}
+					#endregion
+
+					int result = conn.ExecuteNonQuery(sqlString, paras);
+					if (result <= 0)
+					{
+						//未改变任何数据
+						sre.OtherStatus = -1003;
+						return sre;
+					}
+					else
+					{
+						//提交数据
+						sre.OtherStatus = 1;
+						conn.Commit();
+					}
+
+					return sre;
+				}
+				catch (Exception ex)
+				{
+					throw ex;
+				}
+				finally
+				{
+					if (conn != null &&
+						conn.ConnState == ConnectionState.Open)
+					{
+						conn.Disconnect();
+					}
+				}
+			}
 	}
 }

+ 4 - 0
IBOSS.PRD/F_SYS_0202.cs

@@ -287,6 +287,10 @@ namespace Dongke.IBOSS.PRD.Client
 									F_MST_1002 mst1002 = new F_MST_1002();
 									mst1002.ShowDialog();
 									break;
+								case "010310":
+									//系统管理-产品信息-半成品缺陷位置
+									ShowInDockPanel(F_MST_1301.Instance);
+									break;
 								#endregion
 
 								#region 系统管理-HR基础数据

+ 32 - 0
WCF.Service/WCF.Services/SystemModuleService.cs

@@ -2668,6 +2668,38 @@ namespace Dongke.IBOSS.PRD.WCF.Services
                     }
                     return null;
                 }
+                if ("F_MST_1301" == cre.NameSpace)
+                {
+                    if ("GetKingdeeCode" == cre.Name)
+                    {
+                        ServiceResultEntity result =
+                           ServiceInvoker.Invoke<ServiceResultEntity>(this,
+                           () => SystemModuleLogic.GetKingdeeCode(SUserInfo, cre));
+                        return result;
+                    }
+                    if ("GetGlazeType" == cre.Name)
+                    {
+                        ServiceResultEntity result =
+                           ServiceInvoker.Invoke<ServiceResultEntity>(this,
+                           () => SystemModuleLogic.GetGlazeType(SUserInfo, cre));
+                        return result;
+                    }
+                    if ("GetLogoName" == cre.Name)
+                    {
+                        ServiceResultEntity result =
+                           ServiceInvoker.Invoke<ServiceResultEntity>(this,
+                           () => SystemModuleLogic.GetLogoName(SUserInfo, cre));
+                        return result;
+                    }
+                    if ("AddKingdeeCode" == cre.Name)
+                    {
+                        ServiceResultEntity result =
+                           ServiceInvoker.Invoke<ServiceResultEntity>(this,
+                           () => SystemModuleLogic.AddKingdeeCode(SUserInfo, cre));
+                        return result;
+                    }
+                    return null;
+                }
 
                 return null;
             }