From f9e6eb6fc2c2e0c2a2b17238b817fcbfcb6bab56 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 10 八月 2026 16:38:45 +0800
Subject: [PATCH] feat(erp): 添加采购来票管理和付款关联功能
---
src/views/crm/receivable/detail/data.ts | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/views/crm/receivable/detail/data.ts b/src/views/crm/receivable/detail/data.ts
index 745d902..8d1ad4d 100644
--- a/src/views/crm/receivable/detail/data.ts
+++ b/src/views/crm/receivable/detail/data.ts
@@ -2,8 +2,8 @@
import { h } from 'vue';
-import { DICT_TYPE } from '../../../../packages/constants/src';
-import { erpPriceInputFormatter, formatDateTime } from '../../../../packages/utils/src';
+import { DICT_TYPE } from '@vben/constants';
+import { erpPriceInputFormatter, formatDateTime } from '@vben/utils';
import { DictTag } from '#/components/dict-tag';
@@ -55,6 +55,14 @@
val && data?.contract?.no ? data?.contract?.no : '',
},
{
+ field: 'invoice',
+ label: '鍏宠仈寮�绁�',
+ render: (val, data) =>
+ val && data?.invoice?.no
+ ? `${data.invoice.no} / ${data.invoice.invoiceNo ?? '-'} / 楼${data.invoice.price ?? 0}`
+ : '',
+ },
+ {
field: 'returnTime',
label: '鍥炴鏃ユ湡',
render: (val) => formatDateTime(val) as string,
--
Gitblit v1.9.3