下载导入模板
This commit is contained in:
parent
db95827637
commit
6e97ee69f8
|
@ -1,6 +1,7 @@
|
|||
<template>
|
||||
<div v-loading="loading">
|
||||
<edit-header :title="title">
|
||||
<el-button @click="downloadTemplate" v-permi="['bst:order:parseExcelData']" icon="el-icon-download" size="small" type="text">下载导入模板</el-button>
|
||||
<el-button plain @click="importExcel" v-permi="['bst:order:parseExcelData']" icon="el-icon-upload" size="small" type="success">从Excel导入</el-button>
|
||||
<el-button plain @click="cancel" icon="el-icon-close" size="small">取消</el-button>
|
||||
<el-button type="primary" plain @click="submitForm(false)" icon="el-icon-check" size="small">保存</el-button>
|
||||
|
@ -138,6 +139,10 @@ export default {
|
|||
}
|
||||
},
|
||||
methods: {
|
||||
// 下载导入模板
|
||||
downloadTemplate() {
|
||||
window.open('https://api.ccttiot.com/伟旺-生产订单导入模板-1740563272753.xlsx', '_blank');
|
||||
},
|
||||
handleImportSuccess(data) {
|
||||
let head = data.head;
|
||||
if (head != null) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user