提报增加重量
This commit is contained in:
@@ -108,5 +108,9 @@
|
||||
/// </summary>
|
||||
public string location_code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 称重重量
|
||||
/// </summary>
|
||||
public decimal weight { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,5 +31,10 @@ namespace Tnb.ProductionMgr.Entities.Dto
|
||||
public string? create_time { get; set; } = string.Empty;
|
||||
|
||||
public string? batch { get; set; } = string.Empty;
|
||||
public string material_box_code { get; set; }
|
||||
/// <summary>
|
||||
/// 称重重量
|
||||
/// </summary>
|
||||
public decimal weight { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -144,5 +144,10 @@ public partial class PrdReport : BaseEntity<string>
|
||||
/// 入库仓库
|
||||
/// </summary>
|
||||
public string warehouse_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 称重重量
|
||||
/// </summary>
|
||||
public decimal weight { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -1672,6 +1672,7 @@ namespace Tnb.ProductionMgr
|
||||
report = input.Adapt<PrdReport>();
|
||||
report.id = SnowflakeIdHelper.NextId();
|
||||
report.reported_qty = input.reported_qty;
|
||||
report.weight = input.weight;
|
||||
report.material_box_code = input.material_box_code;
|
||||
if (prdMoTask.schedule_type == 2)
|
||||
{
|
||||
|
||||
@@ -118,7 +118,9 @@ namespace Tnb.ProductionMgr
|
||||
create_id = y.RealName,
|
||||
create_id_id = x.create_id,
|
||||
create_time = x.create_time == null ? "" : x.create_time.Value.ToString(DbTimeFormat.MM),
|
||||
batch = x.barcode
|
||||
batch = x.batch,
|
||||
material_box_code = x.material_box_code,
|
||||
weight = x.weight
|
||||
})
|
||||
}).ToPagedListAsync(input.currentPage, input.pageSize);
|
||||
return PageResult<ReportRecordListOutput>.SqlSugarPageResult(result);
|
||||
|
||||
Reference in New Issue
Block a user