| | |
| | | |
| | | option go_package = "./purchase_wms"; |
| | | |
| | | import "common.proto"; |
| | | |
| | | service PurchaseService { |
| | | rpc PurchaseToWms(PurchaseToWmsRequest) returns (PurchaseToWmsResponse); |
| | | rpc UpdatePurchaseStatus(UpdatePurchaseStatusRequest) returns (UpdatePurchaseStatusResponse) {} |
| | |
| | | repeated PurchaseProduct Product = 6; |
| | | OperationSource OperationSource = 7; |
| | | string SalesDetailsNumber = 8; |
| | | } |
| | | |
| | | enum OperationSource { |
| | | OperationSourceEmpty = 0; //空 |
| | | OperationSourcePurchase = 1; //采购入库 |
| | | OperationSourceProduction = 2; //生产入库 |
| | | OperationSourceOutsourcing = 3; //委外入库 |
| | | OperationSourceProductionApply = 4; //生产领料 |
| | | OperationSourceOutsourcingApply = 5; //委外领料 |
| | | OperationSourceSaleDelivery = 6; //销售发货 |
| | | } |
| | | |
| | | message PurchaseToWmsResponse { |