zhangqian
2024-07-01 73b6baf6af3d88cdcb0e2df7932a9bd96b0b85c5
proto/product_inventory.proto
@@ -2,6 +2,8 @@
option go_package = "./product_inventory";
import "common.proto";
service productInventoryService {
  rpc CreateOperation(CreateOperationRequest) returns(CreateOperationResponse) {}
  rpc GetInventoryProductInfo(GetInventoryProductInfoRequest) returns (GetInventoryProductInfoResponse) {}
@@ -22,16 +24,6 @@
  string ClientName = 8;
  repeated InventoryProduct ProductList = 9;
  OperationSource OperationSource = 10;
}
enum OperationSource {
  OperationSourceEmpty               = 0; //空
  OperationSourcePurchase            = 1; //采购入库
  OperationSourceProduction          = 2; //生产入库
  OperationSourceOutsourcing         = 3; //委外入库
  OperationSourceProductionApply     = 4; //生产领料
  OperationSourceOutsourcingApply    = 5; //委外领料
  OperationSourceSaleDelivery        = 6; //销售发货
}
message InventoryProduct{
@@ -128,6 +120,7 @@
message OrderProductOutputRequest {
  string OrderNumber = 1;//明细单编码
  repeated OutputProduct Products= 2;//发货明细
  int64    warehouseId = 3;//发货仓库ID
}
message OrderProductOutputResponse {