|
|
@ -241,8 +241,9 @@ namespace Win_in.Sfs.Scp.WebApi |
|
|
|
.ForMember(p => p.GUID, p => p.MapFrom(q => Guid.NewGuid()))//默认值
|
|
|
|
|
|
|
|
// .ForMember(p => p.OperName, p => p.MapFrom(q => ""))//默认值
|
|
|
|
.ForMember(p => p.BillType, p => p.MapFrom(q => string.IsNullOrWhiteSpace(q.TrType) ? 0 : 1))//0:收货 1:退货
|
|
|
|
|
|
|
|
//.ForMember(p => p.BillType, p => p.MapFrom(q => string.IsNullOrWhiteSpace(q.TrType) ? 0 : 1))//0:收货 1:退货
|
|
|
|
.ForMember(p => p.BillType, p => p.MapFrom(q=>0)) |
|
|
|
// .ForMember(p => p.Tax, p => p.MapFrom(q => 0))//默认值
|
|
|
|
; |
|
|
|
|
|
|
@ -264,7 +265,9 @@ namespace Win_in.Sfs.Scp.WebApi |
|
|
|
|
|
|
|
// .ForMember(p => p.IsDeleted, p => p.MapFrom(q => false))//默认值
|
|
|
|
.ForMember(p => p.GUID, p => p.MapFrom(q => Guid.NewGuid()))//默认值
|
|
|
|
.ForMember(p => p.BillType, p => p.MapFrom(q => string.IsNullOrWhiteSpace(q.TrType) ? 0 : 1))//0:收货 1:退货
|
|
|
|
|
|
|
|
//.ForMember(p => p.BillType, p => p.MapFrom(q => string.IsNullOrWhiteSpace(q.TrType) ? 0 : 1))//0:收货 1:退货
|
|
|
|
.ForMember(p => p.BillType, p => p.MapFrom(q => 0)) |
|
|
|
|
|
|
|
// .ForMember(p => p.VendBatch, p => p.MapFrom(q => ""))//默认值
|
|
|
|
.ForMember(p => p.PoUnit, p => p.MapFrom(q => q.Uom)) |
|
|
|