|
@@ -1,59 +1,63 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <!-- 现货合同详情-->
|
|
|
|
|
- <a-modal
|
|
|
|
|
- class="add-custom custom-detail"
|
|
|
|
|
- title="现货合同详情"
|
|
|
|
|
- v-model:visible="visible"
|
|
|
|
|
- centered
|
|
|
|
|
- :maskClosable="false"
|
|
|
|
|
- @cancel="cancel"
|
|
|
|
|
- width="890px"
|
|
|
|
|
- >
|
|
|
|
|
- <template #footer>
|
|
|
|
|
- <a-button key="submit" type="primary" :loading="loading" @click="cancel">关闭</a-button>
|
|
|
|
|
|
|
+ <!-- 现货合同详情-->
|
|
|
|
|
+ <a-modal class="add-custom custom-detail"
|
|
|
|
|
+ title="现货合同详情"
|
|
|
|
|
+ v-model:visible="visible"
|
|
|
|
|
+ centered
|
|
|
|
|
+ :maskClosable="false"
|
|
|
|
|
+ @cancel="cancel"
|
|
|
|
|
+ width="890px">
|
|
|
|
|
+ <template #footer>
|
|
|
|
|
+ <a-button key="submit"
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ :loading="loading"
|
|
|
|
|
+ @click="cancel">关闭</a-button>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <a-tabs v-model:activeKey="activeKey"
|
|
|
|
|
+ @change="tabClick">
|
|
|
|
|
+ <a-tab-pane v-for="item in tabList"
|
|
|
|
|
+ :key="item.key"
|
|
|
|
|
+ :tab="item.name"></a-tab-pane>
|
|
|
|
|
+ </a-tabs>
|
|
|
|
|
+ <InfoDetail :selectedRow="selectedRow"
|
|
|
|
|
+ v-if="activeKey == 1" />
|
|
|
|
|
+ <div class="tableDatas"
|
|
|
|
|
+ v-else>
|
|
|
|
|
+ <a-table class="dialogTable"
|
|
|
|
|
+ :columns="columns"
|
|
|
|
|
+ :data-source="tableList"
|
|
|
|
|
+ :pagination="false">
|
|
|
|
|
+ <template #status="{ text }">
|
|
|
|
|
+ <span class="yellow">{{ text }}</span>
|
|
|
|
|
+ <!-- 审核通过'green' 审核拒绝 'orange' 待审核'yellow' -->
|
|
|
</template>
|
|
</template>
|
|
|
- <a-tabs v-model:activeKey="activeKey" @change="tabClick">
|
|
|
|
|
- <a-tab-pane v-for="item in tabList" :key="item.key" :tab="item.name"></a-tab-pane>
|
|
|
|
|
- </a-tabs>
|
|
|
|
|
- <InfoDetail :selectedRow="selectedRow" v-if="activeKey == 1" />
|
|
|
|
|
- <div class="tableDatas" v-else>
|
|
|
|
|
- <a-table
|
|
|
|
|
- class="dialogTable"
|
|
|
|
|
- :columns="columns"
|
|
|
|
|
- :data-source="tableList"
|
|
|
|
|
- :pagination="false"
|
|
|
|
|
- >
|
|
|
|
|
- <template #status="{ text }">
|
|
|
|
|
- <span class="yellow">{{ text }}</span>
|
|
|
|
|
- <!-- 审核通过'green' 审核拒绝 'orange' 待审核'yellow' -->
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
|
|
|
- <template #applystatus="{ text }">
|
|
|
|
|
- <a>{{ getApplyStatusName(text) }}</a>
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
+ <template #applystatus="{ text }">
|
|
|
|
|
+ <a>{{ getApplyStatusName(text) }}</a>
|
|
|
|
|
+ </template>
|
|
|
|
|
|
|
|
- <!-- 发票金额-->
|
|
|
|
|
- <template #invoicetype="{ text }">
|
|
|
|
|
- <a>{{ invoiceStatusName(text) }}</a>
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
+ <!-- 发票金额-->
|
|
|
|
|
+ <template #invoicetype="{ text }">
|
|
|
|
|
+ <a>{{ invoiceStatusName(text) }}</a>
|
|
|
|
|
+ </template>
|
|
|
|
|
|
|
|
- <!-- 发票类型-->
|
|
|
|
|
- <template #contracttype="{ text }">
|
|
|
|
|
- <a>{{ getPlanContractType(text) }}</a>
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
+ <!-- 发票类型-->
|
|
|
|
|
+ <template #contracttype="{ text }">
|
|
|
|
|
+ <a>{{ getPlanContractType(text) }}</a>
|
|
|
|
|
+ </template>
|
|
|
|
|
|
|
|
- <!-- 出入库类型 -->
|
|
|
|
|
- <template #inouttype="{ text }">
|
|
|
|
|
- <a>{{ InOutTypeName(text) }}</a>
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
+ <!-- 出入库类型 -->
|
|
|
|
|
+ <template #inouttype="{ text }">
|
|
|
|
|
+ <a>{{ InOutTypeName(text) }}</a>
|
|
|
|
|
+ </template>
|
|
|
|
|
|
|
|
- <!-- 款项类型 -->
|
|
|
|
|
- <template #kxtype="{ text }">
|
|
|
|
|
- <a>{{ kxtypeName(text) }}</a>
|
|
|
|
|
- </template>
|
|
|
|
|
- </a-table>
|
|
|
|
|
- </div>
|
|
|
|
|
- </a-modal>
|
|
|
|
|
|
|
+ <!-- 款项类型 -->
|
|
|
|
|
+ <template #kxtype="{ text }">
|
|
|
|
|
+ <a>{{ kxtypeName(text) }}</a>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </a-table>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </a-modal>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
@@ -71,6 +75,7 @@ import { getTableColumns } from '@/common/setup/table';
|
|
|
import { invoiceStatusName } from '@/views/manage/finance-review/setup';
|
|
import { invoiceStatusName } from '@/views/manage/finance-review/setup';
|
|
|
import { getPlanContractType } from '@/views/business/plan/setup';
|
|
import { getPlanContractType } from '@/views/business/plan/setup';
|
|
|
import { InOutTypeName } from '@/views/manage/inventory-review/setup';
|
|
import { InOutTypeName } from '@/views/manage/inventory-review/setup';
|
|
|
|
|
+import { kxtypeName } from '@/views/manage/finance-review/setup';
|
|
|
import { _closeModal } from '@/common/setup/modal/modal';
|
|
import { _closeModal } from '@/common/setup/modal/modal';
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
@@ -187,6 +192,7 @@ export default defineComponent({
|
|
|
invoiceStatusName,
|
|
invoiceStatusName,
|
|
|
getPlanContractType,
|
|
getPlanContractType,
|
|
|
InOutTypeName,
|
|
InOutTypeName,
|
|
|
|
|
+ kxtypeName,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|