入库记录导入导出
库存导入导出
This commit is contained in:
@@ -103,5 +103,72 @@ namespace DOAN.Model.BZFM.Dto
|
||||
public string TransactionTypeLabel { get; set; }
|
||||
// 1-蓝单正向 2-红单逆向
|
||||
public int ReceiptType { get; set; } = 1;
|
||||
}
|
||||
}
|
||||
|
||||
// <summary>
|
||||
/// 入库记录导入导出
|
||||
/// </summary>
|
||||
[SugarTable("mm_recordinbound", "入库记录")]
|
||||
public class MmRecordinboundExcelDto
|
||||
{
|
||||
[ExcelColumn(Name = "id")]
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
[ExcelColumn(Name = "入库单号")]
|
||||
[SugarColumn(ColumnName = "Inbound_no")]
|
||||
public string InboundNo { get; set; }
|
||||
|
||||
[ExcelColumn(Name = "物料编码")]
|
||||
[SugarColumn(ColumnName = "material_code")]
|
||||
public string MaterialCode { get; set; }
|
||||
|
||||
[ExcelColumn(Name = "物料名称")]
|
||||
[SugarColumn(ColumnName = "material_name")]
|
||||
public string MaterialName { get; set; }
|
||||
|
||||
[ExcelColumn(Name = "批次号")]
|
||||
[SugarColumn(ColumnName = "batch_no")]
|
||||
public string BatchNo { get; set; }
|
||||
|
||||
[ExcelColumn(Name = "入库数量")]
|
||||
[SugarColumn(ColumnName = "quantity")]
|
||||
public decimal Quantity { get; set; }
|
||||
|
||||
[ExcelColumn(Name = "入库类型")]
|
||||
[SugarColumn(ColumnName = "transaction_Type")]
|
||||
public string TransactionType { get; set; }
|
||||
|
||||
[ExcelColumn(Name = "操作员")]
|
||||
[SugarColumn(ColumnName = "operator")]
|
||||
public string Operator { get; set; }
|
||||
|
||||
[ExcelColumn(Name = "仓库编码")]
|
||||
[SugarColumn(ColumnName = "warehouse_code")]
|
||||
public string WarehouseCode { get; set; }
|
||||
|
||||
[ExcelColumn(Name = "仓库名称")]
|
||||
[SugarColumn(ColumnName = "warehouse_name")]
|
||||
public string WarehouseName { get; set; }
|
||||
|
||||
[ExcelColumn(Name = "库位编码")]
|
||||
[SugarColumn(ColumnName = "location_code")]
|
||||
public string LocationCode { get; set; }
|
||||
|
||||
[ExcelColumn(Name = "库位名称")]
|
||||
[SugarColumn(ColumnName = "location_name")]
|
||||
public string LocationName { get; set; }
|
||||
|
||||
[ExcelColumn(Name = "供应商编码")]
|
||||
[SugarColumn(ColumnName = "supplier_Code")]
|
||||
public string SupplierCode { get; set; }
|
||||
|
||||
[ExcelColumn(Name = "供应商名称")]
|
||||
[SugarColumn(ColumnName = "supplier_Name")]
|
||||
public string SupplierName { get; set; }
|
||||
|
||||
[ExcelColumn(Name = "创建时间")]
|
||||
[SugarColumn(ColumnName = "created_time")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user