焊接修改
This commit is contained in:
@@ -53,6 +53,11 @@ namespace FineUIPro.Web.CLGL
|
||||
drpStates.DataSource = BLL.TwConst.StateMap;
|
||||
drpStates.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpStates);
|
||||
drpCategory.DataTextField = "Key";
|
||||
drpCategory.DataValueField = "Value";
|
||||
drpCategory.DataSource = BLL.TwConst.CategoryMap;
|
||||
drpCategory.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpCategory);
|
||||
|
||||
}
|
||||
#region 数据绑定
|
||||
@@ -72,6 +77,10 @@ namespace FineUIPro.Web.CLGL
|
||||
{
|
||||
table.State = Convert.ToInt32(drpStates.SelectedValue);
|
||||
}
|
||||
if (drpCategory.SelectedValue != Const._Null)
|
||||
{
|
||||
table.Category = Convert.ToInt32(drpCategory.SelectedValue);
|
||||
}
|
||||
if (drpWarehouse.SelectedValue != Const._Null)
|
||||
{
|
||||
table.WarehouseCode = drpWarehouse.SelectedValue;
|
||||
@@ -284,6 +293,7 @@ namespace FineUIPro.Web.CLGL
|
||||
ReqUnitName = result.ReqUnitName,
|
||||
CusBillCode = result.CusBillCode,
|
||||
CreateDate = result.CreateDate.Value.ToString("yyyy-MM-dd"),
|
||||
CreateManName = !string.IsNullOrEmpty(result.CreateMan) ? BLL.Person_PersonsService.getSignatureUrl(result.CreateMan) : "",
|
||||
ProjectName = ProjectService.GetProjectNameByProjectId(result.ProjectId),
|
||||
CategoryString = result.CategoryString,
|
||||
BillName = TwConst.PlanPrintMap.Where(x => x.Value == result.TypeInt).Select(x => x.Key).FirstOrDefault(),
|
||||
|
||||
Reference in New Issue
Block a user