物料签收
This commit is contained in:
@@ -181,6 +181,20 @@ namespace Tnb.BasicData
|
||||
return result;
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public async Task<dynamic> GetInputMaterialByMbomProcessId(Dictionary<string, string> dic)
|
||||
{
|
||||
string id = dic["id"];
|
||||
var result = await _repository.AsSugarClient().Queryable<BasMbomInput>()
|
||||
.Where(x => x.mbom_process_id == id)
|
||||
.Select(x => new
|
||||
{
|
||||
material_id = x.material_id,
|
||||
}).ToListAsync();
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据物料id获取生产bom
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user