Browse Source

YT-1640:【供应商发票申请】【供应商发票记录】上传附件变更

intex_online20241216
宋国强 2 months ago
parent
commit
20dbe700d2
  1. 2
      src/components/Detail/src/Detail.vue
  2. 2
      src/locales/en-US.ts
  3. 2
      src/locales/zh-CN.ts
  4. 12
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue
  5. 10
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

2
src/components/Detail/src/Detail.vue

@ -695,7 +695,7 @@ const getAnnexFileList = async (row) => {
annexList,
hasSubDetail:item.hasSubDetail||false,
subDetailTableData:item.subDetailTableData,
fileType:item.fileType||['apk','doc', 'xls', 'ppt', 'txt', 'pdf','png', 'jpg', 'jpeg'],
fileType:item.fileType||['apk','doc', 'xls', 'ppt', 'txt', 'pdf','png', 'jpg', 'jpeg','ofd'],
limit:item.limit||10,
fileSize:item.fileSize||5,
showPreview:item.showPreview||false, //

2
src/locales/en-US.ts

@ -1056,6 +1056,8 @@ export default {
:'Appendix to the contract',
:'Invoice Attachment',
:'Attachment to the waybill',
:'Dispatch note',
:'Statement of account',
:'Other Attachment',
:'Print Detail',
:'Print all invoices',

2
src/locales/zh-CN.ts

@ -1062,6 +1062,8 @@ export default {
:'合同附件',
:'发票附件',
:'货运单附件',
:'发货单附件',
:'对账单附件',
:'其他附件',
:'打印明细',
:'打印全部发货单',

12
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue

@ -86,7 +86,7 @@
rowField:'annexMasterId',
}],
},{
label: t('ts.货单附件'),
label: t('ts.货单附件'),
prop: 'Annex',
tableName:'waybill',
showDownload:true,
@ -95,6 +95,16 @@
queryField:'tableId',
rowField:'annexMasterId',
}],
},{
label: t('ts.对账单附件'),
prop: 'Annex',
tableName:'statement',
showDownload:true,
hiddenDelete:true,
queryParams:[{
queryField:'tableId',
rowField:'annexMasterId',
}],
},{
label: t('ts.其他附件'),
prop: 'Annex',

10
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -1039,14 +1039,20 @@ const detailAnnexTable = ref([
fileSize: 20,
maxLength:1,
limit:1,
fileType:['pdf']
fileType:['pdf','ofd']
},
{
label: t('ts.货单附件'),
label: t('ts.货单附件'),
prop: 'Annex',
tableName: 'waybill',
fileSize: 20
},
{
label: t('ts.对账单附件'),
prop: 'Annex',
tableName: 'statement',
fileSize: 20
},
{
label: t('ts.其他附件'),
prop: 'Annex',

Loading…
Cancel
Save