This commit is contained in:
linfso 2024-06-16 15:45:00 +08:00
parent 4a4f89ebcf
commit ff02a812ae

View File

@ -6,6 +6,7 @@
slot-scope="slotProps"
:height="(slotProps.contentHeight)+'px'"
ref="multipleTable"
:row-class-name="tableRowClassName"
v-loading="loading"
border stripe
@ -23,8 +24,8 @@
<div slot="toolbar">
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button plain class="filter-item" size="mini" type="primary" icon="el-icon-upload2" @click="handleBatchImport">导入文件</el-button>
<el-link type="primary" style="line-height: 28px;font-size:13px" href="/static/tpl/batch_import_order.xlsx">下载导入模板</el-link>
<el-button plain class="filter-item" size="mini" type="primary" icon="el-icon-upload2" @click="handleBatchImport">选择文件</el-button>
<el-link type="primary" style="line-height: 28px;font-size:13px;color:blue" href="/static/tpl/batch_import_order.xlsx">下载导入Excel模板</el-link>
</el-col>
<el-col :span="1.5">
<el-button
@ -32,7 +33,7 @@
plain
size="mini"
@click="handleRealUploadAll"
>批量下单</el-button>
>上传所有</el-button>
</el-col>
<el-col :span="1.5">
<el-button
@ -119,7 +120,7 @@
:on-change="fileChange"
:before-upload="beforeUpload">
<el-button slot="trigger" plain class="filter-item" size="mini" type="primary" >选择文件</el-button>
<el-link type="primary" style="line-height: 28px;font-size:13px" href="/static/tpl/batch_import_order.xlsx">下载Excel模板</el-link>
<el-link type="primary" style="line-height: 28px;font-size:13px;color:blue" href="/static/tpl/batch_import_order.xlsx">下载导入Excel模板</el-link>
<div v-if="uploadExcelDataInfo !=''" style="color: black;font-size: 12px;font-weight: 800;">{{ fileName }} {{ uploadExcelDataInfo }}</div>
</el-upload>
<el-alert
@ -607,9 +608,8 @@ export default {
handleDelete(row) {
const ids = row.id || this.ids;
this.$modal.confirm('是否确认删除').then(function() {
// return delEmisWaybill(ids);
this.$refs.multipleTable.clearSelection();
}).then(() => {
// this.getList();
this.$modal.msgSuccess("删除成功");
}).catch(() => {});
},