|
|
@@ -1,154 +1,155 @@
|
|
|
<template>
|
|
|
- <!-- 款项详情-->
|
|
|
- <a-modal class="add-custom 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-form class="inlineForm"
|
|
|
- :form="form"
|
|
|
- @submit="handleSearch">
|
|
|
- <fieldset class="formFieldSet" v-if="isShowContractInfo(selectedRow.inouttype)">
|
|
|
- <legend>合同基本信息</legend>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="合同编号">
|
|
|
- <span class="white">{{
|
|
|
+ <!-- 款项详情-->
|
|
|
+ <a-modal class="add-custom 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-form class="inlineForm"
|
|
|
+ :form="form"
|
|
|
+ @submit="handleSearch">
|
|
|
+ <fieldset class="formFieldSet"
|
|
|
+ v-if="isShowContractInfo(selectedRow.inouttype)">
|
|
|
+ <legend>合同基本信息</legend>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="合同编号">
|
|
|
+ <span class="white">{{
|
|
|
getContractTypeName(selectedRow.contracttype) + '/' + formatValue(selectedRow.contractno)
|
|
|
}}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="定价类型">
|
|
|
- <span class="white">{{ getPriceTypeName(selectedRow.pricetype) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="销售方">
|
|
|
- <span class="white">{{ formatValue(selectedRow.sellusername) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="现货品种">
|
|
|
- <span class="white">{{ formatValue(selectedRow.deliverygoodsname) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="采购方">
|
|
|
- <span class="white">{{ formatValue(selectedRow.buyusername) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="合同签署量">
|
|
|
- <span class="white">{{ formatValue(selectedRow.contractqty) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- </fieldset>
|
|
|
- <fieldset class="formFieldSet">
|
|
|
- <legend>登记信息</legend>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="出库类型">
|
|
|
- <span class="white">{{ InOutTypeName(selectedRow.inouttype) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="品类">
|
|
|
- <span class="white">{{ formatValue(selectedRow.deliverygoodsname) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="品牌">
|
|
|
- <span class="white">{{ formatValue(selectedRow.brandname) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="入库仓库">
|
|
|
- <span class="white">{{ formatValue(selectedRow.warehousename) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="入库数量">
|
|
|
- <span class="white">{{
|
|
|
- formatValue(selectedRow.qty) + getGoodsUnit(selectedRow.unitid)
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="定价类型">
|
|
|
+ <span class="white">{{ getPriceTypeName(selectedRow.pricetype) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="销售方">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.sellusername) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="现货品种">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.deliverygoodsname) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="采购方">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.buyusername) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="合同签署量">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.contractqty) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ </fieldset>
|
|
|
+ <fieldset class="formFieldSet">
|
|
|
+ <legend>登记信息</legend>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="出库类型">
|
|
|
+ <span class="white">{{ InOutTypeName(selectedRow.inouttype) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="品类">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.deliverygoodsname) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="品牌">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.brandname) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="入库仓库">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.warehousename) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="入库数量">
|
|
|
+ <span class="white">{{
|
|
|
+ formatValue(selectedRow.qty) + getGoodsUnitEnumItemName(selectedRow.unitid)
|
|
|
}}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="登记时间">
|
|
|
- <span class="white">{{ formatValue(selectedRow.applytime) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="登记人">
|
|
|
- <span class="white">{{ formatValue(selectedRow.applyname) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="状态">
|
|
|
- <span class="white">{{ getApplyStatusName(selectedRow.applystatus) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- </fieldset>
|
|
|
- <fieldset class="formFieldSet">
|
|
|
- <legend>审核信息</legend>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="审核时间">
|
|
|
- <span class="white">{{ formatValue(selectedRow.audittime) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="审核人">
|
|
|
- <span class="white">{{ formatValue(selectedRow.auditname) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="审核意见">
|
|
|
- <span class="white">{{ formatValue(selectedRow.auditremark) }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- </fieldset>
|
|
|
- </a-form>
|
|
|
- </a-modal>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="登记时间">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.applytime) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="登记人">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.applyname) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="状态">
|
|
|
+ <span class="white">{{ getApplyStatusName(selectedRow.applystatus) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ </fieldset>
|
|
|
+ <fieldset class="formFieldSet">
|
|
|
+ <legend>审核信息</legend>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="审核时间">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.audittime) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="审核人">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.auditname) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="审核意见">
|
|
|
+ <span class="white">{{ formatValue(selectedRow.auditremark) }}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ </fieldset>
|
|
|
+ </a-form>
|
|
|
+ </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';
|
|
|
-import {Ermcp3AreaStockApply} from "@/services/go/ermcp/inventory-review/interface";
|
|
|
-import {InOutTypeName, isShowContractInfo} from "@/views/manage/inventory-review/setup";
|
|
|
-import {getContractTypeName} from "@/views/information/spot-contract/setup";
|
|
|
-import {getPriceTypeName} from "@/views/business/purchase/setup";
|
|
|
-import {getGoodsUnit} from "@/views/information/goods/setup";
|
|
|
-import {getApplyStatusName} from "@/views/manage/business-review/setup";
|
|
|
+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';
|
|
|
+import { Ermcp3AreaStockApply } from '@/services/go/ermcp/inventory-review/interface';
|
|
|
+import { InOutTypeName, isShowContractInfo } from '@/views/manage/inventory-review/setup';
|
|
|
+import { getContractTypeName } from '@/views/information/spot-contract/setup';
|
|
|
+import { getPriceTypeName } from '@/views/business/purchase/setup';
|
|
|
+import { getGoodsUnitEnumItemName } from '@/common/constants/enumsName';
|
|
|
+import { getApplyStatusName } from '@/views/manage/business-review/setup';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'finance_review_funds_detail',
|
|
|
@@ -160,7 +161,7 @@ export default defineComponent({
|
|
|
},
|
|
|
},
|
|
|
setup(props) {
|
|
|
- const {visible, cancel} = closeModal('detail');
|
|
|
+ const { visible, cancel } = closeModal('detail');
|
|
|
const loading = ref<boolean>(false);
|
|
|
const maskClosableFlag = ref<boolean>(false);
|
|
|
|
|
|
@@ -181,9 +182,8 @@ export default defineComponent({
|
|
|
getContractTypeName,
|
|
|
getPriceTypeName,
|
|
|
InOutTypeName,
|
|
|
- getGoodsUnit,
|
|
|
+ getGoodsUnitEnumItemName,
|
|
|
getApplyStatusName,
|
|
|
-
|
|
|
};
|
|
|
},
|
|
|
});
|