huangbin 4 سال پیش
والد
کامیت
662ef5e678

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

@@ -23,7 +23,7 @@ export const hdWROrder = (param: HdWROrderReq): Promise<any> => {
  * @constructor
  */
 export const HdWRDealOrder = (param: HdWRDealOrderReq): Promise<any> => {
-    return protoMiddleware<HdWRDealOrderReq>(param, 'HdWRDealOrderReq', 'HdWRDealOrderRsp', 2)
+    return protoMiddleware<HdWRDealOrderReq>(param, 'HdWRDealOrderReq', 'HdWRDealOrderRsp', HeadEnum.tradeMode17)
 }
 
 /**

+ 1 - 1
src/services/proto/warehousetrade/interface.ts

@@ -53,7 +53,7 @@ export interface HdWROrderRsp {
 export interface  HdWRDealOrderReq {
     UserID: number; // uint32 用户ID
     AccountID: number; // uint64 资金账号
-    RelatedWRTradeOrderID: number; // uint64 关联委托单号(摘牌委托关联挂牌委托单ID)
+    RelatedWRTradeOrderID: string; // uint64 关联委托单号(摘牌委托关联挂牌委托单ID)
     WRTransferUserID: number; // uint32 仓单受让用户
     OrderQty: number; // uint64 委托数量
     OrderSrc: number; // uint32 委托来源

+ 1 - 1
src/views/market/spot_trade/components/buy-sell-market/components/delisting/index.vue

@@ -67,7 +67,7 @@ export default defineComponent({
             const param: HdWRDealOrderReq = {
                 UserID: getUserId(), // uint32 用户ID
                 AccountID: Number(getSelectedAccountId() as Long), // uint64 资金账号
-                RelatedWRTradeOrderID: Number(props.selectedRow.wrtradeorderid), // uint64 关联委托单号(摘牌委托关联挂牌委托单ID)
+                RelatedWRTradeOrderID: props.selectedRow.wrtradeorderid, // uint64 关联委托单号(摘牌委托关联挂牌委托单ID)
                 WRTransferUserID: props.selectedRow.userid, // uint32 仓单受让用户
                 OrderQty: num.value, // uint64 委托数量
                 OrderSrc: 0, // uint32 委托来源

+ 1 - 1
src/views/order/spot_warran/components/spot_warrant_spot_details/components/listing/index.vue

@@ -220,7 +220,7 @@ export default defineComponent({
                         HasWr: 1,
                     };
                     console.log(param);
-                    requestResultLoadingAndInfo(hdWROrder, param, loading, ['挂牌成功', '挂牌失败:']).then(() => {
+                    requestResultLoadingAndInfo(hdWROrder, param, loading, ['摘牌成功', '摘牌失败:']).then(() => {
                         cancel();
                     });
                 });