li.shaoyi %!s(int64=4) %!d(string=hai) anos
pai
achega
6ab502bc30

+ 1 - 0
src/services/go/ermcp/report/interface.ts

@@ -344,6 +344,7 @@ export interface Ermcp3TaFutuReDataReport {
     holdqty: number;//期末持仓量
     lastholdamount: number;//当前持仓额
     lastprice: number;//最新价
+    middlegoodsname: string; //套保商品名称
     middlegoodsqty: number;//套保品种期末量 (=交易品种期末量  期货品种折算系数)
     openamount: number;//期末开仓额
     openavgprice: number;//开仓均价

+ 176 - 175
src/views/business/exposure/list/realTime/index.vue

@@ -1,48 +1,48 @@
 <template>
-    <!-- 实时敞口-->
-    <div class="exposure-real-time table-height" :loading="loading">
-        <div class="real-time-header" v-if="isPingAnOem()">
-            <span class="dialogSpan">每隔</span>
-            <a-select class="typeSelect real-time-select" style="width: 100px" v-model:value="timer" @change="timerChange" placeholder="请选择间隔时间">
-                <a-select-option :value="item.id" v-for="item in diffTimes" :key="item.id">
-                    {{ item.name }}
-                </a-select-option>
-            </a-select>
-            <span class="dialogSpan">刷新一次,倒计时 </span> <span class="red">{{ num }}</span>
-            <a-button type="button" class="operBtn ant-btn" @click="setTimerAction">{{ isStart ? '停止监控' : '开始监控' }}</a-button>
-        </div>
-        <filterCustomTable @search="updateColumn" v-else> </filterCustomTable>
-        <a-table :columns="columns" class="srcollYTable" :pagination="false" :expandedRowKeys="expandedRowKeys" :customRow="Rowclick" rowKey="key" :data-source="tableList" :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
-            <template v-if="isPingAnOem()" #index="{ index }">
-                <span>{{ index + 1 }}</span>
-            </template>
-            <template #MiddleGoodsName="{ record }">
-                <span>{{ `${record.MiddleGoodsName}/${record.MiddleGoodsCode}` }}</span>
-            </template>
-        </a-table>
-        <!-- 明细 -->
-        <Description v-if="visible" @close="closeDrawer" @changeTab="changeTab" :tabList="tabList">
-            <a-table :columns="columnsDetail" class="topTable" :pagination="false" rowKey="key" :data-source="detailTableList" :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
-                <!-- 套保品种/代码 -->
-                <template #middlegoodsname="{ record }" v-if="!isPingAnOem()">
-                    <span>{{ record.middlegoodsname + '/' + record.middlegoodscode }}</span>
-                </template>
-                <template #convertfactor="{record}">
-                    <span>{{record.convertratio}}</span>
-                </template>
-                <template #goodsname="{ record }" v-if="!isPingAnOem()">
-                    <span>{{ record.goodsname + '/' + record.goodscode }}</span>
-                </template>
-                <template v-if="isPingAnOem()" #index="{ index }">
-                    <span>{{ index + 1 }}</span>
-                </template>
-                <!-- 类型 -->
-                <template #contracttype="{ record }">
-                    <span>{{ getPlanContractType(record.contracttype) }}</span>
-                </template>
-            </a-table>
-        </Description>
+  <!-- 实时敞口-->
+  <div class="exposure-real-time table-height" :loading="loading">
+    <div class="real-time-header" v-if="isPingAnOem()">
+      <span class="dialogSpan">每隔</span>
+      <a-select class="typeSelect real-time-select" style="width: 100px" v-model:value="timer" @change="timerChange" placeholder="请选择间隔时间">
+        <a-select-option :value="item.id" v-for="item in diffTimes" :key="item.id">
+          {{ item.name }}
+        </a-select-option>
+      </a-select>
+      <span class="dialogSpan">刷新一次,倒计时 </span> <span class="red">{{ num }}</span>
+      <a-button type="button" class="operBtn ant-btn" @click="setTimerAction">{{ isStart ? '停止监控' : '开始监控' }}</a-button>
     </div>
+    <filterCustomTable @search="updateColumn" v-else> </filterCustomTable>
+    <a-table :columns="columns" class="srcollYTable" :pagination="false" :expandedRowKeys="expandedRowKeys" :customRow="Rowclick" rowKey="key" :data-source="tableList" :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
+      <template v-if="isPingAnOem()" #index="{ index }">
+        <span>{{ index + 1 }}</span>
+      </template>
+      <template #MiddleGoodsName="{ record }">
+        <span>{{ `${record.MiddleGoodsName}/${record.MiddleGoodsCode}` }}</span>
+      </template>
+    </a-table>
+    <!-- 明细 -->
+    <Description v-if="visible" @close="closeDrawer" @changeTab="changeTab" :tabList="tabList">
+      <a-table :columns="columnsDetail" class="topTable" :pagination="false" rowKey="key" :data-source="detailTableList" :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
+        <!-- 套保品种/代码 -->
+        <template #middlegoodsname="{ record }" v-if="!isPingAnOem()">
+          <span>{{ record.middlegoodsname + '/' + record.middlegoodscode }}</span>
+        </template>
+        <template #convertfactor="{record}">
+          <span>{{record.convertratio}}</span>
+        </template>
+        <template #goodsname="{ record }" v-if="!isPingAnOem()">
+          <span>{{ record.goodsname + '/' + record.goodscode }}</span>
+        </template>
+        <template v-if="isPingAnOem()" #index="{ index }">
+          <span>{{ index + 1 }}</span>
+        </template>
+        <!-- 类型 -->
+        <template #contracttype="{ record }">
+          <span>{{ getPlanContractType(record.contracttype) }}</span>
+        </template>
+      </a-table>
+    </Description>
+  </div>
 </template>
 
 <script lang="ts">
@@ -67,146 +67,147 @@ import { pingan_realTime_columns } from './setup';
 import { getTableButton } from '@/common/setup/table/button';
 
 export default defineComponent({
-    name: EnumRouterName.exposure_realtime,
-    components: {
-        Description,
-        filterCustomTable,
-    },
-    setup() {
-        const diffTimes = [
-            { id: 1, name: '3秒' },
-            { id: 2, name: '5秒' },
-            { id: 3, name: '10秒' },
-        ];
-        const timer = ref<number>(1);
-        const num = ref<number>(3);
-        const isStart = ref<boolean>(false);
-        // 表格列表数据
-        const { loading, tableList, queryTable } = queryTableList<ErmcpRealExposureModel>(true, 2);
-        // 获取列表数据
-        const queryTableAction = () => queryTable(QueryActualExposure);
-        const param: ComposeTableDetailParam = {
-            queryFn: queryTableAction, // 查询表格数据
-            // tableName: 'table_pcweb_exposure', // 表头key
-            tableFilterKey: ['MiddleGoodsName'], // 表格过滤字段
-            menuType: EnumRouterName.exposure_realtime, // 当前tab页对应的code
-        };
-        if (!isPingAnOem()) {
-            param.tableName = 'table_pcweb_exposure';
-        }
-        // 切换间隔时间
-        function timerChange() {
-            timerUtil.clearInterval('realTime');
-            timerUtil.clearInterval('countdown');
-            isStart.value = false;
-            num.value = +diffTimes.find((e) => e.id === timer.value)!.name.replace('秒', '');
-        }
-        function setTimer() {
-            timerUtil.clearInterval('realTime');
-            if (isStart.value) {
-                timerUtil.setInterval(
-                    () => {
-                        queryTableAction();
-                    },
-                    timer.value * 1000,
-                    'realTime'
-                );
-            }
-        }
-        watchEffect(() => {
-            if (num.value === 0) {
-                timerUtil.clearInterval('countdown');
-                num.value = 0;
-            }
-        });
-        onUnmounted(() => {
-            timerUtil.clearInterval('realTime');
-            timerUtil.clearInterval('countdown');
-        });
-        const setTimerOut = () => {
-            timerUtil.setInterval(
-                () => {
-                    num.value = num.value - 1;
-                },
-                1000,
-                'countdown'
-            );
-        };
-        function setTimerAction() {
-            isStart.value = !isStart.value;
-            if (isStart.value) {
-                setTimerOut();
-                setTimer();
-            } else {
-                timerUtil.clearInterval('realTime');
-                timerUtil.clearInterval('countdown');
-            }
-        }
-        const {
-            visible,
-            closeDrawer, // 控制 drawer 组件是否显示
-            columns,
-            updateColumn, //  表头数据
-            columnsDetail,
-            registerColumnDetail,
-            detailTableList, // 明细表头数据
-            expandedRowKeys,
-            selectedRow,
-            Rowclick, // 表格事件
-        } = handleComposeTable_detail<ErmcpRealExposureModel>(param);
+  name: EnumRouterName.exposure_realtime,
+  components: {
+    Description,
+    filterCustomTable,
+  },
+  setup() {
+    const diffTimes = [
+      { id: 1, name: '3秒' },
+      { id: 2, name: '5秒' },
+      { id: 3, name: '10秒' },
+    ];
+    const timer = ref<number>(1);
+    const num = ref<number>(3);
+    const isStart = ref<boolean>(false);
+    // 表格列表数据
+    const { loading, tableList, queryTable } = queryTableList<ErmcpRealExposureModel>(true, 2);
+    // 获取列表数据
+    const queryTableAction = () => queryTable(QueryActualExposure);
+    const param: ComposeTableDetailParam = {
+      queryFn: queryTableAction, // 查询表格数据
+      // tableName: 'table_pcweb_exposure', // 表头key
+      tableFilterKey: ['MiddleGoodsName'], // 表格过滤字段
+      menuType: EnumRouterName.exposure_realtime, // 当前tab页对应的code
+    };
+    if (!isPingAnOem()) {
+      param.tableName = 'table_pcweb_exposure';
+    }
+    // 切换间隔时间
+    function timerChange() {
+      timerUtil.clearInterval('realTime');
+      timerUtil.clearInterval('countdown');
+      isStart.value = false;
+      num.value = +diffTimes.find((e) => e.id === timer.value)!.name.replace('秒', '');
+    }
+    function setTimer() {
+      timerUtil.clearInterval('realTime');
+      if (isStart.value) {
+        timerUtil.setInterval(
+          () => {
+            queryTableAction();
+          },
+          timer.value * 1000,
+          'realTime'
+        );
+      }
+    }
+    watchEffect(() => {
+      if (num.value === 0) {
+        timerUtil.clearInterval('countdown');
+        num.value = 0;
+      }
+    });
+    onUnmounted(() => {
+      timerUtil.clearInterval('realTime');
+      timerUtil.clearInterval('countdown');
+    });
+    const setTimerOut = () => {
+      timerUtil.setInterval(
+        () => {
+          num.value = num.value - 1;
+        },
+        1000,
+        'countdown'
+      );
+    };
+    function setTimerAction() {
+      isStart.value = !isStart.value;
+      if (isStart.value) {
+        setTimerOut();
+        setTimer();
+      } else {
+        timerUtil.clearInterval('realTime');
+        timerUtil.clearInterval('countdown');
+      }
+    }
+    const {
+      visible,
+      closeDrawer, // 控制 drawer 组件是否显示
+      columns,
+      updateColumn, //  表头数据
+      columnsDetail,
+      registerColumnDetail,
+      detailTableList, // 明细表头数据
+      expandedRowKeys,
+      selectedRow,
+      Rowclick, // 表格事件
+    } = handleComposeTable_detail<ErmcpRealExposureModel>(param);
 
-        // 底部明细标签
-        const tabList = getTableButton(['exposure_realtime_spot_details', 'exposure_realtime_futures_details', 'exposure_realtime_params_details']);
+    // 底部明细标签
+    const tabList = getTableButton(['exposure_realtime_spot_details', 'exposure_realtime_futures_details', 'exposure_realtime_params_details']);
 
-        const { listColumns, spotColumns } = pingan_realTime_columns();
-        initData(() => {
-            if (isPingAnOem()) {
-                columns.value = listColumns;
-            }
-        });
+    const { listColumns, spotColumns } = pingan_realTime_columns();
+    initData(() => {
+      if (isPingAnOem()) {
+        columns.value = listColumns;
+      }
+    });
 
-        // 切换明细
-        function changeTab(index: number, current: TabList) {
-            const { code, lable } = current;
-            let fn = null;
-            if (code === 'exposure_realtime_spot_details') {
-                // 现货明细信息
-                if (isPingAnOem()) {
-                    columnsDetail.value = spotColumns;
-                } else {
-                    // 注册表头
-                    registerColumnDetail('table_pcweb_exposure_detail', []);
-                }
+    // 切换明细
+    function changeTab(index: number, current: TabList) {
+      detailTableList.value = [];
+      const { code, lable } = current;
+      let fn = null;
+      if (code === 'exposure_realtime_spot_details') {
+        // 现货明细信息
+        if (isPingAnOem()) {
+          columnsDetail.value = spotColumns;
+        } else {
+          // 注册表头
+          registerColumnDetail('table_pcweb_exposure_detail', []);
+        }
 
-                fn = QueryActualExposureDetail;
+        fn = QueryActualExposureDetail;
 
-                queryResultLoadingAndInfo(fn, loading, { middlegoodsid: selectedRow.value?.MiddleGoodsID }).then((res) => {
-                    detailTableList.value = res;
-                });
-            } else if (code === 'exposure_realtime_futures_details') {
-                // 期货明细
-                // 注册表头
-                registerColumnDetail('table_pcweb_exposure_futures_detail', []);
+        queryResultLoadingAndInfo(fn, loading, { middlegoodsid: selectedRow.value?.MiddleGoodsID }).then((res) => {
+          detailTableList.value = res;
+        });
+      } else if (code === 'exposure_realtime_futures_details') {
+        // 期货明细
+        // 注册表头
+        registerColumnDetail('table_pcweb_exposure_futures_detail', []);
 
-                fn = QueryAutualExposurePosition;
-                queryResultLoadingAndInfo(fn, loading, { middleGoodsId: selectedRow.value?.MiddleGoodsID }).then((res) => {
-                    detailTableList.value = res;
-                });
-            } else {
-                console.error(`${lable}没有配置对应的code: ${code},`);
-                return;
-            }
-        }
-        watchEffect(() => {
-            if (visible.value) {
-                if (tabList.length) {
-                    changeTab(0, tabList[0]);
-                }
-            }
+        fn = QueryAutualExposurePosition;
+        queryResultLoadingAndInfo(fn, loading, { middleGoodsId: selectedRow.value?.MiddleGoodsID }).then((res) => {
+          detailTableList.value = res;
         });
+      } else {
+        console.error(`${lable}没有配置对应的code: ${code},`);
+        return;
+      }
+    }
+    watchEffect(() => {
+      if (visible.value) {
+        if (tabList.length) {
+          changeTab(0, tabList[0]);
+        }
+      }
+    });
 
-        return { loading, tableList, visible, closeDrawer, columns, updateColumn, columnsDetail, detailTableList, expandedRowKeys, selectedRow, Rowclick, tabList, changeTab, formatNumber, getBizTypeName, getPlanContractType, getLogType, diffTimes, timer, timerChange, isStart, setTimerAction, isPingAnOem, num };
-    },
+    return { loading, tableList, visible, closeDrawer, columns, updateColumn, columnsDetail, detailTableList, expandedRowKeys, selectedRow, Rowclick, tabList, changeTab, formatNumber, getBizTypeName, getPlanContractType, getLogType, diffTimes, timer, timerChange, isStart, setTimerAction, isPingAnOem, num };
+  },
 });
 </script>
 

+ 107 - 108
src/views/manage/finance-review/components/invoiceDetail/index.vue

@@ -1,82 +1,81 @@
 <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="submit">关闭 </a-button>
-        </template>
-        <a-form class="inlineForm">
-            <fieldset class="formFieldSet">
-                <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>
-            </fieldset>
-            <fieldset class="formFieldSet">
-                <legend>待审核登记信息</legend>
-                <a-row :gutter="24">
-                    <a-col :span="12">
-                        <a-form-item label="类型">
-                            <span class="white">{{ invoiceStatusName(selectedRow.contracttype) }}</span>
-                        </a-form-item>
-                    </a-col>
-                    <a-col :span="12">
-                        <a-form-item label="发票金额">
-                            <span class="white">{{ formatValue(selectedRow.InvoiceAmount) }}</span>
-                        </a-form-item>
-                    </a-col>
-                </a-row>
-                <a-row :gutter="24">
-                    <a-col :span="12">
-                        <a-form-item label="发票附件">
-                            <span class="blue" v-if="selectedRow.attachurl" @click="previewImg(selectedRow.attachurl)">查看</span>
-                            <span class="white" v-else>--</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-row>
-            </fieldset>
-        </a-form>
-    </a-modal>
-    <a-modal :visible="previewVisible" :footer="null" @cancel="cancelImg">
-        <img alt="预览附件" style="width: 100%" :src="previewImage" />
-    </a-modal>
+  <!-- 发票登记详情-->
+  <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="submit">关闭 </a-button>
+    </template>
+    <a-form class="inlineForm">
+      <fieldset class="formFieldSet">
+        <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="selectedRow.contracttype ? '销售方' : '采购方'">
+              <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>
+      </fieldset>
+      <fieldset class="formFieldSet">
+        <legend>待审核登记信息</legend>
+        <a-row :gutter="24">
+          <a-col :span="12">
+            <a-form-item label="类型">
+              <span class="white">{{ invoiceStatusName(selectedRow.contracttype) }}</span>
+            </a-form-item>
+          </a-col>
+          <a-col :span="12">
+            <a-form-item label="发票金额">
+              <span class="white">{{ formatValue(selectedRow.invoiceamount) }}</span>
+            </a-form-item>
+          </a-col>
+        </a-row>
+        <a-row :gutter="24">
+          <a-col :span="12">
+            <a-form-item label="发票附件">
+              <span class="blue" v-if="selectedRow.attachurl" @click="previewImg(selectedRow.attachurl)">查看</span>
+              <span class="white" v-else>--</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-row>
+      </fieldset>
+    </a-form>
+  </a-modal>
+  <a-modal :visible="previewVisible" :footer="null" @cancel="cancelImg">
+    <img alt="预览附件" style="width: 100%" :src="previewImage" />
+  </a-modal>
 </template>
 
 <script lang="ts">
 import { defineComponent, PropType, ref } from 'vue';
-import { closeModal } from '@/common/setup/modal/index';
 import { getStatusName } from '@/common/constants/enumsName';
 import { formatValue } from '@/common/methods';
 import { QryBussinessFpRsp } from '@/services/go/ermcp/finance-review/interface';
@@ -86,42 +85,42 @@ import { handlePreviewImg } from '@/common/setup/upload';
 import { _closeModal } from '@/common/setup/modal/modal';
 
 export default defineComponent({
-    name: 'finance_review_invoice_detail',
-    emits: ['cancel', 'update'],
-    components: {},
-    props: {
-        selectedRow: {
-            type: Object as PropType<QryBussinessFpRsp>,
-            default: {},
-        },
+  name: 'finance_review_invoice_detail',
+  emits: ['cancel', 'update'],
+  components: {},
+  props: {
+    selectedRow: {
+      type: Object as PropType<QryBussinessFpRsp>,
+      default: {},
     },
-    setup(props, context) {
-        const { visible, cancel } = _closeModal(context);
-        const loading = ref<boolean>(false);
-        const maskClosableFlag = ref<boolean>(false);
-        // 预览附件
-        const { previewVisible, previewImage, cancelImg, previewImg } = handlePreviewImg();
-        function submit() {
-            cancel(true);
-        }
+  },
+  setup(props, context) {
+    const { visible, cancel } = _closeModal(context);
+    const loading = ref<boolean>(false);
+    const maskClosableFlag = ref<boolean>(false);
+    // 预览附件
+    const { previewVisible, previewImage, cancelImg, previewImg } = handlePreviewImg();
+    function submit() {
+      cancel(true);
+    }
 
-        return {
-            visible,
-            cancel,
-            submit,
-            loading,
-            formatValue,
-            getStatusName,
-            maskClosableFlag,
-            invoiceStatusName,
-            getPriceTypeName,
-            getContractTypeName,
-            previewVisible,
-            previewImage,
-            cancelImg,
-            previewImg,
-        };
-    },
+    return {
+      visible,
+      cancel,
+      submit,
+      loading,
+      formatValue,
+      getStatusName,
+      maskClosableFlag,
+      invoiceStatusName,
+      getPriceTypeName,
+      getContractTypeName,
+      previewVisible,
+      previewImage,
+      cancelImg,
+      previewImg,
+    };
+  },
 });
 </script>
 

+ 7 - 8
src/views/manage/finance-review/list/invoice/index.vue

@@ -12,16 +12,16 @@
         <a>{{ getContractTypeName(text) }}</a>
       </template>
       <!-- 发票类型-->
-      <template #invoicetype="{ record }">
-        <a>{{ invoiceStatusName(record.contracttype) }}</a>
+      <template #invoicetype="{ text }">
+        <a>{{ getReceiptName(text) }}</a>
       </template>
       <!-- 状态 -->
       <template #applystatus="{ text }">
         <a>{{ getApplyStatusName(text) }}</a>
       </template>
       <!-- 点价类型 -->
-      <template #operateapplytype="{ text }">
-        <a>{{ operateApplyTypeName(text) }}</a>
+      <template #pricetype="{ text }">
+        <a>{{ getPriceTypeName(text) }}</a>
       </template>
       <!-- 对手方 -->
       <template #buyusernameOrsellusername="{ record }">
@@ -37,9 +37,8 @@
 <script lang="ts">
 import { queryTableList, MtpTableButton, contextMenu, defineAsyncComponent, defineComponent, handleComposeTable, ComposeTableParam } from '@/common/export/commonTable';
 import { Filter } from '../../components';
-import { invoiceStatusName, operateApplyTypeName } from '@/views/manage/finance-review/setup';
 import { Column, ColumnType } from '@/common/setup/table';
-import { getContractTypeName, getApplyStatusName } from '@/common/constants/enumsName';
+import { getContractTypeName, getApplyStatusName, getReceiptName, getPriceTypeName } from '@/common/constants/enumsName';
 import { EnumRouterName } from '@/common/constants/enumRouterName';
 import { BtnListType } from '@/common/components/btnList/interface';
 import { getTableButton } from '@/common/setup/table/button';
@@ -133,9 +132,9 @@ export default defineComponent({
       tableList,
       handlePermissionBtn,
       getContractTypeName,
-      invoiceStatusName,
+      getReceiptName,
       getApplyStatusName,
-      operateApplyTypeName,
+      getPriceTypeName,
       buttons,
     };
   },