登记收款附件bug修改
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user