|
|
@@ -110,40 +110,20 @@
|
|
|
import { PlusOutlined, MinusOutlined } from '@ant-design/icons-vue';
|
|
|
import { defineComponent, PropType, ref } from 'vue';
|
|
|
import Drawer from '@/common/components/drawer/index.vue';
|
|
|
-import { WrOrderQuote, WrOrderQuoteDetail } from '@/services/go/wrtrade/interface';
|
|
|
import { getAccountTypeList, getSelectedAccountId, getUserId } from '@/services/bus/account';
|
|
|
import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
|
-import { HdWRDealOrder } from '@/services/proto/warehousetrade';
|
|
|
-import { v4 as uuidv4 } from 'uuid';
|
|
|
-import moment from 'moment';
|
|
|
import { ModalEnum } from '@/common/constants/modalNameEnum';
|
|
|
-import { HdWRDealOrderReq } from '@/services/proto/warehousetrade/interface';
|
|
|
import { _closeModal } from '@/common/setup/modal/modal';
|
|
|
import { handleForm } from './setup';
|
|
|
import { validateAction } from '@/common/setup/form';
|
|
|
import { FormState } from './interface';
|
|
|
-import { BuyOrSell, DelistingType, PriceType } from '@/common/constants/enumCommon';
|
|
|
-import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
|
import { getCanUseMoney } from '@/services/bus/account';
|
|
|
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';
|
|
|
export default defineComponent({
|
|
|
name: ModalEnum.spot_trade_warehouse_financing_delisting,
|
|
|
components: { Drawer, PlusOutlined, MinusOutlined },
|
|
|
emits: ['cancel', 'update'],
|
|
|
props: {
|
|
|
- // selectedRow: {
|
|
|
- // type: Object as PropType<WrOrderQuote>,
|
|
|
- // default: {},
|
|
|
- // },
|
|
|
- from: {
|
|
|
- type: String as PropType<'quote' | 'order'>,
|
|
|
- default: 'quote',
|
|
|
- },
|
|
|
parantSelectedRow: {
|
|
|
type: Object as PropType<QueryDeliveryRelationRsp>,
|
|
|
default: {},
|