From 473a8b1acdad441bd93a81066e385bb1b6f922b7 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期六, 07 十一月 2026 14:53:17 +0800
Subject: [PATCH] refactor: 需求10/23 前端改为 ERP 口径,修正 ERP 可用性误判

---
 src/views/erp/purchase/statistics/price-analysis.vue |  189 ++++++++++++++++++
 src/api/erp/statistics/purchase/index.ts             |   28 ++
 /dev/null                                            |  272 ---------------------------
 src/api/srm/statistics/index.ts                      |   57 -----
 src/views/aftersales/cancellation/data.ts            |   14 +
 src/api/aftersales/cancellation.ts                   |    4 
 src/views/aftersales/cancellation/modules/form.vue   |    3 
 7 files changed, 234 insertions(+), 333 deletions(-)

diff --git a/src/api/aftersales/cancellation.ts b/src/api/aftersales/cancellation.ts
index 1e96bef..3a78bd3 100644
--- a/src/api/aftersales/cancellation.ts
+++ b/src/api/aftersales/cancellation.ts
@@ -21,6 +21,8 @@
     ticketId?: number;
     customerId?: number;
     contractId?: number;
+    /** ERP 閿�鍞鍗曠紪鍙凤紱濉啓鍚庡鎵归�氳繃浼氳仈鍔ㄤ綔搴� */
+    saleOrderId?: number;
     saleOrderNo?: string;
     /** 閫�璐х被鍨嬶細1 閫�娆鹃��璐� 2 鎹㈣揣 3 浠呴��娆� */
     returnType?: number;
@@ -106,4 +108,4 @@
   return requestClient.get<
     PageResult<AftersalesCancellationApi.Cancellation>
   >('/aftersales/cancellation/page', { params });
-}
+}
\ No newline at end of file
diff --git a/src/api/erp/statistics/purchase/index.ts b/src/api/erp/statistics/purchase/index.ts
index 126b6f2..232b3f7 100644
--- a/src/api/erp/statistics/purchase/index.ts
+++ b/src/api/erp/statistics/purchase/index.ts
@@ -1,3 +1,5 @@
+import type { PageParam, PageResult } from '@vben/request';
+
 import { requestClient } from '#/api/request';
 
 export namespace ErpPurchaseStatisticsApi {
@@ -14,6 +16,23 @@
     time: string; // 鏃堕棿
     price: number; // 閲囪喘閲戦
   }
+
+  /** 閲囪喘浠锋牸鍒嗘瀽锛堟寜鐗╂枡鑱氬悎宸插鏍搁噰璐鍗曪級 */
+  export interface PurchasePriceAnalysis {
+    productId?: number;
+    productBarCode?: string;
+    productName?: string;
+    /** 閲囪喘閲忥紙璁㈠崟鏄庣粏鏁伴噺鍚堣锛� */
+    totalQuantity?: number;
+    /** 鍔犳潈鍧囦环 = 危(鍗曚环脳鏁伴噺) / 危鏁伴噺 */
+    avgPrice?: number;
+    minPrice?: number;
+    maxPrice?: number;
+    latestPrice?: number;
+    previousPrice?: number;
+    /** 浠锋牸鍙樺姩鐜囷紙%锛� */
+    priceChangeRate?: number;
+  }
 }
 
 /** 鑾峰緱閲囪喘缁熻 */
@@ -29,3 +48,12 @@
     ErpPurchaseStatisticsApi.PurchaseTimeSummaryRespVO[]
   >('/erp/purchase-statistics/time-summary');
 }
+
+/** 閲囪喘浠锋牸鍒嗘瀽锛堟寜鐗╂枡鑱氬悎宸插鏍搁噰璐鍗曪紝鐢ㄤ簬閲囪喘鎴愭湰鍒嗘瀽锛� */
+export function getPurchasePriceAnalysis(
+  params: PageParam & { orderTime?: string[]; productId?: number },
+) {
+  return requestClient.get<
+    PageResult<ErpPurchaseStatisticsApi.PurchasePriceAnalysis>
+  >('/erp/purchase-statistics/price', { params });
+}
diff --git a/src/api/srm/statistics/index.ts b/src/api/srm/statistics/index.ts
index 7a08b70..7374297 100644
--- a/src/api/srm/statistics/index.ts
+++ b/src/api/srm/statistics/index.ts
@@ -1,5 +1,3 @@
-import type { PageParam, PageResult } from '@vben/request';
-
 import { requestClient } from '#/api/request';
 
 export namespace SrmStatisticsApi {
@@ -12,43 +10,6 @@
     supplierCount?: number;
     period?: string;
   }
