feat: 完工上传使用扫码物料消耗记录
This commit is contained in:
@@ -205,10 +205,11 @@ namespace WebApi
|
||||
foreach (DataRow MRow in ds.Tables[2].Rows)
|
||||
{
|
||||
MaterialInfo materialInfo = new MaterialInfo();
|
||||
materialInfo.consumedMaterialNo = MRow["物料编号"].ToString();
|
||||
materialInfo.consumedMaterialNo = MRow["物料代码"].ToString();
|
||||
materialInfo.type = "0";
|
||||
materialInfo.qty = decimal.Parse(MRow["数量"].ToString());
|
||||
materialInfo.batchNo = MRow["批次号"].ToString();
|
||||
materialInfo.qty = 1;
|
||||
materialInfo.batchNo = MRow["物料批次号"].ToString();
|
||||
materialInfo.serialNo = MRow["物料流水号"].ToString();
|
||||
materialInfoList.Add(materialInfo);
|
||||
}
|
||||
}
|
||||
@@ -939,4 +940,3 @@ namespace WebApi
|
||||
//#endregion
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user