|
|
@@ -61,10 +61,21 @@ namespace Dongke.IBOSS.PRD.Client.SystemModule
|
|
|
FormPermissionManager.FormPermissionControl(this.Name, this,
|
|
|
LogInUserInfo.CurrentUser.CurrentUserEntity.UserRightData,
|
|
|
LogInUserInfo.CurrentUser.CurrentUserEntity.FunctionData);
|
|
|
- DataSet logoInfo = SystemModuleProxy.Service.GetLogoInfo();
|
|
|
- this.cmbLogo.DataSource = logoInfo.Tables[0];
|
|
|
- this.cmbLogo.DisplayMember = "LOGONAME";
|
|
|
+ ClientRequestEntity cres = new ClientRequestEntity();
|
|
|
+ cres.NameSpace = "F_MST_1701";
|
|
|
+ cres.Name = "GetLogo";
|
|
|
+ cres.Properties["LOGOCODE"] = "";
|
|
|
+ ServiceResultEntity sres = SystemModuleProxy.Service.DoRequest(cres);
|
|
|
+ DataSet set = sres.Data;
|
|
|
+ DataTable dt = set.Tables[0];
|
|
|
+ DataRow dr = dt.NewRow();
|
|
|
+ dr["LOGOCODE"] = "";
|
|
|
+ dr["LOGONAME"] = "";
|
|
|
+ dt.Rows.Add(dr);
|
|
|
+ this.cmbLogo.DataSource = dt;
|
|
|
this.cmbLogo.ValueMember = "LOGOCODE";
|
|
|
+ this.cmbLogo.DisplayMember = "LOGONAME";
|
|
|
+ this.cmbLogo.SelectedValue = "";
|
|
|
//设置表格不自动创建列
|
|
|
this.dgvLayout.AutoGenerateColumns = false;
|
|
|
}
|
|
|
@@ -180,6 +191,7 @@ namespace Dongke.IBOSS.PRD.Client.SystemModule
|
|
|
private void btnClearCondition_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
this.txtGoodsCode.Clear();
|
|
|
+ this.cmbLogo.SelectedValue = "";
|
|
|
this.cbflagtrue.Checked = true;
|
|
|
this.cbflagfalse.Checked = true;
|
|
|
}
|