修改 材料管理仓库下拉统一从入库单中入库仓库取

This commit is contained in:
2026-02-02 17:14:58 +08:00
parent 94ac0da919
commit af5341bb99
8 changed files with 22 additions and 15 deletions
+8 -1
View File
@@ -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())