From e1ec7e077a10938ce795c766915c5c5673dcf282 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 20 三月 2024 19:08:10 +0800
Subject: [PATCH] crm发货申请补充发货单号
---
proto/product_inventory.proto | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 54 insertions(+), 0 deletions(-)
diff --git a/proto/product_inventory.proto b/proto/product_inventory.proto
index 66cab98..35789d9 100644
--- a/proto/product_inventory.proto
+++ b/proto/product_inventory.proto
@@ -6,6 +6,8 @@
rpc CreateOperation(CreateOperationRequest) returns(CreateOperationResponse) {}
rpc GetInventoryProductInfo(GetInventoryProductInfoRequest) returns (GetInventoryProductInfoResponse) {}
rpc UpdateSalesDetailStatus(UpdateSalesDetailStatusRequest) returns (UpdateSalesDetailStatusResponse) {}
+ rpc GetOrderInputAndOutputInfo(GetOrderInputAndOutputInfoRequest) returns (GetOrderInputAndOutputInfoResponse) {}
+ rpc OrderProductOutput(OrderProductOutputRequest) returns (OrderProductOutputResponse) {}
}
message CreateOperationRequest{
@@ -51,6 +53,11 @@
string AvailableNumber = 12;//鍙敤搴撳瓨
}
+enum FinishStatus {
+ Ready = 0;
+ Finish = 1;
+}
+
message GetInventoryProductInfoResponse{
int32 Code = 1;
string Msg = 2;
@@ -67,4 +74,51 @@
message UpdateSalesDetailStatusResponse{
int32 Code = 1;
string Msg = 2;
+}
+
+
+//--------------------------------------------------
+
+message InputAndOutputInfo{
+ string Number = 1;
+ string Name = 2;
+ string OrderAmount = 3;//璁㈠崟鏁伴噺
+ string Unit = 4;
+ string Invoice = 5;//鍙戣揣鍗�
+ string Carrier = 6;//鎵胯繍鍟�
+ string Waybill = 7;//杩愬崟鍙�
+ string SalePrice = 8;//閿�鍞崟浠�
+ string Valorem = 9;//浠风◣鍚堣
+ string Warehouse = 10;
+ string Amount = 11; //鏁伴噺
+ FinishStatus Status = 13;
+ string CreateTime = 14;
+ int64 LocationID = 15;
+ int64 WareHouseID = 16;
+}
+message GetOrderInputAndOutputInfoRequest {
+ string Number = 1;//鏄庣粏鍗曠紪鐮�
+}
+
+message GetOrderInputAndOutputInfoResponse {
+ int32 Code = 1;
+ string Msg = 2;
+ repeated InputAndOutputInfo InputList = 3;
+ repeated InputAndOutputInfo OutputList = 4;
+}
+
+message OutputProduct {
+ string Number = 1;//浜у搧缂栫爜
+ string Amount = 2; //鍙戣揣鏁伴噺
+}
+
+
+message OrderProductOutputRequest {
+ string OrderNumber = 1;//鏄庣粏鍗曠紪鐮�
+ repeated OutputProduct Products= 2;//鍙戣揣鏄庣粏
+}
+
+message OrderProductOutputResponse {
+ int32 Code = 1;
+ string Msg = 2;
}
\ No newline at end of file
--
Gitblit v1.8.0