|
@@ -1,15 +1,12 @@
|
|
|
import {buildProtoReq50, parseProtoRsp50} from "@/services/socket/protobuf/buildReq";
|
|
import {buildProtoReq50, parseProtoRsp50} from "@/services/socket/protobuf/buildReq";
|
|
|
import APP from "@/services";
|
|
import APP from "@/services";
|
|
|
import {Callback} from "@/utils/websocket";
|
|
import {Callback} from "@/utils/websocket";
|
|
|
-import {GldErmcpSpotContractOperateReq} from "@/protoService/spotcontract/interface";
|
|
|
|
|
|
|
+import {GldErmcpSpotContractOperateReq} from "@/services/proto/spotcontract/interface";
|
|
|
|
|
|
|
|
/**(重点提醒 这里属于管理端接口,仅用于新增)以上来自android代码 回头需要确认
|
|
/**(重点提醒 这里属于管理端接口,仅用于新增)以上来自android代码 回头需要确认
|
|
|
* 获取新增采购合同报文
|
|
* 获取新增采购合同报文
|
|
|
- * @param contractInfo SpotContractInfo 新增合同信息
|
|
|
|
|
- * @param OperateType String 操作类型-1:保存草稿2:提交申请3:审核通过4:审核拒绝5:撤回6:正常完结7:异常终止
|
|
|
|
|
- * @param Remark String 备注
|
|
|
|
|
- * @param SpotContractID String 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
|
|
|
|
|
* @param
|
|
* @param
|
|
|
|
|
+ * @param param
|
|
|
*/
|
|
*/
|
|
|
export const orderContract = (param: GldErmcpSpotContractOperateReq): Promise<any> => {
|
|
export const orderContract = (param: GldErmcpSpotContractOperateReq): Promise<any> => {
|
|
|
return new Promise((resolve, reject) => {
|
|
return new Promise((resolve, reject) => {
|