|
|
|
@ -96,12 +96,12 @@
|
|
|
|
|
tip: '请上传 .xls,.xlsx 标准格式文件', |
|
|
|
|
action: '/api/logpm-basic/material/import-basicMaterial', |
|
|
|
|
}, |
|
|
|
|
// { |
|
|
|
|
// label: '模板下载', |
|
|
|
|
// prop: 'excelTemplate', |
|
|
|
|
// formslot: true, |
|
|
|
|
// span: 24, |
|
|
|
|
// }, |
|
|
|
|
{ |
|
|
|
|
label: '模板下载', |
|
|
|
|
prop: 'excelTemplate', |
|
|
|
|
formslot: true, |
|
|
|
|
span: 24, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
}; |
|
|
|
@ -251,7 +251,7 @@
|
|
|
|
|
handleTemplate() { |
|
|
|
|
console.log("下载模板!!!"); |
|
|
|
|
exportBlob( |
|
|
|
|
`/api/logpm-warehouse/warehouseWarehousingEntry/export-warehouseWarehousingEntry?${this.website.tokenHeader}=${getToken()}` |
|
|
|
|
`/api/logpm-basic/material/export-basicMaterialMb?${this.website.tokenHeader}=${getToken()}` |
|
|
|
|
).then(res => { |
|
|
|
|
downloadXls(res.data, '物料数据模板.xlsx'); |
|
|
|
|
}); |
|
|
|
|