diff --git a/bms-front/src/views/customersuppliermanagement/customerinfo/customeredit/index.vue b/bms-front/src/views/customersuppliermanagement/customerinfo/customeredit/index.vue
index f85eb700..cc9281a1 100644
--- a/bms-front/src/views/customersuppliermanagement/customerinfo/customeredit/index.vue
+++ b/bms-front/src/views/customersuppliermanagement/customerinfo/customeredit/index.vue
@@ -667,9 +667,8 @@ const uploadFileUrl = ref(baseUrl + '/common/upload')
const uploadHeaders = ref({ Authorization: 'Bearer ' + getToken() })
const attachmentTypeOptions = ref([
{ value: '0', label: '附件资料' },
- { value: '1', label: '客户Logo' },
- { value: '2', label: '合同文件' },
- { value: '3', label: '其他' }
+ { value: '1', label: '合同文件' },
+ { value: '2', label: '其他' }
])
const ATTACHMENT_SIZE_LIMIT = 50
const ATTACHMENT_EXTENSIONS = ['pdf', 'jpg', 'jpeg', 'png', 'doc', 'docx', 'xls', 'xlsx', 'zip', 'rar']
@@ -711,6 +710,7 @@ function handleAttachmentUploadSuccess(res, file) {
form.value.attachmentList.push({
attachmentId: null,
customerId: form.value.customerId || null,
+ bizType: 'customer',
fileName: file.name,
filePath: res.fileName,
fileSize: file.size,
diff --git a/bms-front/src/views/customersuppliermanagement/customerinfo/customermoney/index.vue b/bms-front/src/views/customersuppliermanagement/customerinfo/customermoney/index.vue
index 0320fb74..82047fc9 100644
--- a/bms-front/src/views/customersuppliermanagement/customerinfo/customermoney/index.vue
+++ b/bms-front/src/views/customersuppliermanagement/customerinfo/customermoney/index.vue
@@ -332,7 +332,7 @@
- 附件分类挂在「其他」类型下,支持 PDF/图片/Office/压缩包,单个不超过 50MB
+ 收款水单单独归档,不会显示在客户档案的附件资料中;支持 PDF/图片/Office/压缩包,单个不超过 50MB
@@ -372,7 +372,11 @@
收款凭证附件
-
+
+
+ {{ scope.row.fileName }}
+
+
{{ formatFileSize(scope.row.fileSize) }}
@@ -786,13 +790,14 @@ function handleUploadSuccess(res, file) {
receiptDialog.form.attachmentList.push({
attachmentId: null,
customerId: route.query.customerId || null,
+ bizType: "customer_receipt",
bizId: null,
fileName: file.name,
filePath: res.fileName,
fileSize: file.size,
fileType: file.type || '',
fileExtension: (file.name.split('.').pop() || "").toLowerCase(),
- attachmentType: "3",
+ attachmentType: "0",
isLogo: "0",
sortOrder: receiptDialog.form.attachmentList.length,
remark: "",