|
@@ -122,15 +122,15 @@ import { _closeModal } from '@/common/setup/modal/modal';
|
|
|
import { handleForm } from './setup';
|
|
import { handleForm } from './setup';
|
|
|
import { validateAction } from '@/common/setup/form';
|
|
import { validateAction } from '@/common/setup/form';
|
|
|
import { FormState } from './interface';
|
|
import { FormState } from './interface';
|
|
|
-import {BuyOrSell, DelistingType, PriceType} from '@/common/constants/enumCommon';
|
|
|
|
|
|
|
+import { BuyOrSell, DelistingType, PriceType } from '@/common/constants/enumCommon';
|
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
|
import { getCanUseMoney } from '@/services/bus/account';
|
|
import { getCanUseMoney } from '@/services/bus/account';
|
|
|
import { QueryDeliveryRelationRsp } from '@/services/go/delivery/interface';
|
|
import { QueryDeliveryRelationRsp } from '@/services/go/delivery/interface';
|
|
|
-import {ListingForm} from "@/views/market/spot_trade/spot_trade_order_transaction/components/delisting/interface";
|
|
|
|
|
-import {OrderReq} from "@/services/socket/order/interface";
|
|
|
|
|
-import {getLongTypeLoginID} from "@/services/bus/login";
|
|
|
|
|
-import {LongType} from "@/services/socket/login/interface";
|
|
|
|
|
-import {Order} from "@/services/socket/order";
|
|
|
|
|
|
|
+import { ListingForm } from '@/views/market/spot_trade/spot_trade_order_transaction/components/delisting/interface';
|
|
|
|
|
+import { OrderReq } from '@/services/socket/order/interface';
|
|
|
|
|
+import { getLongTypeLoginID } from '@/services/bus/login';
|
|
|
|
|
+import { LongType } from '@/services/socket/login/interface';
|
|
|
|
|
+import { Order } from '@/services/socket/order';
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
|
name: ModalEnum.spot_trade_warehouse_financing_delisting,
|
|
name: ModalEnum.spot_trade_warehouse_financing_delisting,
|
|
|
components: { Drawer, PlusOutlined, MinusOutlined },
|
|
components: { Drawer, PlusOutlined, MinusOutlined },
|
|
@@ -161,7 +161,7 @@ export default defineComponent({
|
|
|
function getMoney() {}
|
|
function getMoney() {}
|
|
|
// const { getMaxNum, getMoney, getMargin } = handleNumAndMoney(props.enumName, props.buyOrSell, props.selectedRow, props.parantSelectedRow, formState);
|
|
// const { getMaxNum, getMoney, getMargin } = handleNumAndMoney(props.enumName, props.buyOrSell, props.selectedRow, props.parantSelectedRow, formState);
|
|
|
function submit() {
|
|
function submit() {
|
|
|
- // validateAction<ListingForm>(formRef, formState).then((res) => {
|
|
|
|
|
|
|
+ validateAction<FormState>(formRef, formState).then((res) => {
|
|
|
// 摘牌请求
|
|
// 摘牌请求
|
|
|
// const param: OrderReq = {
|
|
// const param: OrderReq = {
|
|
|
// ClientSerialNo: uuidv4(), // 客户端流水号
|
|
// ClientSerialNo: uuidv4(), // 客户端流水号
|
|
@@ -202,7 +202,7 @@ export default defineComponent({
|
|
|
// requestResultLoadingAndInfo(Order, param, loading, ['摘牌成功', '摘牌失败:']).then(() => {
|
|
// requestResultLoadingAndInfo(Order, param, loading, ['摘牌成功', '摘牌失败:']).then(() => {
|
|
|
// cancel(true);
|
|
// cancel(true);
|
|
|
// });
|
|
// });
|
|
|
- // });
|
|
|
|
|
|
|
+ });
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return {
|
|
return {
|