zhangqian
2024-04-07 f80c6068d5e2ae5b9101125497b4de88726e1d9e
proto/crm_aps.proto
@@ -11,6 +11,7 @@
  rpc UpdateSalesDetail(UpdateSalesDetailRequest) returns(UpdateSalesDetailResponse) {}
  rpc RemoveSalesDetail(RemoveSalesDetailRequest) returns(RemoveSalesDetailResponse) {}
  rpc CrmGetMakeAndOutsourcingProductInfo(CrmGetMakeAndOutsourcingProductInfoRequest) returns(CrmGetMakeAndOutsourcingProductInfoResponse) {}
  rpc GetCrmSalesDetailsProductInfo(GetCrmSalesDetailsProductInfoRequest) returns(GetCrmSalesDetailsProductInfoResponse) {}
}
//-----------------------------------------------------GetApsProjectList--------------------------------------
@@ -44,6 +45,7 @@
  int64 ProductTotal = 7;//产品总数
  string ProjectId = 8;//项目id
  repeated SalesDetailsProduct Products = 9;
  int64 DeliverType = 10;//交付类型:1.一次发货,2.多次发货
}
message SendSalesDetailsToApsProjectResponse{
@@ -129,4 +131,25 @@
message CrmGetMakeAndOutsourcingProductInfoResponse{
  repeated CrmGetMakeAndOutsourcingProductInfo Info = 1;
}
message GetCrmSalesDetailsProductInfoRequest{
  string SalesDetailsNumber = 1;
}
message CrmSalesDetailsProductInfo{
  string ProductId = 1;
  string ProductName = 2;
  string Specs = 3;
  string Unit = 4;
  int64 Amount = 5;
  string Cost = 6; //产品成本
  int64 Price = 7; //产品价格
  int64 Total = 8;//产品总价
  string Profit = 9;//毛利
  string Margin = 10;//毛利率
}
message GetCrmSalesDetailsProductInfoResponse{
  repeated CrmSalesDetailsProductInfo List = 1;
}