@@ -56,6 +56,10 @@ const props = defineProps({
return ['apk','doc', 'xls', 'ppt', 'txt', 'pdf','png', 'jpg', 'jpeg']
}
},
+ fileSize:{
+ type:Number,
+ required: false,
+ },
showPreview: {
type: Boolean,
required: false
diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue
index afd300ab9..07411ee65 100644
--- a/src/components/Detail/src/Detail.vue
+++ b/src/components/Detail/src/Detail.vue
@@ -108,6 +108,7 @@
{
hasSubDetail:item.hasSubDetail||false,
subDetailTableData:item.subDetailTableData,
fileType:item.fileType||['apk','doc', 'xls', 'ppt', 'txt', 'pdf','png', 'jpg', 'jpeg'],
+ fileSize:item.fileSize||5,
showPreview:item.showPreview||false, // 是否展示预览按钮
showDownload:item.showDownload||false, // 是否展示下载按钮
hiddenDelete:item.hiddenDelete || false, // 是否展示删除按钮
diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue
index 72031bc2e..20bf60358 100644
--- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue
+++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue
@@ -607,17 +607,21 @@ const handleImport = () => {
prop: 'Annex',
tableName:'contract',
hiddenDelete:false,
- hiddenUpload:false
+ hiddenUpload:false,
+ fileSize:20
},{
label: t('ts.发票附件'),
prop: 'Annex',
tableName:'invoice',
hiddenDelete:false,
- hiddenUpload:false
+ hiddenUpload:false,
+ fileSize:20
+
},{
label: t('ts.货运单附件'),
prop: 'Annex',
- tableName:'waybill'
+ tableName:'waybill',
+ fileSize:20
}])
const openDetail = (row : any, titleName : any, titleValue : any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts
index b263eefc0..19d1e1e26 100644
--- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts
+++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts
@@ -1204,7 +1204,7 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive