瀏覽代碼

金蝶代码对应维护界面

林勇 冯 3 年之前
父節點
當前提交
e7bed79a76
共有 2 個文件被更改,包括 11 次插入3 次删除
  1. 1 1
      DK.Client/SystemModule/F_MST_1301.cs
  2. 10 2
      DK.Client/SystemModule/F_MST_1302.cs

+ 1 - 1
DK.Client/SystemModule/F_MST_1301.cs

@@ -207,7 +207,7 @@ namespace Dongke.IBOSS.PRD.Client.SystemModule
 				ClientRequestEntity cre = new ClientRequestEntity();
 				ClientRequestEntity cre = new ClientRequestEntity();
 				cre.NameSpace = "F_MST_1301";
 				cre.NameSpace = "F_MST_1301";
 				cre.Name = "GetKingdeeCode";
 				cre.Name = "GetKingdeeCode";
-				cre.Properties["GoodsCode"] = this.scbGoodsCode.Text;
+				cre.Properties["GoodsCode"] = this.scbGoodsCode.SearchedValue+ "";
 				cre.Properties["GlazeType"] = this.ddlGlazeTypeID.Text;
 				cre.Properties["GlazeType"] = this.ddlGlazeTypeID.Text;
 				cre.Properties["LogoName"] = this.ddlLogoName.Text;
 				cre.Properties["LogoName"] = this.ddlLogoName.Text;
 				cre.Properties["KingdeeCode"] = this.txtKingdeeCode.Text;
 				cre.Properties["KingdeeCode"] = this.txtKingdeeCode.Text;

+ 10 - 2
DK.Client/SystemModule/F_MST_1302.cs

@@ -61,6 +61,7 @@ namespace Dongke.IBOSS.PRD.Client.SystemModule
 						this.txtKingdeeCode.Text = KingdeeCode;
 						this.txtKingdeeCode.Text = KingdeeCode;
 						//产品编码
 						//产品编码
 						this.scbGoodsCode.Text = sre.Data.Tables[0].Rows[0]["GOODSCODE"].ToString();
 						this.scbGoodsCode.Text = sre.Data.Tables[0].Rows[0]["GOODSCODE"].ToString();
+						this.scbGoodsCode.ValueMember = sre.Data.Tables[0].Rows[0]["GOODSCODE"].ToString();
 						//商标名称
 						//商标名称
 						this.ddlLogoName.SelectedValue = sre.Data.Tables[0].Rows[0]["LOGONAME"].ToString();
 						this.ddlLogoName.SelectedValue = sre.Data.Tables[0].Rows[0]["LOGONAME"].ToString();
 						//釉料类别
 						//釉料类别
@@ -237,7 +238,7 @@ namespace Dongke.IBOSS.PRD.Client.SystemModule
 			ClientRequestEntity cre = new ClientRequestEntity();
 			ClientRequestEntity cre = new ClientRequestEntity();
 			cre.NameSpace = "F_MST_1301";
 			cre.NameSpace = "F_MST_1301";
 			cre.Name = "AddKingdeeCode";
 			cre.Name = "AddKingdeeCode";
-			cre.Properties["GOODSCODE"] = this.scbGoodsCode.SearchedValue;
+			cre.Properties["GOODSCODE"] = this.scbGoodsCode.SearchedValue + "";
 			cre.Properties["GLAZETYPE"] = this.ddlGlazeTypeID.Text;
 			cre.Properties["GLAZETYPE"] = this.ddlGlazeTypeID.Text;
 			cre.Properties["LOGONAME"] = this.ddlLogoName.Text;
 			cre.Properties["LOGONAME"] = this.ddlLogoName.Text;
 			cre.Properties["KINGDEECODE"] = this.txtKingdeeCode.Text;
 			cre.Properties["KINGDEECODE"] = this.txtKingdeeCode.Text;
@@ -271,7 +272,14 @@ namespace Dongke.IBOSS.PRD.Client.SystemModule
 			ClientRequestEntity cre = new ClientRequestEntity();
 			ClientRequestEntity cre = new ClientRequestEntity();
 			cre.NameSpace = "F_MST_1301";
 			cre.NameSpace = "F_MST_1301";
 			cre.Name = "AddKingdeeCode";
 			cre.Name = "AddKingdeeCode";
-			cre.Properties["GOODSCODE"] = this.scbGoodsCode.Text;
+			if (this.scbGoodsCode.ValueMember + "" == this.scbGoodsCode.Text + "")
+			{
+				cre.Properties["GOODSCODE"] = this.scbGoodsCode.ValueMember + "";
+			}
+			else
+			{
+				cre.Properties["GOODSCODE"] = this.scbGoodsCode.Text + "";
+			}
 			cre.Properties["GLAZETYPE"] = this.ddlGlazeTypeID.Text;
 			cre.Properties["GLAZETYPE"] = this.ddlGlazeTypeID.Text;
 			cre.Properties["LOGONAME"] = this.ddlLogoName.Text;
 			cre.Properties["LOGONAME"] = this.ddlLogoName.Text;
 			cre.Properties["KINGDEECODE"] = this.txtKingdeeCode.Text;
 			cre.Properties["KINGDEECODE"] = this.txtKingdeeCode.Text;