|
|
@@ -34,7 +34,7 @@
|
|
|
<template #slot-column-option="{scope}">
|
|
|
|
|
|
<el-upload class="upload-demo" style="display: inline-block;margin-right:30px;" :action="`${fileUrl}?id=${scope.row.id}`" :headers="{ token: token }" multiple :show-file-list="false" :on-success="fileUpSuccess" accept=".xls,.xlsx" :limit="1">
|
|
|
- <el-button size="small" type="primary">批量导入</el-button>
|
|
|
+ <el-button size="small" type="primary">导入开单</el-button>
|
|
|
</el-upload>
|
|
|
|
|
|
<el-button size="small" type="primary" @click="kd(scope.row,1)">开预订单</el-button>
|
|
|
@@ -91,7 +91,7 @@ export default {
|
|
|
...mapGetters(['token'])
|
|
|
},
|
|
|
created() {
|
|
|
- this.fileUrl = baseUrl+'/upload/excel'
|
|
|
+ this.fileUrl = baseUrl+'/upload/import-kd'
|
|
|
this.getLevel();
|
|
|
},
|
|
|
mounted() {
|