| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <template>
- <!-- 款项详情-->
- <a-modal class="finance_review_funds_detail custom-detail"
- title="款项详情"
- v-model:visible="visible"
- centered
- :maskClosable="maskClosableFlag"
- @cancel="cancel"
- width="890px">
- <template #footer>
- <a-button key="submit"
- type="primary"
- :loading="loading.loading"
- @click="submit">关闭</a-button>
- </template>
- </a-modal>
- </template>
- <script lang="ts">
- import { defineComponent, PropType, reactive, ref, watchEffect } from 'vue';
- import { closeModal } from '@/common/setup/modal/index';
- import { QueryCustomInfoType } from '@/services/go/ermcp/customInfo/interface';
- import { getStatusName } from '@/views/information/custom/setup';
- import { formatValue, formatTime } from '@/common/methods';
- export default defineComponent({
- name: 'finance_review_funds_detail',
- components: {},
- props: {
- selectedRow: {
- type: Object as PropType<QueryCustomInfoType>,
- default: {},
- },
- },
- setup(props) {
- const { visible, cancel } = closeModal('detail');
- const loading = ref<boolean>(false);
- const maskClosableFlag = ref<boolean>(false);
- function submit() {
- loading.value = true;
- setTimeout(() => {
- loading.value = false;
- cancel();
- }, 2000);
- }
- return {
- visible,
- cancel,
- submit,
- loading,
- formatValue,
- getStatusName,
- maskClosableFlag,
- };
- },
- });
- </script>
- <style lang="less">
- .finance_review_funds_detail {
- .ant-form.inlineForm {
- margin-top: 20px;
- }
- }
- </style>;
|