-
-  /** 鎶ヤ环鏄庣粏椤� */
-  export interface CostQuoteItem {
-    supplierId?: number;
-    supplierName?: string;
-    quotePrice?: number;
-    taxRate?: number;
-    deliveryCycle?: number;
-    quoteTime?: string;
-  }
-
-  /** 鐗╂枡鎴愭湰鍒嗘瀽琛� */
-  export interface CostAnalysis {
-    productId?: number;
-    productCode?: string;
-    productName?: string;
-    productSpec?: string;
-    unit?: string;
-    totalQuantity?: number;
-    quoteCount?: number;
-    supplierCount?: number;
-    weightedAvgPrice?: number;
-    minPrice?: number;
-    maxPrice?: number;
-    estimatedPrice?: number;
-    deviationRate?: number;
-    lastQuoteTime?: string;
-    priceChange?: number;
-    quotes?: CostQuoteItem[];
-  }
-
-  /** 浠锋牸瓒嬪娍鐐� */
-  export interface CostTrendPoint {
-    month?: string;
-    avgPrice?: number;
-    count?: number;
-  }
 }
 
 /** 鑾峰彇鎷涙爣缁熻 */
@@ -56,23 +17,5 @@
   return requestClient.get<SrmStatisticsApi.TenderStatisticsVO>(
     '/srm/statistics/tender',
     { params: { year } },
-  );
-}
-
-/** 閲囪喘鎴愭湰鍒嗘瀽锛堝熀浜庢嫑鏍囬渶姹傞噺涓庝緵搴斿晢鎶ヤ环锛屼笉渚濊禆 ERP锛� */
-export function getCostAnalysis(
-  params: PageParam & { productName?: string },
-) {
-  return requestClient.get<PageResult<SrmStatisticsApi.CostAnalysis>>(
-    '/srm/statistics/cost-analysis',
-    { params },
-  );
-}
-
-/** 鐗╂枡浠锋牸瓒嬪娍 */
-export function getCostTrend(productId: number) {
-  return requestClient.get<SrmStatisticsApi.CostTrendPoint[]>(
-    '/srm/statistics/cost-trend',
-    { params: { productId } },
   );
 }
diff --git a/src/views/aftersales/cancellation/data.ts b/src/views/aftersales/cancellation/data.ts
index 11941b2..5f7f748 100644
--- a/src/views/aftersales/cancellation/data.ts
+++ b/src/views/aftersales/cancellation/data.ts
@@ -202,10 +202,20 @@
       },
     },
     {
+      fieldName: 'saleOrderId',
+      label: 'ERP 閿�鍞鍗�',
+      component: 'InputNumber',
+      componentProps: {
+        placeholder: '閫夊~锛涘~鍐欏悗瀹℃壒閫氳繃浼氳仈鍔ㄤ綔搴熻鍗�',
+        class: 'w-full',
+        min: 1,
+      },
+    },
+    {
       fieldName: 'saleOrderNo',
       label: '閿�鍞鍗曞彿',
       component: 'Input',
-      componentProps: { placeholder: '閫夊~' },
+      componentProps: { placeholder: '閫夊~锛屼粎浣滃睍绀�' },
     },
     {
       fieldName: 'expectedAmount',
@@ -237,4 +247,4 @@
       },
     },
   ];
-}
+}
\ No newline at end of file
diff --git a/src/views/aftersales/cancellation/modules/form.vue b/src/views/aftersales/cancellation/modules/form.vue
index 9560dce..b61c802 100644
--- a/src/views/aftersales/cancellation/modules/form.vue
+++ b/src/views/aftersales/cancellation/modules/form.vue
@@ -83,6 +83,7 @@
       returnType: (values.returnType as number) ?? undefined,
       contractId: (values.contractId as number) ?? undefined,
       customerId: (values.customerId as number) ?? undefined,
+      saleOrderId: (values.saleOrderId as number) ?? undefined,
       saleOrderNo: (values.saleOrderNo as string) || undefined,
       expectedAmount: (values.expectedAmount as number) ?? undefined,
       reason: values.reason as string,
@@ -117,4 +118,4 @@
       </div>
     </template>
   </Modal>
