|
|
@@ -1,12 +1,10 @@
|
|
|
+import { orderContract, spotContractStatus } from "@/services/proto/spotcontract";
|
|
|
import {
|
|
|
GldErmcpSpotContractOperateReq,
|
|
|
GldSpotContractInfo,
|
|
|
SpotContractOperateReq
|
|
|
} from "@/services/proto/spotcontract/interface";
|
|
|
-import {orderContract, spotContractStatus} from "@/services/proto/spotcontract";
|
|
|
-import {ref} from "vue";
|
|
|
-import {getSelectedAccountId} from "@/services/bus/account";
|
|
|
-import * as Long from "long";
|
|
|
+import { ref } from "vue";
|
|
|
|
|
|
/**
|
|
|
* 合同操作相关
|
|
|
@@ -30,7 +28,7 @@ export function changeOrderContract() {
|
|
|
let successText = "成功"
|
|
|
let errorText = "失败"
|
|
|
|
|
|
- switch (type){
|
|
|
+ switch (type) {
|
|
|
case 1:
|
|
|
successText = "保存草稿成功"
|
|
|
errorText = "保存草稿失败:"
|
|
|
@@ -60,7 +58,7 @@ export function changeOrderContract() {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
- return {loading, orderContractState}
|
|
|
+ return { loading, orderContractState }
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -106,7 +104,5 @@ export function OrderContractControl() {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
- return {loading, orderContractState}
|
|
|
+ return { loading, orderContractState }
|
|
|
}
|
|
|
-
|
|
|
-
|