|
|
@@ -0,0 +1,53 @@
|
|
|
+<template>
|
|
|
+ <!-- 违约-->
|
|
|
+ <Drawer :title="'违约'"
|
|
|
+ :placement="'bottom'"
|
|
|
+ :visible="visible"
|
|
|
+ @cancel="cancel">
|
|
|
+ 违约
|
|
|
+ </Drawer>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script lang="ts">
|
|
|
+import { defineComponent, PropType, ref } from 'vue';
|
|
|
+import { enumOrderComponents } from '@/common/constants/enumOrderComponents';
|
|
|
+import Drawer from '@/common/components/drawer/index.vue';
|
|
|
+import { QueryWrPositionReq, WrHoldLB, WrPosition } from '@/services/go/wrtrade/interface';
|
|
|
+import { getInTaAccount, getUserId } from '@/services/bus/account';
|
|
|
+import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
|
+import { hdWROrder } from '@/services/proto/warehousetrade';
|
|
|
+import { v4 as uuidv4 } from 'uuid';
|
|
|
+import moment from 'moment';
|
|
|
+import { ModalEnum } from '@/common/constants/modalNameEnum';
|
|
|
+import { _closeModal } from '@/common/setup/modal/modal';
|
|
|
+import { validateAction } from '@/common/setup/form';
|
|
|
+import { getMarketRunByTradeMode } from '@/services/bus/market';
|
|
|
+import { message } from 'ant-design-vue';
|
|
|
+import { getGoodsGroupsByTradeMode } from '@/services/bus/goods';
|
|
|
+import { TradeMode } from '@/common/constants/enumCommon';
|
|
|
+import { WRGoodsInfo } from '@/services/proto/warehousetrade/interface';
|
|
|
+
|
|
|
+export default defineComponent({
|
|
|
+ name: ModalEnum.performance_information_sell_performance_breach_contract,
|
|
|
+ components: { Drawer },
|
|
|
+ emits: ['cancel'],
|
|
|
+ props: {
|
|
|
+ selectedRow: {
|
|
|
+ type: Object as PropType<WrPosition>,
|
|
|
+ default: {},
|
|
|
+ },
|
|
|
+ },
|
|
|
+ setup(props, context) {
|
|
|
+ const { visible, cancel } = _closeModal(context);
|
|
|
+ console.log('selectedRow', props.selectedRow);
|
|
|
+
|
|
|
+ return {
|
|
|
+ visible,
|
|
|
+ cancel,
|
|
|
+ };
|
|
|
+ },
|
|
|
+});
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="less" scoped>
|
|
|
+</style>;
|