wms_temp_code codeqty改为barcode_qty
This commit is contained in:
@@ -96,12 +96,12 @@ namespace Tnb.WarehouseMgr
|
||||
{
|
||||
if (index < codeNum)
|
||||
{
|
||||
barCode.codeqty = minPacking;
|
||||
barCode.barcode_qty = minPacking;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (mod > 0) barCode.codeqty = mod;
|
||||
else barCode.codeqty = minPacking;
|
||||
if (mod > 0) barCode.barcode_qty = mod;
|
||||
else barCode.barcode_qty = minPacking;
|
||||
}
|
||||
}
|
||||
wmsTempCodes.Add(barCode);
|
||||
@@ -144,7 +144,7 @@ namespace Tnb.WarehouseMgr
|
||||
var code = $"{detail.material_code}{detail.code_batch}{no.ToString().PadLeft(4, '0')}";
|
||||
barCode.barcode = code;
|
||||
barCode.code_batch = detail.code_batch;
|
||||
barCode.codeqty = detail.pr_qty!.Value;
|
||||
barCode.barcode_qty = detail.pr_qty!.Value;
|
||||
barCode.unit_id = detail.unit_id;
|
||||
barCode.is_lock = 0;
|
||||
barCode.is_end = "0";
|
||||
@@ -155,14 +155,5 @@ namespace Tnb.WarehouseMgr
|
||||
return barCode;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 扫码入库
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task SacnBarCodeInStock()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user