|
|
@ -161,12 +161,11 @@ namespace BWP.Web.Pages.B3YunKen.ProductTask_ |
|
|
var productionUnitId = long.Parse(ccbxProductionUnit.Value); |
|
|
var productionUnitId = long.Parse(ccbxProductionUnit.Value); |
|
|
var inputDate = cDateInput.Value.Value; |
|
|
var inputDate = cDateInput.Value.Value; |
|
|
var remark = ccbxRemark.Text; |
|
|
var remark = ccbxRemark.Text; |
|
|
|
|
|
|
|
|
var minEmployee = DomainUserUtil.GetCurrentBindingMinEmployee(); |
|
|
|
|
|
var employeeID = minEmployee == null ? (long?)null : minEmployee.ID; |
|
|
|
|
|
|
|
|
var employeeID = long.Parse(ccbxEmployeeUnit.Value); |
|
|
|
|
|
|
|
|
var dmo = new ProductNotice(); |
|
|
var dmo = new ProductNotice(); |
|
|
//dmo.AccountingUnit_ID = accounitingId;
|
|
|
//dmo.AccountingUnit_ID = accounitingId;
|
|
|
|
|
|
bl.InitNewDmo(dmo); |
|
|
dmo.Department_ID = departmentId; |
|
|
dmo.Department_ID = departmentId; |
|
|
dmo.ProductionUnit_ID = productionUnitId; |
|
|
dmo.ProductionUnit_ID = productionUnitId; |
|
|
dmo.Date = inputDate; |
|
|
dmo.Date = inputDate; |
|
|
@ -198,7 +197,6 @@ namespace BWP.Web.Pages.B3YunKen.ProductTask_ |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
bl.InitNewDmo(dmo); |
|
|
|
|
|
bl.Insert(dmo); |
|
|
bl.Insert(dmo); |
|
|
return dmo.ID; |
|
|
return dmo.ID; |
|
|
} |
|
|
} |
|
|
|