From d0175e436b5987511dfedb713abd19cba6093fab Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 26 四月 2024 17:27:40 +0800 Subject: [PATCH] Merge branch 'feat-outsourcing' --- proto/purchase_wms.proto | 15 +++++---------- 1 files changed, 5 insertions(+), 10 deletions(-) diff --git a/proto/purchase_wms.proto b/proto/purchase_wms.proto index 08e6117..41044ef 100644 --- a/proto/purchase_wms.proto +++ b/proto/purchase_wms.proto @@ -2,6 +2,8 @@ option go_package = "./purchase_wms"; +import "common.proto"; + service PurchaseService { rpc PurchaseToWms(PurchaseToWmsRequest) returns (PurchaseToWmsResponse); rpc UpdatePurchaseStatus(UpdatePurchaseStatusRequest) returns (UpdatePurchaseStatusResponse) {} @@ -29,16 +31,7 @@ string WarehouseName = 5;//浠撳簱鍚嶇О repeated PurchaseProduct Product = 6; OperationSource OperationSource = 7; -} - -enum OperationSource { - OperationSourceEmpty = 0; //绌� - OperationSourcePurchase = 1; //閲囪喘鍏ュ簱 - OperationSourceProduction = 2; //鐢熶骇鍏ュ簱 - OperationSourceOutsourcing = 3; //濮斿鍏ュ簱 - OperationSourceProductionApply = 4; //鐢熶骇棰嗘枡 - OperationSourceOutsourcingApply = 5; //濮斿棰嗘枡 - OperationSourceSaleDelivery = 6; //閿�鍞彂璐� + string SalesDetailsNumber = 8; } message PurchaseToWmsResponse { @@ -141,6 +134,8 @@ //--------------------------------------------------SrmGetOperationInfo--------------------------------------- message SrmGetOperationInfoRequest{ string number = 1; + OperationSource OperationSource = 2; + string SalesDetailsNumber = 3; } message SrmOperation{ -- Gitblit v1.8.0