修改 材料管理仓库下拉统一从入库单中入库仓库取
This commit is contained in:
@@ -605,7 +605,14 @@ namespace BLL
|
||||
return cusBillCode;
|
||||
}
|
||||
|
||||
|
||||
public static Dictionary<string, string> GetWarehouseCode(string projectId)
|
||||
{
|
||||
var q = (from x in Funs.DB.Tw_InOutPlanMaster
|
||||
where x.ProjectId == projectId &&
|
||||
x.InOutType == (int)TwConst.InOutType.入库
|
||||
select x.WarehouseCode).Distinct().ToDictionary(x => x, x => x);
|
||||
return q;
|
||||
}
|
||||
public static string GetDataInCusBillCode(string projectid, string unitcode, string typeString, string unitWorkCode = "", string Category = "")
|
||||
{
|
||||
if (typeString == TwConst.TypeInt.其他入库.ToString())
|
||||
|
||||
Reference in New Issue
Block a user