修复bug
This commit is contained in:
@@ -184,15 +184,38 @@ namespace WMS.Web.Domain.Entitys
|
||||
/// <summary>
|
||||
/// 盘点
|
||||
/// </summary>
|
||||
public void TakeStock(int boxId, TakeStockType type)
|
||||
public void TakeStock(int boxId)
|
||||
{
|
||||
//拣货出库, 整箱移货下架, 入库回退下架---- 序列号状态失效
|
||||
//盘点, 整箱移货上架, 出库回退上架----序列号正常可用
|
||||
this.BoxId = boxId;
|
||||
//盘亏被冻结 盘盈反冻结
|
||||
this.IsDelete = type == TakeStockType.Profit ? true : false;
|
||||
//盘进来反冻结
|
||||
this.IsDelete = false;
|
||||
this.IsActivate = true;
|
||||
}
|
||||
/// <summary>
|
||||
/// 盘出去
|
||||
/// </summary>
|
||||
public void TakeStock_Out()
|
||||
{
|
||||
this.BoxId = 0;
|
||||
//盘出去冻结
|
||||
this.IsDelete = true;
|
||||
this.IsActivate = true;
|
||||
}
|
||||
/*
|
||||
1.是否被激活(盘点 采购和非采购上架 出库回退上架) 激活
|
||||
2.冻结(原箱盘出去的 出库 入库回退下架 移箱下架)
|
||||
3. 反冻结(出库回退上架,新盘进来,非采购上架 移箱上架)
|
||||
|
||||
1默认ops系统 默认都是 非激活 非冻结
|
||||
2 老ops历史条码的条码 激活 非冻结
|
||||
|
||||
非采购上架 改箱 (非激活的或者(激活被冻结))
|
||||
盘点 所有的序列号
|
||||
出库回退上架 (激活被冻结)
|
||||
入库回退下架 (激活非冻结)
|
||||
出库 (激活非冻结)
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user