组装提报仓库 库位修改
This commit is contained in:
@@ -1723,16 +1723,17 @@ namespace Tnb.ProductionMgr
|
|||||||
// throw Oops.Bah("未找到对应产线");
|
// throw Oops.Bah("未找到对应产线");
|
||||||
// }
|
// }
|
||||||
|
|
||||||
report.warehouse_id = WmsWareHouseConst.WAREHOUSE_JXK_ID;
|
// report.warehouse_id = WmsWareHouseConst.WAREHOUSE_JXK_ID;
|
||||||
|
report.warehouse_id = WmsWareHouseConst.WAREHOUSE_SLDMJC_ID;
|
||||||
Dictionary<string, string> worklineWarehouseDic = new Dictionary<string, string>()
|
Dictionary<string, string> worklineWarehouseDic = new Dictionary<string, string>()
|
||||||
{
|
{
|
||||||
[WmsWareHouseConst.XUELUGUAN1XIAN] = "ZZ-01-01",
|
[WmsWareHouseConst.XUELUGUAN1XIAN] = "ZZ-01-02",
|
||||||
[WmsWareHouseConst.XUELUGUAN2XIAN] = "ZZ-01-02",
|
[WmsWareHouseConst.XUELUGUAN2XIAN] = "ZZ-02-02",
|
||||||
};
|
};
|
||||||
report.location_code = worklineWarehouseDic.GetOrDefault(prdMoTask.workline_id);
|
report.location_code = worklineWarehouseDic.GetOrDefault(prdMoTask.workline_id);
|
||||||
if (string.IsNullOrEmpty(report.location_code))
|
if (string.IsNullOrEmpty(report.location_code))
|
||||||
{
|
{
|
||||||
report.location_code = "ZZ-01-01";
|
report.location_code = "ZZ-01-02";
|
||||||
}
|
}
|
||||||
location = await db.Queryable<BasLocation>().SingleAsync(x=>x.location_code==report.location_code);
|
location = await db.Queryable<BasLocation>().SingleAsync(x=>x.location_code==report.location_code);
|
||||||
if (location == null)
|
if (location == null)
|
||||||
|
|||||||
@@ -26,8 +26,10 @@
|
|||||||
/// 暂存仓仓库ID
|
/// 暂存仓仓库ID
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const string WAREHOUSE_ZCC_ID = "33780009364245";
|
public const string WAREHOUSE_ZCC_ID = "33780009364245";
|
||||||
|
/// <summary>
|
||||||
|
/// 四楼待灭菌仓
|
||||||
|
/// </summary>
|
||||||
|
public const string WAREHOUSE_SLDMJC_ID = "35412479754517";
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 四楼解析库
|
/// 四楼解析库
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user