فهرست منبع

commit 新增接口

yu jie 4 سال پیش
والد
کامیت
678fcb5b0c

+ 16 - 0
public/proto/mtp.proto

@@ -1875,4 +1875,20 @@ message DeliveryOrderDetail {
      optional uint64 LadingBillID = 10; // uint64 提单ID
      optional uint64 SubNum = 11; // uint64 提单子单号
      optional uint64 WRFactorTypeID = 12; // uint64 仓单要素类型ID
+}
+
+// 议价申请审核请求 0 29 59
+message WrBargainNoAgreeReq {
+ optional MessageHead Header = 1; // MessageHead
+ optional uint64 WrBargainID = 2; // uint64 申请ID
+ optional uint64 ConfirmQty = 3; // uint64 可接受数量(拒绝时填写)
+ optional double ConfirmPrice = 4; // double 可接受价格(拒绝时填写)
+ optional string ConfirmRemark = 5; // string 确认备注
+ optional uint32 Status = 6; // uint32 状态 1 确认 2 拒绝
+}
+// 议价申请审核响应 0 29 60
+message WrBargainNoAgreeRsp {
+ optional MessageHead Header = 1; // MessageHead 消息头
+ optional int32 RetCode = 2; // int32 返回码
+ optional string RetDesc = 3; // string 描述信息
 }

+ 3 - 0
src/services/funcode/index.ts

@@ -184,6 +184,9 @@ export const funCode: Code = {
     DeliveryOrderReq: 393217,    /// 交割申报请求 (交收)
     DeliveryOrderRsp: 393218,    /// 交割申报应答
 
+    WrBargainNoAgreeReq: 1900603,  /// 议价申请拒绝请求(0, 29, 59)
+    WrBargainNoAgreeRsp: 1900604, /// 议价申请拒绝响应(0, 29, 60)
+
     // 履约
     PerformanceManualConfirmReq: 1310723, // 履约手动确认请求
     PerformanceManualConfirmRsp: 1310724, // 履约手动确认应答

+ 10 - 1
src/services/proto/warehousetrade/index.ts

@@ -1,7 +1,7 @@
 import {
     DeliveryOrderReq,
     HdWRDealOrderReq,
-    HdWROrderReq, PaymentArrearsReq, WarehouseRepurchaseReq,
+    HdWROrderReq, PaymentArrearsReq, WarehouseRepurchaseReq, WrBargainNoAgreeReq,
     WRListingCancelOrderReq, WROutApplyCancelReq,
     WROutApplyReq, WROutCancelReq, WROutConfirmReq, WRTradeFinanceBuyCancelReq
 } from "@/services/proto/warehousetrade/interface";
@@ -106,4 +106,13 @@ export const WROutCancel = (param: WROutCancelReq): Promise<any> => {
  */
 export const DeliveryOrder = (param: DeliveryOrderReq): Promise<any> =>{
     return protoMiddleware<DeliveryOrderReq>(param, 'DeliveryOrderReq', 'DeliveryOrderRsp', HeadEnum.tradeMode17)
+}
+
+/**
+ * 议价申请拒绝请求
+ * @param param
+ * @constructor
+ */
+export const WrBargainNoAgree = (param: WrBargainNoAgreeReq): Promise<any> =>{
+    return protoMiddleware<WrBargainNoAgreeReq>(param, 'WrBargainNoAgreeReq', 'WrBargainNoAgreeRsp', HeadEnum.tradeMode17)
 }

+ 14 - 0
src/services/proto/warehousetrade/interface.ts

@@ -298,4 +298,18 @@ export interface DeliveryOrderDetail {
     WRFactorTypeID: number // uint64 仓单要素类型ID
 }
 
+// 议价申请审核请求 0 29 59
+export interface WrBargainNoAgreeReq {
+    WrBargainID: number // uint64 申请ID
+    ConfirmQty: number // uint64 可接受数量(拒绝时填写)
+    ConfirmPrice: number // double 可接受价格(拒绝时填写)
+    ConfirmRemark: string // string 确认备注
+    Status: number // uint32 状态 1 确认 2 拒绝
+}
+// 议价申请审核响应 0 29 60
+export interface WrBargainNoAgreeRsp {
+    RetCode : number // int32 返回码
+    RetDesc: string // string 描述信息
+}
+