Browse Source

标准重量

master
luanhui 8 years ago
parent
commit
e1127a69d6
4 changed files with 20 additions and 3 deletions
  1. +10
    -1
      B3ClientService/BO/ClientGoodsSet_/ClientGoodsSet_Detail.cs
  2. +5
    -1
      B3ClientService/Rpcs/BillRpc/ClientGoodsSetRpc.cs
  3. +1
    -1
      B3ClientService/Rpcs/BillRpc/SaleOutStoreRpc.cs
  4. +4
    -0
      B3ClientService/Rpcs/RpcBO/Bill/ClientGoodsSetDto.cs

+ 10
- 1
B3ClientService/BO/ClientGoodsSet_/ClientGoodsSet_Detail.cs View File

@ -30,7 +30,16 @@ namespace BWP.B3ClientService.BO
[LogicName("主辅换算主单位比例")] [LogicName("主辅换算主单位比例")]
public Money<decimal>? Goods_MainUnitRatio { get; set; } public Money<decimal>? Goods_MainUnitRatio { get; set; }
[LogicName("标准重量")]
public decimal? StandardWeight { get; set; }
[LogicName("标准重量上限")]
public decimal? StandardWeightUp { get; set; }
[LogicName("标准重量下限")]
public decimal? StandardWeightLow { get; set; }
} }


+ 5
- 1
B3ClientService/Rpcs/BillRpc/ClientGoodsSetRpc.cs View File

@ -10,7 +10,7 @@ using Forks.EnterpriseServices.JsonRpc;
using Newtonsoft.Json; using Newtonsoft.Json;
using TSingSoft.WebPluginFramework; using TSingSoft.WebPluginFramework;
namespace BWP.B3ClientService.Rpcs.BillRpc
namespace BWP.B3ClientService.Rpcs.BillRpc
{ {
[Rpc] [Rpc]
public static class ClientGoodsSetRpc public static class ClientGoodsSetRpc
@ -41,6 +41,10 @@ namespace BWP.B3ClientService.Rpcs.BillRpc
dto.Goods_Name = setDetail.Goods_Name; dto.Goods_Name = setDetail.Goods_Name;
dto.Goods_Code = setDetail.Goods_Code; dto.Goods_Code = setDetail.Goods_Code;
dto.Goods_Spec = setDetail.Goods_Spec; dto.Goods_Spec = setDetail.Goods_Spec;
dto.StandardWeight = setDetail.StandardWeight;
dto.StandardWeightUp = setDetail.StandardWeightUp;
dto.StandardWeightLow = setDetail.StandardWeightLow;
list.Add(dto); list.Add(dto);
} }
} }


+ 1
- 1
B3ClientService/Rpcs/BillRpc/SaleOutStoreRpc.cs View File

@ -31,7 +31,7 @@ namespace BWP.B3ClientService.Rpcs.BillRpc
dmoquery.Where.Conditions.Add(DQCondition.EQ("DeliverGoodsLine_Name", sendLineName)); dmoquery.Where.Conditions.Add(DQCondition.EQ("DeliverGoodsLine_Name", sendLineName));
} }
if (!string.IsNullOrWhiteSpace(sendLineName))
if (!string.IsNullOrWhiteSpace(billstate))
{ {
dmoquery.Where.Conditions.Add(DQCondition.EQ("BillState", billstate)); dmoquery.Where.Conditions.Add(DQCondition.EQ("BillState", billstate));
} }


+ 4
- 0
B3ClientService/Rpcs/RpcBO/Bill/ClientGoodsSetDto.cs View File

@ -15,5 +15,9 @@ namespace BWP.B3ClientService.Rpcs.RpcBO.Bill
public string Goods_Name { get; set; } public string Goods_Name { get; set; }
public string Goods_Code { get; set; } public string Goods_Code { get; set; }
public string Goods_Spec { get; set; } public string Goods_Spec { get; set; }
public decimal? StandardWeight { get; set; }
public decimal? StandardWeightUp { get; set; }
public decimal? StandardWeightLow { get; set; }
} }
} }

Loading…
Cancel
Save