拆分明细功能, 增加id作为唯一标识
This commit is contained in:
parent
2aa869f1d2
commit
99bf79a30d
@ -305,8 +305,7 @@ namespace HHWMS.Web.Controllers
|
||||
try
|
||||
{
|
||||
var receipt = _unit.FindSingle<ReceiptDetail2>(x =>
|
||||
x.MaterialCode == data.FirstOrDefault().MaterialCode
|
||||
&& x.Batch == data.FirstOrDefault().Batch);
|
||||
x.ID == data.FirstOrDefault().ID);
|
||||
if (receipt != null)
|
||||
{
|
||||
receipt.Qty = data.FirstOrDefault().Qty;
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
<el-table-column type="index"
|
||||
width="50">
|
||||
</el-table-column>
|
||||
<el-table-column label="ID" width="150" align="center" prop="Id" v-if="false"></el-table-column>
|
||||
<el-table-column label="物料编码" width="150" align="center" prop="MaterialCode"></el-table-column>
|
||||
<el-table-column label="物料名称" width="150" align="center" prop="MaterialName"></el-table-column>
|
||||
<el-table-column label="规格" width="150" align="center" prop="Lot"></el-table-column>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user