-</template>
+</template>
\ No newline at end of file
diff --git a/src/views/erp/purchase/statistics/price-analysis.vue b/src/views/erp/purchase/statistics/price-analysis.vue
new file mode 100644
index 0000000..6573496
--- /dev/null
+++ b/src/views/erp/purchase/statistics/price-analysis.vue
@@ -0,0 +1,189 @@
+<script lang="ts" setup>
+import type { VxeTableGridOptions } from '#/adapter/vxe-table';
+import type { ErpPurchaseStatisticsApi } from '#/api/erp/statistics/purchase';
+
+import { Page } from '@vben/common-ui';
+
+import { Alert, Card, Col, message, Row, Statistic } from 'ant-design-vue';
+import { ref } from 'vue';
+
+import { useVbenVxeGrid } from '#/adapter/vxe-table';
+import { getPurchasePriceAnalysis } from '#/api/erp/statistics/purchase';
+
+defineOptions({ name: 'ErpPurchasePriceAnalysis' });
+
+/** 鏁板瓧鏍煎紡鍖栵細绌哄�兼樉绀� - */
+function fmt(value?: number, digits = 4) {
+  return value === null || value === undefined
+    ? '-'
+    : Number(value).toFixed(digits);
+}
+
+const columns: VxeTableGridOptions<ErpPurchaseStatisticsApi.PurchasePriceAnalysis>['columns'] =
+  [
+    { field: 'productBarCode', title: '鐗╂枡缂栫爜', width: 150 },
+    { field: 'productName', title: '鐗╂枡鍚嶇О', minWidth: 180 },
+    {
+      field: 'totalQuantity',
+      title: '閲囪喘閲�',
+      width: 130,
+      align: 'right',
+      formatter: ({ cellValue }) => fmt(cellValue as number, 2),
+    },
+    {
+      field: 'avgPrice',
+      title: '鍔犳潈鍧囦环',
+      width: 120,
+      align: 'right',
+      formatter: ({ cellValue }) => fmt(cellValue as number, 4),
+    },
+    {
+      field: 'minPrice',
+      title: '鏈�浣庝环',
+      width: 110,
+      align: 'right',
+      formatter: ({ cellValue }) => fmt(cellValue as number, 4),
+    },
+    {
+      field: 'maxPrice',
+      title: '鏈�楂樹环',
+      width: 110,
+      align: 'right',
+      formatter: ({ cellValue }) => fmt(cellValue as number, 4),
+    },
+    {
+      field: 'latestPrice',
+      title: '鏈�杩戜环',
+      width: 110,
+      align: 'right',
+      formatter: ({ cellValue }) => fmt(cellValue as number, 4),
+    },
+    {
+      field: 'previousPrice',
+      title: '涓婃浠�',
+      width: 110,
+      align: 'right',
+      formatter: ({ cellValue }) => fmt(cellValue as number, 4),
+    },
+    {
+      field: 'priceChangeRate',
+      title: '浠锋牸鍙樺姩',
+      width: 120,
+      align: 'right',
+      slots: { default: 'priceChange' },
+    },
+  ];
+
+const [Grid] = useVbenVxeGrid({
+  formOptions: {
+    schema: [
+      {
+        fieldName: 'productId',
+        label: '鐗╂枡缂栧彿',
+        component: 'InputNumber',
+        componentProps: {
+          class: 'w-full',
+          min: 1,
+          placeholder: '鎸夌墿鏂橧D绮剧‘鏌ヨ',
+        },
+      },
+    ],
+  },
+  gridOptions: {
+    columns,
+    height: 'auto',
+    keepSource: true,
+    proxyConfig: {
+      ajax: {
+        query: async (
+          params: { page: { currentPage: number; pageSize: number } },
+          formValues: Record<string, any>,
+        ) => {
+          const { page } = params;
+          try {
+            const result = await getPurchasePriceAnalysis({
+              pageNo: page.currentPage,
+              pageSize: page.pageSize,
+              productId: formValues.productId || undefined,
+            });
+            const list = result?.list ?? [];
+            const withAvg = list.filter(
+              (r) => r.avgPrice !== null && r.avgPrice !== undefined,
+            );
+            summary.value = {
+              totalQuantity: list.reduce((s, r) => s + (r.totalQuantity ?? 0), 0),
+              avgPrice: withAvg.length
+                ? withAvg.reduce((s, r) => s + (r.avgPrice ?? 0), 0) /
+                  withAvg.length
+                : 0,
+              rowCount: list.length,
+              risingCount: list.filter((r) => (r.priceChangeRate ?? 0) > 0).length,
+            };
+            return result;
+          } catch (e: unknown) {
+            message.error((e as Error).message || '鏌ヨ澶辫触');
+            summary.value = {
+              totalQuantity: 0,
+              avgPrice: 0,
+              rowCount: 0,
+              risingCount: 0,
+            };
+            return { list: [], total: 0 };
+          }
+        },
+      },
+    },
+    rowConfig: { keyField: 'productId', isHover: true },
+    toolbarConfig: { refresh: true, search: true },
+  },
+});
+
+/** 姹囨�绘寚鏍囷細鐢辨煡璇㈢粨鏋滄洿鏂帮紝閬垮厤渚濊禆琛ㄦ牸鍐呴儴鐘舵�� */
+const summary = ref({ totalQuantity: 0, avgPrice: 0, rowCount: 0, risingCount: 0 });
+</script>
+
+<template>
+  <Page auto-content-height>
+    <div class="space-y-4">
+      <Card>
+        <Alert
+          type="info"
+          show-icon
+          message="鍙e緞锛氫粎缁熻宸插鏍革紙status=20锛夌殑閲囪喘璁㈠崟鏄庣粏锛涘姞鏉冨潎浠� = 危(鍗曚环脳鏁伴噺) / 危鏁伴噺锛涗环鏍煎彉鍔ㄧ巼 = (鏈�杩戜环 鈭� 涓婃浠�) / 涓婃浠枫��"
+        />
+        <Row :gutter="16" class="mt-4">
+          <Col :span="6">
+            <Statistic title="閲囪喘閲忓悎璁�" :value="fmt(summary.totalQuantity, 2)" />
+          </Col>
+          <Col :span="6">
+            <Statistic title="鍧囦环鍧囧��" :value="fmt(summary.avgPrice, 4)" />
+          </Col>
+          <Col :span="6">
+            <Statistic title="鐗╂枡鏁�" :value="summary.rowCount" />
+          </Col>
+          <Col :span="6">
+            <Statistic title="娑ㄤ环鐗╂枡鏁�" :value="summary.risingCount" />
+          </Col>
+        </Row>
+      </Card>
+
+      <Grid table-title="閲囪喘鎴愭湰鍒嗘瀽锛堟寜鐗╂枡鑱氬悎閲囪喘璁㈠崟锛�">
+        <template #priceChange="{ row }">
+          <span
+            :class="
+              row.priceChangeRate > 0
+                ? 'text-red-500'
+                : row.priceChangeRate < 0
+                  ? 'text-green-600'
+                  : ''
+            "
+          >
+            {{ row.priceChangeRate === null || row.priceChangeRate === undefined
+              ? '-'
+              : `${row.priceChangeRate}%` }}
+          </span>
+        </template>
+      </Grid>
+    </div>
+  </Page>
+</template>
\ No newline at end of file
diff --git a/src/views/srm/statistics/cost-analysis.vue b/src/views/srm/statistics/cost-analysis.vue
deleted file mode 100644
index 89d78e9..0000000
--- a/src/views/srm/statistics/cost-analysis.vue
+++ /dev/null
@@ -1,272 +0,0 @@
-<script lang="ts" setup>
-import type { VxeTableGridOptions } from '#/adapter/vxe-table';
-import type { SrmStatisticsApi } from '#/api/srm/statistics';
-
-import { Page } from '@vben/common-ui';
-
-import { EchartsUI, useEcharts } from '@vben/plugins/echarts';
-import { Descriptions, message, Modal, Spin, Table, Tag } from 'ant-design-vue';
-import { ref } from 'vue';
-
-import { useVbenVxeGrid } from '#/adapter/vxe-table';
-import { getCostAnalysis, getCostTrend } from '#/api/srm/statistics';
-
-defineOptions({ name: 'SrmCostAnalysis' });
-
-/** 鏁板瓧鏍煎紡鍖栵細绌哄�兼樉绀� - */
-function fmt(value?: number, digits = 2) {
-  return value === null || value === undefined
-    ? '-'
-    : Number(value).toFixed(digits);
-}
-
-/** 瓒嬪娍鍥� */
-const trendChartRef = ref();
-const { renderEcharts } = useEcharts(trendChartRef);
-
-/** 鏄庣粏寮圭獥 */
-const detailVisible = ref(false);
-const detailRow = ref<SrmStatisticsApi.CostAnalysis>();
-const trendLoading = ref(false);
-
-async function openDetail(row: SrmStatisticsApi.CostAnalysis) {
-  detailRow.value = row;
-  detailVisible.value = true;
-  await loadTrend(row.productId);
-}
-
-async function loadTrend(productId?: number) {
-  if (!productId) {
-    await renderEcharts({});
-    return;
-  }
-  trendLoading.value = true;
-  try {
-    const points = await getCostTrend(productId);
-    const months = (points ?? []).map((p) => p.month ?? '');
-    const prices = (points ?? []).map((p) => p.avgPrice ?? 0);
-    await renderEcharts({
-      title: { text: '鐗╂枡鎶ヤ环瓒嬪娍锛堟寜鏈堝潎浠凤級', left: 'center' },
-      tooltip: { trigger: 'axis' },
-      grid: { left: 60, right: 30, bottom: 40, top: 60 },
-      xAxis: { type: 'category', data: months },
-      yAxis: { type: 'value' },
-      series: [{ type: 'line', smooth: true, data: prices, name: '骞冲潎鎶ヤ环' }],
-    });
-  } catch (e: unknown) {
-    message.error((e as Error).message || '鍔犺浇瓒嬪娍澶辫触');
-  } finally {
-    trendLoading.value = false;
-  }
-}
-
-const columns: VxeTableGridOptions<SrmStatisticsApi.CostAnalysis>['columns'] = [
-  { field: 'productCode', title: '鐗╂枡缂栫爜', width: 140 },
-  { field: 'productName', title: '鐗╂枡鍚嶇О', minWidth: 160 },
-  { field: 'productSpec', title: '瑙勬牸', width: 140, showOverflow: 'tooltip' },
-  { field: 'unit', title: '鍗曚綅', width: 80 },
-  {
-    field: 'totalQuantity',
-    title: '閲囪喘闇�姹傞噺',
-    width: 120,
-    align: 'right',
-    formatter: ({ cellValue }) => fmt(cellValue as number, 2),
-  },
-  {
-    field: 'weightedAvgPrice',
-    title: '鍔犳潈鍧囦环',
-    width: 120,
-    align: 'right',
-    formatter: ({ cellValue }) => fmt(cellValue as number, 4),
-  },
-  {
-    field: 'minPrice',
-    title: '鏈�浣庝环',
-    width: 100,
-    align: 'right',
-    formatter: ({ cellValue }) => fmt(cellValue as number, 4),
-  },
-  {
-    field: 'maxPrice',
-    title: '鏈�楂樹环',
-    width: 100,
-    align: 'right',
-    formatter: ({ cellValue }) => fmt(cellValue as number, 4),
-  },
-  { field: 'quoteCount', title: '鎶ヤ环娆℃暟', width: 100, align: 'right' },
-  { field: 'supplierCount', title: '渚涘簲鍟嗘暟', width: 100, align: 'right' },
-  {
-    field: 'deviationRate',
-    title: '瀵归浼板亸宸�',
-    width: 120,
-    align: 'right',
-    slots: { default: 'deviation' },
-  },
-  {
-    field: 'priceChange',
-    title: '浠锋牸鍙樺姩',
-    width: 110,
-    align: 'right',
-    slots: { default: 'priceChange' },
-  },
-  {
-    field: 'operation',
-    title: '鎿嶄綔',
-    width: 100,
-    fixed: 'right',
-    slots: { default: 'operation' },
-  },
-];
-
-const [Grid, gridApi] = useVbenVxeGrid({
-  formOptions: {
-    schema: [
-      {
-        fieldName: 'productName',
-        label: '鐗╂枡鍚嶇О',
-        component: 'Input',
-        componentProps: { placeholder: '璇疯緭鍏ョ墿鏂欏悕绉�' },
-      },
-    ],
-  },
-  gridOptions: {
-    columns,
-    height: 'auto',
-    keepSource: true,
-    proxyConfig: {
-      ajax: {
-        query: async (
-          params: { page: { currentPage: number; pageSize: number } },
-          formValues: Record<string, any>,
-        ) => {
-          const { page } = params;
-          try {
-            return await getCostAnalysis({
-              pageNo: page.currentPage,
-              pageSize: page.pageSize,
-              ...formValues,
-            });
-          } catch (e: unknown) {
-            message.error((e as Error).message || '鏌ヨ澶辫触');
-            return { list: [], total: 0 };
-          }
-        },
-      },
-    },
-    rowConfig: { keyField: 'productId', isHover: true },
-    toolbarConfig: { refresh: true, search: true },
-  },
-});
-</script>
-
-<template>
-  <Page auto-content-height>
-    <Grid table-title="閲囪喘鎴愭湰鍒嗘瀽锛堟寜鎷涙爣闇�姹傞噺涓庝緵搴斿晢鎶ヤ环锛�">
-      <template #deviation="{ row }">
-        <span
-          :class="
-            row.deviationRate > 0
-              ? 'text-red-500'
-              : row.deviationRate < 0
-                ? 'text-green-600'
-                : ''
-          "
-        >
-          {{ row.deviationRate === null || row.deviationRate === undefined
-            ? '-'
-            : `${row.deviationRate}%` }}
-        </span>
-      </template>
-      <template #priceChange="{ row }">
-        <span
-          :class="
-            row.priceChange > 0
-              ? 'text-red-500'
-              : row.priceChange < 0
-                ? 'text-green-600'
-                : ''
-          "
-        >
-          {{ row.priceChange === null || row.priceChange === undefined
-            ? '-'
-            : fmt(row.priceChange, 4) }}
-        </span>
-      </template>
-      <template #operation="{ row }">
-        <a @click="openDetail(row)">鏌ョ湅鏄庣粏</a>
-      </template>
-    </Grid>
-
-    <Modal
-      v-model:open="detailVisible"
-      title="鎶ヤ环鏄庣粏"
-      :footer="null"
-      width="900px"
-    >
-      <div v-if="detailRow" class="flex flex-col gap-4">
-        <Descriptions bordered size="small" :column="3">
-          <Descriptions.Item label="鐗╂枡缂栫爜">
-            {{ detailRow.productCode ?? '-' }}
-          </Descriptions.Item>
-          <Descriptions.Item label="鐗╂枡鍚嶇О">
-            {{ detailRow.productName ?? '-' }}
-          </Descriptions.Item>
-          <Descriptions.Item label="瑙勬牸">
-            {{ detailRow.productSpec ?? '-' }}
-          </Descriptions.Item>
-          <Descriptions.Item label="閲囪喘闇�姹傞噺">
-            {{ fmt(detailRow.totalQuantity) }}
-            {{ detailRow.unit ?? '' }}
-          </Descriptions.Item>
-          <Descriptions.Item label="鍔犳潈鍧囦环">
-            {{ fmt(detailRow.weightedAvgPrice, 4) }}
-          </Descriptions.Item>
-          <Descriptions.Item label="棰勪及浠�">
-            {{ fmt(detailRow.estimatedPrice, 4) }}
-          </Descriptions.Item>
-          <Descriptions.Item label="鏈�浣庝环">
-            {{ fmt(detailRow.minPrice, 4) }}
-          </Descriptions.Item>
-          <Descriptions.Item label="鏈�楂樹环">
-            {{ fmt(detailRow.maxPrice, 4) }}
-          </Descriptions.Item>
-          <Descriptions.Item label="鏈�杩戞姤浠锋椂闂�">
-            {{ detailRow.lastQuoteTime ?? '-' }}
-          </Descriptions.Item>
-        </Descriptions>
-
-        <Spin :spinning="trendLoading">
-          <EchartsUI ref="trendChartRef" height="260px" />
-        </Spin>
-
-        <Table
-          size="small"
-          bordered
-          :pagination="false"
-          :data-source="detailRow.quotes ?? []"
-          :row-key="(r: SrmStatisticsApi.CostQuoteItem) => `${r.supplierId}-${r.quoteTime ?? ''}`"
-        >
-          <Table.Column title="渚涘簲鍟�" data-index="supplierName" key="supplierName" />
-          <Table.Column title="鎶ヤ环鍗曚环" key="quotePrice">
-            <template #default="{ record }">
-              {{ fmt(record.quotePrice, 4) }}
-            </template>
-          </Table.Column>
-          <Table.Column title="绋庣巼(%)" key="taxRate">
-            <template #default="{ record }">
-              {{ record.taxRate ?? '-' }}
-            </template>
-          </Table.Column>
-          <Table.Column title="浜ゆ湡(澶�)" data-index="deliveryCycle" key="deliveryCycle" />
-          <Table.Column title="鎶ヤ环鏃堕棿" data-index="quoteTime" key="quoteTime" />
-        </Table>
-      </div>
-
-      <div class="mt-3">
-        <Tag color="blue">
-          鍙e緞锛氬姞鏉冨潎浠� = 危(鎶ヤ环鍗曚环 脳 闇�姹傛暟閲�) / 危(闇�姹傛暟閲�)
-        </Tag>
-      </div>
-    </Modal>
-  </Page>
-</template>
\ No newline at end of file

--
Gitblit v1.9.3