|
@@ -2,7 +2,7 @@ import {
|
|
|
HdWRDealOrderReq,
|
|
HdWRDealOrderReq,
|
|
|
HdWROrderReq, PaymentArrearsReq, WarehouseRepurchaseReq,
|
|
HdWROrderReq, PaymentArrearsReq, WarehouseRepurchaseReq,
|
|
|
WRListingCancelOrderReq, WROutApplyCancelReq,
|
|
WRListingCancelOrderReq, WROutApplyCancelReq,
|
|
|
- WROutApplyReq, WROutConfirmReq, WRTradeFinanceBuyCancelReq
|
|
|
|
|
|
|
+ WROutApplyReq, WROutCancelReq, WROutConfirmReq, WRTradeFinanceBuyCancelReq
|
|
|
} from "@/services/proto/warehousetrade/interface";
|
|
} from "@/services/proto/warehousetrade/interface";
|
|
|
import { protoMiddleware } from "@/services/socket/protobuf/buildReq";
|
|
import { protoMiddleware } from "@/services/socket/protobuf/buildReq";
|
|
|
import { HeadEnum } from "@/services/socket/protobuf/protoHeader";
|
|
import { HeadEnum } from "@/services/socket/protobuf/protoHeader";
|
|
@@ -73,6 +73,7 @@ export const WRTradeFinanceBuyCancel = (param: WRTradeFinanceBuyCancelReq): Prom
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 仓单出入库注销请求
|
|
* 仓单出入库注销请求
|
|
|
|
|
+ * @deprecated 该接口废弃
|
|
|
* @param param
|
|
* @param param
|
|
|
*/
|
|
*/
|
|
|
export const WROutApplyCancel = (param: WROutApplyCancelReq): Promise<any> => {
|
|
export const WROutApplyCancel = (param: WROutApplyCancelReq): Promise<any> => {
|
|
@@ -88,7 +89,13 @@ export const WROutConfirm = (param: WROutConfirmReq): Promise<any> => {
|
|
|
return protoMiddleware<WROutConfirmReq>(param, 'WROutConfirmReq', 'WROutConfirmRsp', HeadEnum.tradeMode17)
|
|
return protoMiddleware<WROutConfirmReq>(param, 'WROutConfirmReq', 'WROutConfirmRsp', HeadEnum.tradeMode17)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+/**
|
|
|
|
|
+ * 仓单出库撤回请求
|
|
|
|
|
+ * @param param
|
|
|
|
|
+ * @constructor
|
|
|
|
|
+ */
|
|
|
|
|
+export const WROutCancel = (param: WROutCancelReq): Promise<any> => {
|
|
|
|
|
+ return protoMiddleware<WROutCancelReq>(param, 'WROutCancelReq', 'WROutCancelRsp', HeadEnum.tradeMode17)
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
|
|
|